The Launcher cannot be compiled against the SDK and the Launcher source code from Cupcake can certainly not compile against SDK 1.0 or 1.1.
On Fri, Mar 6, 2009 at 9:49 AM, Prabhu <[email protected]> wrote: > > Gerald, > > were you able to compile the Launcher code that came with SDK? I am > facing compilation issue like LiveFolders class is not present, etc.. > can you help me in compiling this code? > > Thanks, > Prabhu. > > On Feb 10, 1:03 am, Gerald <[email protected]> wrote: >> I noticed a discussion about the SlidingDrawer >> here:http://groups.google.com/group/android-developers/browse_thread/threa... >> >> What can I do if the SlidingDrawer is a private API? >> >> Thanks >> >> Gerald >> >> On Feb 10, 11:03 am, Gerald <[email protected]> wrote: >> >> > Attach exception message: >> > Unable to start activity ComponentInfo{com.android.mylauncher/ >> > com.android.mylauncher.Launcher}: android.view.InflateException: >> > Binary XML file line #40: Error inflating class >> > java.lang.reflect.Constructor >> >> > The 40 line of mylauncher.xml is the start tag of >> > com.android.internal.widget.SlidingDrawer >> >> > On Feb 10, 10:53 am, Gerald <[email protected]> wrote: >> >> > > Attach log from logcat: >> > > ----- pid 403 at 2009-02-10 02:40:11 ----- >> > > Cmd line: com.android.mylauncher >> >> > > DALVIK THREADS: >> > > "main" prio=5 tid=3 NATIVE >> > > | group="main" sCount=1 dsCount=0 s=0 obj=0x40018dd8 >> > > | sysTid=403 nice=0 sched=0/0 handle=-1096160100 >> > > at android.os.BinderProxy.transact(Native Method) >> > > at android.app.ActivityManagerProxy.handleApplicationError >> > > (ActivityManagerNative.java:2044) >> > > at com.android.internal.os.RuntimeInit.crash(RuntimeInit.java:302) >> > > at com.android.internal.os.RuntimeInit >> > > $UncaughtHandler.uncaughtException(RuntimeInit.java:75) >> > > at java.lang.ThreadGroup.uncaughtException(ThreadGroup.java:887) >> > > at java.lang.ThreadGroup.uncaughtException(ThreadGroup.java:884) >> > > at dalvik.system.NativeStart.main(Native Method) >> >> > > "Binder Thread #2" prio=5 tid=13 NATIVE >> > > | group="main" sCount=1 dsCount=0 s=0 obj=0x4346c490 >> > > | sysTid=408 nice=0 sched=0/0 handle=809568 >> > > at dalvik.system.NativeStart.run(Native Method) >> >> > > "Binder Thread #1" prio=5 tid=11 NATIVE >> > > | group="main" sCount=1 dsCount=0 s=0 obj=0x4346be60 >> > > | sysTid=407 nice=0 sched=0/0 handle=812328 >> > > at dalvik.system.NativeStart.run(Native Method) >> >> > > "JDWP" daemon prio=5 tid=9 VMWAIT >> > > | group="system" sCount=1 dsCount=0 s=0 obj=0x4346b2a0 >> > > | sysTid=406 nice=0 sched=0/0 handle=804536 >> > > at dalvik.system.NativeStart.run(Native Method) >> >> > > "Signal Catcher" daemon prio=5 tid=7 RUNNABLE >> > > | group="system" sCount=0 dsCount=0 s=0 obj=0x4346b1e8 >> > > | sysTid=405 nice=0 sched=0/0 handle=806024 >> > > at dalvik.system.NativeStart.run(Native Method) >> >> > > "HeapWorker" daemon prio=5 tid=5 VMWAIT >> > > | group="system" sCount=1 dsCount=0 s=0 obj=0x425bf020 >> > > | sysTid=404 nice=0 sched=0/0 handle=823080 >> > > at dalvik.system.NativeStart.run(Native Method) >> >> > > ----- end 403 ----- >> >> > > This exception is thrown after setContentView(R.layout.launcher) in >> > > onCreate function inLauncher.java >> > > Thanks >> >> > > Gerald >> >> > > On Feb 10, 12:29 am, Romain Guy <[email protected]> wrote: >> >> > > > Without showing us the exact exception we won't be able to help you >> > > > much... >> >> > > > On Mon, Feb 9, 2009 at 4:44 AM, Gerald <[email protected]> wrote: >> >> > > > > Hi, >> > > > > I need to customize thelauncherapplication. >> > > > > I built it from the android source, and installed it to the emulator >> > > > > successfully(By renaming its package name to solve signing >> > > > > conflicts). >> > > > > When I tried to run my build, an exception occurred, and I can't find >> > > > > where it actually from because it seems to be from an internal >> > > > > thread. >> >> > > > > After an whole day trying, I found that the exception is thrown by >> > > > > the >> > > > > line inLauncher.java possibly: >> > > > > setContentView(R.layout.launcher); >> >> > > > > Does anyone have any suggestion? >> > > > > Thank you very much. >> >> > > > > Gerald >> >> > > > -- >> > > > 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 > > > -- 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 -~----------~----~----~----~------~----~------~--~---

