Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

.jar file is not install on the samsung mobiles but install on the nokia

I am facing a very strange problem that my J2ME application .jar file is downloaded normally on the Nokia mobiles but on Samsung and Motorola it is not downloaded. But if i install the .jar without downloading on the Samsung or any other handset it worked. If some has any idea then guide. Link of my app is m.hellosunshine.in

like image 856
Naresh Sharma Avatar asked Apr 03 '12 05:04

Naresh Sharma


2 Answers

Your server is configured to reply with

Content-Type: text/plain

for the jar file (http://m.hellosunshine.in/J2ME/HelloSunShine.jar), but it should be configured to reply with

Content-Type: application/java-archive jar

See e.g. http://www.summet.com/blog/2007/11/04/mime-types-for-hosting-j2me-jar-and-jad-files/

like image 120
claesv Avatar answered Nov 15 '22 13:11

claesv


It very simple they are 3 possibilities

  1. Most Samsung do not support J2ME applications

  2. For Samsung phones that support J2ME .. moths times to install an application it required both .JAD and .JAR files .. on the phone .. Lunch the .jad when both files are on the phone or your url must point to the .jad file

A typical Content type looks like this

application/java-archive .jar
text/vnd.sun.j2me.app-descriptor .jad
  1. When you JAR file is higher than specified application memory it does not run

Thanks :)

like image 28
Baba Avatar answered Nov 15 '22 13:11

Baba