Вопрос

I am developing a J2ME application. Its size is 1.5MB.

When I try to install it using Nokia PC Suite, this error appears " the application cannot be installed to the phone the file size is too big".

How may I install this application or any way to decrease its size?

Это было полезно?

Решение

Have you used proguard to obfuscate and optimize the jar file?

Are there resources (image, video, sound...) in the jar file that you could download as a background task when the user launches the applications?

Другие советы

  1. Download uc browser in your phone .
  2. Then download your app with uc browser's downloader. .
  3. It will save your app as name_jar. .
  4. Exit uc browser. .
  5. Went to directary, where you downloaded the app. .
  6. Now rename your file from name_jar to name.jar.

. . Thats all now run the app.

try to decrease the size by using low res images, sounds like jpg or mp3 and use obfuscation, it will decrease the space of jar and also set maximum jar size in emulator settings.

Лицензировано под: CC-BY-SA с атрибуция
Не связан с StackOverflow
scroll top