Hi all,
We try to remove Phone apps and Services as Location Manager,Vibrator,Telephony Registry from Gingerbread 2.3.4 because our device within AM3517 have only 256MB of RAM and is not a phone device.
Applying the instruction found on this link:
Android_gingerbread_memory_analysis_for_non-phone_device
changes seem to work exept for the following:
1) The Phone icon (the bottom shortcut icon on default home screen) is still present.
How can I remove it or replace with other icons ?
2) Every time we try to execute an Apps (just click on it icons) we got the following message
"The application Android keyboard (process com.android.inputmethod.latin) has stopped unexspectedly. Please try again"
at the same time we saw on logcat:
I/ActivityManager( 1120): Start proc com.android.inputmethod.latin for service com.android.inputmethod.latin/.LatinIME: pid=6937 uid=10021 gids={}
E/ActivityThread( 6937): Failed to find provider info for user_dictionary
E/ActivityThread( 6937): Failed to find provider info for com.android.contacts
W/dalvikvm( 6937): threadid=9: thread exiting with uncaught exception (group=0x4016e560)
E/AndroidRuntime( 6937): FATAL EXCEPTION: AsyncTask #1
E/AndroidRuntime( 6937): java.lang.RuntimeException: An error occured while executing doInBackground()
E/AndroidRuntime( 6937): at android.os.AsyncTask$3.done(AsyncTask.java:200)
E/AndroidRuntime( 6937): at java.util.concurrent.FutureTask$Sync.innerSetException(FutureTask.java:274)
E/AndroidRuntime( 6937): at java.util.concurrent.FutureTask.setException(FutureTask.java:125)
E/AndroidRuntime( 6937): at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:308)
E/AndroidRuntime( 6937): at java.util.concurrent.FutureTask.run(FutureTask.java:138)
E/AndroidRuntime( 6937): at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1088)
E/AndroidRuntime( 6937): at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:581)
E/AndroidRuntime( 6937): at java.lang.Thread.run(Thread.java:1019)
E/AndroidRuntime( 6937): Caused by: java.lang.NullPointerException
E/AndroidRuntime( 6937): at com.android.inputmethod.latin.UserDictionary.addWords(UserDictionary.java:124)
E/AndroidRuntime( 6937): at com.android.inputmethod.latin.UserDictionary.loadDictionaryAsync(UserDictionary.java:71)
E/AndroidRuntime( 6937): at com.android.inputmethod.latin.ExpandableDictionary$LoadDictionaryTask.doInBackground(ExpandableDictionary.java:498)
E/AndroidRuntime( 6937): at com.android.inputmethod.latin.ExpandableDictionary$LoadDictionaryTask.doInBackground(ExpandableDictionary.java:495)
E/AndroidRuntime( 6937): at android.os.AsyncTask$2.call(AsyncTask.java:185)
E/AndroidRuntime( 6937): at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:306)
E/AndroidRuntime( 6937): ... 4 more
D/dalvikvm( 6937): GC_CONCURRENT freed 490K, 51% free 2904K/5831K, external 1020K/1038K, paused 3ms+25ms
D/dalvikvm( 6937): GC_EXTERNAL_ALLOC freed 9K, 51% free 2894K/5831K, external 1020K/1038K, paused 158ms
How can we fix it ?
Attached here our generic.mk and core.mk used
Thanks in advance for your answer.
regards,
Paolo.