Questions tagged [device]

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

2917 questions
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
  • 919
  • 2
  • 10
  • 18
56
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
  • 14,011
  • 6
  • 46
  • 64
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
  • 33,301
  • 47
  • 188
  • 382
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,322
  • 7
  • 38
  • 75
51
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…
50
votes
6 answers

Xcode - iPhone - profile doesn't match any valid certificate-/private-key pair in the default keychain

I tried to add my iPhone to Xcode4 to test my Application on it. I added the device in the Apple Developer-Center and downloaded the Provision-Profile. We pay 99$ per month for the account and I'm not the only person who use this account. So there…
Kevin Glier
  • 1,047
  • 2
  • 13
  • 26
50
votes
6 answers

Just upgraded my OS X to Yosemite, Android Device Chooser not showing device - what to do?

After upgrading to OS X Yosemite I found that eclipse was not working because JAVA was not properly installed. I installed it and now I am able to open eclipse. When I connect my device, I am able to see my device on the device list in eclipse.…
joel
  • 747
  • 2
  • 9
  • 20
46
votes
20 answers

Device going offline randomly (and appearing multiple times as offline) in Eclipse - fixes?

This problem has been bugging me for ages and I can't seem to fix it or fully localize the source of the problem (although at times I can force it by allowing the phone to Standby while connected to Eclipse, but sometimes that doesn't even cause a…
Codemonkey
  • 3,392
  • 3
  • 17
  • 24
44
votes
3 answers

How to run logcat on multiple devices?

How can I run logcat on multiple devices at the same time? "adb logcat" command gives an error: error: more than one device and emulator
Kostas
  • 2,294
  • 3
  • 17
  • 17
43
votes
10 answers

ImageView displaying in layout but not on actual device

I have an ImageView that I want to display matching the full width of the device, I realized that like this:
Tim Kranen
  • 3,964
  • 4
  • 25
  • 49
43
votes
5 answers

android device id confusion

If I dial * # * # 8 2 5 5 # * # * , I get my android device id which starts with android-35c2acdd... source If I use Settings.Secure.getString(getContentResolver(), Settings.Secure.ANDROID_ID) the result starts with a96b4b27... If I use…
Gergely Fehérvári
  • 7,405
  • 6
  • 43
  • 71
42
votes
7 answers

DatePicker crashes on my device when clicked (with personal app)

Edit : I checked that the issue only appears when the phone is set with "French" language. I'm currently building my own app and I have an issue when using the DatePicker widget on my phone (debug mode phone : Samsung S5). The error gather is :…
Alexandre
  • 1,189
  • 2
  • 13
  • 25
41
votes
9 answers

How to set fake GPS location on IOS real device

Currently I have to test app and set the different fake GPS locations on real IOS 7 devices. On Android I use 'My Fake Location'. Unfortunately, I didn't find the same app for IOS 7. Any ideas to solve my problem?
Maksim Alekseychik
  • 3,498
  • 5
  • 15
  • 15
40
votes
6 answers

Cordova android emulation - Error: Cannot read property 'semver' of null

Trying to emulate Android app with cordova, but get this error message: Built the following apk(s): …
Jonas Jakobsen
  • 403
  • 1
  • 4
  • 4
38
votes
11 answers

Xcode not detecting my device

I upgraded my iPad device OS version recently to 5.1.1 (9B206). From that my Xcode is not detecting my device. Am just getting iOS Device and simulator options in my Xcode. But am getting my device in older version of Xcode and iTunes. For this i…
Saranya
  • 1,401
  • 3
  • 14
  • 25