Saturday, 24 November 2018

how to download image and videos from instagram


Download images and videos from the Instagram:
Open Instagram from the app. And click on the 3 dot icon which image you want to save. 







Then Click on Copy Link to the image or video will be downloaded automatically.



Thursday, 24 May 2018

File sharing from external storage in android using FileProvider

Single/Multiple image/* files from External storage 

sharing using FileProvider


Step 1:
Create an file_path provider in res>xml file as

file_path.xml
<?xml version="1.0" encoding="utf-8"?>
<paths xmlns:android="http://schemas.android.com/apk/res/android">
  <external-path name="share" path="/"/>
</paths>


Step 2:

Define the File provider in manifest.xml file as

<provider
  android:name="android.support.v4.content.FileProvider"
android:authorities="com.whatsapp.statusdownloader.fileprovider"
  android:exported="false"
  android:grantUriPermissions="true">
  <meta-data
      android:name="android.support.FILE_PROVIDER_PATHS"
      android:resource="@xml/file_paths" />
</provider>

Step 3:

Implement the Button action. For single file share

try {

  //storage/emulated/0/Pictures/RAMP/IMG_19May2018_120740.jpg
  String path = imagePaths.get(viewPager.getCurrentItem());   
  Uri contentUri = FileProvider.getUriForFile(ImageOpeningActivity.this, "com.whatsapp.statusdownloader.fileprovider", new File(path))
  String shareable = "Status and File Downloader for whatsapp";

  Log.e("path uri", newFile.getPath());
  Intent shareIntent = new Intent(Intent.ACTION_SEND);
  shareIntent.addFlags(Intent.FLAG_GRANT_READ_URI_PERMISSION); // temp permission for receiving app to read this file
  shareIntent.setType(getContentResolver().getType(contentUri));   shareIntent.putExtra(Intent.EXTRA_TEXT, shareable);
  shareIntent.putExtra(Intent.EXTRA_STREAM, contentUri);
  startActivity(Intent.createChooser(shareIntent, "Choose an app"));

} catch (Exception e) {
  e.printStackTrace();
}


For Multiple image share We should use the putParcelableArrayListExtra() for stream.

try {
          final SparseBooleanArray selected = mAdapter
                  .getSelectedIds();
          ArrayList<String> shareFiles = new ArrayList<>();
          for (int i = 0; i < selected.size(); i++) {
              Log.e("selected paths " + i, imageList.get(selected.keyAt(i)).getThumbnail());
              shareFiles.add(imageList.get(selected.keyAt(i)).getThumbnail());
          }
          ArrayList<Uri> filesUri = new ArrayList<>();
          for (int i = 0; i < selected.size(); i++) {
              filesUri.add(FileProvider.getUriForFile(context,
                      "com.whatsapp.statusdownloader.fileprovider", new File(shareFiles.get(i))));
          }
          Intent shareIntent = new Intent(Intent.ACTION_SEND_MULTIPLE);
          shareIntent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
          shareIntent.addFlags(Intent.FLAG_GRANT_READ_URI_PERMISSION); // temp permission for receiving app to read this file
          shareIntent.setType(context.getContentResolver().getType(filesUri.get(0)));//DataAnd  contentUri,
          shareIntent.putExtra(Intent.EXTRA_TEXT, "Using statuses and file downloader for whatsapp");
          shareIntent.putParcelableArrayListExtra(Intent.EXTRA_STREAM, filesUri);
          startActivity(Intent.createChooser(shareIntent, "Choose an app"));

      } catch (Exception e){
          e.printStackTrace();
      }

Tuesday, 17 April 2018

Privacy Policy

Privacy Policy - QR Code Scanner

Privacy Policy

QR Code Scanner (com.thirudetails.qrcodescanner) · Last updated: September 19, 2026

QR Code Scanner is a free app for scanning and generating QR codes and barcodes. This policy explains what information the app uses and how it is handled.

Information We Collect

We do not collect, store, or transmit any personal information. The app has no user accounts, no analytics, and no advertising.

Permissions

  • Camera – used only to scan QR codes and barcodes in real time. Camera frames are processed on your device and are never saved or uploaded.
  • Photos / Storage – used only when you choose to scan an image from your gallery or save a generated code to your gallery.
  • Internet – the app itself does not send data over the internet. When you choose to open a scanned link, it is opened in your browser.

Scan History

Scanned and generated codes are kept in a history that is stored only on your device. You can delete individual entries or clear the entire history at any time from within the app. Uninstalling the app removes this data.

Third-Party Services

Scanning uses Google ML Kit, which runs entirely on your device. No scan content is shared with Google or any other third party by this app.

Children's Privacy

The app does not knowingly collect any information from anyone, including children under 13.

Changes to This Policy

We may update this policy from time to time. Any changes will be posted on this page with an updated date.

Contact

If you have questions about this policy, contact us at tirupathi7676@gmail.com.