Questions tagged [device]

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

2917 questions
33
votes
5 answers

Format of /dev/input/event*

What is the "format" of the character devices located in /dev/input/event*? In other words, how can I decode the character stream? A Python example would be greatly appreciated.
jldupont
  • 82,560
  • 49
  • 190
  • 305
31
votes
3 answers

Sharing devices (webcam, USB drives, etc) with Docker

I have a need to share specific devices from /dev on my host Linux machine with my docker containers. The --privileged flag works for sharing any devices in /dev that are present at the time docker run is called, but any subsequently added or…
Ryan
  • 3,595
  • 3
  • 26
  • 31
31
votes
7 answers

How to connect a Windows Mobile PDA to Windows 10

Does anyone know how I can get a Windows Mobile 6.5 PDA to connect up to a Windows 10 PC? Before upgrading the PC from Window 8.1 I was able to use Windows Mobile Device Center to link up to the PDA over USB. This allowed me to access files on the…
Iain Hoult
  • 3,651
  • 5
  • 23
  • 39
30
votes
4 answers

cordova run (in real) android device using command line?

According to the documentation We can run our android project on an emulator by: cordova run android or cordova emulate android But how to run a project on a real android device? thanks a lot -EDIT- adb devices list none..
Toni Michel Caubet
  • 17,157
  • 49
  • 178
  • 335
30
votes
3 answers

Bash Pipe Handling

Does anyone know how bash handles sending data through pipes? cat file.txt | tail -20 Does this command print all the contents of file.txt into a buffer, which is then read by tail? Or does this command, say, print the contents of file.txt line by…
num1
  • 4,498
  • 4
  • 27
  • 48
29
votes
4 answers

How to get a list of video capture devices (web cameras) on linux ( ubuntu )? (C/C++)

So all I need is simple - a list of currently avaliable video capture devices (web cameras). I need it in simple C or C++ console app. By list I mean something like such console output: 1) Asus Web Camera 2) Sony Web Camera So It seems simple but I…
Rella
  • 59,216
  • 102
  • 341
  • 614
29
votes
6 answers

Uninstall Android Wear App From Real Device

Might be a noob question but for the life of me I can't figure out how to uninstall an app from my Samsung Gear Live. I need to uninstall the debug version so I know I have a fresh production version when I download it from the Google Play store.
KevinTydlacka
  • 1,133
  • 1
  • 13
  • 26
29
votes
3 answers

How to detect hardware keyboard presence?

Is there a way to detect if the device I'm currently running on has a hardware keyboard installed? How do I query device capabilities anyway?
Marcus
  • 8,321
  • 4
  • 19
  • 23
29
votes
6 answers

Getting Device ID or Mac Address in iOS

I have an application that uses rest to communicate to a server, i would like to obtain the iphones either mac address or device ID for uniqueness validation, how can this be done?
Daniel
  • 22,179
  • 9
  • 59
  • 70
28
votes
3 answers

Copying a struct containing pointers to CUDA device

I'm working on a project where I need my CUDA device to make computations on a struct containing pointers. typedef struct StructA { int* arr; } StructA; When I allocate memory for the struct and then copy it to the device, it will only copy the…
Thorkil Holm-Jacobsen
  • 6,190
  • 3
  • 25
  • 40
28
votes
15 answers

Android: Installation error: INSTALL_FAILED_INSUFFICIENT_STORAGE

I'm getting "Installation error: INSTALL_FAILED_INSUFFICIENT_STORAGE" error while installing the application on my device today. It is working fine till yesterday, today only im facing this problem. I have deleted some files on my SD card, but still…
Venkat Papana
  • 4,447
  • 11
  • 46
  • 70
28
votes
3 answers

objective c iphone : can we view console log on device

is there a way to view the console output as we are running an iphone App on the device? If not directly, is there an app on the App store which lets you view the log after the App has finished running?
user315067
  • 715
  • 4
  • 9
  • 13
27
votes
5 answers

how to manage debug and release version on android device?

I'm new to Android dev and I'm almost ready to release a first version of my app :) While testing the signed release apk on my phone, it refuse to install because the debug version is installed with the debug signature. So I have to uninstall the…
Geob-o-matic
  • 5,203
  • 4
  • 29
  • 38
27
votes
3 answers

ADB is not recognizing my device

This is not like other questions: I already have installed: ADT Samsung Kies 3 (because I have a Samsung Galaxy S5) Google USB Driver I already have configured: Developer options in my device enabled USB Debugging enabled My computer and Kies…
Antonio
  • 10,457
  • 6
  • 30
  • 45
27
votes
4 answers

Android: AVD-Settings for Galaxy S3-Like AVD

I need help with the AVD-Settings for my new Virtual Device. I need the settings for an AVD that has the same size like the new Samsung Galaxy S3.
h00ligan
  • 395
  • 1
  • 5
  • 11