nexus-s

android - show menu button on galaxy nexus

谁说我不能喝 提交于 2019-11-30 14:01:40
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 for so many places (even the launcher) , and on some places it does exist . such a button is a very

Writing NFC tags using a Nexus S

佐手、 提交于 2019-11-30 00:46:34
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? 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 actually a port of MIDP code I've been using in Nokia 6212 devices, so I probably haven't yet figured out

Android NFC Issue with APDU Commands

蹲街弑〆低调 提交于 2019-11-29 04:12:04
I am working on an Application using the IsoDep Tag Tech to issue APDU commands to an NFC enabled card. UPDATE: So the issues seen below seem related to the power requirements of the cards I am using, when I use a different card with lower power requirements the below symptoms don't occur as frequently. I have followed the documentation explicitly and have a successful managed to implement the protocol. However with mixed success I am experiencing some issues with the NFC lower level libraries beyond the control of my code. I have implemented the following: Foreground dispatching of a Pending

Default Camera Activity Not Finishing Upon OK button press

落花浮王杯 提交于 2019-11-27 23:09:35
问题 I'm calling the default camera from my activity and then handling the onActivityResult. My code seems to work fine on the LG Ally which doesn't have a confirmation when a picture is taken. However, when I run the same app on the Nexus S, it prompts me with an "Ok", "Retake", or "Cancel" before returning to my activity. While "Cancel" works, returning to my activity without saving the picture, "Ok" doesn't seem to have any effect, not even returning to my activity. My code below: private void

Android NFC Issue with APDU Commands

南笙酒味 提交于 2019-11-27 18:10:45
问题 I am working on an Application using the IsoDep Tag Tech to issue APDU commands to an NFC enabled card. UPDATE: So the issues seen below seem related to the power requirements of the cards I am using, when I use a different card with lower power requirements the below symptoms don't occur as frequently. I have followed the documentation explicitly and have a successful managed to implement the protocol. However with mixed success I am experiencing some issues with the NFC lower level