Hi @golumaths100
Yes you can do that using Activity Starter.
Yes . Almost completed. I just need to detect that app has been uninstalled.
Can you please show me how I can detect that?
Here is code in java:
Intent intent = new Intent("android.intent.action.DELETE");
intent.setData(Uri.parse("package:" + packageName));
context.startActivity(intent);
Just convert it to blocks and use AfterActivity
event to detect whether activity was completed successfully. But I am not sure that it will work or not
Okay… let me try…
It worked. Thanks for the solution.
Edit: I put the notifier alert which will show the blocks but I think the toast alert were shown by the PackageUtils extension itself. I mistaken that it is shown by the activity starter.
I fount it now. It did not work.
Please show your blocks, so that others can learn from it.
I would have recommended something like this:
Actually it did not work.
I mistaken.
Let me try this.
Note: Don’t forget to ask for WRITE_EXTERNAL_STORAGE permission (eg at Screen.Initialize) or try it with Companion.
Apps which I tested before did not have this permission, and it worked perfectly.
Thanks a lot.
This time it worked.
I think i know what type of app are you developing.
I don’t read that but i guess correctly.
There is flood in playstore with this type of apps
Actually no.
There’s very few apps like that.
I also know it
But think twice about publishing it on Play Store. I sense danger ahead
Ya. From last night, I am worried after knowing that ‘Remove China App’ got suspended.
Yes Google did it
But wait…You have other stores also.
Probably Google does not want to support us.