Hi Romain Guy, There are some other threads about 'sampe home', i.e. http://groups.google.com/group/android-developers/browse_thread/thread/d589e8e14179c0cd/f22d10100909060a?lnk=gst&q=sample+home#f22d10100909060a My new question is how to use widget in user home? Could you give some idea? Thanks.
Anthony Xu On May 21, 2:47 am, Romain Guy <[email protected]> wrote: > It's in the SDK :) > > On Tue, May 19, 2009 at 2:02 PM, androiddev123 > > > > <[email protected]> wrote: > > > Hi Mark, > > > Can you provide myself with the entire directory source code for this > > app? > > > Regards, > > > On May 4, 7:05 pm, Mark Murphy <[email protected]> wrote: > >> droiddroid wrote: > >> > How areaHomeand Sweeterhomehijacking thehomepage? I have the > >> > SDK, but have no idea how to do it. > > >> The Android SDK comes with asamplehomescreen application. > > >> Most of the magic is in the AndroidManifest.xml file: > > >> <activity android:name="Home" > >> android:theme="@style/Theme" > >> android:launchMode="singleInstance" > >> android:stateNotNeeded="true"> > >> <intent-filter> > >> <action android:name="android.intent.action.MAIN" /> > >> <category android:name="android.intent.category.HOME"/> > >> <category android:name="android.intent.category.DEFAULT" /> > >> </intent-filter> > >> </activity> > > >> -- > >> Mark Murphy (a Commons > >> Guy)http://commonsware.com|http://twitter.com/commonsguy > > >> _The Busy Coder's Guide to Android Development_ Version 2.0 Available! > > -- > Romain Guy > Android framework engineer > [email protected] > > Note: please don't send private questions to me, as I don't have time > to provide private support. All such questions should be posted on > public forums, where I and others can see and answer them --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~----------~----~----~----~------~----~------~--~---

