Reputation: 225
Dear Android Developers,
I want to modify Sim toolkit application according to client requirement e.g app checks balance automatically.Manually Our Currier allow this feature in Sim toolkit. I did a lot of search how i can accomplish this but could not get any where.
what i did so far is
1-Rooted My Device.
Got Hint From This Question How do I access Android STK Menu using APK?
2-Downloaded the source code of STK from github https://github.com/android/platform_packages_apps_stk
3-Remove all errors of project by building and setting internal API. http://devmaze.wordpress.com/2011/01/18/using-com-android-internal-part-1-introduction/
when i am running this project getting this error
Installation error: INSTALL_FAILED_SHARED_USER_INCOMPATIBLE
I checked all stackoverflow questions e.g INSTALL_FAILED_SHARED_USER_INCOMPATIBLE while using shared user id
but not found any solution. Please help me what i am doing wrong.my direction is wrong or not? Please gave any suggestion any thing which can gave me idea.
Thankx in advance.Sorry for my English i am new developer.
Upvotes: 15
Views: 16638
Reputation: 36
The SIM Application Toolkit(STK) shares the same user id as Phone, as it runs in phone process. So unless you get the platform signature of Your device, You can't run the Stk.
Since you have rooted, you may access the phone interface directly,remove android:sharedUserId="android.uid.phone" from manifest.xml
Upvotes: 0
Reputation: 2185
As suggested in one of the comments, the error is due to application being signed with a different certificate. This certificate dependency can be removed by changing the package names in the application. Because each java package belongs to the certificate with which it is signed.
Upvotes: 0