[android-developers] Re: NetworkStatsManager with api < 23
I am also looking for the same. You can use TrafficStats for API level below 23. On Tuesday, 12 July 2016 17:30:44 UTC+5:30, Moaz Rashad wrote: > > Hello all, > > is there away to use NetworkStatsManager with API level < 23 ? > is there exist in any support library ? > > -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com. To post to this group, send email to android-developers@googlegroups.com. Visit this group at https://groups.google.com/group/android-developers. To view this discussion on the web visit https://groups.google.com/d/msgid/android-developers/d371ad96-789a-49c6-b471-e22a7901ff22%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: [android-developers] What is difference between the Android App downloaded using Google Play store and the one directly installed?
Thanks for your help. I downloaded and installed one paid Android app using Google Play Store in phone with Android OS 4.3. I wrote one test application which enumerates list of installed apps and prints apk download location them. When I tested this app, I found that, this paid app was downloaded at /mnt/asec. In this location, the directory named by that app's package name was created and it was having following files: - res.zip (containing res directory, AndroidManifest.xml) - pkg.apk - libs directory On Tuesday, September 24, 2013 7:56:12 PM UTC+5:30, Nikolay Elenkov wrote: On Tue, Sep 24, 2013 at 11:16 PM, gauri gauri...@gmail.com javascript: 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 has code and assets. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en --- You received this message because you are subscribed to the Google Groups Android Developers group. To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Re: [android-developers] What is difference between the Android App downloaded using Google Play store and the one directly installed?
How does Android split APK? What part of APK is stored in /data/app and what part is stored in /data/app-asec? On Monday, September 23, 2013 7:53:34 PM UTC+5:30, gauri wrote: Thanks Nikolay!!! I read your blog also http://nelenkov.blogspot.in/2012/07/using-app-encryption-in-jelly-bean.html On Thursday, September 19, 2013 9:52:24 PM UTC+5:30, Nikolay Elenkov wrote: On Thu, Sep 19, 2013 at 4:27 PM, gauri gauri...@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 app launch, digest verification is getting failed. I found that the message digest which I have stored in app and the digest which I am calculating at run time are differing. On 4.1+, paid apps are forward locked by default, which is implemented by splitting the APK in a public (in /data/app) and private part (in /data/app-asec). You are most probably calculating the hash of the public part only, hence the mismatch. If you have a rooted device you can verify by searching for you package name in /data/app-asec. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en --- You received this message because you are subscribed to the Google Groups Android Developers group. To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Re: [android-developers] What is difference between the Android App downloaded using Google Play store and the one directly installed?
Thanks Nikolay!!! I read your blog also http://nelenkov.blogspot.in/2012/07/using-app-encryption-in-jelly-bean.html On Thursday, September 19, 2013 9:52:24 PM UTC+5:30, Nikolay Elenkov wrote: On Thu, Sep 19, 2013 at 4:27 PM, gauri gauri...@gmail.com javascript: 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 app launch, digest verification is getting failed. I found that the message digest which I have stored in app and the digest which I am calculating at run time are differing. On 4.1+, paid apps are forward locked by default, which is implemented by splitting the APK in a public (in /data/app) and private part (in /data/app-asec). You are most probably calculating the hash of the public part only, hence the mismatch. If you have a rooted device you can verify by searching for you package name in /data/app-asec. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en --- You received this message because you are subscribed to the Google Groups Android Developers group. To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
[android-developers] What is difference between the Android App downloaded using Google Play store and the one directly installed?
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? I have calculated message digest of apk before it's upload to Play store. I am calculating message digest of the downloaded apk (present at /data/app) and verifying it with the digest stored in my app. When I purchase it from Play store, after my app launch, digest verification is getting failed. I found that the message digest which I have stored in app and the digest which I am calculating at run time are differing. Am I going in right direction? Thanks. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en --- You received this message because you are subscribed to the Google Groups Android Developers group. To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Re: [android-developers] How to communicate with Google Server for Android App License Verification?
Thanks to all. -- -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en --- You received this message because you are subscribed to the Google Groups Android Developers group. To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
[android-developers] Application Licensing Request, Response Details
Hello, I am working on Application Licensing. On developer site I read following statement: The Google Play client collects the necessary information about the user and the device, such as the device's primary Google account username, IMSI, and other information. It then sends the license check request to the server on behalf of your application. I wanted to know which other information does the Google Play client collects and send to the server for license verification? What are the fields/details Google sends in response of License verification? Thanks Regards, Gauri. -- -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en --- You received this message because you are subscribed to the Google Groups Android Developers group. To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Re: [android-developers] How to communicate with Google Server for Android App License Verification?
I want to block users who are using backed up copy of my app i.e. without purchasing from Google Play. I found that it is possible to repackage apk by modifying it. If repackaging is done in such a way that the license verification check is skipped then user of that app will be able to access all features in paid app without payment. In such case, how do I block unauthorized users? On Friday, July 26, 2013 1:10:50 AM UTC+5:30, TreKing wrote: On Thu, Jul 25, 2013 at 4:40 AM, gauri gauri...@gmail.com javascript:wrote: But I want do verification from my server which will directly communicate with Google Server. Why? - TreKing http://sites.google.com/site/rezmobileapps/treking - Chicago transit tracking app for Android-powered devices -- -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en --- You received this message because you are subscribed to the Google Groups Android Developers group. To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
[android-developers] How to communicate with Google Server for Android App License Verification?
Hello, I want to verify whether the installed Android app (paid app which I will upload on Google Play) is purchased from Google Play. For this, I am using LVL provided by Google. But this verification is done from application end via Google Play app installed in phone. But I want do verification from my server which will directly communicate with Google Server. Is there any web service provided by Google for cross verification? Thanks Regards, Gauri. -- -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en --- You received this message because you are subscribed to the Google Groups Android Developers group. To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Re: [android-developers] Android Google Play Application Licensing Service
My concern is not regarding new version app. I have uploaded signed app in draft and installed unsigned app in phone. In this case, I am getting response as LICENSED from Google Play. Does this mean, it is not verifying signature? On Tuesday, July 23, 2013 12:29:19 PM UTC+5:30, Pankaj wrote: Yes, Google play do the signature vitrification when you will try to upload another version of app. it's not about draft and publish. On Tue, Jul 23, 2013 at 11:44 AM, gauri gauri...@gmail.com javascript:wrote: Hello, I have created one Android test app for checking app licensing. I want to verify the signature of installed app with the one uploaded at market. For testing purpose, app is added in draft, not yet published. Does Google Play do the Signature verification of installed app with the one uploaded at Google Play Market? Does signature verification work for drafted copy or do I need to publish app? Thanks! -- -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-d...@googlegroups.comjavascript: To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com javascript: For more options, visit this group at http://groups.google.com/group/android-developers?hl=en --- You received this message because you are subscribed to the Google Groups Android Developers group. To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com javascript:. For more options, visit https://groups.google.com/groups/opt_out. -- Thanks Regards Pankaj Pandey -- -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en --- You received this message because you are subscribed to the Google Groups Android Developers group. To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
[android-developers] Android Google Play Application Licensing Service
Hello, I have created one Android test app for checking app licensing. I want to verify the signature of installed app with the one uploaded at market. For testing purpose, app is added in draft, not yet published. Does Google Play do the Signature verification of installed app with the one uploaded at Google Play Market? Does signature verification work for drafted copy or do I need to publish app? Thanks! -- -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en --- You received this message because you are subscribed to the Google Groups Android Developers group. To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
[android-developers] Uploading paid android app on Android market
Hello, I have finished with my game app for android. I want to upload it on Android market as paid app. I am having my android market account. When user installs my game, he must have to do registration for the app and for that serial number is must. Is there any way in android market for sending/providing information(like serial number) to such user who has purchased the app? Or can we get any information of user like email id for communicating with him? Thanks. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Intercepting HTTP Requests in Android
Hello, I want to intercept outgoing HTTP requests. Are there any intents in Android which are broadcasted when such requests are sent? Or are there any methods in java which can be used to listen to ports through which requests are sent out . Thanks in advance. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Outgoing phone calls going through Dialer interface in android
Hello I want to distinguish between the outgoing phone calls going through Dialer user interface and not going through Dialer user interface in Android. Please give me its solution if there is any way in android. Also I want to retrieve package name of application generating outgoing phone calls. I used Intent.getPackage() method, but it is returning null string. Thanks in advance. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] File handling in android
But I want to create a file in android application which will use my jar file containing pure java classes. Like api in android openFileOutput(test.txt, Context.MODE_PRIVATE) which creates files private to app's package, I want to do the same but code is in java and I don't know the android application's package name in advance because for each application using that jar package names will be different.Suppose my android application is in package com.example.testjar and for creating test.txt private to this application while creating file in android application I either give path like /data/data/com.example.testjar/test.txt or I simply give only test.txt which creates file private to that android application. But all this file creation code is in pure java where I have not used openFileOutput but I am using FileOutputStream constructor and all classes in java are in package com.temp.test and to this constructor I want to simply give only file name and not any specific path so that it will create file private to android application's package which is using apis from my jar file. So I don't know android application's package name in advance , it may vary. Please give me its solution. On Sat, Apr 2, 2011 at 12:20 PM, TreKing treking...@gmail.com wrote: On Fri, Apr 1, 2011 at 5:11 AM, gauri gauri.v...@gmail.com wrote: Package name may vary. For a given Android App ... no it can't ... - TreKing http://sites.google.com/site/rezmobileapps/treking - Chicago transit tracking app for Android-powered devices -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Re: File handling in android
thnx On Sun, Apr 3, 2011 at 3:37 AM, lbendlin l...@bendlin.us wrote: getPackageName() -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] File handling in android
I have created one jar file containing classes of pure java. One of the class does file creation, writing and reading operations. I am using this jar file in android application. It is expected that the files created using java apis should be located in the package of that android application. So I want to hardcode file path while creating it such that it will get created in package of android application that uses my jar file and android application's package name is not known in advance. Package name may vary. Please help me if any one knows about it. Thanks in advance Gauri -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] File handling in android
I have created one jar file containing classes of pure java. One of the class does file creation, writing and reading operations. I am using this jar file in android application. It is expected that the files created using java apis should be located in the package of that android application. So I want to hardcode file path while creating it such that it will get created in package of android application that uses my jar file and android application's package name is not known in advance. Package name may vary. Please help me if any one knows about it. Thanks in advance Gauri -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: How to get MediaPlayer current volume
Even I am facing some problem. I can set it from 0.1f to 0.9f , but unable to get it until unless I remember the last set value. On Mar 15, 11:23 pm, Bob Kerns r...@acm.org wrote: That's really not the same thing. It's a monaural setting that affects ALL streams of that type, while the interface he's asking about it is stereo and affects just the one MediaPlayer. My suggestion is to simply remember what you set it to. My guess is that it starts out at 1.0, 1.0, but you can set it to that yourself after you create it. On Mar 15, 2:36 am, kavitha sunil kavithasuni...@gmail.com wrote: AudioManager audMgr = getSystemService(Context.AUDIO_SERVICE); intvolume= audMgr.getStreamVolume(AudioManager.STREAM_MUSIC); Change the argument to getStreamVolume accordingly. On Mon, Mar 15, 2010 at 1:48 PM, kavitha kavith...@gmail.com wrote: Hi All, I am developing an application of musicplayerinandroid. I need to showvolumecontrol in my application. I saw as per documentation,MediaPlayervolumeis 0-1. I saw one method as MediaPlayer.setVolumehttp://developer.android.com/reference/android/media/MediaPlayer.html...(float leftVolume, float rightVolume) to set thevolumefor mediaplayer. But I need to show currentvolumealso in slider,,,there is no method to getcurrentvolume. Any idea how togetit??? Thanks Kavitha -- You received this message because you are subscribed to the Google Groups AndroidDevelopers group. To post to this group, send email toandroid-develop...@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.comandroid-developers%2Bunsubs cr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en