0

A provider is developing an android application and told me that SHA2 is not supported because they are using J2ME. Is this really true? I did some google searching and didn't find anything about this.

Another thing that worry me is that they are using J2ME to develop an Android application. Is this a good idea? Isn't more secure to develop using native Android and not Java Microedition?

Thanks in advance.

Best!

Rifle
  • 1
  • 2
  • J2ME and "Android Java" are two different things. But you can run J2ME MIDlets on Android using an emulator like e.g. phoneME. All your users will need to install this on their phone then. – mr_lou Jun 11 '15 at 17:39

2 Answers2

0

J2ME can't be used at all for develop an Android app.

According this page, Android does support SHA-2 on 2.3+ version, at least at the browser side. I didn't understand very well the part of "sign the application with SHA-2"

webo80
  • 3,365
  • 5
  • 35
  • 52
0

J2ME can be used to develop an Android app. In fact, it isn't the best way but this provider is doing that. Check this out

Running J2me apps on Android phones

The second question is about code signing certificate. Is necessary to sign the application with a code signing certificate. This certificate can use SHA1 or SHA2 (there are another options). My question is about J2ME and the support of SHA2 certificates.

Hope this clarify my question.

Thanks

Community
  • 1
  • 1
Rifle
  • 1
  • 2
  • Code signing was done with J2ME to avoid security-popups. For Android there are no security-popups, because the user grants all permissions when installing. If you're developing an app for Android in J2ME to be used with phoneME emulator, then you don't need to sign your MIDlet. There are no security popups in phoneME. – mr_lou Jun 11 '15 at 15:21
  • Is an android application and the provider user J2ME. Android Apps need to be signed http://developer.android.com/tools/publishing/app-signing.html – Rifle Jun 11 '15 at 15:49
  • Yes, but you're not creating an Android app. You are creating a J2ME app (known as MIDlets). They require the Android user to have a J2ME emulator installed, like phoneME. phoneME is the Android app, not your J2ME app. – mr_lou Jun 11 '15 at 16:25