Google
 
Web www.howardforums.com
Pages: 1

Possible solution to using Java apps without downloading them *MPX220*

(Click here to view the original thread with full colors/images)


Posted by: kfernandes29

Not sure if this will work. Just an idea. But since you can only Download Java apps and games, here is my concept.

You move the Java files to a certain directory on your smartphone (ie. /Storage/My Documents)

You then open an html file which will be written in Java (or some other language)

This html file will list the files in the My Documents folder as links *sort of like a Java Windows Explorer*

You then select the file link and let internet explorer do the rest of the work.........hopefully itll recognize the link as a downloadable Java app or game and install it as it usually does.

Anyone think this can work? I'm not a Java programmer or anything so I'm not sure if it is even possible. But give me credit for thinking at least. lol



Posted by: Michael95GT

Hmmmm, very interesting. I see how it would appear to work. Hopefully someone with code writing experience will chime in.



Posted by: kfernandes29

Anyone else?



Posted by: iDunnolio

Code:
<html> <a href="\j2me0.jar">Game1</a> <a href="\j2me1.jar">Game2</a> </html>


i tried that in internet explorer with the java files in my root directory and it said there is no valid program to run these files, how do the files come when you download them. in a cab, or as jar files?



Posted by: iDunnolio

tried .jad instead but still doesnt work.



Posted by: kfernandes29

I tried the same thing. Didn't work. I dunno how we can do this, but its going to have to be something similar to this. The file you have to download from the web is a .Jad file. I'm going to keep trying. Could have something to do with the MIME Settings. I'll keep you posted.



Posted by: markgamber

If I had to guess, I'd guess that the jar filetype probably needs to be marked as executable in the registry, like an exe or a cab file.



Posted by: iDunnolio

bump,
anyone figure this out yet, i have some awesome games for my phone but they are on java



Posted by: iDunnolio

gahh, ill prolly have to call moto to see what they say, i mean its made to be powerful for java but you cant put anything of your own thats java



Posted by: dchester

Quote:
Originally posted by kfernandes29
I tried the same thing. Didn't work. I dunno how we can do this, but its going to have to be something similar to this. The file you have to download from the web is a .Jad file. I'm going to keep trying. Could have something to do with the MIME Settings. I'll keep you posted.
The MIME type returned from the web server does matter. The correct mime type for a jad file should be "text/vnd.sun.j2me.app-descriptor". The correct mime type for a jar file should be "application/java-archive".



Posted by: shaolinmonk

http://www.howardforums.com/showthr...threadid=530705





vBulletin Copyright ©2000 - 2009, Jelsoft Enterprises Limited.
vB Easy Archive Final ©2000 - 2009 - Created by Stefan "Xenon" Kaeser