Replacing the HOME-Screen

Basic Tutorials concerning: GUI, Views, Activites, XML, Layouts, Intents, ...

Replacing the HOME-Screen

Postby leonleung2006 » Fri Mar 07, 2008 1:49 pm

hi,
I want to change android default menu, may be provide the iphone/green phone style main menu(icon,
select menu,background screen), anyone know how to do that ?
leonleung2006
Freshman
Freshman
 
Posts: 4
Joined: Fri Mar 07, 2008 1:37 pm

Top

Postby plusminus » Fri Mar 07, 2008 4:42 pm

Hello leon,

you are talking of the HOME-Screen :?:

You just need to set the appropriate IntentFilter in your AndroidManifest.xml.
This should do the job:
Syntax: [ Download ] [ Hide ]
Using xml Syntax Highlighting
  1.             <intent-filter>
  2.                 <action android:value="android.intent.action.MAIN" />
  3.                 <category android:value="android.intent.category.HOME"/>
  4.                 <category android:value="android.intent.category.DEFAULT" />
  5.             </intent-filter>
Parsed in 0.001 seconds, using GeSHi 1.0.8.4


Regards,
plusminus
Image
Image | Android Development Community / Tutorials
User avatar
plusminus
Site Admin
Site Admin
 
Posts: 2688
Joined: Wed Nov 14, 2007 8:37 pm
Location: Schriesheim, Germany

Top

Return to Novice Tutorials

Who is online

Users browsing this forum: Yahoo [Bot] and 2 guests