Re: [android-developers] Xml file corrupted over sprint cellular network ?
@robert: How do you such information? have you faced this situation before or have they contacted you ? On Sat, Sep 28, 2013 at 4:31 AM, Robert Greenwalt rgreenw...@google.comwrote: I understand Sprint is investigating and may contact you for more info. On Thu, Sep 26, 2013 at 2:01 AM, Gaurav Sharma gauravsharma...@gmail.comwrote: 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.
[android-developers] Re: InApp Billing v3 and multiple accounts
As others mentioned, IAB is limited to the primary Google account. Users that need truly separated user accounts will use the multi-user accounts options on Jelly Bean tablets, so their primary Google accounts will be different. This isn't confusing: when you make a purchase with a Google account, it is tied to that account. If your web app/service has its own user account system, tie that transaction to that user account at purchase time or later on when that Google user makes an account. Your app and webapp should provide a way to view the IAPs for accounts so the user knows what they have purchased. On Thursday, September 26, 2013 6:20:30 AM UTC-4, Alexander Osmanov wrote: 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] Re: InApp Billing v3 and multiple accounts
Thank you for your reply. Are you sure, IAB is really tied to the primary account? I was sure about that but this note in documentation confused me a lot: *Note*: To make test purchases, the license test account must be on the user’s Android device. If the device has more than one account, the purchase will be made with the account that downloaded the app. If none of the accounts has downloaded the app, the purchase is made with the first account.Users can confirm the account that is making a purchase by expanding the purchase dialog. Here: http://developer.android.com/google/play/billing/billing_testing.html Thanks On Saturday, September 28, 2013 5:41:45 PM UTC+4, kj wrote: As others mentioned, IAB is limited to the primary Google account. Users that need truly separated user accounts will use the multi-user accounts options on Jelly Bean tablets, so their primary Google accounts will be different. This isn't confusing: when you make a purchase with a Google account, it is tied to that account. If your web app/service has its own user account system, tie that transaction to that user account at purchase time or later on when that Google user makes an account. Your app and webapp should provide a way to view the IAPs for accounts so the user knows what they have purchased. On Thursday, September 26, 2013 6:20:30 AM UTC-4, Alexander Osmanov wrote: 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] android httpURL connection problem
Hi, i use below code to make http connection. URL url = new URL(filePath); HttpURLConnection con = (HttpURLConnection) url.openConnection(); con.setReadTimeout(10*1000); con.setConnectTimeout(10*1000); but when i use setReadTimeout and connectTimeout values then java.net.SocketTimeoutException: Transport endpoint is not connected -- 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 httpURL connection problem
1st u check there is network in it device.then type url in the device's web browser check it On Sep 28, 2013 7:58 PM, 12169 ashish.a...@gmail.com wrote: Hi, i use below code to make http connection. URL url = new URL(filePath); HttpURLConnection con = (HttpURLConnection) url.openConnection(); con.setReadTimeout(10*1000); con.setConnectTimeout(10*1000); but when i use setReadTimeout and connectTimeout values then java.net.SocketTimeoutException: Transport endpoint is not connected -- 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] Navigation Drawer and using - over sized - icons
I would like to be able to use oversized icons within the Navigation Drawer listview items. However, I have seen that, even if I put larger icons in the resource directories, they are all scaled down. This is for working exclusively within a tablet application. Is there a way around this automatic re-scaling ? -- 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] Navigation Drawer, Activities and Fragments
I am a bit confused here with this. With the examples that I have seen for using the Navigation Drawer, they all point to using one unique Activity, with Fragments giving the actual content. The advantage with this is that there is only one instance of the Navigation Drawer created. However, in my application, I have distinct Activities which have distinct tasks (and, yes, there are indeed more than three). Should I therefore be creating the same navigation drawer in each Activity ? It is obvious that I would like to be able to preserve my existing activities and not have to re-write them as fragments. My understanding is that fragments are not activities and activities are not fragments, are they ? Have I correctly understood this ? Can anyone give some advice here ? -- 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] Wider status bar notification icon
Hi all, I need your help to solve a question that hang my app's development. The problem is that I need to show in the status bar notification area an icon wider then the others. More in details, suppose my notification icon is 24x48, there is a way to avoid Android to makes the icon unreadable, stretching it to 12x24 (to fill the 24x24 standard icon placeholder)? In other words, there is a way to show a rectangular icon (wider than 24px) for an app's notification? Hope I succeed in explain myself and you can give me the right way. Thanks a lot Regards Sergio -- 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] Strange SQLite error, possibly in native code?
Hello, One of my users reports a crash like this: android.database.sqlite.SQLiteException: no such column: _id (code 1): , while compiling: SELECT _id, generation, flags, numeric_uid, body_main_size, body_main_fetched_size, body_alt_size, body_alt_fetc¤ , search_token, op_flags, op_move_to_folder, op_hide, misc_flags FROM message WHERE folder_id = ? AND numeric_uid = ? AND numeric_uid ? at android.database.sqlite.SQLiteConnection.nativePrepareStatement(Native Method) at android.database.sqlite.SQLiteConnection.acquirePreparedStatement(SQLiteConnection.java:886) at android.database.sqlite.SQLiteConnection.executeForCursorWindow(SQLiteConnection.java:835) at android.database.sqlite.SQLiteSession.executeForCursorWindow(SQLiteSession.java:836) at android.database.sqlite.SQLiteQuery.fillWindow(SQLiteQuery.java:62) at android.database.sqlite.SQLiteCursor.fillWindow(SQLiteCursor.java:158) at android.database.sqlite.SQLiteCursor.getCount(SQLiteCursor.java:148) at android.database.AbstractCursor.moveToPosition(AbstractCursor.java:197) at android.database.AbstractCursor.moveToNext(AbstractCursor.java:245) at my code here Note the weird character in the middle of: body_alt_fetc right here¤ , search_token. There are supposed to be a few more characters where this weird one is. My code here calls SQLiteDatabase.query with a String[] projection, a table name, a simple selection and its arguments, etc. All very basic stuff. The crash happens once in a while, even though this query runs literally all the time. It's always this query, too, even though there are dozens more, for same table, and in same source file. It looks to me like a memory overwrite, presumably in native code ('cause it's pretty hard to overwrite something by accident on the Java side of things). Has anyone ran into this or a similar query corruption? The device is a Zopo 980, if that means anything. Thanks, -- K -- 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] Developer console (store page) analytics
In the Google I/O 2013 video presenting coming features for the Developer Console, Riccardo Govoni talks about Analytics for Google Play Store page view etc.: https://www.youtube.com/watch?feature=player_detailpagev=SDaf7f9yl6E#t=1259 When will this feature be launched? Do my app have to include the Google Analytics SDK? -- 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] mixing themes
Is there an easy way to have a widget take on the style of a theme other than the current one? For instance, maybe the current theme is Theme.Holo but you want a widget to look like Theme.Light. 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.