Questions tagged [device]

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

2917 questions
19
votes
3 answers

Sending ATA commands directly to device in Windows?

I’m trying to send ATA commands to a physical disk in Windows, and get the response from the device. Note: In this case I want to send the IDENTIFY DEVICE (0xEC) command. The device will respond with a 512-byte block of data. (In particular…
Ian Boyd
  • 220,884
  • 228
  • 805
  • 1,125
19
votes
4 answers

Creating a Virtual USB Device

I am a newbie learning how to write WDM device drivers for USB devices and found that the materials available are all too hard to comprehend (the DDK online doc is one of the most difficult to read, and the WDM Device driver book by Oney isn't…
JavaMan
  • 4,494
  • 4
  • 34
  • 62
19
votes
4 answers

Taking screenshot of device's current screen

When one wants to publish his app on the Play Store (previously known as Android Market), he can upload screenshots of his app. I would like to take these screenshots with my current device (Motorola Droid) that I'm using to test the…
Pascal Klein
  • 20,294
  • 23
  • 79
  • 118
18
votes
8 answers

Cheap programmable GPS devices

I'd like to start a side project that involves programming with GPS devices. All that I need is a GPS device that can record its location every X seconds or minutes, save those locations locally, and then send the list to a central server. I know…
chocojosh
  • 887
  • 2
  • 11
  • 16
18
votes
1 answer

Apple Watch, Failed to install XXX, error: Application Verification Failed

We submitted an app recently with Apple Watch support. It installed from the App store fine but when preparing an update, we can't get it to install on a real Apple Watch anymore (fine in simulator). We have tried installing using Apple Testflight…
riddled
  • 191
  • 5
18
votes
3 answers

Allocate 2D Array on Device Memory in CUDA

How do I allocate and transfer(to and from Host) 2D arrays in device memory in Cuda?
Gitmo
  • 2,138
  • 4
  • 24
  • 30
17
votes
4 answers

Google play says "This app may not be optimized for your device", when I access app page with my tablet

When I access the page of my app in Google play. I get the following message: "This app may not be optimized for your device" I am testing with a Samsung Galaxy Tab4 10.1 - matissewifikx Android Version 5.0.2 My app is designed for tablet. How can I…
17
votes
2 answers

take screenshot in chrome device emulator mode

I am using a laptop computer with a max resolution on 1366px. I want to take a screenshot of how a website look in the device emulator mode in chrome - when I set the width to be bigger - like 1600px. When I do this - the device viewport becomes…
Probosckie
  • 1,163
  • 2
  • 18
  • 31
17
votes
4 answers

How to simulate touch for any application in Android?

I know some similar questions have already been asked, but I think they are asking for simulating touch in their own applications, however I want to make an agent that can "use" any application. So what I want to achieve should take as a series of…
jeff
  • 11,519
  • 28
  • 67
  • 126
17
votes
4 answers

Simulate a faulty block device with read errors?

I'm looking for an easier way to test my application against faulty block devices that generate i/o read errors when certain blocks are read. Trying to use a physical hard drive with known bad blocks is a pain and I would like to find a software…
SteveG
  • 317
  • 1
  • 2
  • 7
16
votes
3 answers

Is there a compilation of device-specific bugs for Android devices?

We've found a crash on a particular device that happens inside some of the standard Java libraries. This crash only happens on one particular model of device. I'm sure there are other curious oddities for various Android devices. Is there a…
Argyle
  • 3,226
  • 21
  • 42
16
votes
2 answers

How to write Linux driver module call/use another driver module?

I'm developing a Linux driver loadable module and I have to use another device in my driver.(kind of driver stacked on another driver) How do I call/use another driver in my driver? I think they are both in the kernel so there might be a way that…
teerapap
  • 4,813
  • 7
  • 30
  • 39
16
votes
2 answers

Currently connected bluetooth device android

I can able to see two states in Bluetooth device in Android. 1. Paired 2. Connected. - I am trying to get currently connected Bluetooth device in Android. But I am getting only paired device list from adapter.getBondedDevices(); I need currently…
Ria
  • 813
  • 1
  • 10
  • 25
16
votes
2 answers

Run Android apps on hardware device from Android Studio by USB

I am developing apps in Android Studio and I can run them in the virtual device succesfully. However running the apps on my own device (Samsung S3 GT-I9300) doesn't work. Based on the documentation of Google…
Rogier
  • 847
  • 1
  • 8
  • 22
16
votes
3 answers

Simulating a location on Real iOS Device

Is it possible to simulate a location on iOS Device, say I want to simulate London on the device while I am sitting in Oxford? Thanks.
itsaboutcode
  • 21,936
  • 42
  • 103
  • 153