Introducing XDA:DevCon – A Conference For Developers By Developers
XDA Developers Android and Mobile Development Forum
Forgot your password?
 
Post Reply+
Tip us?
 
brotbuexe
Old
#1  
brotbuexe's Avatar
Senior Member - OP
Thanks Meter 22
Posts: 141
Join Date: Apr 2009
Default [APP] JBlend Java VM

Hi,

I wan't to use jblend java vm without having to flash modaco rom, but I can't get it work.

I pushed MetaMidpPlayer.apk to /system/app.
I pushed libjbmidp.so and libjbmidpdy.so to /system/lib.

The jvm app runs, I can install java apps, but the java app crashes when I try to start it.

Code:
01-17 13:21:20.698: INFO/MidletLister(17518): setSelectedMidlet(): Name="dasHandyTicket", Vendor="SIEMENS AG"
01-17 13:21:20.718: DEBUG/MidletProvider(17518): Creating table: jadFiles
01-17 13:21:20.718: DEBUG/MidletProvider(17518): Creating table: jarFiles
01-17 13:21:20.718: DEBUG/MidletProvider(17518): Creating table: userConfs
01-17 13:21:20.718: DEBUG/MidletProvider(17518): Creating table: OTANotify
01-17 13:21:20.718: DEBUG/MidletProvider(17518): Creating table: players
01-17 13:21:20.718: DEBUG/MidletProvider(17518): Creating table: groups
01-17 13:21:20.718: INFO/MidletProvider(17518): Tables created
01-17 13:21:20.718: DEBUG/MidletProvider(17518): installed player package: [jp.aplix.midp.p1, jp.aplix.midp.p2, jp.aplix.midp.p3]
01-17 13:21:20.738: VERBOSE/PermissionManager(17518): PermissionManager Constructor with C
01-17 13:21:20.738: VERBOSE/PermissionManager(17518): PermissionManager language :English (United States),country:United States
01-17 13:21:20.738: INFO/FactoryDataSettler(17518): Factory Data settled_assetdata_misc has already been settled.
01-17 13:21:20.738: INFO/FactoryDataSettler(17518): Factory Data settled_factorydata_misc shall be settled.
01-17 13:21:20.738: ERROR/ActivityThread(17518): Failed to find provider info for jp.aplix.midp.factoryprovider
01-17 13:21:20.738: INFO/FactoryDataSettler(17518): No Factory Data at: content://jp.aplix.midp.factoryprovider
01-17 13:21:20.748: VERBOSE/PermissionManager(17518): Start getTrustedDomain()
01-17 13:21:20.778: DEBUG/MidletTools(17518): getDefaultProfileId :1
01-17 13:21:20.778: INFO/MidletProvider(17518): Cursor URI Query : content://jp.aplix.android.Midlets/jarFiles/1 WHERE null
01-17 13:21:20.778: INFO/MidletProvider(17518): Cursor URI Query select jar : 1
01-17 13:21:20.818: DEBUG/AndroidRuntime(17518): Shutting down VM
01-17 13:21:20.818: WARN/dalvikvm(17518): threadid=3: thread exiting with uncaught exception (group=0x4001b1a0)
01-17 13:21:20.818: ERROR/AndroidRuntime(17518): Uncaught handler: thread main exiting due to uncaught exception
01-17 13:21:20.818: ERROR/AndroidRuntime(17518): java.lang.RuntimeException: Unable to start service jp.aplix.midp.MetaMidpPlayer@44d04778 with Intent { flg=0x12000000 cmp=jp.aplix.midp.player/.MidpPlayer1 (has extras) }: android.content.ActivityNotFoundException: Unable to find explicit activity class {jp.aplix.midp.player/jp.aplix.midp.player.MidpPlayer1}; have you declared this activity in your AndroidManifest.xml?
01-17 13:21:20.818: ERROR/AndroidRuntime(17518):     at android.app.ActivityThread.handleServiceArgs(ActivityThread.java:2882)
01-17 13:21:20.818: ERROR/AndroidRuntime(17518):     at android.app.ActivityThread.access$3500(ActivityThread.java:119)
01-17 13:21:20.818: ERROR/AndroidRuntime(17518):     at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1926)
01-17 13:21:20.818: ERROR/AndroidRuntime(17518):     at android.os.Handler.dispatchMessage(Handler.java:99)
01-17 13:21:20.818: ERROR/AndroidRuntime(17518):     at android.os.Looper.loop(Looper.java:123)
01-17 13:21:20.818: ERROR/AndroidRuntime(17518):     at android.app.ActivityThread.main(ActivityThread.java:4363)
01-17 13:21:20.818: ERROR/AndroidRuntime(17518):     at java.lang.reflect.Method.invokeNative(Native Method)
01-17 13:21:20.818: ERROR/AndroidRuntime(17518):     at java.lang.reflect.Method.invoke(Method.java:521)
01-17 13:21:20.818: ERROR/AndroidRuntime(17518):     at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:860)
01-17 13:21:20.818: ERROR/AndroidRuntime(17518):     at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:618)
01-17 13:21:20.818: ERROR/AndroidRuntime(17518):     at dalvik.system.NativeStart.main(Native Method)
01-17 13:21:20.818: ERROR/AndroidRuntime(17518): Caused by: android.content.ActivityNotFoundException: Unable to find explicit activity class {jp.aplix.midp.player/jp.aplix.midp.player.MidpPlayer1}; have you declared this activity in your AndroidManifest.xml?
01-17 13:21:20.818: ERROR/AndroidRuntime(17518):     at android.app.Instrumentation.checkStartActivityResult(Instrumentation.java:1404)
01-17 13:21:20.818: ERROR/AndroidRuntime(17518):     at android.app.Instrumentation.execStartActivity(Instrumentation.java:1378)
01-17 13:21:20.818: ERROR/AndroidRuntime(17518):     at android.app.ApplicationContext.startActivity(ApplicationContext.java:555)
01-17 13:21:20.818: ERROR/AndroidRuntime(17518):     at android.content.ContextWrapper.startActivity(ContextWrapper.java:248)
01-17 13:21:20.818: ERROR/AndroidRuntime(17518):     at jp.aplix.midp.MetaMidpPlayer.onStart(MetaMidpPlayer.java:188)
01-17 13:21:20.818: ERROR/AndroidRuntime(17518):     at android.app.Service.onStartCommand(Service.java:306)
01-17 13:21:20.818: ERROR/AndroidRuntime(17518):     at android.app.ActivityThread.handleServiceArgs(ActivityThread.java:2873)
01-17 13:21:20.818: ERROR/AndroidRuntime(17518):     ... 10 more
01-17 13:21:20.818: INFO/dalvikvm(17518): threadid=7: reacting to signal 3
01-17 13:21:20.828: INFO/dalvikvm(17518): Wrote stack trace to '/data/anr/traces.txt'
Galaxy Note: CM10.1; Motorola Defy: CM10; Kindle 8.9: CM10.1
 
brotbuexe
Old
#2  
brotbuexe's Avatar
Senior Member - OP
Thanks Meter 22
Posts: 141
Join Date: Apr 2009
Tried to adb install MetaMidpPlayer.apk from modaco and got some errors:

Code:
D/PackageParser(  318): Scanning package: /data/app/vmdl61290.tmp
I/PackageParser(  318): jp.aplix.midp: compat added android.permission.WRITE_EXT
ERNAL_STORAGE
W/PackageParser(  318): Exception reading /data/app/vmdl61290.tmp
W/PackageParser(  318): java.lang.SecurityException: META-INF/MANIFEST.MF has in
valid digest for assets/licenses/Java_powered_logo_rgb.png in /data/app/vmdl6129
0.tmp
W/PackageParser(  318):         at java.util.jar.JarVerifier$VerifierEntry.verif
y(JarVerifier.java:130)
W/PackageParser(  318):         at java.util.jar.JarFile$JarFileInputStream.read
(JarFile.java:130)
W/PackageParser(  318):         at android.content.pm.PackageParser.loadCertific
ates(PackageParser.java:318)
W/PackageParser(  318):         at android.content.pm.PackageParser.collectCerti
ficates(PackageParser.java:479)
W/PackageParser(  318):         at com.android.server.PackageManagerService.inst
allPackageLI(PackageManagerService.java:4276)
W/PackageParser(  318):         at com.android.server.PackageManagerService.acce
ss$1600(PackageManagerService.java:109)
W/PackageParser(  318):         at com.android.server.PackageManagerService$5.ru
n(PackageManagerService.java:3768)
W/PackageParser(  318):         at android.os.Handler.handleCallback(Handler.jav
a:587)
W/PackageParser(  318):         at android.os.Handler.dispatchMessage(Handler.ja
va:92)
W/PackageParser(  318):         at android.os.Looper.loop(Looper.java:123)
W/PackageParser(  318):         at android.os.HandlerThread.run(HandlerThread.ja
va:60)
Could install the metamidpplayer.apk from http://forum.xda-developers.com/show...ghlight=jblend. But still get the force clos when try to run the java applet.
Galaxy Note: CM10.1; Motorola Defy: CM10; Kindle 8.9: CM10.1
 
dave_a
Old
#3  
Junior Member
Thanks Meter 0
Posts: 10
Join Date: Feb 2007
Location: Shepperton
I have installed modaco and installed a couple of apps in Jblend but I also get the force close when I try to run them.

I am new to android though so could be doing something wrong.
 
brotbuexe
Old
#4  
brotbuexe's Avatar
Senior Member - OP
Thanks Meter 22
Posts: 141
Join Date: Apr 2009
I now also have modaco installed and still get the force close, will put a bug report to modaco when i have time...
Galaxy Note: CM10.1; Motorola Defy: CM10; Kindle 8.9: CM10.1
 
manup456
Old
#5  
manup456's Avatar
Senior Member
Thanks Meter 104
Posts: 2,282
Join Date: Dec 2008
Location: Danbury

 
DONATE TO ME
MetaMidpPlayer.apk
MidpPlayer.apk

There are two diff .apk that go along with this your missing one and thats seems to be the prob.
"I got a Manup lifestyle"

 
brotbuexe
Old
#6  
brotbuexe's Avatar
Senior Member - OP
Thanks Meter 22
Posts: 141
Join Date: Apr 2009
you are right, that fixed the force close, but booth of my java apps would not start, it get right back to the java apps list when i click one of the apps.
Galaxy Note: CM10.1; Motorola Defy: CM10; Kindle 8.9: CM10.1
 
dave_a
Old
#7  
Junior Member
Thanks Meter 0
Posts: 10
Join Date: Feb 2007
Location: Shepperton
Quote:
Originally Posted by brotbuexe View Post
you are right, that fixed the force close, but booth of my java apps would not start, it get right back to the java apps list when i click one of the apps.
Yes, same problem for me. Maybe it is not compatible with 2.1?
 
zephyr83
Old
#8  
Senior Member
Thanks Meter 25
Posts: 216
Join Date: Feb 2006
Jblend works well o my htc magic!!
 
seraphim5
Old
#9  
Junior Member
Thanks Meter 0
Posts: 12
Join Date: Sep 2010
Default Fix - solution

Im going to post how to get this to work soon ...
 
seimur
Old
#10  
Member
Thanks Meter 0
Posts: 48
Join Date: Oct 2008
For these who still looking for Java emulator http://4pda.ru/forum/dl/post/1174235...GB_2.03.15.rar

 
Post Reply+
Tags
java
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

report this ad
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Go to top of page...

XDA PORTAL POSTS

Tasker Alternative: AutomateIt, Automates Your Device Tasks – XDA Developer TV

XDA Developer TV Producer Kevin wants to help make your … more

Preventing App Piracy: Join the Discussion

The topic of piracy is always a touchy subject, but I feel that the grass roots style of Android … more

Jolla Sailfish OS Flagship Device Makes First Appearance

Given the amount of coverage that Android receives around here, you could almost be … more

XDA University: Porting ClockworkMod Recovery to New Devices

Having a good recovery makes the process of modifying, tweaking, maintaining, … more