Cant hide application icon from the Android Menu? -


i have landed in situation want start install of third party app (lets app y) app (x) , not want application y icon created on android main menu.

i have tried code below still there icon of app y getting created in main menu after app y gets installed successfully. please remember can not change manifest of app y third party app.

i have tried suggestions on following link have not resolved problem:

how hide application icon android desktop? ++++++++++

file file = new file("/sdcard/myapps/app y.apk");  intent intent = new intent(); uri uri = uri.fromfile(file);  intent.setaction(android.content.intent.action_view);  intent.removecategory("android.intent.category.launcher");  intent.setdataandtype(uri.parse(uri.tostring()), "application/vnd.android.package-archive");  startactivity(intent); 

++++++++++

please let me know suggestions/inputs on this.

thanks

the way remove intentfilter defined in package's androidmanifest.xml file: there no way third party installer this.


Comments

Popular posts from this blog

javascript - Iterate over array and calculate average values of array-parts -

iphone - Using nested NSDictionary with Picker -

objective c - Newbie question -multiple parameters -