Click here to Skip to main content
15,885,546 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
AnyBody can help me with title,I want alter android launcher,but is anyway should not modify the android Source Code realize.
Posted
Updated 22-Feb-11 14:28pm
v4
Comments
LittleYellowBird 18-Feb-11 4:13am    
Hi, I think it would help if you could re-phrase your question a little, do you mean 'alert' ot 'alter'? And what do you mean by 'recouse'? Just a suggestion.
Thomas.TangLin 22-Feb-11 20:30pm    
thanks yours suggestion.
I'm English poor.
Abdul Quader Mamun 18-Feb-11 21:09pm    
Edited spelling.

I has get the method to resolve the question.
Simply put is modify the app AndroidManifest.xml file like this

XML
<intent-filter>
                <action android:name="android.intent.action.MAIN" />
                <category android:name="android.intent.category.HOME" />
                <category android:name="android.intent.category.DEFAULT" />
                <!-- <category android:name="android.intent.category.LAUNCHER" /> -->
            </intent-filter>

you apk will become a launcher ,when the android system start,you app become the home.

if you have interest can email me.
 
Share this answer
 
SQL
well, Thomas I have a big question!!
Im trying to make an app which can save an integer with in the app itself!! I dont want to save it in shared preferences or in any DB .. but I want to see that whenever app restarts, I should be able to retrieve the integer without any change.. Is there any way to save it in resource XML file?? can I create any new R.id for that integer in the java code itself??the thing is I dont wanna use any sort of external or internal cache things even!! pls help me....
 
Share this answer
 
Comments
Thomas.TangLin 18-May-11 4:22am    
So sorry for so later reply.

yes ,you can save it in xml file, but I don't think is better than save it in shared preferences.

actually, "shared preferences" will create xml file also.

if you have to save in xml file,you can use DOM4J 、jdom...

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900