Midlet doesnt respond to touch in older touch screen phone - java-me

I am very new to j2me. I have developed a basic SMS Banking app. My app works in most phones which are touch and non touch devices (Samsung duos, Monte, Nokia 6120c …, Sony Ericson w300). But when I installed it in a Samsung SGH-D980 it installs and starts fine. But the list element which is the first screen after my loading splash screen does not respond to the touch. I have developed the app using Net beans 7.0.1 and uses CLDC 1.0 and MIDP 2.0. I have tried the defaultfxtouchphone emulator and works fine on it too. My problem is why does it work on some touch phones but not in the above mentioned touch phone. thank you,

The fact that touch events are available to MIDlet at any other phones means nothing in your case.
MIDP specification (JSR 118) does not force implementation to make touch (pointer) events available to MIDlets even for touch device. According to data provided at club-java page, this is exactly the case for SGH-D980:
Touch screen or mouse (hasPointerEvents()) No
Stylus motion events (HasPointerMotionEvents()) No
As soon as device allows to work with your list in non-touch fashion (you wrote nothing that says it ain't so), there is no problem - you just have to live with that.
of course not passing touch events to MIDlets when these are available natively means that MIDP implementation on this device sucks. But that's a different story

Related

Audiokit Bluetooth MIDI button broken?

The Bluetooth MIDI connect button had been working on AudioKit 5.0 Beta, but when I installed 5.3.2 the button does not have any action or message. I was also using Xcode13 beta and now use Xcode13 release version. I tried a very simple program with just a button that goes to this line:
#IBOutlet weak var bluetoothButton: BluetoothMIDIButton!
and it still does not work when run. Other programs that use BLE MIDI on the same IPAD work fine, and all permissions (Bluetooth always, peripheral usage) seem to be set correctly. If I connect first with another app, then all the other MIDIsend/receive functions work properly in my app. Is there some new requirement that I am missing?

Building Liblinphone for iOS

I am planning to develop an iOS application where I need to use VOIP services. I found Liblinphone which is one such open source API for VOIP.
My requirements:
Making voice call & receiving
Making video calls & receiving
Making voice call conferences.
Are these all possible with Liblinphone? Are there any other opensource VOIP libraries for achieving this better than Liblinphone?
Any help and tutorial links are a big helpfor me.
You may take a look at siphon (http://code.google.com/p/siphon/).
From their homepage:
Home of the World's first free SIP/VoIP application for iPhone and iPod Touch 1 and 2.
Siphon SIP/VoIP project is the first in his category that works on iPhone and iPod Touch 2 with headset for all SIP providers. It is a native application approved running on 2.X using internal micro/speaker and headset.
The Application supports the SIP standard, preserving compatibility with hundreds of SIP providers and offers a GUI which preserves the apple design of native iPhone applications.

External Accessory Framework EAAccessoryManager connectedAccessories returns only 1 accessory on iOS 4.2 when there should be more

Calling the connectedAccessories method on the EAAccessoryManager returns a list with only a single accessory (seemly randomly chosen from the available connected accessories in the Bluetooth screen) when running on iOS 4.2 using an iPhone 3GS.
In retrospect - on iOS 5.0 on an iPhone 4 the method returns the correct list of accessories (currently tested up to 2). According to the documentation iOS 4.0 should return a list of accessories however it fails to mention if this can contain more than one item. (Apparently in iOS 3.0 only one device WAS supported).
The EAAccessoryDidConnectNotification notification is also only fired once for the randomly chosen accessory when running on iOS 4.0; Disabling the accessory results in the appropriate EAAccessoryDidDisconnectNotificiation for that accessory. Re enabling the accessory doesn't result in any further notifications without returning to the bluetooth settings menu and re connecting the device (but that's another annoying issue). Visiting the bluetooth connection screen reveals the originally connected accessory no disconnected and my second accessory connected but further calls to the "connectedAccessories" method still returns an empty list.
Viewing the console logs from the phone I can see the bluetooth system connecting and monitoring both devices but somewhere along the line this isn't been presented via the External Accessory Framework.
If anyone has any helpful info on this issue that'd be great -- it seems there's only a small number of iOS developers that have even worked with this framework so finding anything other than copies of the original apple documentation is rather difficult :-D.
To summarise:
Is it possible to detect multiple accessories from iOS and connect and open sessions for multiple devices. I've found this is possible in iOS 5.0 on iPhone 4.
Many thanks,
Chris

Need Emulator (240x400 and 360x640) j2me

I developed the game in j2me. I need emulator for screen 240x400 touch and 360x640 touch. Where should i get ?
Download any of the manufacturers custom SDKs (SonyEricsson, Nokia, LG, Motorola )and find a device with your resolution
PS: It may be difficult as many of them moved to Android or other technologies

Push Registry not working on nokia N86 after rebooting the phone; works on N97 and Expressmusic

I have written a simple midlet that invokes itself after a socket connection from a server program. I am using Push Registry to do this. It works fine on all the test phones I have immediately after installing. but if I reboot the phone, the push registry stops working on N86 whereas it is working on the other test phones that I have viz. N97 and ExpressMusic 5800. Has anyone faced such a problem before? Any kind of help will be appreciated.
btw, after going a little deep into the specifications of these phones, I found out that though all the phones are MIDP 2.1, N86 has Symbian OS v9.3 and the rest two have v9.4. Can that be the reason for the behavior of N86 ?
I did a hard reset (press *#7370#) on the phone (N86) and everything is working properly! I still don't know what the problem was!
Find the documentation of the error in nokia page:
http://wiki.forum.nokia.com/index.php/KIJ001317_-_Push_registrations_for_Bluetooth_MIDlet_turns_off_in_the_latest_S60_3rd_Edition_devices
The phones that are affected are:
Nokia E75, Nokia N78, Nokia N79, Nokia N96, Nokia 5630 XpressMusic, Nokia 6720 Classic, Nokia 5800 XpressMusic
Worst of all, you say there is no solution.

Resources