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

Naresh Sharma picture Naresh Sharma · Apr 3, 2012 · Viewed 43.6k times · Source

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

Answer

claesv picture claesv · Apr 3, 2012

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/