[android-developers] Re: nfc read not working

2013-06-24 Thread Steina
Hello. I want to read from mifare classic 1K but tag always return null. the manifest file have the following filters: and the technology list: android.nfc.tech.NfcA android.nfc.tech.Ndef android.nfc.tech.MifareCl

Re: [android-developers] Re: HTC One V "getExternalStorageState"

2013-06-24 Thread TreKing
On Sat, Jun 22, 2013 at 6:45 PM, Tamás Kovács wrote: > Therefore, users who don't have an external SD card inserted into their > HTC One V will not be able to install my application. Well, this is a risk you take when using extra features. My app uses GPS and won't be installed on apps without i

[android-developers] Render mp4 video on a GLSurfaceView

2013-06-24 Thread powerdroid
Does anyone know of any developer documentation or examples that show how to render an mp4 video file to a GLSurfaceView? Is this type of thing even possible? Would the video's alpha channel be preserved? -- -- You received this message because you are subscribed to the Google Groups "Andro

Re: [android-developers] Get all requests and responses intercepted from a webview?

2013-06-24 Thread jrichards1...@googlemail.com
Hi Basically when Web view display Gmail and u enter your username and password and click on the login button. Instead of the Website sending the request to Google. I want it to send to Our web server. Our website server is basically the proxy. Why do we want this? The websites we will use c

Re: [android-developers] Get all requests and responses intercepted from a webview?

2013-06-24 Thread jrichards1...@googlemail.com
Hi Basically when Web view display Gmail and u enter your username and password and click on the login button. Instead of the Website sending the request to Google. I want it to send to Our web server. Our website server is basically the proxy. Why do we want this? The websites we will use c

[android-developers] Empty Leaderboard on Type-a-Number example project, Google Play Game Services

2013-06-24 Thread Pedro Machado Santa
Hi all, I built the Type-a-Number project exactly like on the documentation (https://developers.google.com/games/services/android/quickstart), with all the necessary background work and setup on the Google Play Developer Console configuring the Achievements and Leaderboards, etc, and successfu

Re: [android-developers] Get all requests and responses intercepted from a webview?

2013-06-24 Thread Kristopher Micinski
I'm still not at all sure what you're doing or why you want to do this. But what you pointed out is just a rehashing of what I said: some websites run JS and send AJAX requests, etc... Let me try to decipher what you said: you want to use request bodies to log in to your server? That just seems

Re: [android-developers] Get all requests and responses intercepted from a webview?

2013-06-24 Thread jrichards1...@googlemail.com
I am connected to a seperate Web server implemented in java that basically handles all the requests we send through a webview. At the moment i am using gmail to test if i can send the login/authentication request to our webserver and let our web server pass this request to google or whoever an

[android-developers] Displaying the long Press Power off screen/dialog

2013-06-24 Thread amey523
Hey everyone, is there a way in Android to show the Phone Options screen that gets popped up when a user long presses on the Power button. On my Samsung Galaxy S3 it has the following options: 1. Power Off 2. Airplane Mode 3. Restart 4. Mute - Vibrate - Sound Is this possible to sh

Re: [android-developers] Get all requests and responses intercepted from a webview?

2013-06-24 Thread Lew
You can solve this more easily using a proxy tool like Charles. This is the sort of thing usually not done from inside the app but to test the app. Yes, there are apps whose main job is to handle HTTP, and they're the exception, but most apps want to rely on HTTP, not manage it. So as Kristophe

Re: [android-developers] Get all requests and responses intercepted from a webview?

2013-06-24 Thread Kristopher Micinski
Not as far as I know: there is no such mechanism through the API. I haven't checked what you can get access to if you use reflection, though I also doubt you can do many tricks there either. I don't know much about WebKit internals, so I'm not sure if this is something that would be possible. Ho

Re: [android-developers] Re: Handling process killed by system

2013-06-24 Thread Kristopher Micinski
I think the documentation intentionally stays abstract on what happens when the process is killed. I agree it's sort of strange this isn't explained better, but in reality using statics in Android is usually a bad idea for the reasons that have been described. I agree with Piren, you should seria

[android-developers] Save getCallingPackage() in onSaveInstanceState. is this necessary?

2013-06-24 Thread NoraBora
In Facebook-Android SDK 3.0.1, there is LoginActivity. In LoginActivity, callingPackage is get from getCallingPackage() and save it through onSaveInstanceState and restore from savedInstanceState in onCreate(). https://github.com/facebook/facebook-android-sdk/blob/master/facebook/src/com/facebook/

[android-developers] Get all requests and responses intercepted from a webview?

2013-06-24 Thread jrichards1...@googlemail.com
is there a way to get request and response objects from a webview? for requests made from some webpage running in my webview, i want to intercept the full http request object(the headers, http method used, http body etc) and divert and send across that request into another channel. For respon

Re: [android-developers] Re: Handling process killed by system

2013-06-24 Thread Benoit Vermont
Well, I agree that using a singleton is a mistake. But, I think that the documentation is rather shallow, and should maybe explain the "process being killed" behavior more thoroughly. I mean, when you read the documentation, nothing let you guess that your singletons will be deleted, while the stac