Page 1 of 2 1 2 LastLast
Results 1 to 15 of 21

Thread: "Application Error" when transfering Java Games to V600 via Bluetooth

  1. #1
    Join Date
    Jun 2004
    Location
    South Africa
    Posts
    7
    Phones
    Motorola V600
    Ericsson R600
    Carrier
    MTN
    Feedback Score
    0

    Unhappy "Application Error" when transfering Java Games to V600 via Bluetooth

    Now this is a real problem I have been having for quite some time now.
    I am using a bluetooth dongle (MSI PC2PC) and my V600. I can make a connection to my phone perfectly and transfer videos, images and sounds perfectly with no hasle, except for Java applications.
    I am using the OBEX Object Push when transfering Java applications. The transfer happens... my phone makes a connection to the PC and vice versa and the phone registers that the PC is trying to transfer a Java application. When I choose accept, the phone produces an "Application Error". The Java applications run perfectly using the J2ME wireless toolkit by just double-clicking the JAD file.

    But to make the problem even worse, I have successfully transfered applications this way before with no hasle
    It seams tempremental. Like it will accept it when it wants to accept it. I just tried to transfer an application that I have transfered and run before and it just gives this "Application Error".

    Can anyone help with this? I have searched and searched the internet for a solution to no avail...
    --==:: XENNO ::==--

  2. #2
    Join Date
    Dec 2003
    Location
    United Kingdom
    Posts
    71
    Phones
    Motorola Dolce And Gabbanna 2nd ED
    Motorola V3x
    V600 Aston Martin
    Carriers
    02 UK
    02 uk
    Feedback Score
    0

    I've got a solution

    Garaunteed, if you find that jad file and convert it into jar your phone will happily recieve it, dunno why. But i think Jar and Jad are 2 totally different formats of Java. Jad has been used on me old Nokia 7650 but jar works fine, I've got a V525. Jar transferes and installs for this phone but I can't play it, Installation is fine, but just can't play it. I got Racing Fever 7210i, but i think its only for nokia's correct me if i'm wrong.


    Derek
    'The Musician'

  3. #3
    Join Date
    Jun 2004
    Location
    South Africa
    Posts
    7
    Phones
    Motorola V600
    Ericsson R600
    Carrier
    MTN
    Feedback Score
    0

    Angry That's not the solution, but it worked

    You obviously don't understand anything about Java, but ironically your solution worked!
    But let me explain... The JAD file is the descriptor file for the JAR file. The JAR file contains that actual classes (or bytecode), images and sounds that are used in the game. If you upload the JAR file without the JAD, the application may work, provided that the JAR file contains a proper manifest file describing the application. If there is no manifest, then the JAD is necessary. The JAD can also be used to run the JAR file provided that you have te J2ME Wireless Toolkit or some or other J2ME environment installed on your PC.

    However, the JAD file cannot run without the JAR file. The problem I was having is that the JAD file was newer than or had a name that was numerically larger that the JAR file and was therefore tested first by the phone. That's why I was getting the application error. The times that it worked was because I uploaded an older JAD file with a new JAR file or a numerically smaller JAD file. (in ascii, ie. "JAVA" has a higher value that "java" even though they are the same word)

    But thanks for pointing my brain in the right direction

  4. #4
    Join Date
    Dec 2003
    Location
    United Kingdom
    Posts
    71
    Phones
    Motorola Dolce And Gabbanna 2nd ED
    Motorola V3x
    V600 Aston Martin
    Carriers
    02 UK
    02 uk
    Feedback Score
    0

    Arrow just got email, interesting...

    well I am 16, so really i'm quite an amature on java. But phones, i just tend to collect them. Where do you get your java files from? I have a motorola V525 and 600. I learnt in some other forum that i can change the size of the screen on jad, but i guess that's basic stuff.


    Derek

    email me: drlau9@hotmail.com (for java sites)

  5. #5
    Join Date
    Jun 2004
    Location
    South Africa
    Posts
    7
    Phones
    Motorola V600
    Ericsson R600
    Carrier
    MTN
    Feedback Score
    0
    ...mmmmm I don't know about changing the screen size in the JAD file doesn't sound like it will work....

    But I will send you those sites

  6. #6
    Join Date
    Dec 2003
    Location
    United Kingdom
    Posts
    71
    Phones
    Motorola Dolce And Gabbanna 2nd ED
    Motorola V3x
    V600 Aston Martin
    Carriers
    02 UK
    02 uk
    Feedback Score
    0

    Arrow Java screen sizing

    The devices have different screen size and the metric is hardcoded (in most cases) into the application. That is hard to make an application to be easily adaptable to different screen size, and almost impossible to hack.

    Changing pictures no need to decompolie and recompile, just simple uncompress (jar ~= zip) change resource and compress again (but it won't help in most cases). To decompile and compile again need developer knowledge, and all developer knows that make an obfuscated app compileable again ain't worth of effort.

  7. #7
    Join Date
    Jun 2004
    Location
    Nunya
    Posts
    2,260
    Phones
    iPhone
    BB Curve
    v635
    Carriers
    at&t
    deanfx@gmail.com
    Feedback Score
    0
    Xenno what are you doing to make this transfer via bluetooth work? I have like 10 .jar file games but I have the same problem transfering BT. What are you doing different now? That thread made no sense to me?!

  8. #8
    Join Date
    Dec 2003
    Location
    United Kingdom
    Posts
    71
    Phones
    Motorola Dolce And Gabbanna 2nd ED
    Motorola V3x
    V600 Aston Martin
    Carriers
    02 UK
    02 uk
    Feedback Score
    0

    Arrow ok, i'm not xenon but can help

    please, read this section first.
    What software is your bluetooth running on? I use Widcomm drivers by IBM.

    well, first you double click on your bluetooth icon on your task bar.

    Then double click devices in range

    You'll hopefully see your phone on the menu, double click it.

    Now transfere all your files through OBEX PUSH

    MAKE SURE YOU'RE SENDING .JAR
    NOT .JAD


    Derek

  9. #9
    Join Date
    Jun 2004
    Location
    Nunya
    Posts
    2,260
    Phones
    iPhone
    BB Curve
    v635
    Carriers
    at&t
    deanfx@gmail.com
    Feedback Score
    0
    My drivers are Widcomm 1.4.2

    I can connect no prob and the phone asks to accept the file via obex push, but after the file is 100% transfered it gives me the same Application Error msg.

    I only tried it once because I remembered someone saying failed applications use memory on the phone, and eventually you would have to do a master reset.

    Sounds to me maybe this is a hit and miss file transfer.

    My phone is 100% cing, no flex's, etc...

  10. #10
    Join Date
    Dec 2003
    Location
    United Kingdom
    Posts
    71
    Phones
    Motorola Dolce And Gabbanna 2nd ED
    Motorola V3x
    V600 Aston Martin
    Carriers
    02 UK
    02 uk
    Feedback Score
    0

    Arrow ok, i'm sure on that

    hi, i'm not sure about that i'm gonna delete all the games that i transfered, cause i had application errors before. but the reason for application error is because, your java can't be any java, it must be a Motorola java basically, specially made for V525's. There is a spanish site, but english is available, i'll link you. This has motorola games on it.

    http://www.************/motomedia/cat...d=30&l=english

    the files that you download must have .jar and .jad. transfere only .jar

  11. #11
    Join Date
    Dec 2003
    Location
    United Kingdom
    Posts
    71
    Phones
    Motorola Dolce And Gabbanna 2nd ED
    Motorola V3x
    V600 Aston Martin
    Carriers
    02 UK
    02 uk
    Feedback Score
    0

    Arrow Definately, phone problem only for incorrectly flashed ones

    I've read about java transfers that if the were "application error" the phone wouldn't permanently delete it, I asked the people why is this? they said it's probably their phone having an upgrade from online forum people, and the market. lol. I just got the games working today, and you just basically reminded me about this issue.

    Results:

    I just deleted the games, 3 games, with 3 that comes with the phone, and i have 16% left afterwards. so No, this bug doesn't affect my phone, because i havn't flashed it in any way. I'll ask those people that has this bug what version of flex/flash they have..

    Just to alert other people in this forum.


    Derek

  12. #12
    Join Date
    Jun 2004
    Location
    Nunya
    Posts
    2,260
    Phones
    iPhone
    BB Curve
    v635
    Carriers
    at&t
    deanfx@gmail.com
    Feedback Score
    0
    maybe thats why the application failed, i transfered Namco Pacman, I dont recall any phones with packman..lol

  13. #13
    Join Date
    Dec 2003
    Location
    United Kingdom
    Posts
    71
    Phones
    Motorola Dolce And Gabbanna 2nd ED
    Motorola V3x
    V600 Aston Martin
    Carriers
    02 UK
    02 uk
    Feedback Score
    0

    Arrow ^^BUMP^^

    bump bump

    Dez

  14. #14
    Join Date
    Jun 2004
    Location
    South Africa
    Posts
    7
    Phones
    Motorola V600
    Ericsson R600
    Carrier
    MTN
    Feedback Score
    0

    Post Phone Specific Games

    Often the jar files that you have are specific for a certain make of phone. I know that there are some games that run perfectly on a Nokia phone but do not run on a Motorola phone. This is because those games refer to specific Java API that can be found only in a Nokia phone.

    The best thing to do is to download some or other generic environment that will run the .jar files, like the J2ME Wireless Toolkit. This will determine whether there is specific API that is refered to in the class files. Often when I try to run some of the games I get a "ClassNotFoundException" specifying a "com.nokia.somepackage.SomeClass NOT Found" error. Before I upload any game to my phone, I make sure it runs by first testing it with this toolkit.

    So, the .jar file will upload successfully but it will not run because there is some other class missing or some other error.

  15. #15
    Join Date
    Jun 2004
    Location
    Nunya
    Posts
    2,260
    Phones
    iPhone
    BB Curve
    v635
    Carriers
    at&t
    deanfx@gmail.com
    Feedback Score
    0
    Thanks for the nfo Xenno, I will try and find that toolkit.

Page 1 of 2 1 2 LastLast

Bookmarks