DBDigital / nookdevs

Automatically exported from code.google.com/p/nookdevs Please note I am not a developer. I only created this to prevent the code from being lost with the shutdown of GoogleCode. If you wish to work on this, contact me and I will add you. :)
0 stars 0 forks source link

trunk of appLauncher does nothing when run #1

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Check out a clean copy of the appLauncher code
2. Run on nook device (I deployed over wifi)
3. Select home and chose AppLauncher

What is the expected output? What do you see instead?
Nothing happens or the screen will flash and revert to the built in home

I am working on combining the code from the original launcher, appLauncher
and my local edits to nookLauncher and would like to use appLauncher as a
large chunk as it is the most fully featured at the moment

Original issue reported on code.google.com by mikesch...@gmail.com on 20 Jan 2010 at 10:29

GoogleCodeExporter commented 8 years ago
Hi,
Do you have a screenshot? Is there any exception in logcat? 
How about the apk file in download? does that work?
I built the same code yesterday and it works. 
Send me whatever info you can collect and I'll look into it this weekend.  

Original comment by hari.swa...@gmail.com on 20 Jan 2010 at 11:07

GoogleCodeExporter commented 8 years ago
01-27 10:53:33.504: WARN/dalvikvm(13477): Unable to resolve superclass of
Lcom/nookdevs/applauncher/AppLauncher; (67)
01-27 10:53:33.504: WARN/dalvikvm(13477): Link of class
'Lcom/nookdevs/applauncher/AppLauncher;' failed
01-27 10:53:33.519: WARN/dalvikvm(13477): threadid=3: thread exiting with 
uncaught
exception (group=0x4000fe68)
01-27 10:53:33.519: ERROR/AndroidRuntime(13477): Uncaught handler: thread main
exiting due to uncaught exception
01-27 10:53:33.549: ERROR/AndroidRuntime(13477): java.lang.RuntimeException: 
Unable
to instantiate activity
ComponentInfo{com.nookdevs.applauncher/com.nookdevs.applauncher.AppLauncher}:
java.lang.ClassNotFoundException: com.nookdevs.applauncher.AppLauncher in loader
dalvik.system.PathClassLoader@4361ff08
01-27 10:53:33.549: ERROR/AndroidRuntime(13477):     at
android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2198)
01-27 10:53:33.549: ERROR/AndroidRuntime(13477):     at
android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2288)
01-27 10:53:33.549: ERROR/AndroidRuntime(13477):     at
android.app.ActivityThread.access$1800(ActivityThread.java:112)
01-27 10:53:33.549: ERROR/AndroidRuntime(13477):     at
android.app.ActivityThread$H.handleMessage(ActivityThread.java:1696)
01-27 10:53:33.549: ERROR/AndroidRuntime(13477):     at
android.os.Handler.dispatchMessage(Handler.java:99)
01-27 10:53:33.549: ERROR/AndroidRuntime(13477):     at
android.os.Looper.loop(Looper.java:123)
01-27 10:53:33.549: ERROR/AndroidRuntime(13477):     at
android.app.ActivityThread.main(ActivityThread.java:3952)
01-27 10:53:33.549: ERROR/AndroidRuntime(13477):     at
java.lang.reflect.Method.invokeNative(Native Method)
01-27 10:53:33.549: ERROR/AndroidRuntime(13477):     at
java.lang.reflect.Method.invoke(Method.java:521)
01-27 10:53:33.549: ERROR/AndroidRuntime(13477):     at
com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:787)
01-27 10:53:33.549: ERROR/AndroidRuntime(13477):     at
com.android.internal.os.ZygoteInit.main(ZygoteInit.java:545)
01-27 10:53:33.549: ERROR/AndroidRuntime(13477):     at
dalvik.system.NativeStart.main(Native Method)
01-27 10:53:33.549: ERROR/AndroidRuntime(13477): Caused by:
java.lang.ClassNotFoundException: com.nookdevs.applauncher.AppLauncher in loader
dalvik.system.PathClassLoader@4361ff08
01-27 10:53:33.549: ERROR/AndroidRuntime(13477):     at
dalvik.system.PathClassLoader.findClass(PathClassLoader.java:243)
01-27 10:53:33.549: ERROR/AndroidRuntime(13477):     at
java.lang.ClassLoader.loadClass(ClassLoader.java:573)
01-27 10:53:33.549: ERROR/AndroidRuntime(13477):     at
java.lang.ClassLoader.loadClass(ClassLoader.java:532)
01-27 10:53:33.549: ERROR/AndroidRuntime(13477):     at
android.app.Instrumentation.newActivity(Instrumentation.java:1097)
01-27 10:53:33.549: ERROR/AndroidRuntime(13477):     at
android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2190)
01-27 10:53:33.549: ERROR/AndroidRuntime(13477):     ... 11 more
01-27 10:53:33.679: ERROR/ActivityManager(1804): SUPPRESSING CRASH DIALOG.....

Seems to be something about the base activity. Is there something special about 
the
common project that I may have set up wrong in eclipse?

Original comment by mikesch...@gmail.com on 20 Jan 2010 at 11:38

GoogleCodeExporter commented 8 years ago
Yes. looks like the files in common are not getting into the apk.
In Eclipse project properties - Java Build section -
make sure the nookCommon project is added as a required project and it is 
selected 
in Order & Export tab.
I have attached the screen from my project settings. 

Original comment by hari.swa...@gmail.com on 20 Jan 2010 at 11:45

Attachments:

GoogleCodeExporter commented 8 years ago
The .docx you attached won't open? Something about can't open normal.dotm.

I'll try moving the common up on the list and checking the box and let you know 
how
that goes.

Original comment by mikesch...@gmail.com on 20 Jan 2010 at 11:55

GoogleCodeExporter commented 8 years ago
Added nookCommon to the Order and Export tab and redeployed after a full 
uninstall
and didn't get anything different :/ 

Original comment by mikesch...@gmail.com on 21 Jan 2010 at 12:01

GoogleCodeExporter commented 8 years ago
try this. I saved the file as .doc

Original comment by hari.swa...@gmail.com on 21 Jan 2010 at 12:01

Attachments:

GoogleCodeExporter commented 8 years ago
put all the files in the same project and build. If that works, we can at least 
confirm that the code works. 
btw, configure nookCommon as a regular Java project (not an android project) 
and 
then add android.jar from SDK 1.5 folder using the external jars option in 
project 
settings. it should just compile and eclipse shouldn't try to create a apk for 
that.

Original comment by hari.swa...@gmail.com on 21 Jan 2010 at 12:13

GoogleCodeExporter commented 8 years ago
Fixed! Making it a plain java project did the trick. Now I can hopefully get all
these things merged together tonight. I am changing the way the image buttons 
are
handled a bit if you want to get in the IRC tonight sometime and chat about it

Original comment by mikesch...@gmail.com on 21 Jan 2010 at 12:20

GoogleCodeExporter commented 8 years ago

Original comment by mikesch...@gmail.com on 21 Jan 2010 at 12:20

GoogleCodeExporter commented 8 years ago
ok. I'll be free in an hr or so. I'll login to IRC then.

Original comment by hari.swa...@gmail.com on 21 Jan 2010 at 12:28

GoogleCodeExporter commented 8 years ago
Hi,
I forgot your id in IRC. What is it?

Original comment by hari.swa...@gmail.com on 21 Jan 2010 at 1:55