Android system certificate
-
I hope you can help me! I have a Samsung i-9000 and i'm writing an application to enter the pin code of the SIM card if it has not already been done before. I inserted android:sharedUserId="android.uid.system" in AndroidManifest.xml and the code in my Activty class is: TelephonyManager tm = (TelephonyManager)getSystemService(Context.TELEPHONY_SERVICE); clazz = Class.forName(tm.getClass().getName()); m = clazz.getDeclaredMethod("getITelephony"); m.setAccessible(true); it = (ITelephony)m.invoke(tm); Now I know I have to sign my app with system certificate (or system key) to work with Android 2.3.3, but I don't how I can do it. I never signed an app before, especially as system app. On google I found this for a Dream telephone: - In the AndroidManifest.xml of your application: under the element add the attribute android:sharedUserId="android.uid.system". - Export an unsigned version of your Android application using Eclipse: right-click on the project >> Android Tools >> Export Unsigned Application Package. - Use root-of-android-source-tree/out/host/your-host/framework/ signapk.jar to sign your app using platform.x509.pem and platform.pk8 in root-of-android-source-tree/build/target/product/security I don't understand the meaning of the last point!!!! What have I to do step by step?? Where is /out/host//framework/ signapk.jar file?? Where are platform.x509.pem and platform.pk8? It says "/build/target/product/security", but where is this path? The setps above are for a Dream telephone, maybe there is something different in Samsung i9000? I don't know if it could be useful, hower I have a rooted Samsung i-9000 with Darky 10.2 ROM, development tool: Eclipse, OS: Windows7 32bit Thank you very much!!!!
-
Answer:
Other than by getting a job at Samsung, or perhaps by taking hostages at gunpoint, you cannot sign applications with Samsung's signing key. You are welcome to create your own firmware, in which case you control your own signing key. Of course, in that case, you could put this code right into the modified firmware.
Giacomo at Stack Overflow Visit the source
Related Q & A:
- What is the difference between a DVD home theater system and a regular home theater system?Best solution by Yahoo! Answers
- How similar is the British education system to the Canadian education system?Best solution by britishexpats.com
- How do I find a German birth certificate, and death certificate?Best solution by Yahoo! Answers
- What is the best system? The multi party or the two party system?Best solution by Answerbag.com
- What is digital system and analogue system?Best solution by wiki.answers.com
Just Added Q & A:
- How many active mobile subscribers are there in China?Best solution by Quora
- How to find the right vacation?Best solution by bookit.com
- How To Make Your Own Primer?Best solution by thekrazycouponlady.com
- How do you get the domain & range?Best solution by ChaCha
- How do you open pop up blockers?Best solution by Yahoo! Answers
For every problem there is a solution! Proved by Solucija.
-
Got an issue and looking for advice?
-
Ask Solucija to search every corner of the Web for help.
-
Get workable solutions and helpful tips in a moment.
Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.