Viewed   201 times

I have a requirement like this and something similar to that has been implemented by Android Pit app-store.

I need to check if the Android app has been installed on the device using a mobile web page (PHP and JS), and if installed launch the app immediately.

These are the intermediate pages used by Android pit.

When app has not been installed -

When app has been already installed -

Does anyone know how to implement this?



Fortunately, this is not possible, for obvious privacy reasons.

The closest that you can do is in the application, have an activity that has an <intent-filter> for some URL structure, and have a link in the mobile Web site to a matching URL.

If the user clicks the link and the app is installed, the activity will be a chooser option for the user.

If the user clicks the link and the app is not installed, or they choose to stick with their Web browser from the chooser, whatever Web page exists at that URL will be displayed (E.g., instructions of how to download the app).

Thursday, August 11, 2022

I would request a video feed and make use of the author parameter. This should give you all the videos of a specific user.

In your example:

Tuesday, December 6, 2022

You can use the PHP imagestring() function to create an image.

// Create a 100*30 image
$im = imagecreate(120, 30);

// White background and blue text
$bg = imagecolorallocate($im, 255, 255, 255);
$textcolor = imagecolorallocate($im, 0, 0, 255);

// Write the email address at the top left
imagestring($im, 5, 0, 0, '', $textcolor);

// Output the image
header('Content-type: image/png');

Monday, September 12, 2022

While not a check to see if an Application was purchased from the App Store, I use this code to check to see if my application is running on a jailbroken device:

+(BOOL)isJailbroken { 
    NSURL* url = [NSURL URLWithString:@"cydia://package/com.example.package"]; 
    return [[UIApplication sharedApplication] canOpenURL:url]; 
Saturday, November 12, 2022

In short, no there isn't a way to determine if an app has been uninstalled.

See my answer to this question which might help:

The feedback service is designed to inform you of devices which have failed to deliver pushes for some time. You should act on the data in there and stop sending pushes to that device. It could take time to get into the feedback service though because it's only really meant to go in there when Apple have deemed that the device has uninstalled your app, or the device is no longer used, or a similar event rather than just the device is out of range at the moment and has no connection to APNS.

Basically, yes you could use the feedback service of APNS but it wouldn't conclusively tell you if a device had been uninstalled. If you need to know this then you're unfortunately going to have to change the way you're going about things as it's impossible to know (at present).

Wednesday, August 3, 2022
Only authorized users can answer the search term. Please sign in first, or register a free account.
Not the answer you're looking for? Browse other questions tagged :