Detect the Touch vs Non touch devices...

Hello again,

Is there a way to touch detection and non touchscreen devices from the code?

I need to provide a different set of cod file based on the customer's device.  If the device is touchscreen allows then the user must download the appropriate with a capacity touch cod file.

Thanks in advance for your prompt response.

In your application, you can determine if the device is a touch or a non touch device with the following code:

public static boolean isTouchDevice() {
    return new Canvas() { protected void paint(Graphics graphics) { }}.hasPointerEvents();
}

Use these imports:

import javax.microedition.lcdui.Canvas;
import javax.microedition.lcdui.Graphics;

This code will work also on older devices.

Tags: BlackBerry Developers

Similar Questions

  • HP 15 D103tx: can't detect the wireless network adapter in Device Manager.

    I can't detect wireless network adapter in the device even Manager after installing the drivers wireless from the following link: http://support.hp.com/in-en/drivers/selfservice/HP-15-d100-Notebook-PC-series/6782098/model/6837966?...

    Wireless "F12" key remains orange color after pressing it several times. I tried to install "Drivers HP wireless button" from the link above, but between th installation process I have error ot OS isn't accomanied for pilots

    I can't connect to a wireless network from my wireless adapter doesn't work. I have to sit near my wifi router to connect with laptop computer using lan cable.

    Even HP Support Assistant does not detect the wireless network card hardware

    Help, please!

    Hello

    According to HP Partsurfer, your lapotp came with Atheros AR9565 802.11bgn 1 x 1 WiFi and Bluetooth 4.0 adapter combination WLAN. Also, your laptop came with FreeDos and I guess currently installed Windows 8 64 bit OS, I am correct?

    The Support page for your machine, doesn't show that the Realtek RTL8188EE 802.11b/g/n Wireless LAN Driver for Windows 8.

    Please download, save & install the Dirver and restart the system, check if the wireless works.

    Concerning

    Visruth

  • Detect the touch screen

    I am looking for a way to detect if the device has a touch screen using JDE 4.5

    There is a system property that I can use?

    Thank you.

    Hello

    in my games, I use Canvas.hasPointerEvents (), and I had no problem to support storm LCD with a game compiled using the Pack of 4.2 components.

    Of course - my game is a moped, but I try and just create an instance of canvas and use hasPointerEvents to detect a LCD in no MIDlet app too.

    Michael

  • How to the ramp of the screen of the Touch pad when you don't call

    Hello team,

    We have CTS 1300-65 unit that has Cisco Telepresence touch (8 inch). We need timeout the device when the device is not under appeal. In other words, we must save energy in gradation or turn off the screen of the touch device. Please let me know the procedure.

    Thanks in advance,

    Solomon Kavala.

    Hello, Solomon,

    I'm not sure, but according to my knowledge about touch 12, it is not possible to put it to sleep

  • IntelliPoint 8.2 will not detect the 4000 Wireless Mobile mouse

    I'm running Windows 7 pro 64 bit on a mobile workstation Dell M4800.  I bought a mouse Wireless Mobile 4000 which is supposed to have programmable buttons.  I went to the web page of material/downloads and downloaded Intellipoint 8.2 who is supposed to be the software for this device.  The software installed with no problem, but it will not detect the mouse and I can't program the buttons.  On the devices tab, the program detects the touch pad mouse and Dell (listed as compatible mouse HID).  The mouse works with the basic functionality, but I need to program the buttons

    Hi John,.

    If you have installed the correct versions for the mouse, then, it could be a problem with the mouse settings associated with the soft keys.

    For confirmation, this is the link for the latest driver:
    http://www.Microsoft.com/hardware/en-us/d/wireless-mobile-mouse-4000

    If the driver is in place, I suggest you to contact the Microsoft Hardware support for additional help:
    http://www.Microsoft.com/hardware/en-us/support/contact-us

    Please let us know if you have more queries on Windows.

  • MAX cannot detect the TPC-2106 t

    don't know if this is the right place to post this but I had to ask the question

    I t TPC-2106 touch panel and want MAX detec there, but it will not for any reason any

    I have the touch panel module and the touch screen is correctly connected to the network that my computer as well

    MAX can detect my compactrio, but it cannot detect the touch screen...

    Someone has an idea?

    Thank you

    Browse the following documents and after if you have other questions.

    LabVIEW Touch Panel Module Getting Started Guide for LabVIEW

    Getting started with National Instruments Touch Panel computers using LabVIEW

  • 4.7 the difference between touch and non-touch devices

    Hi all

    I want to differentiate between touch and non touch devices to devices based on OS 4.7. For example Storm and Storm2 are touch while the tower is not touch. is there an API or how we can make a difference.

    Thanks in advacne

    Touchscreen.isSupported () should solve your problem.

  • Update of iTunes. IPod sync and lost everything but 10 audio books, passed to Touch, four selected works, only on the Touch and not the selected one. Afraid to synchronize other devices that I'll lose everything. ITUNES update BUG

    I updated iTunes 10 Windows a few days ago. I sat to continue listening to an audiobook on my iPod. 110 audio books in sync with the iPod, there are now 10 and not that I want to listen to. I opted for a touch and tried to load the book on that. There are four books selected for the touch. The book I want to not sync and there is only one book on the Touch.  This book is not all the book selected for synchronization.  I am afraid now to sync one of my other devices to iTunes because I'm afraid I might lose even more data.

    Of course, there is a bug in the new update iTunes 12.3.3.17.  Help, please.

    Are audio books in your library? If it is not in your library can see you in your media folder? Your library authorized the Apple ID is used to buy the books? The upgrade of Windows can break the record of the permission on the computer.

    TT2

  • Lenovo Yoga 3 left side of the touch screen does not

    I bought a new Lenovo 3 14 inch yoga yesterday. He came out of the box very well for maybe half an hour. Then the touch screen started acting very sporadic and not responding like it. Sometimes none of the touch screen answer and other times only the left side of the screen makes them unusable. I did not apply the updates as it is new. Restarting the laptop back to life, but I wonder if there is another definition for this problem, as its reboot every half hour is a real nuisance. Thank you

    Hello Ann,.

    First of all, congratulations on your new laptop and I thank you for posting your query on the Microsoft Community.

    As you mentioned that it is a new laptop and you have not installed the update. Thus, there could be a chance that due to these updates, you are facing problem. These updates contain updated the drivers for the devices too. So, after installing these updates updated device drivers, and the problem can be solved.

    To install the drivers, you can see the steps mentioned in the article below.

    Drivers are updated occasionally. Windows can update automatically, or you can install the drivers updated yourself. It is important for you to have confidence in the updated drivers that you install. Windows warns you if it detects a suspicious or dangerous driver, you should not install.

    Download and install the drivers

    Refer to the steps under automatically get the latest drivers and software.

    Hope that the information provided is useful. Let us know if you have questions related to Windows, we will be happy to help you.

    Kind regards

  • turn off the touch pad hp pavillion

    Hello!

    I have a HP pavilion g6-2240sq with windows 7.

    In the instructions that came with the laptop it says touch quickly 2 times a circle in the top left of the touch pad to turn it off. I tried, but it does not work.

    I want to disable the Touchpad, cause it gets in the way of typing.

    Can someone help me please?

    Thank you!

    Concerning

    It seems that you can run Windows 7 on a system designed for Windows 8 and you run without drivers TouchPad.

    HP Pavilion g6-2240sq Notebook PC Drivers & Downloads

    This does not explain it.  No worries.  This is not my personal specialty;  I have a couple of options for you.  If none of them does not work because the pilots have not features you need or the drivers don't work well on your machine, we can ask for additional help.

    Options:

    ===========================================================================

    • You might try your driver for Windows 8 running in compatibility mode.  Lot of software works in compatibility mode - if the driver for the TouchPad will be happy if this is something you can try or no--a personal choice.

    Download and do not install the device:

    Synaptics TouchPad Driver 16.5.3.3 sp61882

    How to install and run the drivers / software Compatilbility Mode:

    Drivers and software compatibility by AttackOfZaq mode running

    -----------------------------------------------------------------------------------------------------------------------------------

    Try this Windows 7 driver for a similar computer of the g6:

    Synaptics TouchPad Driver 15.3.11.0 sp53851

    • Download and press twice on the installation package
    • Restart / reboot the computer after installation

    Comment

    For something like this, it is best if you have an external mouse attached - it's common sense and not because of something flakey on occur.  It's like the race without a disc of recovery and personal backups: you can get away with it for years and then ONE day, Poof - here you are with a blank screen and no way to recover your data.

  • my touch pad on my laptop does not move the pointer, but when I have my mouse wireless pluged in it will work I was told I could have disabled the touch pad which I have to do to activate it again?

    my touch pad on my laptop does not move the pointer, but when I have my mouse wireless pluged in it will work I was told I could have disabled the touch pad which I have to do to activate it again?

    Hi dove2k,

     

    Welcome to Microsoft Answers Forums.

    You will need to enable the touchpad on the laptop itself.

    Find the area of the touch pad, you will find a button to enable or disable the touchpad.

    If the step above doesn't, try this step.

    Go to control panel > mouse > device settings tab
    Click (or to disable)

    Notes:
    On some models, there is a keyboard shortcut to enable or disable the touchpad. For example, ACER, just do Fn + F7.
    You can click on Reset device if none of these solutions work.

    If you still can't touch pad to work, you will need to contact the manufacturer of the laptop computer for more information.

    Halima S - Microsoft technical support.

    Visit our Microsoft answers feedback Forum and let us know what you think.

  • How to temporarily disable the touch screen in Windows 8? TouchSmart 320-1122la

    TouchSmart 320-1122la

    64 bit of Windows 8

    This solution does not work for me because I don't have the option "Use your finger as input device."

    Go to the sounds and then hardware and Control Panel.

    Select the Pen and Touch and go to the contact tab.

    At the top is "Use your finger as input device."  Uncheck the box.

    Click apply and then click OK.

    Is there another solution?

    Thanks in advance.

    Hi, I have a HP TouchSmart 320-1030, so it can work on your TouchSmart:

    1. Press Windows + X logo.
    2. Select Device Manager from the list.
    3. Click on the small arrow next to Interface devices to expand the list.
    4. Click the touchscreen driver (in my case, Voltron NextWindow touch screen).
    5. Right click and select disable from the list.
    6. Click Yes in the dialog box that asks you if you are sure you want to disable the touch screen driver.

    When you want your touchscreen to work again, follow the above procedure, EXCEPT when right-clicking on the touch screen driver, select enable.

    ~ Lil Liebe

    I'm not an employee of HP; I just want to help.

    Click the White Star of Kudos to say thank you *.

    By clicking 'Accept as Solution' on an answer that solves your problem makes it easier for others to find solutions.

  • How to make it turn off the touch screen?

    I don't want to use the touch screen. How to turn off the it? It is activated by all sorts of things, like my touch cat's tail, or an insect landing on it, or a curtain blowing against it. I don't type using the screen, I prefer the keyboard that I can not type quickly on the screen. I would like to turn off the touch screen when I use it not (most of the time), or even permanently - it is not useful for what I want to do that the screen is not as sensitive or as fast as the input devices that I usually use.

    Hi, I have a HP TouchSmart 320-1030, so it can work on your touch screen:

    1. Press Windows + X logo.
    2. Select Device Manager from the list.
    3. Click on the small arrow next to Interface devices to expand the list.
    4. Click the touchscreen driver (in my case, Voltron NextWindow touch screen).
    5. Right click and select disable from the list.
    6. Click Yes in the dialog box that asks you if you are sure you want to disable the touch screen driver.

    When you want your touchscreen to work again, follow the above procedure, EXCEPT when right-clicking on the touch screen driver, select enable.

  • Portege M930 - entry of the finger on the touch screen no longer works

    Got one of these

    https://www.MyToshiba.com.au/products/computers/Tablet/M930/pdw04a-00c001/specifications

    Is no longer able to use the entrance of finger on the touch screen.
    Pen works on touch screen OK.

    It's like if I had accidentally disbled it somehow.

    Cannot find any reference to a key or switch to toggle finger on the touch screen to enter the manual in pdf or google.

    Does anyone know how to re activate the finger of entry for the touch screen on a toshiba portege Tablet M930?

    Hello

    The fingertouch can be disabled.
    Go to the control panel? Pen & touch

    in the Pen and Touch Settings window, click on the contact tab
    Check or uncheck the checkbox next to your finger as input device
    Click on apply and then OK

  • How to disable the touch screen of the Toshiba LX830 - 11 d

    Hello

    I managed to break the touch screen on a Toshiba LX830 - 11 d.

    The machine runs Win8 and always works with a USB keyboard and a mouse, although he thinks there are plenty of touch of the finger around the damaged area.

    Is it possible to disable the touch screen feature so that I can use it as a 'normal' PC or remove the screen touch himself leaving a simple LCD screen?

    Thanks for any advice.
    Dennis

    You see the touch screen in Device Manager? Maybe you can turn it off in there.

Maybe you are looking for

  • Cannot download pc cd-rom - games 1000 instructions advise "click Start, run." But there is no race with windown vista.

    Cannot download PC cd-rom - 1000 games. State of instructions ' cclick on start, run. But with windows vista, there is no race

  • Cannot create recovery discs

    Just got my new HP Envy 700-215xt.  The first thing I did was to create the recovery disks. Disc 1 was not a problem. Disc 2 was defective, but worked on the new attempt.  Drive 3 failed 4 times.  He hangs at 0% to check then said to use a high quali

  • Cannot share files with Win XP and Win 7

    I want to share files on my windows 7 computer with my Windows XP computer.  I have a homegroup already put in place with my other two win 7, but impossible to connect the win xp comuter to the shared folder on the computer windows 7.  I have (been t

  • TouchPad email synchronizes the number of days back?

    I use gmail folders and it's my tool of the Organizer. It seems the touchpad syncs email only for a few days. Is this correct? On my pre, I think I can put the time and records contain the mails that I need. The TouchPad seems to have no such setting

  • Name of the vendor

    Hello We are a Department of computer SCIENCE and are planning to develop and submit an application to the AppWorld. However, the information on it are limited, so I have a few questions; Please bear with me. Rights of 200 $ - 1A are said to be neces