Re: [android-developers] Re: SSLHandshakeException errors on Android 5.0?

2014-11-19 Thread Nikolay Elenkov
On Thu, Nov 20, 2014 at 11:13 AM, Scott Jackson daneren2...@gmail.com wrote: No, I am using a custom SSLSocketFactory implementation which accepts Self Signed Certs: https://github.com/daneren2005/Subsonic/blob/master/src/github/daneren2005/dsub/service/ssl/SSLSocketFactory.java I hope you

Re: [android-developers] ART Performance Issue

2014-08-18 Thread Nikolay Elenkov
On Mon, Aug 18, 2014 at 4:59 PM, Michael Schollmeyer mich...@mictale.com wrote: Hi, My app has an export feature that usually takes 1 minute to complete. When I switch to ART it takes 5 minutes. The export heavily uses Method.invoke and reflection in general. Any ideas how to track down the

Re: [android-developers] In App Billing - Signature Verification failed.

2014-08-13 Thread Nikolay Elenkov
On Thu, Aug 14, 2014 at 9:41 AM, Nathan nathan.d.mel...@gmail.com wrote: So why would Google Play send me a bogus signature? Its not the first Google glitch, but what can I or the customer do about it? Build a backup license restore method (using randomly generated license codes that your

Re: [android-developers] Andorid.mk file

2014-08-11 Thread Nikolay Elenkov
On Mon, Aug 11, 2014 at 5:43 PM, praveen m bsmprav...@gmail.com wrote: I created jni and libs folder. and i put all *.c files into jni folder and *.h files into jni/lib folder. Please anyone give me an example Android.mk file. Check the samples that come with the NDK. -- You received

Re: [android-developers] Re: What SDK version insists on the broken v23 of the SDK tools?

2014-06-29 Thread Nikolay Elenkov
On Mon, Jun 30, 2014 at 11:44 AM, Jim Graham spooky1...@gmail.com wrote: But here's the problem: Eclipse now seems to be out of favor with Google, Android Studio doesn't seem to work for libs like AndEngine, so you have to use Eclipse, and it's been forever since I knew how to get Eclipse to

Re: [android-developers] Re: What SDK version insists on the broken v23 of the SDK tools?

2014-06-29 Thread Nikolay Elenkov
On Mon, Jun 30, 2014 at 12:13 PM, Jim Graham spooky1...@gmail.com wrote: On Mon, Jun 30, 2014 at 12:05:24PM +0900, Nikolay Elenkov wrote: On Mon, Jun 30, 2014 at 11:44 AM, Jim Graham spooky1...@gmail.com wrote: But here's the problem: Eclipse now seems to be out of favor with Google

Re: [android-developers] ArrayIndexOutOfBoundsException when decrypting file

2014-06-10 Thread Nikolay Elenkov
On Sat, Jun 7, 2014 at 6:52 AM, gnugu rho...@gmail.com wrote: Hi I am getting the following exception, when decrypting a file on Android based on user supplied password: Caused by: java.lang.ArrayIndexOutOfBoundsException: src.length=1024 srcPos=1008 dst.length=16 dstPos=16 length=16

Re: [android-developers] Re: Application permissions

2014-05-07 Thread Nikolay Elenkov
On Wed, May 7, 2014 at 5:44 PM, luixal lui...@gmail.com wrote: I was thinking on starting a simple open source MDM platform (server side + app, not a custom firmware) as I found none. For that, I would need some of the signature and signatureOrSystem permissions. So... is there no way of

Re: [android-developers] Is there a way to use the emulator on the console?

2014-04-27 Thread Nikolay Elenkov
On Sun, Apr 27, 2014 at 11:41 PM, Thorsten Jolitz tjol...@gmail.com wrote: Since I like to work on the console (without X11) I ask myself if there is any way to use the emulator from the console? Most likely not, but I thought I ask anyway ... thanks for any hints. Run the emulator on a

Re: [android-developers] Encrypting integer to integer

2014-04-10 Thread Nikolay Elenkov
On Fri, Apr 11, 2014 at 1:14 PM, nikhilesh nikhileshsingh...@gmail.com wrote: Hi, I am looking some way to encrypt/decrypt integer value to integer value or a float value to float. Any one have any idea. 1. Convert integer to byte array 2. Encrypt byte array 3. Transmit 4. Decrypt byte array

Re: [android-developers] Encrypting integer to integer

2014-04-10 Thread Nikolay Elenkov
On Fri, Apr 11, 2014 at 1:49 PM, nikhilesh nikhileshsingh...@gmail.com wrote: Hi Nikolay, Thanks for the reply. I tried the same thing but no success. Please see code snippet below: You are on the right track, but the cipher() should return byte[], and decipher() should take a byte[] as input

Re: [android-developers] Encrypting integer to integer

2014-04-10 Thread Nikolay Elenkov
On Fri, Apr 11, 2014 at 2:15 PM, Nikolay Elenkov nikolay.elen...@gmail.com wrote: On Fri, Apr 11, 2014 at 1:49 PM, nikhilesh nikhileshsingh...@gmail.com wrote: Hi Nikolay, Thanks for the reply. I tried the same thing but no success. Please see code snippet below: You are on the right

Re: [android-developers] com.samsung.* Android permissions (OEM and proprietary non-android.permission.* permissions)

2014-04-09 Thread Nikolay Elenkov
On Wed, Apr 9, 2014 at 3:48 PM, smoogli roy.ben.ha...@gmail.com wrote: thanks Nikolay. that's a good tip. tried it on one device I have and could see android.permission.*. I'm sure there are also proprietary permissions on other devices (which I don't have so can't check in this way). any

Re: [android-developers] com.samsung.* Android permissions (OEM and proprietary non-android.permission.* permissions)

2014-04-08 Thread Nikolay Elenkov
On Tue, Apr 8, 2014 at 7:01 PM, smoogli roy.ben.ha...@gmail.com wrote: Hi, which Samsung permissions (or other OEM and proprietary - non android.permission.* permissions) are built-in and available today on Android phones? e.g., any such permissions for using Samsung KNOX? and where\how is

Re: [android-developers] Why apps not developed in C ?

2014-03-31 Thread Nikolay Elenkov
On Mon, Mar 31, 2014 at 11:40 PM, Sai Yamanoor yamanoor...@gmail.com wrote: Someone might correct me if I am wrong here. I learned that they chose Java to meet performance requirements. There is a detailed explanation behind how the use of Java affects the device performance. Because Java is

Re: [android-developers] why checkCallingPermission() always returns -1 ?

2014-03-05 Thread Nikolay Elenkov
On Thu, Mar 6, 2014 at 7:13 AM, smoogli roy.ben.ha...@gmail.com wrote: Hi, I created a service whose handleMessage() is triggered by a remote activity. works fine... then, wanted to add a check that the remote activity has the required permission so added a call for

Re: [android-developers] why checkCallingPermission() always returns -1 ?

2014-03-05 Thread Nikolay Elenkov
On Thu, Mar 6, 2014 at 2:08 PM, smoogli roy.ben.ha...@gmail.com wrote: (I can only assume there is some configuration that needs to be set, or something that I am missing here) You need a bound service for this to work and you will only get the UID of the activity on binder calls.

Re: [android-developers] why checkCallingPermission() always returns -1 ?

2014-03-05 Thread Nikolay Elenkov
On Thu, Mar 6, 2014 at 3:19 PM, smoogli roy.ben.ha...@gmail.com wrote: I think it was already done. from what I see, it already uses what is explained in http://developer.android.com/guide/components/bound-services.html Ah, you are using Messenger. IIRC, The Handler's onHandleMessage() is not

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

2014-02-27 Thread Nikolay Elenkov
On Thu, Feb 27, 2014 at 5:11 PM, mastermind denis.bar...@gmail.com wrote: When I open mounted directory (using opendir() function), I see only two files: . and ... Looks like itsn't mounted but other proccesses see files! How this could be??? Linux (and Android) supports per-process

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

2014-02-26 Thread Nikolay Elenkov
Please reply to list. On Wed, Feb 26, 2014 at 5:08 PM, mastermind denis.bar...@gmail.com wrote: Thanks for the answer! Folder mounted outside of the app from adb shell. I just can't understand why some apps can't access it (ES File Explorer with root priveleges) and some can (Total Commander,

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 pradeep.pha...@gmail.com 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

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 denis.bar...@gmail.com 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

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

2014-02-24 Thread Nikolay Elenkov
On Tue, Feb 25, 2014 at 12:30 PM, Pradeep Phatak pradeep.pha...@gmail.com wrote: Thank you Nikolay. I added p12 file to the Keystore using the load method, passing the InputStream and password string. I didn't see any method to provide an alias for this entry. KeyStore getCertificate and

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

2014-02-23 Thread Nikolay Elenkov
On Sat, Feb 22, 2014 at 9:02 AM, Pradeep Phatak pradeep.pha...@gmail.com wrote: Context- I have stored a password protected .p12 client certificate/key programatically in the Android keystore. During provisioning, Wifi was selected in the dialog (instead of VPN and apps). I want to use it

Re: [android-developers] Does paid app encryption also work on rooted device?

2014-02-10 Thread Nikolay Elenkov
On Mon, Feb 10, 2014 at 11:18 PM, Build Account newandroi...@gmail.com wrote: As the title is Does any paid app encryption also work on even rooted device? Yes, encryption works in the sense that paid apps are in an encrypted container and regular apps cannot extract the APK. If you get a

Re: [android-developers] NFC host card emulator

2014-01-30 Thread Nikolay Elenkov
On Thu, Jan 30, 2014 at 5:30 PM, F4L|{0 simone.dolcio...@gmail.com wrote: thanks for reply. My idea is emulate, for now, a Mifare 1K card for transport application. it's possible with secure element. I think that I have confusion about it. Please reply to list. You cannot emulate Mifare with

Re: [android-developers] How to store app's secretkeys in AndroidKeyStore?

2014-01-30 Thread Nikolay Elenkov
On Fri, Jan 31, 2014 at 7:05 AM, pskr pskrt...@gmail.com wrote: So, is there a way to store a secret key? This key should be available only to my app (not even user). I plan to use it to verify things like trials, purchases, etc. (and to avoid server calls for this purpose) in my app. No,

Re: [android-developers] NFC host card emulator

2014-01-29 Thread Nikolay Elenkov
On Thu, Jan 30, 2014 at 4:50 PM, F4L|{0 simone.dolcio...@gmail.com wrote: HI I have some problem to emulate card with android 4.4. has someone some example for learn to use this functionality? I read this article http://developer.android.com/guide/topics/connectivity/nfc/hce.html#, but I

Re: [android-developers] Uploading an app to play store with a different key

2014-01-17 Thread Nikolay Elenkov
On Sat, Jan 18, 2014 at 12:45 AM, Russell Wheeler russellpeterwhee...@gmail.com wrote: Am I right in not giving out these security details, or being a little paranoid as only having one will always prevent malicious use as you'd need the other. Yes. Or can they 1) create an app and I

Re: [android-developers] Custom permissions with pre-installed app

2014-01-16 Thread Nikolay Elenkov
On Fri, Jan 17, 2014 at 9:19 AM, Absinthe sonic.singular...@gmail.com wrote: - If app B is not pre-installed but must be downloaded from Google Play, then when A tries to launch B, it receives a SecurityException: java.lang.SecurityException: Permission Denial: starting Intent {

Re: [android-developers] Where to revoke access granted to sample program with 'View basic information about your account' access

2014-01-15 Thread Nikolay Elenkov
On Wed, Jan 15, 2014 at 11:27 PM, Jim Stewart jim...@gmail.com wrote: Yesterday I was attempting to learn Android OAuth. Using the Google play services samples as a base I managed to get my simple program MyOauthTwo authorized and return my name. So far so good. I know I can invalidate the

Re: [android-developers] Where to revoke access granted to sample program with 'View basic information about your account' access

2014-01-15 Thread Nikolay Elenkov
On Thu, Jan 16, 2014 at 12:25 AM, Jim Stewart jim...@gmail.com wrote: Thanks Nikolay, Learned something new but unfortunately the MyOauthTwo program is not in the list. The app does however still have access. I have two accounts on my phone, one I granted access to, one I did not. The one I

Re: [android-developers] Re: Android 4.4 Encryption Code Not Backwards Compatible

2013-11-26 Thread Nikolay Elenkov
On Wed, Nov 27, 2013 at 1:10 AM, Pent supp...@apps.dinglisch.net wrote: I forgot: if I pad initVector up to 16 bytes, and using the code I posted in the first post, I get this from the cipher init() call: java.security.InvalidKeyException: invalid parameter passed to AES init -

Re: [android-developers] Re: Android 4.4 Encryption Code Not Backwards Compatible

2013-11-26 Thread Nikolay Elenkov
On Wed, Nov 27, 2013 at 2:53 AM, Pent supp...@apps.dinglisch.net wrote: Yep, that's it, if I pass a null parameter spec it can decode the old files on 4.4. Or just use the Cipher.init() version that takes only two parameters: ecipher.init( Cipher.ENCRYPT_MODE, key) -- You received this

Re: [android-developers] Android 4.4 Encryption Code Not Backwards Compatible

2013-11-25 Thread Nikolay Elenkov
On Mon, Nov 25, 2013 at 9:59 PM, Pent supp...@apps.dinglisch.net wrote: Since 4.4 my encryption code (working since Android 1.5) fails with... java.security.InvalidKeyException: initialisation vector must be the same length as block size at the init call in the following code:

Re: [android-developers] Adding a required file, external to the app, to the Google Store ???

2013-10-15 Thread Nikolay Elenkov
On Wed, Oct 16, 2013 at 1:35 AM, farmerbb burgess_fam...@amtelecom.net wrote: I apologise if I was not clear. Since I personally do not have the ability to write code for Android, I only hired someone to write what I wanted. I would like to know if I add a separate file to my app posting on

Re: [android-developers] Re: What is difference between the Android App downloaded using Google Play store and the one directly installed?

2013-10-05 Thread Nikolay Elenkov
On Sun, Oct 6, 2013 at 4:09 AM, Richard Schilling coderroa...@gmail.com wrote: It's possible that some stores will modify your app to add some Digital Rights Management checks to help prevent hacking. You might have to look into the Android Source code to see what happens. There is a DRM

Re: [android-developers] Re: InApp Billing v3 and multiple accounts

2013-09-29 Thread Nikolay Elenkov
On Mon, Sep 30, 2013 at 7:56 AM, kj scwee...@gmail.com wrote: The Google IAB dialog has the Google account name that will be associated with the purchase. In-app purchases are generally understood to be tied to your Google account and apps you download/purchase are associated with the account

Re: [android-developers] Re: InApp Billing v3 and multiple accounts

2013-09-27 Thread Nikolay Elenkov
On Sep 28, 2013 1:58 AM, Alexander Osmanov alex.osmanov...@gmail.com wrote: There must be no broken in one of such important part of the API. That's why I'd really like to hear some official recommendations for handling this. I refuse to believe there are no apps with IAB and server side data

Re: [android-developers] What is difference between the Android App downloaded using Google Play store and the one directly installed?

2013-09-24 Thread Nikolay Elenkov
On Tue, Sep 24, 2013 at 11:16 PM, gauri gauri.v...@gmail.com wrote: How does Android split APK? What part of APK is stored in /data/app and what part is stored in /data/app-asec? See the blog post for details, but in short the public part has resources and the manifest, and the private part

Re: [android-developers] What is difference between the Android App downloaded using Google Play store and the one directly installed?

2013-09-19 Thread Nikolay Elenkov
On Thu, Sep 19, 2013 at 4:27 PM, gauri gauri.v...@gmail.com wrote: Hello, The android app downloaded/purchased from Google Play is stored in /data/app directory. Does Play Store or android system modify the apk after download? Not for free apps. When I purchase it from Play store, after my

Re: [android-developers] Becoming a Top Developer

2013-09-06 Thread Nikolay Elenkov
On Sat, Sep 7, 2013 at 8:46 AM, Nathan nathan.d.mel...@gmail.com wrote: On my list of goals for the coming year is to become an Android Top Developer. Can anyone offer some insights into how? What metrics should I shoot for? Join Rovio. -- You received this message because you are

Re: [android-developers] Google Play Merchant account link doesn't work

2013-08-22 Thread Nikolay Elenkov
On Thu, Aug 22, 2013 at 11:23 PM, Eurig Jones eurigjo...@gmail.com wrote: Right now the Google Play Merchant account link on the Financial Reports tab of google play dev console just redirects you back to the Publisher console. Is anyone else experiencing this? Bookmark

Re: [android-developers] Changed app from Paid to Free (with IAB)

2013-08-20 Thread Nikolay Elenkov
On Tue, Aug 20, 2013 at 4:49 PM, Eurig Jones eurigjo...@gmail.com wrote: Hey, Yesterday I moved my app which was quite highly ranked from Paid to Free app with in app billing. The app instantly dropped to literal obscurity the second I did it. It was almost as if my ranking value in the

Re: [android-developers] Login with Google account in WebView

2013-08-11 Thread Nikolay Elenkov
On Sat, Aug 10, 2013 at 6:23 AM, saran vonteddu saran.myw...@gmail.com wrote: Now I'm trying to load a WebView with the AlternateUrl and the page is loading but it is asking for Google credentials again. How to avoid the webview from asking Google Credential. Programmatically, how to login to

Re: [android-developers] Read ciphered ECDSA key

2013-08-06 Thread Nikolay Elenkov
On Tue, Aug 6, 2013 at 5:53 PM, Filipe Batista batista.fil...@gmail.com wrote: Hello, I have a private key in the pem format ciphered with AES 128 that was generated using ECDSA. In Android how can i decipher the key and read it? You will probably need more info to do this, but: (this is not

Re: [android-developers] Re: android how to bring our application to foreground when it goes to background?

2013-08-01 Thread Nikolay Elenkov
On Thu, Aug 1, 2013 at 1:51 AM, Nobu Games dev.nobu.ga...@gmail.com wrote: Not that I am in favor of such a behavior but I've seen apps with parental control feature doing that. They provide something like a controlled sandbox environment as an app (and not as a home screen replacement), so

Re: [android-developers] How to communicate with Google Server for Android App License Verification?

2013-07-28 Thread Nikolay Elenkov
On Mon, Jul 29, 2013 at 8:23 AM, Michael Leung michaelchi...@gmail.com wrote: i think using your license service is the best. We built that kind of service too. An online service (Purchase Status API) is available for in-app billing. IAB has its faults, but is more flexible than paid apps, so

Re: [android-developers] Recover Certificate from APK

2013-07-21 Thread Nikolay Elenkov
On Mon, Jul 22, 2013 at 1:08 PM, Ted Hopp ted.h...@gmail.com wrote: On Thursday, June 14, 2012 12:43:51 PM UTC-4, Dianne Hackborn wrote: The platform has an app signed with a cert. If you want to install an update to that app under a different cert, how could the platform trust that this is

Re: [android-developers] Parsing + Modifying resource.arsc programmatically [ without apktool ]

2013-07-11 Thread Nikolay Elenkov
On Fri, Jul 12, 2013 at 8:35 AM, giles ian gilesian@gmail.com wrote: Hello All, I need to parse and make changes in resource.arsc programmatically without the help of apktool. Something like http://stackoverflow.com/a/4761689, but this is for android manifest. And the structure of

Re: [android-developers] License check on free apps ?

2013-05-24 Thread Nikolay Elenkov
On Fri, May 24, 2013 at 6:11 PM, reaand andrea.carlev...@gmail.com wrote: Now, i tried this approach and indeed i get back from the store app a ResponseData with a LICENCED response code. My question is: does anybody know if this request can fail (see : return anything but LICENCED) on free

Re: [android-developers] Google drive Encryption and Decryption

2013-05-21 Thread Nikolay Elenkov
On Wed, May 22, 2013 at 3:41 AM, vgokila vgok...@gmail.com wrote: Google drive provides an option of Encryption and Decryption of offline files in mobile app. Can anyone update what is the decryption mechanism used to decrypt the files since for large files decrypting it every time will be

Re: [android-developers] Get APK Signature Date and Time

2013-05-18 Thread Nikolay Elenkov
On Sat, May 18, 2013 at 11:16 AM, Filipe filipe.ma...@gmail.com wrote: Hi, In Java, how can I determine the date and time when the APK was signed? From PackageManager I can get the Signature and the X509Certificate , but I did not found a way to know the date and time of when the APK was

Re: [android-developers] Re: License for Google Volley

2013-05-17 Thread Nikolay Elenkov
On Fri, May 17, 2013 at 11:06 PM, bob b...@coolfone.comze.com wrote: Honestly, I'm not quite sure I get it with regards to Volley. I don't think most of the networking speed impediments can be corrected with software. Multiple concurrent requests + caching. -- -- You received this message

Re: [android-developers] Release notes and official info.

2013-05-16 Thread Nikolay Elenkov
On Thu, May 16, 2013 at 4:22 PM, Put_tiMe putt...@gmail.com wrote: Where can I find some official information, like: POST 4.1, we get logcat logs only from our process andWRITE_APN_SETTINGS permission has been elevated to system level permission. AOSP:

Re: [android-developers] Release notes and official info.

2013-05-16 Thread Nikolay Elenkov
On Thu, May 16, 2013 at 4:29 PM, Nikolay Elenkov nikolay.elen...@gmail.com wrote: On Thu, May 16, 2013 at 4:22 PM, Put_tiMe putt...@gmail.com wrote: Where can I find some official information, like: POST 4.1, we get logcat logs only from our process andWRITE_APN_SETTINGS permission has

Re: [android-developers] Updated to ADT 22: 'R cannot be resolved to a variable'

2013-05-16 Thread Nikolay Elenkov
On Thu, May 16, 2013 at 6:11 PM, BoD bodlu...@gmail.com wrote: Since the update, I have this error in all my projects (including when creating a new Android project from scratch). I am stuck. Does anybody have this issue? Is there an easy way to downgrade to the previous version? Make sure

Re: [android-developers] Re: JNI on SDCard?

2013-05-16 Thread Nikolay Elenkov
On Thu, May 16, 2013 at 6:19 PM, Filipe Madureira filipe.ma...@gmail.com wrote: Hi, Thanks for the help. The problem is that I don't know where the libraries go to when I move the app to SD on my HTC for me to use System.load(). IIRC, the encrypted packages stored on SD card are loopback

Re: [android-developers] Re: JNI on SDCard?

2013-05-16 Thread Nikolay Elenkov
On Thu, May 16, 2013 at 6:29 PM, Nikolay Elenkov nikolay.elen...@gmail.com wrote: On Thu, May 16, 2013 at 6:19 PM, Filipe Madureira filipe.ma...@gmail.com wrote: Hi, Thanks for the help. The problem is that I don't know where the libraries go to when I move the app to SD on my HTC for me

Re: [android-developers] Re: JNI on SDCard?

2013-05-16 Thread Nikolay Elenkov
On Thu, May 16, 2013 at 9:16 PM, Nikolay Elenkov nikolay.elen...@gmail.com wrote: On Thu, May 16, 2013 at 6:29 PM, Nikolay Elenkov nikolay.elen...@gmail.com wrote: On Thu, May 16, 2013 at 6:19 PM, Filipe Madureira filipe.ma...@gmail.com wrote: Hi, Thanks for the help. The problem is that I

Re: [android-developers] ClassNotFoundException after upgrading to latest SDK tools v 22 and ADT v 22

2013-05-16 Thread Nikolay Elenkov
On Thu, May 16, 2013 at 9:34 PM, DennisG denn.gub...@gmail.com wrote: Thank you, Mukesh. Deleting bin/res and cleaning up were first things I did after upgrade. Unfortunately this does not help. Looks like the problem is with new Buils Tools v17, because signed apps are also not running.

Re: [android-developers] How to offer new app to existing user base?

2013-04-17 Thread Nikolay Elenkov
On Wed, Apr 17, 2013 at 1:25 PM, Jungle Jim jjjungle...@gmail.com wrote: Is there some facility in Google Play to enables me to offer the new app to my existing user base? If you are using Admob you can use house ads to promote your app. Set it show house ads only for a week or two, then

Re: [android-developers] Testing In App Billing with real sku but don't charge credit card

2013-03-27 Thread Nikolay Elenkov
On Wed, Mar 27, 2013 at 3:07 PM, Kenny Wyland speci...@gmail.com wrote: Well, I was charged and when I tried to refund the purchase in my merchant account, it told me it would cancel the order but it wouldn't refund any of the money. So, that sucks. If you cancel the card is not charged at

Re: [android-developers] Testing In App Billing with real sku but don't charge credit card

2013-03-27 Thread Nikolay Elenkov
On Thu, Mar 28, 2013 at 1:09 AM, Kenny Wyland speci...@gmail.com wrote: That is true for standard app purchases, but not for In-App purchases. Those purchases are charged immediately. That's part of my problem. It's the same for both. While the 'Charge' dot in Checkout is gray, the credit

Re: [android-developers] getSkuDetails() returns the price with the developer's set of currency, is it possible to get the buyer's currency code when the purchase is finished?

2013-03-25 Thread Nikolay Elenkov
On Tue, Mar 26, 2013 at 10:13 AM, sammiwei weist...@gmail.com wrote: On the official site, http://developer.android.com/google/play/billing/billing_reference.html#billing-interface it is said: getSkuDetails() returns a price as Formatted price of the item, including its currency sign. The

Re: [android-developers] Re: Concurrency: Do you use Loaders? AsyncTask? or Runnables?

2013-03-20 Thread Nikolay Elenkov
On Thu, Mar 21, 2013 at 3:48 AM, Kristopher Micinski krismicin...@gmail.com wrote: Loafers are built on top of asynctasks. +1 for 'loafers' :) -- -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to

Re: [android-developers] In App Billing v3 questions

2013-02-27 Thread Nikolay Elenkov
On Thu, Feb 28, 2013 at 1:34 PM, LostDev byron.k...@gmail.com wrote: Is there any easy way to maintain separation between the application and our billing library? Require the client activity to implement some interface and pass it as a parameter to your library's method's as needed. It

Re: [android-developers] In App Billing v3 questions

2013-02-27 Thread Nikolay Elenkov
On Thu, Feb 28, 2013 at 3:26 PM, LostDev byron.k...@gmail.com wrote: The library we developed for IAB Version 2 runs in a separate thread as it handles numerous server connections before the purchase request is sent to Google, and after purchase results are received. Rather than change the

Re: [android-developers] Re: upgrade to 4.2.2 -- Eclipse sees device offline and unknown

2013-02-21 Thread Nikolay Elenkov
On Fri, Feb 22, 2013 at 1:23 AM, Nobu Games dev.nobu.ga...@gmail.com wrote: Good point! Done :-) http://code.google.com/p/android/issues/detail?id=50627 This is most probably intentional -- whitelisting a host affects the whole system, and only the administrator (first) user should be able to

Re: [android-developers] Re: upgrade to 4.2.2 -- Eclipse sees device offline and unknown

2013-02-21 Thread Nikolay Elenkov
On Fri, Feb 22, 2013 at 10:20 AM, Mark Murphy mmur...@commonsware.com wrote: On Thu, Feb 21, 2013 at 8:14 PM, Nikolay Elenkov nikolay.elen...@gmail.com wrote: This is most probably intentional -- whitelisting a host affects the whole system, and only the administrator (first) user should

Re: [android-developers] Re: upgrade to 4.2.2 -- Eclipse sees device offline and unknown

2013-02-21 Thread Nikolay Elenkov
On Fri, Feb 22, 2013 at 10:31 AM, Nikolay Elenkov nikolay.elen...@gmail.com wrote: On Fri, Feb 22, 2013 at 10:20 AM, Mark Murphy mmur...@commonsware.com wrote: On Thu, Feb 21, 2013 at 8:14 PM, Nikolay Elenkov nikolay.elen...@gmail.com wrote: This is most probably intentional -- whitelisting

Re: [android-developers] upgrade to 4.2.2 -- Eclipse sees device offline and unknown

2013-02-21 Thread Nikolay Elenkov
On Fri, Feb 22, 2013 at 4:45 PM, Zsolt Vasvari zvasv...@gmail.com wrote: Oh, it meant to prevent debugging a locked device. That makes sense... Is there a way to revoke the permission? I cannot see an obvious setting. No. On a rooted device you can edit/delete the adb_keys file, but that's

Re: [android-developers] Application Licensing to implement promo codes

2013-02-20 Thread Nikolay Elenkov
On Wed, Feb 20, 2013 at 11:16 PM, Strickidinho stsandr...@googlemail.com wrote: Hello, I've got a question and I need a quick answer. Is it possible to do some sort of promo code feature with Application Licensing service? No, but you can do it with in-app billing. -- -- You received this

Re: [android-developers] Application Licensing to implement promo codes

2013-02-20 Thread Nikolay Elenkov
On Wed, Feb 20, 2013 at 11:41 PM, Sandro Stricker stsandr...@googlemail.com wrote: I thought so too, but as far as I know you can't set the code for the promotion yourself. And you can't set the price to $0. Or can you do that with in-app billing. Did I miss something? With in-app billing,

Re: [android-developers] Application Licensing to implement promo codes

2013-02-20 Thread Nikolay Elenkov
On Thu, Feb 21, 2013 at 12:31 AM, Sandro Stricker stsandr...@googlemail.com wrote: For this behavior I wouldn't need in-app billing. I just present the user a dialog to enter the code and if it's correct I make the app a premium version. Therefore the user would need to remember the promo

Re: [android-developers] Testing In-App billing: Is a factory reset necessary?

2013-02-15 Thread Nikolay Elenkov
On Fri, Feb 15, 2013 at 3:02 PM, Jungle Jim jjjungle...@gmail.com wrote: I have two Android devices I can test with, but I don't want to do a factory reset on either one. Is there some way to do the proper testing without a factory reset? Thanks. Root one of the devices, take a full image

Re: [android-developers] AccountManager and storing credentials

2013-02-12 Thread Nikolay Elenkov
On Wed, Feb 13, 2013 at 12:11 AM, saladbowl chloefothe...@gmail.com wrote: My understanding is that the AccountManager stores the username and password in plain text. On non-rooted devices this seems to be relatively OK because the AccountManager DB requires root permissions. However, on

Re: [android-developers] AccountManager and storing credentials

2013-02-12 Thread Nikolay Elenkov
On Wed, Feb 13, 2013 at 2:16 AM, saladbowl chloefothe...@gmail.com wrote: Thanks Nikolay, this is a really good and helpful answer. So, from your experience - do you think most application developers go down the recommended token-based route? or just accept that AccountManager relies on root

Re: [android-developers] Android new accounttype without AuthenticatorActivity

2013-01-31 Thread Nikolay Elenkov
On Thu, Jan 31, 2013 at 6:43 PM, Tom tklapet...@aol.com wrote: My idea was, to create an new account for my app (like WhatsApp is doing that) and storing there my additonal contactinformation. This account I can export and import it to a new smartphone. That's right, or? But for that I don't

Re: [android-developers] All my apps are losing 5 star rates at a really high speed. I've lost more than 200 during this weekend.

2013-01-29 Thread Nikolay Elenkov
On Wed, Jan 30, 2013 at 11:42 AM, John Coryat cor...@gmail.com wrote: I can't imagine how 5 star ratings would be removed. Perhaps you can offer an explanation? It is happening systematically (1 or 2 5-start ratings/per day disappearing) for me too. And I definitely didn't pay anyone to put

Re: [android-developers] NFC Card Emulation on android

2013-01-22 Thread Nikolay Elenkov
On Tue, Jan 22, 2013 at 4:50 PM, Eliseo Baruzzi baruzzi.softw...@gmail.com wrote: Il giorno lunedì 21 gennaio 2013 18:12:30 UTC+1, Nikolay Elenkov ha scritto: What are you trying to do? What I want to do is to use the UID received from the phone to read/write the tag emulated

Re: [android-developers] NFC Card Emulation on android

2013-01-21 Thread Nikolay Elenkov
On Tue, Jan 22, 2013 at 1:56 AM, Eliseo Baruzzi baruzzi.softw...@gmail.com wrote: Hello, is it possible to use Card Emulation on Android? Generally, yes. Depends on the NFC controller and software support. That's how Google Wallet works. Using a Samsung Galaxy S II smartphone, If I put it

Re: [android-developers] NFC Card Emulation on android

2013-01-21 Thread Nikolay Elenkov
On Tue, Jan 22, 2013 at 2:12 AM, Nikolay Elenkov nikolay.elen...@gmail.com wrote: On Tue, Jan 22, 2013 at 1:56 AM, Eliseo Baruzzi baruzzi.softw...@gmail.com wrote: Hello, is it possible to use Card Emulation on Android? Also search the group, there is a lengthy thread about this, with a lot

Re: [android-developers] Re: BouncyCastle signature value does not match with dotNET signature value.

2013-01-17 Thread Nikolay Elenkov
On Thu, Jan 17, 2013 at 11:11 PM, mbarbiero marco.barbi...@gmail.com wrote: Hi... I tested the canonical form and Sha1 hash code using a .net code to confirm the values. A strig format of signedInfo is OK. Not too clear what you are saying here. Is the SHA1 of the canonical form of the two

Re: [android-developers] Re: BouncyCastle signature value does not match with dotNET signature value.

2013-01-17 Thread Nikolay Elenkov
On Fri, Jan 18, 2013 at 1:22 AM, mbarbiero marco.barbi...@gmail.com wrote: Hi Nikolay... In the XMLs that I post the DigestValue (SHA1) is the same of the DigestValue of canonicalized .net. I thing you might be missing the point that what gets hashed and ultimately signed is the whole

Re: [android-developers] Re: BouncyCastle signature value does not match with dotNET signature value.

2013-01-16 Thread Nikolay Elenkov
On Jan 16, 2013 9:01 PM, mbarbiero marco.barbi...@gmail.com wrote: Nikolay... One more question: If the private key used to sign is incorrect, the command $ openssl rsautl -verify -in s2.bin -pubin -inkey pub1.pem -raw -hexdump result in error or in incorrect message? It will result in

Re: [android-developers] Is it possible to obtain credentials to send emails via gmail on behalf of a user?

2013-01-16 Thread Nikolay Elenkov
On Thu, Jan 17, 2013 at 12:56 PM, Kevin Duffey andjar...@gmail.com wrote: ... It strikes me funny that the ability to access the account manager is a manifest permission, but then you need to bother the user at runtime for yet another permission. Why not just make it part of the app

Re: [android-developers] Is it possible to obtain credentials to send emails via gmail on behalf of a user?

2013-01-16 Thread Nikolay Elenkov
On Thu, Jan 17, 2013 at 2:48 PM, Kevin Duffey andjar...@gmail.com wrote: Yes..true.. and there isn't a way for the manifest to know what your code tries to access at runtime either. My primary issue is the current pop-up at runtime isn't very friendly. I will provide a video of using my app and

Re: [android-developers] Re: BouncyCastle signature value does not match with dotNET signature value.

2013-01-15 Thread Nikolay Elenkov
On Tue, Jan 15, 2013 at 11:14 PM, mbarbiero marco.barbi...@gmail.com wrote: I read the certificate form a .pfx file and extract keys: PUBLICKEY cert = ks.getCertificate(alias); X509Certificate X509 = (X509Certificate) cert; publicKey = cert.getPublicKey(); PRIVATEKEY key =

Re: [android-developers] Re: BouncyCastle signature value does not match with dotNET signature value.

2013-01-15 Thread Nikolay Elenkov
On Wed, Jan 16, 2013 at 12:17 AM, bob b...@coolfone.comze.com wrote: Base64 does not convert 3 chars per byte. It uses 4 characters per 3 bytes for a roughly 33% size increase. You are, of course, absolutely right. At least I got the number 3 right :) The main point still stands though -- it

Re: [android-developers] Re: BouncyCastle signature value does not match with dotNET signature value.

2013-01-15 Thread Nikolay Elenkov
On Jan 16, 2013 12:45 AM, mbarbiero marco.barbi...@gmail.com wrote: My ideia was that the header is in signature, not in Base64. OK, my bad (again...). The signature is just the padded hash encrypted with the private key. You have the same hash, so either the padding is wrong (unlikely) or

Re: [android-developers] Re: BouncyCastle signature value does not match with dotNET signature value.

2013-01-15 Thread Nikolay Elenkov
On Wed, Jan 16, 2013 at 1:12 AM, Nikolay Elenkov nikolay.elen...@gmail.com wrote: On Jan 16, 2013 12:45 AM, mbarbiero marco.barbi...@gmail.com wrote: My ideia was that the header is in signature, not in Base64. OK, my bad (again...). The signature is just the padded hash encrypted

Re: [android-developers] Using APK Signature to detect .apk tampering (Attn: Dianne??)

2013-01-15 Thread Nikolay Elenkov
On Wed, Jan 16, 2013 at 4:00 AM, btschumy b...@otherwise.com wrote: On Monday, January 14, 2013 7:05:37 PM UTC-7, Nikolay Elenkov wrote: This is not particularly reliable: if I repackage your app, I can change whatever 'internal' values you have. Perhaps I'm wrong, but a cracker shouldn't

Re: [android-developers] Re: BouncyCastle signature value does not match with dotNET signature value.

2013-01-14 Thread Nikolay Elenkov
On Mon, Jan 14, 2013 at 10:39 PM, mbarbiero marco.barbi...@gmail.com wrote: * does the raw (byte array) signature match? - I'm not sure about this, but the digestvalues in dotNet and BoucyCastle are identical. For Java you would get the return value of signer.sign() and convert to hex to

Re: [android-developers] Using APK Signature to detect .apk tampering (Attn: Dianne??)

2013-01-14 Thread Nikolay Elenkov
On Tue, Jan 15, 2013 at 3:28 AM, btschumy b...@otherwise.com wrote: On startup, our app now compares the public key returned by this function to an internal copy of our correct, known public key. If the comparison fails, the app posts a notification to our server, then quits. The

Re: [android-developers] Re: BouncyCastle signature value does not match with dotNET signature value.

2013-01-13 Thread Nikolay Elenkov
On Mon, Jan 14, 2013 at 9:12 AM, jason_gates jason.gates...@gmail.com wrote: Hi, I am not an expert on cryptography, thus take this with a grain of salt :) I thought the purpose of a private key is for you to de-crypt messages encrypted with your public key. If my logic is correct, then

Re: [android-developers] Backup Manager not working on HTC Desire running Android 2.2

2013-01-13 Thread Nikolay Elenkov
On Sat, Jan 5, 2013 at 7:11 AM, Amy Phillips thew...@gmail.com wrote: When I test on my phone (an Orange HTC desire running 2.2) I run adb shell bmgr run to make sure that the backup manager has actually backed up my data. At this point in the logs I see 01-04 21:43:40.724:

Re: [android-developers] Public Key to XMLDSIG sign

2013-01-10 Thread Nikolay Elenkov
On Thu, Jan 10, 2013 at 10:03 PM, mbarbiero marco.barbi...@gmail.com wrote: Thanks Nikolay, I think you are right because the publickey that returned from android contains extra HEX code before and after the code generated by my other application. However, i don't understood how to work your

Re: [android-developers] RSA encrypt on android

2013-01-10 Thread Nikolay Elenkov
On Thu, Jan 10, 2013 at 8:31 PM, Ines belhouchet.i...@gmail.com wrote: i have some problems when i try to encrypt a string with a public key stored in res/raw thesis the encrypt method code: // converts the String to a PublicKey instance byte[] keyBytes =

Re: [android-developers] inapp billing testing - static product android.test.purchased no longer returns a signed response for a test account

2013-01-09 Thread Nikolay Elenkov
On Thu, Jan 10, 2013 at 5:20 AM, androidmediadeveloper kamathaj...@gmail.com wrote: anyone else notice this issue as well ? Yes. have been testing for over a year with the static product (android.test.purchased), and have myself added as a test account. Making a purchase used to come back

  1   2   3   4   5   6   7   8   9   >