Questions tagged [google-nexus]

Google Nexus is a line of mobile devices using the Android operating system produced by Google in conjunction with an original equipment manufacturer (OEM) partner.

25 questions
68
votes
18 answers

What USB driver should we use for the Nexus 5?

As of the time of this writing, Google does not provide a USB driver (for Windows) for the Nexus 5. The usual link (http://developer.android.com/sdk/win-usb.html) shows Windows USB drivers for several of the Nexus's line. However, the "Nexus 5" is…
jonovos
  • 783
  • 1
  • 5
  • 5
12
votes
3 answers

How to prevent Screen Orientation change when Activity finishes on Android 8.1 Version Devices?

I'm working on an app and encountered a strange behavior on 8.1 Devices (Pixel2, Nexus5x), so I wrote a small App to verify this behavior. MainActivity is locked to portrait mode while LandscapeActivity is locked to landscape. MainActivity starts…
12
votes
3 answers

Camera.release() takes 30 seconds to release the camera in Nexus 10. Is there any way to speed up the process?

I'm using the following code to release camera in onPause. But the line mCamera.release() takes 30 seconds on average to release the camera in Nexus 10 device. I've added logging before and after mCamera.release() and found that the time difference…
Dilip
  • 1,122
  • 11
  • 31
11
votes
2 answers

Content Provider not working on Nexus family devices

I'm developing an app with a ContentProvider to offer some inner files (binary files). When I deploy it on a Samsung Galaxy S, SII, or any other, it works perfectly, buy when I try it on a Galaxy Nexus or Nexus S, it doesn't work! Scenario: My…
manelizzard
  • 1,060
  • 8
  • 19
8
votes
1 answer

What is the right screen size and density configuration of Nexus 6?

My app doesn't list Nexus 6 as a supported device in Google Play Console. I read the blog post Getting Your Apps Ready for Nexus 6 and Nexus 9 which says: Nexus 6 has a quantized density of 560 dpi, which falls in between the xxhdpi and xxxhdpi…
Marcel Bro
  • 4,907
  • 4
  • 43
  • 70
5
votes
2 answers

java.net.ConnectException

When I'm running my app through Google Nexus by connecting through USB and trying to connect webservice running on my laptop then I'm getting below error but I'm able to connect to webservie. Please advice. java.net.ConnectException: failed to…
Sam
  • 244
  • 2
  • 5
  • 20
4
votes
1 answer

flash torch functionality not working through app-widget in nexus 5

Flash is turning-on fine from application (added surface_view to the layout), when I try to turn-on flash through app-widget it's not working. I used Camera and SurfaceView Here is the code I am using Camera mCamera; SurfaceView preview; mCamera =…
Sruthi Mamidala
  • 361
  • 1
  • 3
  • 10
3
votes
0 answers

Google Nexus Camera app Panorama Feature

I am trying to create an application similar to the Google Nexus Camera feature Panorama/Photosphere. I want to display predefined 3D sherical points with camera preview. I have used Sensor Fusion Demo for displaying the points. But I am not able to…
2
votes
2 answers

Nexus 5 USB Driver not found

Hey I am trying to learn the Android SDK development from lynda.com. They asked me to update my USB drivers. I downloaded the driver unzipped it. And when I try to update it in the MTP mode it says Device driver up to date I searched around and…
Leero
  • 57
  • 2
  • 8
2
votes
0 answers

Camera not working in Google Nexus tablet

I'm trying to open camera from my app. My Camera activity code looks below - Button click = (Button) activity.findViewById(R.id.captureclick); if (!getPackageManager() .hasSystemFeature(PackageManager.FEATURE_CAMERA_FRONT)) { …
Sam
  • 244
  • 2
  • 5
  • 20
1
vote
4 answers

How do I get the files I stored with my app (Android) on my PC?

I created json files on the internal (private) storage of the app I write for my Google Nexus 5. I was told, that this is the so-called private app space which I cannot access from my PC unless I either root the phone (not an option) or use the…
keinabel
  • 1,002
  • 3
  • 15
  • 33
1
vote
2 answers

LG Nexus 5X can't see in Android Studio on Windows 10

I have a LG Nexus 5x smartphone, I would like to use to on device debugging in Android Studio on my Windows 10 Computer. I turn on the dubugger options on my phone, but the Android Studio can't see that. From where can I downlod the USB driver, that…
1
vote
3 answers

adb.exe has stopped working, Nexus 7 not detected over USB

I'm using Google Nexus 7 to debug an applications. but now it is prompting the error message below and and popup is coming stating that the USB device is not recognized. But it was working properly a few days back. I have not made any updates on…
Dinithe Pieris
  • 1,822
  • 3
  • 32
  • 44
1
vote
1 answer

Google Nexus Portrait changing to landscape on keypad

We are developing a responsive WEBSITE that has two views. One for tablets PORTRAIT : Ipad and Google Nexus and one for mobiles: Iphone and Samsung S3. Google Nexus Portrait should also be on tablet view of the webpage. These are the media queries…
Bhuvana
  • 184
  • 5
1
vote
0 answers

Camera service continues running when opening camera from lockscreen

After a bit of experimenting, I've found that if the camera is opened from the lockscreen, the camera service seems to continue running after the camera app is closed. When trying to use the camera with another program, including the native camera…
TorpedoBench
  • 125
  • 7
1
2