nexus-s

Android Nexus S EditText settings ignored (2.3.4)

霸气de小男生 提交于 2020-01-02 18:21:49
问题 I hadn't seen this issue until after the 2.3.4 update for the Nexus S phone. I have a very simple application, with a main activity that loads on start of the application. This main activity has a LinearLayout consisting of some TextViews, and EditText, a couple Spinners, and a Button. I am now having an issue with the input to the EditText. It is supposed to come up with a soft keyboard with the phone input type. Instead it comes up with the standard alpha-numeric soft keyboard and once you

is Card Emulation supported in Android with NFC?

一曲冷凌霜 提交于 2019-12-24 09:48:55
问题 I need to communicate over NFC (ISO14443) with some card reader. when i put my nexus S on Reader, logcat shows messages 02-18 13:24:00.691: DEBUG/NfcService(278): SE FIELD ACTIVATED 02-18 13:24:00.691: DEBUG/NfcService(278): Broadcasting Intent or theese , when card reader is trying to read 02-18 13:25:00.718: DEBUG/NFC JNI(278): > AID DETECTED 02-18 13:25:00.718: DEBUG/NFC JNI(278): > AID: 0102030405060708090000 02-18 13:25:00.722: DEBUG/NfcService(278): Card Emulation message 02-18 13:25:00

GLES20 Texture Not Working on Some Devices

不打扰是莪最后的温柔 提交于 2019-12-22 12:57:20
问题 I have tried to add a fairly simple extension on top of Android's example OpenGL 2.0 project in order to add texturing to basic shapes. This seems pretty straightforward, but on certain devices (Samsung Nexus S, LG Optimus 3D, Samsung Galaxy S) the texture just does not render. This is actually a problem that I am having on a much larger project, but I was able to reproduce the issue with the simple project below in the hope that someone here has an idea of where my code presents issues, or

How to store data into Secure Element in android

别等时光非礼了梦想. 提交于 2019-12-22 05:03:37
问题 I want to create a google wallet like application in android. It is said that "all payment credentials are stored in a chip called the Secure Element contained within the phone". How can I access this secure element and store my card credentials into it. My aim is to use my phone (Nexus) at the checkout counter instead of my card. So what I want is to store some data to the Secure Element chip and access the data when I tap on an NFC reader. Thanks in advance. 回答1: If you check the Google

device does not have package com.google.android.gsf in google nexus phone

狂风中的少年 提交于 2019-12-21 11:56:14
问题 I am testing my app in Google Nexus phone. But its force close during the start up itself with an exception "device does not have package com.google.android.gsf" Any hint? I have successfully tested the app in Samsung Galaxy S3 and Samsung Galaxy Y phones. 回答1: If you are making use of packages that are not part of the core Android system, your app should always check for their existence and handle the errors gracefully if they are not installed, rather than crashing. I believe this is what

ACTION_IMAGE_CAPTURE orientation problem on Nexus S and Samsung Galaxy S I9000

此生再无相见时 提交于 2019-12-21 11:25:10
问题 I'm trying to shoot picture and store it into internal storage by using the following code: Intent intent = new Intent(android.provider.MediaStore.ACTION_IMAGE_CAPTURE); takenPhoto = new File(uploadsFolder, getNewPicFileName()); intent.putExtra(MediaStore.EXTRA_OUTPUT, Uri.fromFile(takenPhoto)); startActivityForResult(intent, SHOOT_MEDIA_REQUEST_CODE); The problem is that on Nexus S and Galaxy S devices default and the single orientation for ACTION_IMAGE_CAPTURE intent is landscape. If i

android - show menu button on galaxy nexus

邮差的信 提交于 2019-12-18 16:55:22
问题 i need to have the menu button shown for some activities on galaxy nexus . i can't find how to do that, since it hides it by default . i don't wish to create an action bar since it takes more space that i want to use to other things . when setting the "android:targetSdkVersion" value to lower than 14 , it seems to show the menu button , but otherwise, it hides it . btw, the activity needs to be full screen , with no title/action bars . it is very weird that this button is not shown by default

Writing NFC tags using a Nexus S

て烟熏妆下的殇ゞ 提交于 2019-12-18 10:56:21
问题 I have a Gingerbread 2.3.4 powered Nexus S and I recently got some writable NFC tags. So far I can read them as blank tags, but I couldn't find a way to write data to them. All my research has lead me to this article: Writing tags with Nexus S from January ( before 2.3.4 release ). How do you write NFC tags inside your application, using your Nexus S? Any pointers? 回答1: I found the Android NFC API text and dev guide a bit tricky to follow so a bit of example code might help here. This is

Android Image doesn't save using native camera app on Nexus S

倖福魔咒の 提交于 2019-12-12 12:39:31
问题 So this is kind of weird because out of the three devices I'm testing on, I only get this issue on the Google Nexus S with 4.0.3. I'm starting the native camera app to take a picture, and I don't care where the image is saved to, so I don't specify, hoping that it will get saved to the default location, but no location is saved at all! Does work fine on the Galaxy S 2 and Samsung Skyrocket (both with 2.3.something). Code I'm using to start the app Intent camIntent = new Intent(MediaStore

how to disconnect the call in android 4.1.2 nexus programmatically

删除回忆录丶 提交于 2019-12-09 13:09:30
问题 i am able to disconnect the call programmatically for incoming unknown number call in android 2.2. But in android 4.1, its not working. Working Code to disconnect the call in android 2.2: private Class c; private Method m; private com.android.internal.telephony.ITelephony telephonyService; public void onReceive(Context context, Intent intent) { Bundle b = intent.getExtras(); String state = b.getString(TelephonyManager.EXTRA_STATE); if(state.equalsIgnoreCase(TelephonyManager.EXTRA_STATE