Canvas Key events with touch screen devices

I am drawing a canvas and on the DOWN (Canvas.DOWN) keyPressed event, the Canvas is repainted with a smaller y coordinate giving it a scrolling effect.
This works fine on devices that have the UP, DOWN keys etc (even on the Blackberry 9700 trackpad) .
Is there any way to map the scrolling on touch screen devices i.e. Blackberry 9550 to the Canvas DOWN event? Or any other way that will require nothing more than J2ME?

Polys,
Did you try calling Canvas.keyPressed(Canvas.DOWN) from within Canvas.pointerDragged() method?
Obviously you would have to detect the dragging direction first and then call keyPressed() method with an appropriate static variable (UP, DOWN, LEFT, RIGHT).
Daniel

Similar Messages

  • Remote Control with Touch Screen Devices

    I have encountered some trouble using CM's Remote Control with touch-enabled devices. It seems that the cursor on my screen thinks that it is in a different place than the cursor on the remote screen.
    Both devices have been Dell Latitude E-series laptops. It is possible that this is isolated to these. Has anyone else encountered this? Remote Assistance seems to work fine, but that lacks in so many other ways compared to Remote Control.
    This is using Remote Control with SCCM 2012 R2 just to clarify in case there are any differences between the various CM versions.
    Any input would be appreciated.

    We use ELO touch screens and some Dell Venue 11 Pro Tablets, and I haven't experienced any of the problems that you are talking about...
    I know that's not helpful but thought I'd throw my experiences in.

  • Playing Spades with touch screen

    Just got a new 9930 with touch screen. Attempted to play Spades using touch screen but fingers too big to hit individual cards well. Is there a way to play games using track ball like older devices?

    Hi
    Firstly thanks for the reply, then i have to ask is there any way you can change the layout of the music control screen when its in the unlocked format as even though it will stay on as long as you want it to, its at the bottom of the screen and not the middle or top.
    again thanks

  • Is there any possibility for a MacBook Air With Touch screen??

    Is there any possibility for a MacBook Air With Touch screen??

    I think they call that the iPad.... 

  • Having trouble with touch screen. Freezes, texting adds more letters, screen locks up. Got new phone, synced new phone and now it does the same thing??

    Having trouble with touch screen. Freezes, texting adds more letters, screen locks up. Got new phone, synced new phone and now it does the same thing??

    I also tried the Hard Restart and still has the problem?

  • Samsung - P2 8GB* MP3 and Video Player with Touch-Screen Display - Black

    I amthinking of purchasing theSamsung - P2 8GB* MP3 and Video Player with Touch-Screen Display. I have gone to Best Buy to ask them where I can download TV and movies for the player and they have no help at all! They told me they had no idea. Can someone PLEASE help me? I like the fact that it is Bluetooth compatible but I want to be able to buy shows and movies. Where can I get them for a non-Ipod MP3 player??????  

    I LOOKED EVERY WHERE FOR THE P2 TOUCH SCREEN MP3 PLAYER BY SAMSUNG AND KNOW THAT I HAVE IT I AM VERY STRESSED BY IT. IT  WANT LET ME LOG-IN TO THE SAMSUNG MEDIA STUDIO. CAN SOMEONE HELP I HAVE NOT PUT  ANY MUSIC OR ANY THING ON IT !!! PLEASE HELP!!!!

  • Nokia C3-01 get hanged with Touch screen lock

    I have been using Nokia c3-01 for the past few months and the firmware is uptodate.(V 7.51) Some time after a call has been disconnected the touchscreen lock will be activated and it will not get unlocked.(The Touch Screen will not respond). The phone has to be restarted by removing and reinserting the battery. Hope this complaint would be solved in the next software update.
    Any user facing this problem, please report
    Thank You

    Hi Almach89, 
    Welcome to Nokia discussions board! 
    We are sorry for the inconvenience. I advise yout to try and back up your data with Nokia Suite. If you do not have it installed on your PC yet, you may do so with this link. 
    Then connect your device to it and go to Tools > Back up. Also go to Synchronise > Synchronise now > All. Once the sync is completed, check the different tabs to see if the data has been correctly synced. If this is successful, your data will now be safe (please use your own judgement).
    You may update your device from the updates tab to see if that fixes the screen issue. 
    Alternatively, please take your device to your nearest Nokia Care Point or call your Local Careline, please find the details via this link. 
    Feel free to post any other questions you may have. 
    Regards, 
    astra2025
    Press the 'Accept Solution' icon if I have solved your problem, Kudos my post if my advice has helped you!

  • Lenovo Flex 14 issues with touch screen and hard drive

    Dear Lenovo,
    I've just bought this laptop about 3 months ago. First the touch screen giving issue, so went to the service center and they repaired by saying there are problem with the motherboard. Then after a week, problem with windows booting and the touch screen issue still hasn't resolved. When i turn on my laptop it prompts cannot detect hard drive. I've been going to the service center multiple number of times but only worsening my problem.
    I am so frustrated now and don't know what to do. Can Lenovo replace my laptop ?
    Does anyone here have similar issue and have a solution because i just loose hope with the service center ?
    Please kindly reply me as soon as possible.
    Thank you.

    thana88,
    Sorry to hear that you have had multiple service events, and yet problems persist.
    Please send me a private message with your contact information - name, phone number and the type / serial number of your flex 14.  If you have any of the service case numbers, please include these as well..
    We can work to escalate this
    Mark
    ThinkPads: S30, T43, X60t, X1, W700ds, IdeaPad Y710, IdeaCentre: A300, IdeaPad K1
    Mark Hopkins
    Program Manager, Lenovo Social Media (Services)
    twitter @lenovoforums
    English Community   Deutsche Community   Comunidad en Español   Русскоязычное Сообщество

  • Problem with touch screen sensitivity, makes calls randomly when I have it against my ear!

    I am at my wits end about this.as I am on the phone and have handset against my ear it randomly activates the touch screen and either dials someone else or put call on hold, so they can't hear me. By the time I figure out what has happened, whoever I was speaking to has likely hung up! I tried to adjust screen sensitivity but nothing I do seems to work. Same when I use track pad to scroll, it is way too sensitive, so often I am scrolling through my calendar and it will open a new appointment randomly. Is there a solution before I break this terrible phone with a hammer?!

    Your first problem ( I am on the phone and have handset against my ear it randomly activates the touch screen and either dials someone else or put call on hold, so they can't hear me.) can be solved by putting the top of the device near to your ear first and then the rest while on the call - their are sensors in the phone that blackout the display when in a call the top of the device is brought closer to the face
    Regards Eree - Follow me on Twitter - Facebook - Google+
    For More visit My Blog

  • Using functional global variables to transfer data between touch screen device and other targets

    Hi,
    We are currently developing a control system that will operate on a cRIO with a touch screen interface. During development we have been using functional global variables (FGVs) to handle most of the settings/data etc, however we have just realised that we may have an issue updating the data on the touch screen, and vice versa.
    Previously we have implemented similar programs using shared variables, however we were wondering if there is anyway to implement FGVs in a similar manner, whether it'd be a combination of FGVs and shared variables.
    Regards,
    Mike
    Software version: Labview 8.2.1

    See this thread on LAVA about sharing FGV's across projects. THis should be extendable to cross paltforms (I believe).
    You also may want to concider an upgrade to LV 8.5.1. We have found a number of performance related issues with LV 8.2.1 and RT.
    If you decide not to upgrade, just remeber what I wrote (above) when you have reason to question the performance.
    Ben
    Ben Rayner
    I am currently active on.. MainStream Preppers
    Rayner's Ridge is under construction

  • Anyone have issues with "touch screen" not responding?

    Does anyone find that the touch screen doesn't respond? I have huge issues with this style.
    Touching and swiping on a screen that is 1.5 inches isn't fun. I need shade to read the screen (bad for snow), I need to go thru so much just to get to a song, a podcast, whatever that was playing before I HAD to turn off nana. I need to turn off nano each time.
    1. Turn on by holding button like forever.
    2. swipe, swipe, swipe, swipe to get to songs or podcast. Select, select, touch selcet, not selecting, touch, touch touch.
    3. Select 'songs; selevet something else to get to a screen that says shuffle.
    4. Select, select, touch, touch, use index finger, thumb, touch, breath on finger, touch again.
    5. After one song plays after selecting "shuffle", it repeats, repeats,
    6. Take ipod out of pocket, stand in shade, hit the snooze whatever button, to activate screen, Is screen activitated? yes? But it blinked off to quick to make selectioon of touch proof screen.
    7. Walk inside to touch screen, to see screen. Hit button, wait for long time for this to start again (much like laptop starting).
    8. Swipe to get to menu with songs, swipe, swipe, swipe swipe.
    9. Select music: albums, artist songs. By selecting I mean touch touch touch, touch, use thumb, touch. for each selection
    10. Are you sure this is an Apple product?
    Can I return this POS and wait for someone to go back to what worked best??

    Oh, and yes I have restored to factory settings. Then resynch.
    I have done the soft reset or whatever it's called on this one.
    It is updated.

  • Problem with touch screen. Please help!!!

    Ok I bought an iPad about a month ago now. At first it worked perfectly, runs apps smoothly, etc. But then something happened to the touch screen, it just randomly like pressed itself, it went into apps on its own and zoom in and out while on safari just randomly. For about 3 weeks this issue disappeared, but now it happens again but more constantly and for more time please help. I think this video will explain my issue more clearly. http://www.youtube.com/watch?v=e1qyvHV43yg Please I just don't want this issue anymore. Any help will be appreciated.

    OK...so it seems that many iPad owners have the same issue with the screen "self registering touches". You'll see multiple posts on the forums from "self touching" to "self registering" to "freaking out".
    Well, I also have this annoying problem.
    Trust me when I say that cleaning the screen, resets, charging, deleting apps, static, and so on haven't anything to do with causing or resolving this issue.
    Here is a little tip to show you what is actually going on. Download a free app that shows you "screen touches". Harbor Master is one that I've heard of that led me to this...but I prefer to use that pocket pond app...only because I can just sit back and watch without having to move boats around.
    ...When you notice the problem, open up the app. I've noticed on mine that it only self registers touches along the side. Exact location is (when holding iPad in landscape position, home button on left) along the top of the screen...from top middle to the top right corner.
    I have called Apple...the tech was polite and tried to help. ...But the only suggestions were to reset (as i've already done) then if that didn't work I was to do a reload while sync'd. He stated that if none of that worked then to take it to the store...
    Since I am in Florida for the month and the nearest Apple store is 6hrs away...I will wait until I go back home HI and visit a store that is close by.

  • Trouble with touch screen

    I own a Photosmart Premiyn c309g   it's a touchscreen-well it's supposed to be!  Quite often I can't get it to
    touch on; which means I can't access the menu and thus can't copy or scan.  Also, the on/off button has never
    worked.  Not sure if any of this is because of how I set it up.  I have both usb and wireless hooked up.
    I can get it to come on if I unplug and replug the unit; but, it hates this/I get a improper shut-down warning.
    Please tell me how to fix this and/or how-to access the copy/scan possibly w/o the touch screen.

    Hello @Suz1st ,
    Welcome to the HP forum.
    I understand that your printers touch screen is not responding correctly.
    I would like to help.
    Step one: Turn the printer off and then on again
    Step two: Connect the printer directly to a wall outlet
    Unplug the power cord from any power strips or surge protectors.
    Plug the power cord directly into a grounded electrical outlet.
    Try again to use the touchscreen menu.
    If the touchscreen responds when connected directly to the electrical outlet, do not reconnect the power cord to the power strip or surge protector.
    Step three: Reset the printer
    Press the Power button to turn on the printer.
    With the power on, disconnect the power cord from the rear of the printer.
    Wait 60 seconds.
    Reconnect the power cord to rear of the printer.
    Press the Power button to turn on the printer.
    Try again to use the touchscreen menu.
    I have sent you via private message with instructions for another reset.
    Please read this post by Bob_Headrick before attempting the reset.
    Printer Resets: What You Should Know
    Also, here are some instructions for scanning from the software.
    Scan from Windows 7 With the Full Feature HP Software for HP Multifunction Printers
    Aardvark1
    I work on behalf of HP
    Please click “Accept as Solution ” if you feel my post solved your issue, it will help others find the solution.
    Click the “Kudos Thumbs Up" on the right to say “Thanks” for helping!

  • Can I use PSE with a PC with touch screen monitor?

    I am in the market for a PC with a touch screen such as HP Touchsmart, and I am wondering if I can manipulate changes to images in PS or PSE on a touch screen?  I am not talking about apps.  Thanks. 

    Adobe has a produce called Photoshop Touch.  It is a stripped down version of Photoshop.  You can read about it here  http://www.practicalphotoshopmag.com/2012/06/06/adobe-photoshop-touch-review/

  • Paging trow email with touch screen

    I have download a new software on my torch 9810 and after than I can not page throw my touch screen from email to email

    Remove the application and have a device reboot. If things becomes normal then check the apps minimum requirement or report the issue the app vendor using support email ID available in the app world..
    tanzim                                                                                  
    If your query is resolved then please click on “Accept as Solution”
    Click on the LIKE on the bottom right if the post deserves credit

Maybe you are looking for