Java-Gaming.org    
Featured games (81)
games approved by the League of Dukes
Games in Showcase (499)
Games in Android Showcase (118)
games submitted by our members
Games in WIP (567)
games currently in development
News: Read the Java Gaming Resources, or peek at the official Java tutorials
 
    Home     Help   Search   Login   Register   
Pages: [1]
  ignore  |  Print  
  Deploying, and installing on a cellphone  (Read 4853 times)
0 Members and 1 Guest are viewing this topic.
Offline l3dx

Junior Member


Medals: 1


Say what?


« Posted 2008-05-07 08:56:33 »

Hi everyone!

I've got a problem when it comes to running my game at the cellphone. It works fine without errors on the emulator phone in the wireless toolkit, but when I try to install the jar on my phone, it tells me nothing but "Operation failed". Is there a way to find out what the problem actually is? I've tried 3 different phones.

The game is using MIDP 2.0 and CLDC 1.1 . The phones are for sure supporting this!

When installing, I've just uploaded the .jar to the phone, and ran in it. (The phone asks to install, and then gives me the error...)

Really hope there are someone with a clever solution to this. Would be a shame not being able to play it on anything but the emulator!  Wink
Offline l3dx

Junior Member


Medals: 1


Say what?


« Reply #1 - Posted 2008-05-07 10:06:24 »

Actually, that was just because I'd chosen MIDP 2.1 for some strange reason  Cool . (Created a new project hoping there was a problem there..)
Still, I now get an error when running it. I got this before also. That's why I created the new project. The actual problem I got is that I receive "Application error" when running it.
Offline SimonH
« Reply #2 - Posted 2008-05-07 11:09:15 »

There's lots of possible reasons (jar size too big, images too big, some phones only allow installation OTA &c, &c)

Search here for further info...

People make games and games make people
Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline malberts

Junior Member





« Reply #3 - Posted 2008-05-07 11:36:17 »

Does your manifest file contain all the necessery info? And be sure that you are not using, for example, nokia specific code on a phone that does not support it.

In space no-one can hear you System.out.println()
Offline OverKill

Junior Member




Java games rock!


« Reply #4 - Posted 2008-05-07 12:45:14 »

Welcome to the wonderful world of Mobile Development. Trust me, it gets worse from here on (and people wonder why I left)

The list of problems is about as long as my arm.

malberts is correct. Make sure your manifest AND jad is 100% correct.
Also SimonH is correct with the size issue, though this is often caught by the OS.

Even a missing extra empty line at the end can be the problem.

Are you signing it or using permissions? The latter can be a real killer. I have seen multiple S60s with different permission requirements.

Are you using the correct image types (keep to PNGs) or are you using any weird media types?

Last but not  least:
NEVER trust the Emulator! They lie!
Pages: [1]
  ignore  |  Print  
 
 
You cannot reply to this message, because it is very, very old.

 

Add your game by posting it in the WIP section,
or publish it in Showcase.

The first screenshot will be displayed as a thumbnail.

Pippogeek (39 views)
2014-09-24 16:13:29

Pippogeek (30 views)
2014-09-24 16:12:22

Pippogeek (19 views)
2014-09-24 16:12:06

Grunnt (44 views)
2014-09-23 14:38:19

radar3301 (27 views)
2014-09-21 23:33:17

BurntPizza (62 views)
2014-09-21 02:42:18

BurntPizza (32 views)
2014-09-21 01:30:30

moogie (39 views)
2014-09-21 00:26:15

UprightPath (50 views)
2014-09-20 20:14:06

BurntPizza (54 views)
2014-09-19 03:14:18
List of Learning Resources
by Longor1996
2014-08-16 10:40:00

List of Learning Resources
by SilverTiger
2014-08-05 19:33:27

Resources for WIP games
by CogWheelz
2014-08-01 16:20:17

Resources for WIP games
by CogWheelz
2014-08-01 16:19:50

List of Learning Resources
by SilverTiger
2014-07-31 16:29:50

List of Learning Resources
by SilverTiger
2014-07-31 16:26:06

List of Learning Resources
by SilverTiger
2014-07-31 11:54:12

HotSpot Options
by dleskov
2014-07-08 01:59:08
java-gaming.org is not responsible for the content posted by its members, including references to external websites, and other references that may or may not have a relation with our primarily gaming and game production oriented community. inquiries and complaints can be sent via email to the info‑account of the company managing the website of java‑gaming.org
Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines | Managed by Enhanced Four Valid XHTML 1.0! Valid CSS!