Questions tagged [device]

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

2988 questions
1
vote
2 answers

Android using front camera - compatibility for all devices

I have used this script to open front face camera: private Camera openFrontFacingCameraGingerbread() { int cameraCount = 0; Camera cam = null; Camera.CameraInfo cameraInfo = new Camera.CameraInfo(); cameraCount = Camera.getNumberOfCameras(); for (…
mira
  • 1,056
  • 3
  • 15
  • 32
1
vote
4 answers

c# windows mobile device information

I have googled and searched after this topic, but could not find any good answer. How can i get the imei for the phone, or at least a unique id. I am also interested in finding the phonenumber through the simcard. Right now im using the systemstate…
Ikky
  • 2,826
  • 14
  • 47
  • 68
1
vote
1 answer

Linux kernel device model - Which devices are following it?

My question is about linux device model. I did some digging myself in the source code and found that the device model works around many structures out of which some of them are: struct device struct device_driver struct bus_type There are more…
Ravi
  • 251
  • 2
  • 3
  • 11
1
vote
0 answers

xcdatamodel not compiling on the device

I have my App.xcdatamodel file included in my project. When compiling for the simulator, the App.mom file is generated and my core data manager finds it and runs. When compiling and running for the device, the App.mom file is not generated. The…
FishStix
  • 4,994
  • 9
  • 38
  • 53
1
vote
1 answer

Emualtor always returning -1 when using getUidRxBytes function

I am new to android programming. I am creating an app that download a file and measure bytes recieved through the application. I am using thread to do the download and using another thread to measure the bytes recived using getUidRxBytes…
gouthaman93
  • 290
  • 4
  • 19
1
vote
4 answers

how to make ui device independent

I'm developing an android app.for that i'm using device of size 1024*600. I want to make my app device independent.its should run on small device as well as lager device than current.how to make this?i made changes in manifest file.but doesn't…
yuva ツ
  • 3,707
  • 9
  • 50
  • 78
1
vote
0 answers

Remote Debugging x86 project on x86 device with x64 dev machine (VS 2005)

I am trying to debug a .NET 2 windows forms application on a remote device (Windows CE) via a USB cable and using visual studio 2005. The remote device is x86 and my dev machine is x64, it seems to work fine on co-workers dev machines, but that are…
RobJohnson
  • 875
  • 11
  • 21
1
vote
0 answers

Run and debug on all devices, android, IntelliJ

Is there anything similar to: open 'project properties'-->'Run/Debug settings'-->'{My project}'-->'{target}'-->'Launch on all compatible devics/AVD's ' That can be found in eclipse, but for IntelliJ?
Inx
  • 2,364
  • 7
  • 38
  • 55
1
vote
0 answers

Identifying consistently physical usb slots where devices are plugged in

I have an applicattion in Windows 7 that uses two USB handsets plugged to specific physical external USB slots in a PC (eg: the left side USB slot and the right-side USB slot in a tablet). The application needs to handle differently those…
1
vote
1 answer

What problems might occur if a USB device is not USB 2.0 compliant?

I have a Full Speed device that specifies the max packet size as 256 bytes. This is not USB compliant since the maxiumum packet size for a Full Speed Device should be 64 bytes. I can read (ReadFile) and write (WriteFile) to the device just fine,…
SwDevMan81
  • 48,814
  • 22
  • 151
  • 184
1
vote
2 answers

Read cudaArray in device code

Is there a way to read the values in a cudaArray from the device without wrapping it in a texture reference/object? All of the examples I've looked at use cudaArrays exclusively for creating textures. Is that the only way they can be used, or could…
agrippa
  • 379
  • 5
  • 19
1
vote
1 answer

Android Bluetooth: Unable to connect to listening socket after generating a random UUID

There are two different instances of my program not being about to connect to a BluetoothServerSocket. One of the instances has only 1 UUID generated randomly before it initiates scan mode with SCAN_MODE_CONNECTABLE_DISCOVERABLE and before using…
tom_mai78101
  • 2,383
  • 2
  • 32
  • 59
1
vote
0 answers

Is there really no way to control priority of workqueue processing as compared to user processes/threads?

I've been reading a variety of references that discuss the use of bottom-half work queues for deferred processing in linux drivers. From what I glean, it seems like any work done by kernel work queues gets scheduled just like ordinary user…
Jim Luby
  • 105
  • 1
  • 9
1
vote
0 answers

digi scale Error

I have program in C# which connect to the scale device (digi scale) the problem that i have is execption when the i set values to the properties of scale (unit price and tareWieght). the exception that i get is Error occured on SetTareWeight:…
barak
  • 11
  • 2
1
vote
2 answers

Running ios app under development on devices without Xcode and USB cable

I'm a new iOS Developer Program member. Now, I need to check my app on devices (iPhone and iPad). EDIT : Everything work fine under Simulator. I can run the app on devices when I lauch it from Xcode, and when devices are connected with USB…
Borongaj
  • 451
  • 4
  • 16
1 2 3
99
100