Hi !
Featured games (91)
games approved by the League of Dukes
Games in Showcase (757)
Games in Android Showcase (229)
games submitted by our members
Games in WIP (844)
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 6604 times)
0 Members and 1 Guest are viewing this topic.
Offline l3dx

Junior Devvie

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 Devvie

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 Devvie

« 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 Devvie

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  

EgonOlsen (58 views)
2018-06-10 19:43:48

EgonOlsen (40 views)
2018-06-10 19:43:44

EgonOlsen (60 views)
2018-06-10 19:43:20

DesertCoockie (239 views)
2018-05-13 18:23:11

nelsongames (141 views)
2018-04-24 18:15:36

nelsongames (140 views)
2018-04-24 18:14:32

ivj94 (882 views)
2018-03-24 14:47:39

ivj94 (143 views)
2018-03-24 14:46:31

ivj94 (794 views)
2018-03-24 14:43:53

Solater (158 views)
2018-03-17 05:04:08
Java Gaming Resources
by philfrei
2017-12-05 19:38:37

Java Gaming Resources
by philfrei
2017-12-05 19:37:39

Java Gaming Resources
by philfrei
2017-12-05 19:36:10

Java Gaming Resources
by philfrei
2017-12-05 19:33:10

List of Learning Resources
by elect
2017-03-13 14:05:44

List of Learning Resources
by elect
2017-03-13 14:04:45

SF/X Libraries
by philfrei
2017-03-02 08:45:19

SF/X Libraries
by philfrei
2017-03-02 08:44:05 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‑
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!