Hi Maxwell
The Stk Icon will be removed every time the device boots, see packages/
apps/Stk/src/com/android/stk/BootCompletedReceiver.java,
StkAppService.java and StkAppInstaller.java.
You can start the Stk directly (works with HTC Hero):
Intent intent = new Intent();
intent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
intent.addCategory(Intent.CATEGORY_LAUNCHER);
intent.setAction(Intent.ACTION_MAIN);
intent.setComponent(new ComponentName("com.android.stk",
"com.android.stk.StkLauncherActivity"));
startActivity(intent);
Now the Stk Icon is visible in the main menu.
Regards,
hilti
On Aug 30, 11:55 am, Maxwell <[email protected]> wrote:
> Hi All
> Do anybody know how to make theSTKicon available in main menu. Now,
> I can't see theSTKicon in main menu, even though the RIL has sent
> the message "RIL_UNSOL_STK_PROACTIVE_COMMAND" about SET UP MENU to
> upper App layer. And RIL also receive correct terminal response
> (RIL_REQUEST_STK_SEND_TERMINAL_RESPONSE) from upper App layer.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---