nexus-7

Host Card Emulation on Nexus 7 2012

一曲冷凌霜 提交于 2020-02-02 08:36:26
问题 I'm trying to test out the new Host Card Emulation features in KitKat, but the only KitKat device with NFC that I have at the moment is a 2012 Nexus 7. It does support card emulation through Google Wallet, and I can send and receive data to the two Master Card AIDs that it uses. However, when I try to implement my own HostApduService to handle communications with my own custom AID, Android doesn't route any APDUs to my service. I then tried to call CardEmulation.isDefaultServiceForAid to see

android 2013 nexus 7 and windows 8.1 x-64 drivers

旧街凉风 提交于 2020-01-17 11:00:11
问题 i have made drivers work for the 2012 nexus 7, and a few other android devces. i just got 6 2013 nexus 7's and can not seem to get the drivers installed. i upgraded the software to 6.0.1. but i am unable to get to the screen shown here. adb does not find any devices. in ptp mode, windows finds most of these and assigns a usb driver 6.3.9600.17415 dated 2006. trying update the driver to add a more specific driver fails because windows does not know it's a phone. using have disk fails when

Network statistics on Nexus 7

一笑奈何 提交于 2020-01-17 02:50:15
问题 I want to read the network statistics on my Nexus 7 from the file system. On all devices tested before, the network statistics (e.g., tx_packets) were always located in /sys/devices/virtual/net/wlan However, although on the Nexus 7 there are four matching sub directories /sys/devices/virtual/net/dummy /sys/devices/virtual/net/ip6tnl0 /sys/devices/virtual/net/lo /sys/devices/virtual/net/sit0 none of them seems to provide the right statistics, as all their statistic files do not change during

USB driver Asus Nexus 7 Windows 7

倾然丶 夕夏残阳落幕 提交于 2020-01-12 01:33:22
问题 I have tried every suggestion on this website and many others to no avail. Is it even possible to do android development for a nexus 7 on windows? I have tried the usb driver downloaded from the sdk manager, the one from asus. I have tried changing the usb mode to PTP and I am still getting the the same message when I try to install the driver (manually). "Windows could not find driver software for your device" 回答1: I know this question has been answered, but I just ran into an issue where

android studio 1.5.1, marshmallow no internet access detected won't automatically reconnect

一世执手 提交于 2020-01-10 05:53:05
问题 I'm having this problem on some 2013 Nexus 7's. got some code to work (please see below). package acme.wifi; import android.content.*; import android.net.wifi.*; import android.os.Bundle; import android.support.design.widget.FloatingActionButton; import android.support.design.widget.Snackbar; import android.support.v7.app.AppCompatActivity; import android.support.v7.widget.Toolbar; import android.view.View; import android.view.Menu; import android.view.MenuItem; import java.math.*; import

Asus Nexus 7 2013 camera.open Fail to connect to camera service

久未见 提交于 2020-01-06 20:12:39
问题 I have an issue only on Asus Nexus 7 2013 . All other devices, including Asus Nexus 7 2012 works fine. This device has 2 camera IDs: 0, 1. But I can't open camera, using both of them. //... try { //cameraID: 0 or 1 camera = Camera.open(cameraID); //... } catch (Exception e) { e.printStackTrace(); } So I getting: java.lang.RuntimeException: Fail to connect to camera service android.hardware.Camera.<init>(Camera.java:495) android.hardware.Camera.open(Camera.java:341) 回答1: Problem was in new

How to get perf_event results for 2nd Nexus7 with Krait CPU

心不动则不痛 提交于 2020-01-02 18:57:29
问题 all. I try to get PMUs information such as Instructions, Cycle, Cache miss and etc. on 2nd Nexus7 with Krait CPU. The perf tool is not working correctly. Therefore, I am using follow a sample source code in perf_event tutorials. #include <stdlib.h> #include <stdio.h> #include <unistd.h> #include <string.h> #include <sys/ioctl.h> #include <linux/perf_event.h> #include <asm/unistd.h> static long perf_event_open(struct perf_event_attr *hw_event, pid_t pid, int cpu, int group_fd, unsigned long

How to get IMEI number for Google Nexus 7 TAB in android?

血红的双手。 提交于 2020-01-02 08:38:11
问题 I used the below code to get IMEI number for Google Nexus 7 tab. I couldn't got. How can i get IMEI number for Google Nexus 7? TelephonyManager telephonyManager = (TelephonyManager) context .getSystemService(Context.TELEPHONY_SERVICE); return telephonyManager.getDeviceId(); 回答1: If I am not wrong google nexus 7 doesn't have any sim. SO if there is no sim you cannot get the IMEI number of the device as the IMEI is the network dependant on gsm networks. So if the device is wifi only you cannot

My App isn't Compatible with Nexus 7 on Google Playstore

不羁岁月 提交于 2020-01-01 09:44:34
问题 Hii i have submitted an app to playstore but it isn't compatible with Nexus here is my Manifest My App is on List of supported Devices in the Google Play and when i check the same in the nexus device it is not at all visible on Search <uses-sdk android:minSdkVersion="14" android:targetSdkVersion="14"/> <supports-screens android:anyDensity="true" android:largeScreens="true" android:normalScreens="true" android:resizeable="true" android:smallScreens="true" android:xlargeScreens="true" /> <uses

Android SensorEvent timestamp issue

∥☆過路亽.° 提交于 2020-01-01 07:04:23
问题 I am currently working on an android application where I have to log all the sensor values. I got the sensor event timestamp from "event.timestamp" and I converted this value into a unix timestamp. long currTimeRelativeToBootMs = SystemClock.uptimeMillis(); long currTimeAbsoluteMs = System.currentTimeMillis(); mStartTimeAbsoluteS = ((double)(currTimeAbsoluteMs - currTimeRelativeToBootMs))/(double)1000.0; ... //timestampRelativeInNs = event.timestamp double temp = mStartTimeAbsoluteS+((double