Testing Device for Touch Screen - java-me

How can i test my j2me Midlet(jad)for touch screen devices?Is there any tool (like WTK provide devices) to test touch screen command List?My application jad is not displaying commands some for Touch screen devices.

Now lot of touch emulators available for testing like Sprint, LG, Sony Ericssion and etc. Nokia also Provide RDA device for testing purpose.
See this link for testing emulators,
Sprint
LG
Samsung
Sony Ericsion
Motorola
Nokia RDA device
You have to add MIDlet-Touch-Support: true this property on jad file.

Related

Sony D2203 and google cardboard

I have a sony xperia E3 (D2203) I can build the demo for google cardboard and load the apk in the phone. When I open it it does starts, I see a menu with [reset] [recenter] [VR mode]
But the movement tracking is not working.
There is also a settings icon, when I click it leads to the cadboard app in google Play store. and In there I find out that my device is not compatible with it.
Can I work with this phone without this configuration app ?
Google Cardboard needs a built-in gyroscope to accurately track movements. Sony D2203 doesn't have this hardware, so it won't be much fun playing with Cardboard.

My Galaxy S6 Edge cannot connect to Android Studio via USB Debugging

When I plug my Galaxy S6 Edge into my computer, Android Studio does not recognize it as an available USB device. I've tried to download a USB Driver update and I have USB Debugging checked on my phone, but nothing is working. What else do I need to do in order to run my app on my phone?
If your settings (S6 USB debugging, driver, Android Studio) are correct, you might try the following:
(On phone) turn USB Debugging OFF
Connect S6 to USB
Click on the notification "connected as MTP device", check the option "camera" (also appropriate for non-MTP connection)
turn USB Debugging back ON
If your device runs Android 6, the notification (step 3 above) should say "Use USB for" and offer 4 choices. You want to click on "Transferring Images".
I had the same problem. I tried with another USB cable (Not the one comes with my s6 edge or any samsung product ) and it worked.
(prior to this i spend almost a day by installing some software and all :(..but only above solution worked for me )
If you see the connected device in the "Other devices" of the Device Manager, try adding "Hardware Ids" of it to android_winusb.inf. Then select "Update Driver Software" in the Device Manager.
The detail can be found in the link below. In my environment, adb_usb.ini was not there, so I skipped it but could recognize my Galaxy S6 Edege.
http://jodieorourke.com/view.php?id=190&blog=news
There are different ways how to connect USB device.
MTP - to enable remote computer browse device's files. Need to be accesible for windows explorer.
Camera - device works as media (photos, videos, music) provider - these media could be imported to other device like PC. Typical usage is with Photo managing SW on PC like Zoner Photo Studi, LightRoom, ...
MIDI (Iam not sure, but another standard how to share music device)
Power only - device does not provide any functions to connected computer, it use only its power over USB cable.
So, change type to MTP or CAMERA and android studio show see your device.
W
Make sure you have enabled developers option this can be enabled by 7 times tapping on Build number in settings ---> About phone.
I know I'm a bit late to answer, but maybe it will help other people in future. Me too I've got a Samsung S7 Edge, and couldn't debug with it. After some checking I realized that the reason is the Knox/My Knox. See here: https://seap.samsung.com/forum-topic/can-i-use-usb-debugging-mode-device-running-knox
What I've done is just go to playstore, found there My Knox and clicked Uninstall, then switched on USB debugging in Developer options that was previously grayed out.
(There are some other manuals on how to disable Knox. Some of them require rooting, but after rooting, I believe Samsung warranty will not work, if something happens to your phone. )

Is the Simulator or Emulator closer to matching device?

When I run my web application on the Tizen Web Simulator and the Tizen Emulator using the same resolution (HD 720x1280) and density (DPI), the display does not match. Which one is closer to the display on the actual Tizen device?
Tizen Emulator is closer to the actual device because does an actual emulation so it has an OS image build on it.
Web Simulator is simulating the API, the Web Runtime, and some of the connectivity using Chromium's Webkit engine. It is a simulated environment and there is support only fort the HTML5 applications and not for the native applications.
From my experience with the Tizen Web application API, Tizen Emulator was closer to the actual device compared with the simulator.
There is a scale menu for Tizen Emulator. You can find context menu when you click to right mouse button on the tizen emulator. 4 scales available.
1x
3/4x
1/2x
1/4x
'1x' is closer to actual Tizen device. Tizen simulator display is similar '1/2x' scale of tizen emulator for me.
The Emulator is indeed closer to the device display than the simulator.
However, if you want to see how your app would look on a device, why not flash the Tizen image on a device?
they can be found here, and i'm sure instructions are there also:
http://download.tizen.org/releases/2.1/tizen-2.1/

Midlet doesnt respond to touch in older touch screen phone

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

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

Resources