Check any app is installed in mobile

Check any app is installed in mobile

  

How can i check if any app is installed in the IOS and Android device both?

Hi Hasib,

Are you telling from an Dev point of view or You just want to check within a device itself.

Programmatically for Native Android :

You have to use the package name / class directly, for example to create a new intent to call the twidroid program you'd use the following

 Intent intent = new Intent("com.assif.myApp");

You'd probably want to put a try/catch around for a ActivityNotFoundException for when the application is not installed.

Programmatically for Native iOS  :

You'll need set a custom URL scheme in your second app for that.


Outsystems  :

Use this Plugin

https://www.outsystems.com/forge/component/2622/applauncherplugin/



Cheers,

Assif

assif_tiger wrote:

Hi Hasib,

Are you telling from an Dev point of view or You just want to check within a device itself.

Programmatically for Native Android :

You have to use the package name / class directly, for example to create a new intent to call the twidroid program you'd use the following

 Intent intent = new Intent("com.assif.myApp");

You'd probably want to put a try/catch around for a ActivityNotFoundException for when the application is not installed.

Programmatically for Native iOS  :

You'll need set a custom URL scheme in your second app for that.


Outsystems  :

Use this Plugin

https://www.outsystems.com/forge/component/2622/applauncherplugin/



Cheers,

Assif


Hi Assif,

I am talking of development point of view and wanted to check in a real device through my application.

Suppose i need to check in my app that XYZ application is installed or not.

Regards,

mohammad hasib wrote:

assif_tiger wrote:

Hi Hasib,

Are you telling from an Dev point of view or You just want to check within a device itself.

Programmatically for Native Android :

You have to use the package name / class directly, for example to create a new intent to call the twidroid program you'd use the following

 Intent intent = new Intent("com.assif.myApp");

You'd probably want to put a try/catch around for a ActivityNotFoundException for when the application is not installed.

Programmatically for Native iOS  :

You'll need set a custom URL scheme in your second app for that.


Outsystems  :

Use this Plugin

https://www.outsystems.com/forge/component/2622/applauncherplugin/



Cheers,

Assif


Hi Assif,

I am talking of development point of view and wanted to check in a real device through my application.

Suppose i need to check in my app that XYZ application is installed or not.

Regards,


Hello Hasib,

Yes by the shared plugin, You can check if it is possible do launch an application and launch them through URI (iOS & Android) and Intents (Android).

So through the check you can evaluate your respective action in mobile app.


thanks