Jmu5667 Well-Known Member Licensed User Longtime User May 26, 2014 #1 Hi All I have a widget and when it installed it appears in the applications listing on my device (HTC ONE X), it also appears in the widgets list (which it obviously should). How do I stop it appearing in the applications list as some users get confused Regards John.
Hi All I have a widget and when it installed it appears in the applications listing on my device (HTC ONE X), it also appears in the widgets list (which it obviously should). How do I stop it appearing in the applications list as some users get confused Regards John.
NJDude Expert Licensed User Longtime User May 26, 2014 #2 Add this line to your manifest: B4X: AddReplacement(android.intent.action.MAIN, unused_action) That line will not place the icon on the launcher, but you will see the widget on the widget list. Upvote 0
Add this line to your manifest: B4X: AddReplacement(android.intent.action.MAIN, unused_action) That line will not place the icon on the launcher, but you will see the widget on the widget list.
Jmu5667 Well-Known Member Licensed User Longtime User May 26, 2014 #3 Thanks NJDude, your the man, that worked a treat ! Upvote 0
Jmu5667 Well-Known Member Licensed User Longtime User May 26, 2014 #4 Just tried the widget on KitKat, the UI is non responsive, no image clicks are processed. It there another method to use ? Regards John. Upvote 0
Just tried the widget on KitKat, the UI is non responsive, no image clicks are processed. It there another method to use ? Regards John.
Jmu5667 Well-Known Member Licensed User Longtime User May 26, 2014 #6 Mmmm... tried it on a HTC One, works on all other devices that we have, sub KK tho, trying something different, will let you know. Upvote 0
Mmmm... tried it on a HTC One, works on all other devices that we have, sub KK tho, trying something different, will let you know.
Jmu5667 Well-Known Member Licensed User Longtime User May 26, 2014 #7 We just tried this, and it works ! AddReplacement(<category android:name="android.intent.category.LAUNCHER" />, <!--<category android:name="android.intent.category.LAUNCHER" /> -->) Upvote 0
We just tried this, and it works ! AddReplacement(<category android:name="android.intent.category.LAUNCHER" />, <!--<category android:name="android.intent.category.LAUNCHER" /> -->)
Jmu5667 Well-Known Member Licensed User Longtime User May 26, 2014 #9 Don't know exactly how it works, if you do, do tell ! Upvote 0
NJDude Expert Licensed User Longtime User May 26, 2014 #10 By suppressing that line you are not creating the icon on the launcher, simple as that. Upvote 0