J2ME UI on Samsung Bada platform - user-interface

When a J2ME application runs on Samsung phone with Samsung Bada an OS that supports TouchWhiz (GT-S5320, in my case),a virtual keypad is shown on the screen by default and always! This virtual keypad consists of the following keys - LEFT,RIGHT,UP,DOWN,FIRE and SOFT1, SOFT2.
Is there anyway I can control when this keypad is displayed and when it isn't. I understand that this would be a platform specific solution. But does it exist?
Thanks,
-- Kiran Kuppa
EDIT: I must also note that Google Maps, ( seems to be a J2ME app) does not show this keypad. I am sure there must be a way to supress it.
EDIT2: Thanks for the correction. I am attaching a picture to illustrate.

You should be able to use:
MIDlet-Touch-Support: True
in the jad/manifest to remove the on-screen pad.
Just for more information, if your handset supports rotation with an accelerometer this too can be controlled with a jad parameter:
MIDlet-ScreenMode: Rotate //to allow rotation
MIDlet-ScreenMode: Portrait //to force to portrait
MIDlet-ScreenMode: Landscape //to force to landscape
Good Luck!

The virtual keyboard appears for j2me application if it not uses TouchUI functionality

on bada 1.2 (not on bada 1.0 and not on bada 2.0, grr) there was an option in the "games and more" (=java) menu, where you could manually enable or disable the 1) keypad and 2) the way the app is shown, stretched to display (but 240x320) or not-stretched(and full 480x800).

Related

How to customize touchscreen coordinates on windows?

i'm currently working on a project with an IR touchscreen and i would like to know how use a display in landscape and a IR touchscreen in portrait, and disable the air space where there is no screen.
I would like to use it in this way (picture)
https://i.stack.imgur.com/dMYBl.png
Any advise allowed
Thanks :)

iPad like scrolling in Windows Explorer and other apps, feasible?

Is it possible to implement a Windows Application or extension? to enable iPad like scrolling System wide for all apps ?
The OSX equivalent would be SmartScroll:
www.marcmoini.com/sx_en.html
Possible ?
I found your question in elance.com.
If you need those functions implemented in ALL Windows applications - the answer is NO. Some applications can be forced to scroll smoothly, but not all of them: applications can use custom objects to implement scroll bars. Actually, this task is possible for one (or few) selected apps, but you need to write some code and do testing for each application. For example: Logitech "Flow Scroll" software implements smooth scrolling in popular browsers, i have M325 mouse with this function. In other apps this software don't work.

How can I detect landscape orientation in a WP7 template using SketchFlow?

I am using the official Windows Phone 7 SketchFlow template, based on the Windows Phone SDK. Is there any way to detect when the user has clicked the landscape orientation button in the player, and act accordingly? Specifically, I'd like to display completely different views depending on orientation. Thank you!
It looks like the portrait and landscape functionality is implemented with visual states. If you select the correct visual state and make your changes (such as showing different controls) it should work the way you want.

How to make the picture follow my finger WP7 Silverlight?

Something like dragging and dropping an image
Is there a basic sample that I can use for that purpose?
You can use OnManipulationStarter, OnManipulationDelta and OnManipulationCompleted events with TranslateTransform on some object to move it below your finger.
Also, advanced stuff will be MultiTouch Behavior for Windows Phone 7

Panning and zooming over a large image just like in Bing Map control

I am looking for a solution where I am able to do all the gestures (flick, pinch, drag) with a local picture in my Windows Phone 7 application with acceptable performance. The Silverlight Bing Map control for WP7 does all of this perfectly, but it cannot do this with a local image.
I started to write my own control, but I was wondering if there is anything out there written by someone else. Is there anything out there?
Is it possible to reuse the Map control, but with my own image?
Laurent Bugnion's Multitouch Behaviour from beta might also be worth a look for this purpose.
MultiTouch Behavior for Windows Phone 7
MultiTouch Behavior: Update for Windows Phone 7 tools beta
You need a MultiScaleImage. You can use this with DeepZoom.
There's an (old) example here.

Resources