Questions tagged [device]

DO NOT USE. This tag is ambiguous. Questions about hardware not related to programming are off-topic.

2988 questions
1
vote
1 answer

scull driver from LDD - scull_read and scull_write

I am going through LDD from Rubini to learn driver programming.Currently, I am going through 3rd chapter - writing character driver "scull". However, In the example code provided by the authors, I am not able to understand the following lines in…
1
vote
1 answer

How can I setup permission of Linux char driver?

Folks, i wrote a char driver for my i2c device. It is working on Android 4.0.3 using Linux kernel 3.0.8. When I try to access the driver using ioctl() with my native Android app. I get a permission denied error. If I create the device file using the…
1
vote
1 answer

Java MIDI Device List Duplicates

I'm listing all MIDI devices in a combobox, but for the loopback drivers I get duplicate entries. The first entries don't work and contain no description ( getDescription() returns "No details available" ) The others, which are the working ones,…
ascallonisi
  • 871
  • 1
  • 11
  • 20
1
vote
0 answers

Android iText pdf is generating in emulator but not on device

I am generating a pdf document using itext in my app. I made sure to download the android version from the site. When I run the app in the emulator (without connecting the phone), generate the document and pull it from the SD card in eclipse using…
1
vote
1 answer

Manage devices from code (C#)

I am currently writing/experimenting with a wiimote touchscreen application in C# and one of the main issues is that after I connect my wiimote via Bluetooth, it cannot connect back again until the device is removed and then re-installed. This makes…
Bennett Yeo
  • 819
  • 2
  • 14
  • 28
1
vote
0 answers

Java Code for Ping plotter

Now I am planning to do the SLA monitoring GUI tool for network devices , As I worked long back in java , I Need your suggestions to do the programming for my project. the requirements are mentioned below . The code continuosly pings the network…
1
vote
2 answers

Phonegap: window.device is undefined on iOS

I realize this has been asked before, but it has not been adequately answered. I am running phonegap on ios. My deviceready event is firing, but I cannot ever find window.device or device, as in "device.uuid" or "device.model." It just isn't…
stolli
  • 5,580
  • 2
  • 26
  • 37
1
vote
0 answers

Register devices in database to allow receiving ios notifications from APNS

I am trying to implement push notifications in my application, and it works well on my device, when I put the devicetoken static in the php file. Now, I want to insert all devices that install the application in a table (apns_devices) in my…
Fatima
  • 464
  • 1
  • 8
  • 19
1
vote
2 answers

android multiple screens compatibility

I read info about "Supporting Multiple Screens" and other post here... but Im really confused about how can I develop my application that run on multipple devices. I was starting develop on a determinate screen (normal size layout), then I run my…
Alejandro Cabano
  • 145
  • 1
  • 4
  • 15
1
vote
1 answer

iOS app run on selected devices

I have created an iOS app and I want my app to run only on selected iOS devices such as iPad 3 and 4 and also iPhone 3,4,4S and 5. How can I specify that in Titanium ?
user782400
  • 1,617
  • 7
  • 30
  • 51
1
vote
1 answer

how to make my application supported tablets in android?

My application have minSdkVersion="8" & targetSdkVersion="9". Also added
Asha Soman
  • 1,846
  • 1
  • 18
  • 28
1
vote
2 answers

Webpage background on mobile devices

On my website, I set the current background CSS proprieties: /* General */ body { background-image: url('../img/background2.png'); background-repeat:no-repeat; background-attachment:fixed; background-size:100% 100%; …
1
vote
0 answers

How to switch the android music output device

I'm doing some test work on android music playback. I have a headset and a bluetooth headset connect with the phone at the same time. Then there will be 4 output devices that can play the sound: speaker, handset, headset, and the BT_headset. What…
wenqil
  • 11
  • 3
1
vote
2 answers

Control stepper motors via USB

I'm doing a USB device is to control stepper motors. I've done this before using a parallel port. because these ports do not exist in current motherboards, I decided to implement a USB communication between my device and the PC (host). To achieve My…
1
vote
2 answers

WMI: How to differentiate between Wireless mouse and touch screen

I am using Win32_PointingDevice class to detect mice connected to the system. I ran my device discovery script on a machine which has touch screen. The discovery shows up with 3 pointing devices, directly connected USB mouse, wireless mouse and…
kingas
  • 75
  • 2
  • 10