[android-developers] android proguard is not working for the that is activated by the reflection?

2013-09-26 Thread Andrew Mackenzie
Look at the classes youbarebusing tibdi that, then add instructions to your 
proguard config file (in project root) to have it NOT obfuscate or remove those 
classes or methods or the classes or methods they access by name.

-- 
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] Xml file corrupted over sprint cellular network ?

2013-09-26 Thread Gaurav Sharma


I am having a very strange issue in my android app. I receive xml file from 
server and perform operation based on xml content.

It is working on almost every network for eg. ATT, Verizon in USA, airtel, 
vodaphone and others in india.But it not working on sprint network USA.

When i tried to find xml content i am getting some byte code or unicode not 
the plain xml file. I looked for more information i found other also has 
faced this issue on sprint evdeo. people says turn off byte mobile 
optimization here http://t8387.codeinpro.us/q/50810aaa4f1eba38a4efcbd1

I am not able to turn off mobile byte optimization. If i switch to wifi 
network it receive file properly. Issue occur on sprint cellular network 
only.

Any help or any pointer will be very much appreciated. 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
--- 
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] InApp Billing v3 and multiple accounts

2013-09-26 Thread Alexander Osmanov
Hello,

  I'm having a hard time with figuring out the right way to approach 
handling in app purchases for users with multiple accounts. I am using 
Appengine Endpoints to implement my server side API. This API returns some 
data to my users. As soon as user purchases a certain product API will 
return additional data. I want to make it more secure by enabling OAuth 
authentication to my endpoints. So as soon as user purchases something it 
is verified and remembered on a server. Thus my API endpoint will always 
know what data to return to a particular user.

But what should I do if a user has more than one account? I couldn't find 
the way how to obtain account the app uses for IAP (according to 
documentation it's the account used to download the app). So I either have 
to blindly pick first account or let user pick an account. But what if they 
pick another account and all their purchases would go to a different 
account? This creates a lot of problems. For instance if user has only one 
account on another device it will either not have server side info 
available or will not have Google Play recognizing as a buyer. Basically we 
will end up with two sources of info - Google Play and my server possibly 
conflicting with each other because of accounts. 

What makes problem even harder is that I don't want to force users logging 
in using their account as this really doesn't add much value to app at the 
moment. But at the same I want to avoid just sending purchased flag to my 
API based on some my local data (which can be compromised).

What is the appropriate strategy for handling this I would say quite common 
situation? If only there was a way to know for sure which account the app 
used for purchases, all my problems would be gone.

Thanks,
Alex.

-- 
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] ASUS tablet

2013-09-26 Thread eli
I am using Eclipse and am able to communicate with a XOOM tablet for USB 
debugging. However if I use an ASUS tablet Windows XP does not see it if I 
have the USB debugging option selected. Has anybody solved this problem.
 

-- 
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] Re: InApp Billing v3 and multiple accounts

2013-09-26 Thread b0b
IAP with multiple accounts is in my opinion *broken*, even if I suspect 
current behaviour is how Google intended it.

In my experience, in the presence of multiple accounts,  the IAP code will 
always pickup the first listed account, in the device's Google account list 
in Settings, which may not be the account used for the IAP.






-- 
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?

2013-09-26 Thread gauri
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.


[android-developers] Re: Xml file corrupted over sprint cellular network ?

2013-09-26 Thread Nobu Games
Could you post an example of such a corrupted version of your XML files? 
Maybe as a hex dump?

On Thursday, September 26, 2013 4:01:31 AM UTC-5, Gaurav Sharma wrote:

 I am having a very strange issue in my android app. I receive xml file 
 from server and perform operation based on xml content.

 It is working on almost every network for eg. ATT, Verizon in USA, 
 airtel, vodaphone and others in india.But it not working on sprint network 
 USA.

 When i tried to find xml content i am getting some byte code or unicode 
 not the plain xml file. I looked for more information i found other also 
 has faced this issue on sprint evdeo. people says turn off byte mobile 
 optimization here http://t8387.codeinpro.us/q/50810aaa4f1eba38a4efcbd1

 I am not able to turn off mobile byte optimization. If i switch to wifi 
 network it receive file properly. Issue occur on sprint cellular network 
 only.

 Any help or any pointer will be very much appreciated. 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
--- 
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] Re: Xml file corrupted over sprint cellular network ?

2013-09-26 Thread Robert Greenwalt
There have been cases in the past where a carrier has intercepted and
alterned content flowing over their network - most notably graphics getting
down-rezed or compressed.  I'd not heard of this happening on xml, but the
fact that changing networks fixes the problem suggests something like this
may be happening.

What protocol are you using to transfer the file?


On Thu, Sep 26, 2013 at 8:03 AM, Nobu Games dev.nobu.ga...@gmail.comwrote:

 Could you post an example of such a corrupted version of your XML files?
 Maybe as a hex dump?


 On Thursday, September 26, 2013 4:01:31 AM UTC-5, Gaurav Sharma wrote:

 I am having a very strange issue in my android app. I receive xml file
 from server and perform operation based on xml content.

 It is working on almost every network for eg. ATT, Verizon in USA,
 airtel, vodaphone and others in india.But it not working on sprint network
 USA.

 When i tried to find xml content i am getting some byte code or unicode
 not the plain xml file. I looked for more information i found other also
 has faced this issue on sprint evdeo. people says turn off byte mobile
 optimization here http://t8387.codeinpro.us/q/50810aaa4f1eba38a4efcbd1

 I am not able to turn off mobile byte optimization. If i switch to wifi
 network it receive file properly. Issue occur on sprint cellular network
 only.

 Any help or any pointer will be very much appreciated. 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
 ---
 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.


-- 
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] Navite Navigation Drawer

2013-09-26 Thread Simon Giddings
I have seen the Navigation Drawer and am interested in it for my v4.1 
tablet application.
However, I see that the documentation describes it as being within the 
support library.

My understanding was that this library was mainly for apps in and before 
v2.3 of android.

Is there not a native version of this feature available, or are we 
condemned to using the support library ?

-- 
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] Re: Xml file corrupted over sprint cellular network ?

2013-09-26 Thread Gaurav Sharma
Thank for response

@Nobu : I tried to tump it but was not able to dump it and yes changing the
network is working fine. If i switch to ATT or some other network provider
it is working like a charm.
@Robert: I am using Http protocol to transfer file.


On Thu, Sep 26, 2013 at 9:17 PM, Robert Greenwalt rgreenw...@google.comwrote:

 There have been cases in the past where a carrier has intercepted and
 alterned content flowing over their network - most notably graphics getting
 down-rezed or compressed.  I'd not heard of this happening on xml, but the
 fact that changing networks fixes the problem suggests something like this
 may be happening.

 What protocol are you using to transfer the file?


 On Thu, Sep 26, 2013 at 8:03 AM, Nobu Games dev.nobu.ga...@gmail.comwrote:

 Could you post an example of such a corrupted version of your XML files?
 Maybe as a hex dump?


 On Thursday, September 26, 2013 4:01:31 AM UTC-5, Gaurav Sharma wrote:

 I am having a very strange issue in my android app. I receive xml file
 from server and perform operation based on xml content.

 It is working on almost every network for eg. ATT, Verizon in USA,
 airtel, vodaphone and others in india.But it not working on sprint network
 USA.

 When i tried to find xml content i am getting some byte code or unicode
 not the plain xml file. I looked for more information i found other also
 has faced this issue on sprint evdeo. people says turn off byte mobile
 optimization here http://t8387.codeinpro.us/q/50810aaa4f1eba38a4efcbd1

 I am not able to turn off mobile byte optimization. If i switch to wifi
 network it receive file properly. Issue occur on sprint cellular network
 only.

 Any help or any pointer will be very much appreciated. 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
 ---
 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.


  --
 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 a topic in the
 Google Groups Android Developers group.
 To unsubscribe from this topic, visit
 https://groups.google.com/d/topic/android-developers/eihARGT8Pl8/unsubscribe
 .
 To unsubscribe from this group and all its topics, send an email to
 android-developers+unsubscr...@googlegroups.com.
 For more options, visit https://groups.google.com/groups/opt_out.




-- 
Gaurav Sharma
Bangalore

-- 
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] Re: Xml file corrupted over sprint cellular network ?

2013-09-26 Thread Michael Banzon
On other platforms (desktop) I very often see XML payloads messed up
over HTTP by proxies. Usually some request/response header to signal
no use of proxy fixes the issue.

(This might not be the case for you though)

On Thu, Sep 26, 2013 at 8:03 PM, Gaurav Sharma
gauravsharma...@gmail.com wrote:
 Thank for response

 @Nobu : I tried to tump it but was not able to dump it and yes changing the
 network is working fine. If i switch to ATT or some other network provider
 it is working like a charm.
 @Robert: I am using Http protocol to transfer file.


 On Thu, Sep 26, 2013 at 9:17 PM, Robert Greenwalt rgreenw...@google.com
 wrote:

 There have been cases in the past where a carrier has intercepted and
 alterned content flowing over their network - most notably graphics getting
 down-rezed or compressed.  I'd not heard of this happening on xml, but the
 fact that changing networks fixes the problem suggests something like this
 may be happening.

 What protocol are you using to transfer the file?


 On Thu, Sep 26, 2013 at 8:03 AM, Nobu Games dev.nobu.ga...@gmail.com
 wrote:

 Could you post an example of such a corrupted version of your XML files?
 Maybe as a hex dump?


 On Thursday, September 26, 2013 4:01:31 AM UTC-5, Gaurav Sharma wrote:

 I am having a very strange issue in my android app. I receive xml file
 from server and perform operation based on xml content.

 It is working on almost every network for eg. ATT, Verizon in USA,
 airtel, vodaphone and others in india.But it not working on sprint network
 USA.

 When i tried to find xml content i am getting some byte code or unicode
 not the plain xml file. I looked for more information i found other also 
 has
 faced this issue on sprint evdeo. people says turn off byte mobile
 optimization here

 I am not able to turn off mobile byte optimization. If i switch to wifi
 network it receive file properly. Issue occur on sprint cellular network
 only.

 Any help or any pointer will be very much appreciated. 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
 ---
 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.


 --
 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 a topic in the
 Google Groups Android Developers group.
 To unsubscribe from this topic, visit
 https://groups.google.com/d/topic/android-developers/eihARGT8Pl8/unsubscribe.
 To unsubscribe from this group and all its topics, send an email to
 android-developers+unsubscr...@googlegroups.com.

 For more options, visit https://groups.google.com/groups/opt_out.




 --
 Gaurav Sharma
 Bangalore

 --
 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.



-- 
Michael Banzon
http://michaelbanzon.com/

-- 
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] Re: Xml file corrupted over sprint cellular network ?

2013-09-26 Thread Gaurav Sharma
@Michael : thanks for your valuable suggestion but i am using cellular
network.


On Thu, Sep 26, 2013 at 11:49 PM, Michael Banzon mich...@banzon.dk wrote:

 On other platforms (desktop) I very often see XML payloads messed up
 over HTTP by proxies. Usually some request/response header to signal
 no use of proxy fixes the issue.

 (This might not be the case for you though)

 On Thu, Sep 26, 2013 at 8:03 PM, Gaurav Sharma
 gauravsharma...@gmail.com wrote:
  Thank for response
 
  @Nobu : I tried to tump it but was not able to dump it and yes changing
 the
  network is working fine. If i switch to ATT or some other network
 provider
  it is working like a charm.
  @Robert: I am using Http protocol to transfer file.
 
 
  On Thu, Sep 26, 2013 at 9:17 PM, Robert Greenwalt rgreenw...@google.com
 
  wrote:
 
  There have been cases in the past where a carrier has intercepted and
  alterned content flowing over their network - most notably graphics
 getting
  down-rezed or compressed.  I'd not heard of this happening on xml, but
 the
  fact that changing networks fixes the problem suggests something like
 this
  may be happening.
 
  What protocol are you using to transfer the file?
 
 
  On Thu, Sep 26, 2013 at 8:03 AM, Nobu Games dev.nobu.ga...@gmail.com
  wrote:
 
  Could you post an example of such a corrupted version of your XML
 files?
  Maybe as a hex dump?
 
 
  On Thursday, September 26, 2013 4:01:31 AM UTC-5, Gaurav Sharma wrote:
 
  I am having a very strange issue in my android app. I receive xml file
  from server and perform operation based on xml content.
 
  It is working on almost every network for eg. ATT, Verizon in USA,
  airtel, vodaphone and others in india.But it not working on sprint
 network
  USA.
 
  When i tried to find xml content i am getting some byte code or
 unicode
  not the plain xml file. I looked for more information i found other
 also has
  faced this issue on sprint evdeo. people says turn off byte mobile
  optimization here
 
  I am not able to turn off mobile byte optimization. If i switch to
 wifi
  network it receive file properly. Issue occur on sprint cellular
 network
  only.
 
  Any help or any pointer will be very much appreciated. 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
  ---
  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.
 
 
  --
  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 a topic in the
  Google Groups Android Developers group.
  To unsubscribe from this topic, visit
 
 https://groups.google.com/d/topic/android-developers/eihARGT8Pl8/unsubscribe
 .
  To unsubscribe from this group and all its topics, send an email to
  android-developers+unsubscr...@googlegroups.com.
 
  For more options, visit https://groups.google.com/groups/opt_out.
 
 
 
 
  --
  Gaurav Sharma
  Bangalore
 
  --
  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.



 --
 Michael Banzon
 http://michaelbanzon.com/

 --
 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 a topic in the
 Google 

[android-developers] Re: android proguard is not working for the that is activated by the reflection?

2013-09-26 Thread 12169
Hi , can you please explain...or provide demo wt to do?

On Wednesday, September 25, 2013 11:53:14 PM UTC-7, Andrew Mackenzie wrote:

 Look at the classes youbarebusing tibdi that, then add instructions to 
 your proguard config file (in project root) to have it NOT obfuscate or 
 remove those classes or methods or the classes or methods they access by 
 name.

-- 
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 screen capture delay due to writing data in the file..

2013-09-26 Thread 12169
Hi, 
i do not have understanding of native developement.
can you read data directly from fram-buffer which actually hold the data 
while capturing the image.

On Wednesday, September 18, 2013 5:03:19 PM UTC-7, Baodong Chen wrote:

 Of course you can,but you should use native code to do that, 
 SurfaceFlinger has interface for that!
 2013/09/18 17:27 ashish ashis...@gmail.com javascript::

 Hi,

 I have a rooted device and i successfully capture the screenshot of 
 current screen.and use the below code.

Process process = Runtime.getRuntime().exec(su);
 DataOutputStream os = new 
 DataOutputStream(process.getOutputStream());
 os.writeBytes(/system/bin/screencap -p  + path + ; \n);


 but in the command i provide the path where i want to save the file and 
 system take time to write the image in the file. so I want to know can we 
 directly take the image data from process in the form of bytes because I 
 want to send the current image to the server immediately.

  -- 
 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.



-- 
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] Re: Xml file corrupted over sprint cellular network ?

2013-09-26 Thread Michael Banzon
There still might be a proxy in between - wouldn't be the first time
an ISP shoved that in there ;-)

On Thu, Sep 26, 2013 at 8:50 PM, Gaurav Sharma
gauravsharma...@gmail.com wrote:
 @Michael : thanks for your valuable suggestion but i am using cellular
 network.


 On Thu, Sep 26, 2013 at 11:49 PM, Michael Banzon mich...@banzon.dk wrote:

 On other platforms (desktop) I very often see XML payloads messed up
 over HTTP by proxies. Usually some request/response header to signal
 no use of proxy fixes the issue.

 (This might not be the case for you though)

 On Thu, Sep 26, 2013 at 8:03 PM, Gaurav Sharma
 gauravsharma...@gmail.com wrote:
  Thank for response
 
  @Nobu : I tried to tump it but was not able to dump it and yes changing
  the
  network is working fine. If i switch to ATT or some other network
  provider
  it is working like a charm.
  @Robert: I am using Http protocol to transfer file.
 
 
  On Thu, Sep 26, 2013 at 9:17 PM, Robert Greenwalt
  rgreenw...@google.com
  wrote:
 
  There have been cases in the past where a carrier has intercepted and
  alterned content flowing over their network - most notably graphics
  getting
  down-rezed or compressed.  I'd not heard of this happening on xml, but
  the
  fact that changing networks fixes the problem suggests something like
  this
  may be happening.
 
  What protocol are you using to transfer the file?
 
 
  On Thu, Sep 26, 2013 at 8:03 AM, Nobu Games dev.nobu.ga...@gmail.com
  wrote:
 
  Could you post an example of such a corrupted version of your XML
  files?
  Maybe as a hex dump?
 
 
  On Thursday, September 26, 2013 4:01:31 AM UTC-5, Gaurav Sharma wrote:
 
  I am having a very strange issue in my android app. I receive xml
  file
  from server and perform operation based on xml content.
 
  It is working on almost every network for eg. ATT, Verizon in USA,
  airtel, vodaphone and others in india.But it not working on sprint
  network
  USA.
 
  When i tried to find xml content i am getting some byte code or
  unicode
  not the plain xml file. I looked for more information i found other
  also has
  faced this issue on sprint evdeo. people says turn off byte mobile
  optimization here
 
  I am not able to turn off mobile byte optimization. If i switch to
  wifi
  network it receive file properly. Issue occur on sprint cellular
  network
  only.
 
  Any help or any pointer will be very much appreciated. 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
  ---
  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.
 
 
  --
  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 a topic in the
  Google Groups Android Developers group.
  To unsubscribe from this topic, visit
 
  https://groups.google.com/d/topic/android-developers/eihARGT8Pl8/unsubscribe.
  To unsubscribe from this group and all its topics, send an email to
  android-developers+unsubscr...@googlegroups.com.
 
  For more options, visit https://groups.google.com/groups/opt_out.
 
 
 
 
  --
  Gaurav Sharma
  Bangalore
 
  --
  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.



 --
 Michael Banzon
 http://michaelbanzon.com/

 --
 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] problem centering the camera in Maps V2

2013-09-26 Thread Gary Blakely
In my android app I have the following code...

CameraUpdate center= CameraUpdateFactory.newLatLng(new LatLng(Lat,Lon));
DebugLog.debugLog(centered camera on  + Lat +  and  + Lon, false);
CameraUpdate zoom=CameraUpdateFactory.zoomTo(15);
map.moveCamera(center);
map.animateCamera(zoom);
map.addMarker(new MarkerOptions()
 .position(new LatLng(Lat, Lon))
 .title(Phone Location)
 );

Lat is 31.7898
Lon is -111.0354

The marker is exactly at that location.  However the camera is centered 
about 5 miles north of that location on the v2 map.
Why?
Thanks
Gary

-- 
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.