J2ME Midlet showing Java Error on some phones - java-me

the APP is working fine on emulator but shows java error afer installing on some samsung phones
After install java screen appears and a dialog saying java error
JAD file:
MIDlet-1: SuperRecharge, , com.pst.superrecharge.SuperRecharge
MIDlet-Jar-Size: 89564
MIDlet-Jar-URL: Super.jar
MIDlet-Name: Super
MIDlet-Vendor: Vendor
MIDlet-Version: 1.0.1
MicroEdition-Configuration: CLDC-1.1
MicroEdition-Profile: MIDP-2.0

Most Probably,The Problem is in your Code..
Some Functions like setFullScreenMode(True) works on some Mobiles.
Try it on Another mobile,say,nokia and see if it works

Related

Xcode doesn’t support iOS 15.0

I updated my iPhone to iOS 15.0 yesterday and I wanted to build in Xcode (version 12.5.1).
But in Xcode it is showing 'iPhone (unsupported OS version)' and when I try to build (command + R) then I get the error:
Xcode doesn’t support iPhone’s iOS 15.0 (19A346).
Is there a way to use it without downgrading iOS?
Without updating Xcode, you need to put the relevant device file in the DeviceSupport section and run Xcode again. DeviceSupport files are located here.
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport
https://github.com/filsv/iPhoneOSDeviceSupport
You can download iOS15 devicesupport file from here, then you need to unzip, then you need to put it in DeviceSupport section on your mac.
When you restart Xcode, there should be no problem.
Update for iOS 15.1
For 15.1 devices, You can copy file from 15.0 to the same directory as 15.1. Then you need to open Xcode again, it should be fine.
The accepted answer's repository doesn't include some of the latest versions like 16.1, here is a more updated one:
https://github.com/iGhibli/iOS-DeviceSupport/tree/master/DeviceSupport

Kotlin Multiplatform Mobile - Issue while running ios app from Android studio

I'm exploring KMM, I have done with the setup in Android Studio. I could able to run the Android app perfectly, but when I try to run the ios app, facing an issue in configuration setup. Xcode project scheme Dropdown is empty. I have attached a screenshot for reference.
Android Studio v4.1.2
Xcode 11.4
Mac OS 10.15.4
Kotlin plugin version
1.4.20.
Note:
I tried specifying the Xcode project location. But no luck.
But when I launch the ios App directly from Xcode, the app is working perfectly.
For your Kotlin version, the KMM plugin version should be 0.2.0 in accord with this release page https://kotlinlang.org/docs/mobile/kmm-plugin-releases.html#release-details.
I solved using Kotlin v1.5.0 e KMM v0.2.4.

can't install jar in mobile phone (CLDC and MIDP)

When I export a jar of my j2me code I can install it on an emulator but not on my mobile phone with the error :
Not Supported
But I can install others jar from net on my phone.
There are some phones that will only let you install MIDlets OTA.
OTA = Over The Air
Basically just means that you HAVE to put your JAR and JAD file online, and then install from an URL that points to the JAD file.
When doing this, it is also important that MIME-types for JAD and JAR files are set correctly on the web-server.

Phonegap in Visual Studio 2012 : how to use console.log?

I'm using PhoneGap 3.0.0 and I need to debug a Windows Phone 8 App.
The PhoneGap WP8 documentation is outdated since it's about a downloaded version though NodeJS seems to be mandatory with version 3.0.0.
I can open the project generated by PhoneGap with VS2012 but I don't see any log in the console... Did anybody have the same problem ?
PhoneGap WP8 doc: http://docs.phonegap.com/en/edge/guide_platforms_wp8_index.md.html#Windows%20Phone%208%20Platform%20Guide
I've found the solution: you need to run the application in debug mode (unlike android).
During the Debugg process, go to Debug>Window>JavaScript Console or press Strg+Alt+V
Now you must see the console.log output

How to install a Nokia emulator in Sun Java ME IDE?

How to install a Nokia emulator in Sun Java ME IDE?
You need to download and install the Nokia SDK (I assume you aim at S40).
See more instructions here

Resources