Questions tagged [device]

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

2988 questions
108
votes
6 answers

Detect the specific iPhone/iPod touch model

Possible Duplicate: Determine device (iPhone, iPod Touch) with iOS I am making a game that utilizes the peer-to-peer bluetooth capabilities of the iPhone (and probably the iPod touch 2nd generation). However, to stop the users from trying to play…
Dimitris
  • 13,480
  • 17
  • 74
  • 94
104
votes
12 answers

Linux: Which process is causing "device busy" when doing umount?

Linux: Which process is causing "device busy" when doing umount?
flybywire
  • 261,858
  • 191
  • 397
  • 503
97
votes
31 answers

How to resolve "Waiting for Debugger" message?

I have HTC Comet connected to Eclipse with SDK 2.2. I do a debug build - the application does not run; though it does get installed on the device. On the device I get this message box on the Comet screen Waiting for Debugger Application HunyDew…
abRao
  • 2,787
  • 1
  • 25
  • 37
92
votes
9 answers

Logging data on device and retrieving the log

On a debug build in Xcode, regardless of whether I am using the simulator or an actual device, NSLog, printf, fprintf assert and NSAssert statements come out on the console If I now run a release build on the device (say I send a test flight build…
P i
  • 29,020
  • 36
  • 159
  • 267
92
votes
33 answers

Android Device Chooser -- device not showing up

I'm using Eclipse + ADT, and my physical device (listed below) is unlisted on Android Device Chooser. I have updated Eclipse and all of the Android packages. My phone is running Android OS 1.6, which corresponds to the target version listed in the…
mportiz08
  • 10,206
  • 12
  • 40
  • 42
86
votes
21 answers

How to detect a mobile device with JavaScript?

I have been asked to create an actual HTML page / JavaScript to simulate detection of the mobile devices (iPhone / iPad / Android) using JavaScript code. This will then take the user to a different screen which asks them for their email address.
Jeevs
  • 959
  • 3
  • 9
  • 10
81
votes
13 answers

List all devices, partitions and volumes in Powershell

I have multiple volumes (as nearly everybody nowadays): on Windows they end up specified as C:, D: and so on. How do I list these all like on a Unix machine with "ls /mnt/" with Powershell?
wishi
  • 7,188
  • 17
  • 64
  • 103
74
votes
1 answer

Difference between target google APIs and target android

I'm developing android with SDK 2.3.3 using Eclipse IDE. As you all know to run my app, I should generate virtual device. From 'create new AVD' window, I can see many targets. There are 2 targets for API level 10 such as 'android 2.3.3' and Google…
allbory
  • 743
  • 1
  • 5
  • 5
69
votes
3 answers

How to detect a mobile device manufacturer and model programmatically in Android?

I want to find device specification of a mobile phone for examples, the device manufacturer, model no ( and may be types of sensors in the device, wifi chipset etc..). I want to get the device manufacture/model number (eg. Samsung GT-I9100 i.e…
Shan
  • 5,054
  • 12
  • 44
  • 58
65
votes
3 answers

How to debug on a real device (using Eclipse/ADT)

I'm trying to figure out how to debug applications directly on my phone (HTC Desire). I've installed the USB driver that came with the phone and the phone is listed when using "adb devices". How do I configure eclipse/ADT to launch on the phone…
jgauffin
  • 99,844
  • 45
  • 235
  • 372
58
votes
20 answers

Why does adb return offline after the device string?

I use "adb devices" to get following result. Only one device is connected to PC by USB, but we get 8 lines of result. Could anyone suggest the reason? WH96TNE00361 offline WH96TNE00361 offline WH96TNE00361 offline WH96TNE00361 …
susantjs
  • 939
  • 2
  • 10
  • 19
57
votes
1 answer

dev.hold, dev.flush and resizing windows

In R, it is possible to hold a device, draw the picture, and then flush the device to render the graphics. This is useful for very complex plots with thousands of data points, color gradients etc since without holding, the device would be refreshed…
January
  • 16,320
  • 6
  • 52
  • 74
54
votes
8 answers

(iphone) access device's documents directory from mac?

I'm trying to access the documents directory at iphone device to see a log file that I saved while executing the app. I know this can be done for simulator. (you can browse the document directory of your app with Finder) Can this be done for…
eugene
  • 39,839
  • 68
  • 255
  • 489
52
votes
16 answers

Can't find android device using "adb devices" command

I am developing Android application on macOS and my application runs well on the emulator. I want to run it on the device, but when I run adb devices I get nothing. localhost:platform-tools BF$ adb devices List of devices attached…
52
votes
4 answers

google oauth error invalid_client no support email

I try to implement google oauth, following the Google OAuth2ForDevices. My App is registered on Google Cloud Console, as native App. When I try to follow the OAuth2ForDevices using Google Chromes - Advanced Rest Client Application, I get the json…
jerik
  • 5,714
  • 8
  • 41
  • 80
1
2 3
99 100