[android-developers] Re: Check if the registration_id of GCM is valid

2014-03-21 Thread arunkumar . k
Hi, check if the registration_id is Null ...If Null you are not registered else you are registered. On Friday, March 21, 2014 9:14:10 AM UTC+5:30, DAVIDT wrote: Hi Is possible check if the registration_id of GCM is valid and if no is valid, request on gcm google to get new

Re: [android-developers] Re: Check if the registration_id of GCM is valid

2014-03-21 Thread David Toledo
Hi Is possible that the registration_id may have a valid value at the beginning and after days is expired and have null value 2014-03-21 1:33 GMT-05:00 arunkuma...@npcompete.net: Hi, check if the registration_id is Null ...If Null you are not registered else you are registered. On

[android-developers] Re: Compression of files kept in Assets folder and in res\raw folder.

2014-03-21 Thread Leo
Hi, According to 'unzip -v' command for my own apk file, the zip-file is compressed: 4653 Defl:N 1132 76% 03-19-14 00:18 e65916c3 assets/layout/gfx720/profile.xml 76% of the file is the compression ratio. Use built-in java Zip* classes to access your contents inside APK if you

[android-developers] Re: Compression of files kept in Assets folder and in res\raw folder.

2014-03-21 Thread Leo
Short snippet of code - how to read a file from your APK with Zip: { String path = getApplication().getPackageCodePath(); ZipFile zfile = new ZipFile(path); String fileName = new String(filepath/inside_apk/file.txt); ZipEntry zentry = zfile.getEntry(fileName); long siz = zentry.getSize(); byte[]

[android-developers] Problem updating app (dev console)

2014-03-21 Thread b0b
I have an issue updating an app to a newer production APK. Although the upload worked fine without error and th dev console indicates that the uploaded version is the latest version in prod. After 15h or so the Google Play store dididn't pick the update and still points to the previous version.

[android-developers] Re: How to write a functional test for a fragment with GoogleMap

2014-03-21 Thread Charles
Is there any plan for Espresso to extend the its functionality and provide a ViewAction for GoogleMap to support basic actions such as move map to lat, lon, change zoom level, etc? Charles -- You received this message because you are subscribed to the Google Groups Android Developers group.