[android-developers] Data Duplicay

2014-02-25 Thread Rahul Kaushik
Hello, I call some method A() onCreate then i pressed the home button then i resume to my app Method A() is called again which create data duplicacy how can i avoid calling that method A() to avoid data duplicacy ? I tried calling that method onRresume but stiil have the data duplicacy. Please

Re: [android-developers] WifiEnterpriseConfig setClientKeyEntry doesn't work with .p12 client cert/key in the keystore

2014-02-25 Thread Pradeep Phatak
setClientKeyEntry API worked after I retrieved X509Certificate and PrivateKey from the KeyStore. The cert and key looked okay in the WifiConfiguration. Adding wifi network failed with the error below- E/WifiConfigStore(764): "8021x-wpa2-ssid" invalid config for key installation E/WifiConfigS

Re: [android-developers] Access to files on CIFS partition from my application

2014-02-25 Thread Nikolay Elenkov
On Wed, Feb 26, 2014 at 12:21 AM, mastermind wrote: > I've just mounted samba share to my Nexus 7 (CM 11) under root using kernel > module. > > Everything seems ok for applications (ES File Manager, Total Commander etc), > I see files and can read them, even "cat" command from shell works. But I'm

Re: [android-developers] External Storage lockout in 4.4 update on some Samsung devices.

2014-02-25 Thread Nathan
On Thursday, February 20, 2014 5:25:28 PM UTC-8, Nathan wrote: > > > > There is a chance that if I directed my users to use: > Android/data/com.example.foo/ on external storage devices that they might > be able to use their valued card. > > However, that is difficult to test as I don't have on

Re: [android-developers] WifiEnterpriseConfig setClientKeyEntry doesn't work with .p12 client cert/key in the keystore

2014-02-25 Thread Nikolay Elenkov
On Wed, Feb 26, 2014 at 1:18 AM, Pradeep Phatak wrote: > > The alias is provided when we use the Keychain createInstallIntent API to > store the p12 in the Android KeyStore. > As you correctly noted in your earlier post, we can't retrieve the Private > Key in that case. > The only other method I f

Re: [android-developers] WifiEnterpriseConfig setClientKeyEntry doesn't work with .p12 client cert/key in the keystore

2014-02-25 Thread Pradeep Phatak
The alias is provided when we use the Keychain createInstallIntent API to store the p12 in the Android KeyStore. As you correctly noted in your earlier post, we can't retrieve the Private Key in that case. The only other method I found to load a p12 certificate in Keystore was the load method.

Re: [android-developers] Download folder

2014-02-25 Thread TreKing
On Tue, Feb 25, 2014 at 1:26 AM, Yves Liu wrote: > Sorry, this happens on Nexus 5, kitkat. That's what I thought. Next question - have you declared the new external storage permission? https://developer.android.com/about/versions/android-4.4.html --

[android-developers] Access to files on CIFS partition from my application

2014-02-25 Thread mastermind
I've just mounted samba share to my Nexus 7 (CM 11) under root using kernel module. Everything seems ok for applications (ES File Manager, Total Commander etc), I see files and can read them, even "cat" command from shell works. But I'm unable to read them from my app! Neither with native cal

[android-developers] Interept all the requests from the webview

2014-02-25 Thread Nick
I'm writing an android web application using built in webkit engine. I have html files in the application local dir (wanted to put them in assets but we have a requirement to update them over http so I need to replace assets in runtime what is impossible). The application should work over SSL

Re: [android-developers] Help in appropriately using ArrayAdapter to display SQLite query in multiple text views

2014-02-25 Thread Yathushan
Sorry about that. The problem was that I was unable to call my getcard() method into my main activity and then parse the object data into a multiple text view. Thank you for reply. I have worked out how to call the data into my multiple textview without the need for an arrayadapter. On Thursday