[android-developers] Re: make a VideoView loop seamlessly?
not really possible within the current framework (at least up to 4.0, i haven't checked if something new was added that allows it). On Thursday, July 25, 2013 5:46:02 AM UTC+3, bob wrote: Is there any way to make a VideoView loop completely seamlessly? The video seems to stutter a bit. I have tried the OGG format (OGV), but the Nexus 7 says it doesn't know how to play it. I think it would help if I knew how to load the whole thing into RAM. 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] 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.
[android-developers] DLNA implementation android
Hi All, How to implement DLNA for android??Is there any SDK or any tutorial?? -- Regards, Vani -- -- 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: Deposits From Google Wallet Weirdness
I also meet this issue. What's worse, My bank account wil charge 1% fee for per transcation. And Today Google Wallet withdraw it from my bank account, And My google play account is still negative. Sign. 2013/7/24 Nathan nathan.d.mel...@gmail.com On Tuesday, July 23, 2013 10:35:39 AM UTC-7, Steve Gabrilowitz wrote: Mine didn't get reversed so it looks like I got paid a couple of months in advance for sales I haven't made yet. Like you, my daily revenue is being subtracted from the negative balance which it should be so I guess all will be square in a couple of months! Well, your business just got an interest free loan! You can hire some more developers and make some more apps. But whatever you do, it better pay off in two months. Nathan -- -- 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. -- Best Regards Felix Long -- -- 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] coming back to very first activity from inside tab group activity
You can launch the first activity again and your first activity can implement onNewInent(). Make sure while launching the first activity set flag activity clear top in the intent to finish the child activities. ... Singh Dalvinder On Thu, Jul 25, 2013 at 9:34 AM, Amit Mangal forum.amit.man...@gmail.comwrote: Hi Developers, I am developing tab group activity. inside one tab there are multiple activity started as a child. i want to come back to very first activity from inside activity please tell me how to do that. here is the code for calling child activity Intent previewMessage = new Intent(getParent(), Test.class); TabGroupActivity parentActivity = (TabGroupActivity)getParent(); parentActivity.startChildActivity(Test, previewMessage); i am inside 5th child activity and i want to come back to 1 activity after doing some task. onbackpressed function sends me 4th activity i want to jumb 1 activty. 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. -- *Cheers*, *Dalvinder Singh* | http://dalvinsingh.blogspot.in/ -- -- 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: make a VideoView loop seamlessly?
Are you playing video streaming into video view? If now then you can download it first and play. If streaming then video view will play it as per it's own wish. Video view supports limited number of formats till 2.3 and then 4.2 has support for some more formats. ... Singh Dalvinder On Thu, Jul 25, 2013 at 12:09 PM, Piren gpi...@gmail.com wrote: not really possible within the current framework (at least up to 4.0, i haven't checked if something new was added that allows it). On Thursday, July 25, 2013 5:46:02 AM UTC+3, bob wrote: Is there any way to make a VideoView loop completely seamlessly? The video seems to stutter a bit. I have tried the OGG format (OGV), but the Nexus 7 says it doesn't know how to play it. I think it would help if I knew how to load the whole thing into RAM. 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. -- *Cheers*, *Dalvinder Singh* | http://dalvinsingh.blogspot.in/ -- -- 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] Help with AndroidAnnotations
Please, help me in AndroidAnnotations. I have a problem in send my JSON to for the WebService. I created my interface Rest @Rest(rootUrl=http://192.168.0.142:3000;, converters={GsonHttpMessageConverter.class}) public interface UserRestClient { @Post(/api/v1/registrations/) User addUser(User user); And my activity is as follows: @RestService UserRestClient userRestClient; User user = new User(); user.setFirstname(mName); user.setEmail(mEmail); user.setPassword(mPassword); user.setPassword_confirmation(mPassword); userRestClient.addUser(user); In my console rails i have a error Started POST /api/v1/registrations for 192.168.0.138 at 2013-07-24 11:23:21 -0300 Processing by Api::V1::RegistrationsController#create as JSON Parameters: {email=em...@email.com, firstname=Ricardo, password=[FILTERED], password_confirmation=[FILTERED], registration={email=em...@email.com, firstname=Ricardo, password=[FILTERED], password_confirmation=[FILTERED]}} (0.2ms) BEGIN (0.2ms) ROLLBACK Completed 422 Unprocessable Entity in 3ms (Views: 0.3ms | ActiveRecord: 0.4ms) #ActiveModel::Errors:0x007f842510eb80 @base=#User id: nil, firstname: nil, lastname: nil, email: nil, password: nil, password_confirmation: nil, remember_me: nil, gender: nil, dateBirth: nil, modelPhone: nil, created_at: nil, updated_at: nil, encrypted_password: , reset_password_token: nil, reset_password_sent_at: nil, remember_created_at: nil, sign_in_count: 0, current_sign_in_at: nil, last_sign_in_at: nil, current_sign_in_ip: nil, last_sign_in_ip: nil, confirmation_token: nil, confirmed_at: 2013-07-24 14:25:24, confirmation_sent_at: nil, authentication_token: nil, @messages={:email=[can't be blank], :password=[can't be blank]} Do not know why JSON is going on without their user object, or because it duplicates the parameters, can someone help me? -- -- 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] Can't always get unique identifier
You can generate unique id by following this java code. http://www.javapractices.com/topic/TopicAction.do?Id=56 On Thu, Jul 25, 2013 at 3:11 AM, TreKing treking...@gmail.com wrote: On Wed, Jul 24, 2013 at 2:45 PM, Tobiah t...@tobiah.org wrote: So I was wondering whether there was some other unique identifier I could use, or failing that, would like to here suggestions on generating an identifier that would (almost?) never be a duplicate. http://lmgtfy.com/?q=android+unique+ID First Hit: http://stackoverflow.com/questions/3115918/android-unique-id, which also leads to Third Hit: http://android-developers.blogspot.com/2011/03/identifying-app-installations.html - 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. -- *Cheers*, *Dalvinder Singh* | http://dalvinsingh.blogspot.in/ -- -- 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] Required: .Net Developer/Lead at MI
*Hi There, * * * *Please let me know if you have someone available for below mention requirement. Please send your resume to m...@tekenergyusa.com* * * *Position: .Net Developer/Lead* *Location: Grand Rapids,MI* *Duration: 6 Months* *Description:* - Qualified candidates will possess the skills and experience to lead small projects while acting in the role of Lead Analyst and Developer. - Past experience must include analysis and development using Microsoft Visual Studio.net technologies and Microsoft SQL Server. - Work will be balanced between analysis and development - depending on the phase of the work. - Candidates must be able to handle both types of work effectively and keep the work on track. Thanks, Mark TekEnergy m...@tekenergyusa.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.
[android-developers] ShareActionProvider: How to overwrite sharing behaviour?
Hello, I can add a OnShareTargetSelectedListener to the ShareActionProvider to get notified if a share target is selected (boolean onShareTargetSelected (ShareActionProvider source, Intent intent)). public abstract boolean onShareTargetSelected (ShareActionProvider source, Intent intent) Called when a share target has been selected. The client can decide whether to perform some action before the sharing is actually performed. Note: Modifying the intent is not permitted and any changes to the latter will be ignored. Note: You should not handle the intent here. This callback aims to notify the client that a sharing is being performed, so the client can update the UI if necessary. Parameters source The source of the notification. intent The intent for launching the chosen share target. Returns The return result is ignored. Always return false for consistency. What I not understand: How to overwrite the sharing behaviour? I think the method has to return true if the intent is handled and should not be delivered to clients. But the method returns always false :-( Ralph -- -- 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] ShareActionProvider: How to overwrite sharing behaviour?
I forgot, the documentaion of the ShareActionProvider.setOnShareTargetSelectedListener method says: The listener can optionally decide to handle the selection and not rely on the default behavior which is to launch the activity. But how to do this? Ralph Am 25.07.13 18:20, schrieb Ralph Bergmann | the4thFloor.eu: Hello, I can add a OnShareTargetSelectedListener to the ShareActionProvider to get notified if a share target is selected (boolean onShareTargetSelected (ShareActionProvider source, Intent intent)). public abstract boolean onShareTargetSelected (ShareActionProvider source, Intent intent) Called when a share target has been selected. The client can decide whether to perform some action before the sharing is actually performed. Note: Modifying the intent is not permitted and any changes to the latter will be ignored. Note: You should not handle the intent here. This callback aims to notify the client that a sharing is being performed, so the client can update the UI if necessary. Parameters sourceThe source of the notification. intentThe intent for launching the chosen share target. Returns The return result is ignored. Always return false for consistency. What I not understand: How to overwrite the sharing behaviour? I think the method has to return true if the intent is handled and should not be delivered to clients. But the method returns always false :-( Ralph -- Ralph Bergmann iOS and Android app developer www http://www.the4thFloor.eu | http://www.dasralph.de mail ra...@the4thfloor.eu skypedasralph xing https://www.xing.com/profile/Ralph_Bergmann3 linkedin https://www.linkedin.com/in/ralphbergmann gulp https://www.gulp.de/Profil/RalphBergmann.html github https://github.com/the4thfloor java user group http://www.jug-bb.de | https://www.xing.com/net/jugbb ios dev grouphttps://www.xing.com/net/iosberlin -- -- 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] Required: Front End Developer at NYC
Hi There, Please let me know if you have someone available for below mention requirement. Please send your resume to m...@tekenergyusa.com Position: Front End Developer Location: NYC Duration: long term *Required Skills:* - Experience developing with HTML (5), JavaScript, CSS(3) on a large, consumer facing site . Experience with Unit Testing, Continuous Integration, Test-Driven Development . Hands-on experience with RESTful web services Thanks, Mark TekEnergy m...@tekenergyusa.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.
[android-developers] Re: Modifying an String of Android Resource File (*.arsc)
please find below link for understanding the entire structure binary xml ans .arsc http://justanapplication.wordpress.com/android-internals/ My question is don't we have to move the bytes when we replace the string with bigger one, apart from changing the values you mentioned below On Tuesday, June 21, 2011 8:09:12 PM UTC-7, Illyoung Choi wrote: Hi All. Last day, I made a simple application for parsing an Android Resource File (*.arsc) and modifying resource strings. I think this thing might be a help for someone, so I'll share the structure of *.arsc that I understood. Since I could not spend many hours for this, my understanding is not perfect and might be slightly wrong. I patched string resource from *.apk. Simply extracted *.apk with 7zip and got the resources.arsc file. Below are the structure of *.arsc struct ANDROID_RESOURCE_HEADER { int signature; // 0x000c0002, I assume this is a signature int nImageLength; // total ARSC file size (bytes) int nUnknown1[2]; // still unknown (not important for modifying strings) int nStringBlockLength; // total StringBlock(see below) size int nStringCount; // total number of String Resources int nUnknown2[4]; // still unknown (not important for modifying strings) } struct ANDROID_RESOURCE_HEADER is a header of ARSC file image. So simply you can read this header information from file. After this header, you will meet the StringBlock StringBlock has 2Sections { [String Offset] [String Data] } String Offset Section has Offset Values of Specific Strings from StringBlock Start Address. String Data Section has 2 Part String Data { [Length] [String] } Length part is 2byte. but, in AscII Mode, uses only 1byte. Before reading String, you must check whether it is Unicode or AscII format. in Unicode format, Length part will be used with 2bytes. normally it is 0x??, 0x00 (only if it is not longer than 256 bytes) in AscII format, Length part will be used with 1bytes. but, they also used second byte for mirroring. if string length has a value 7, you will meet 0x07, 0x07 So, I checked whether both bytes have same value to check string format. Lastly, actual string data will be after this length part with Zero Terminal in Unicode format, surely, Zero Terminal will be 2 byte of zero. Whenever you change the string of this ARSC file, you should recalculate these. Length Part of String Data String Offset of StringBlock nImageLength of Header nStringBlockLength of Header After doing these all. Simply, remove all JAR Signature (META-INF folder) from package. Re-Archive with Zip and rename with *.apk. Resign with your certificate by using jarsigner of JDK 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] Mirroring Nexus 4 Devices on a TV or Projector Display
Is there a simple / robust solution to mirror the screen of an unrooted Nexus 4 device on a projector / TV or other HDMI enabled device? The Android dev team that I am a part of holds weekly meetings to demo features. The emulator speeds often make it impractical to demo from a laptop. When presenting to the rest of the company, it would also be significant help to have this feature to easily showcase the Android platform. - John YS -- -- 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] coming back to very first activity from inside tab group activity
Hi Dalvinder Sigh Thanks for reply but didnt work for me i am having tab group activity and inside that i have started many activity the code for starting child activity is Intent intent = new Intent(Detail_Screen.this, SizeGuideActivity.class); intent.putExtra(URL, sizeGuideURL) ; startActivity(intent); On Thu, Jul 25, 2013 at 6:22 PM, Dalvinder Singh singh.dal...@gmail.comwrote: You can launch the first activity again and your first activity can implement onNewInent(). Make sure while launching the first activity set flag activity clear top in the intent to finish the child activities. ... Singh Dalvinder On Thu, Jul 25, 2013 at 9:34 AM, Amit Mangal forum.amit.man...@gmail.comwrote: Hi Developers, I am developing tab group activity. inside one tab there are multiple activity started as a child. i want to come back to very first activity from inside activity please tell me how to do that. here is the code for calling child activity Intent previewMessage = new Intent(getParent(), Test.class); TabGroupActivity parentActivity = (TabGroupActivity)getParent(); parentActivity.startChildActivity(Test, previewMessage); i am inside 5th child activity and i want to come back to 1 activity after doing some task. onbackpressed function sends me 4th activity i want to jumb 1 activty. 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. -- *Cheers*, *Dalvinder Singh* | http://dalvinsingh.blogspot.in/ -- -- 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.
Re: [android-developers] coming back to very first activity from inside tab group activity
sorry the code is Intent previewMessage = new Intent(getParent(), Detail_Screen.class ); TabGroupActivity parentActivity = (TabGroupActivity)getParent(); parentActivity.startChildActivity(Detail_Screen, previewMessage); On Fri, Jul 26, 2013 at 12:49 AM, Amit Mangal forum.amit.man...@gmail.comwrote: Hi Dalvinder Sigh Thanks for reply but didnt work for me i am having tab group activity and inside that i have started many activity the code for starting child activity is Intent intent = new Intent(Detail_Screen.this, SizeGuideActivity.class); intent.putExtra(URL, sizeGuideURL) ; startActivity(intent); On Thu, Jul 25, 2013 at 6:22 PM, Dalvinder Singh singh.dal...@gmail.comwrote: You can launch the first activity again and your first activity can implement onNewInent(). Make sure while launching the first activity set flag activity clear top in the intent to finish the child activities. ... Singh Dalvinder On Thu, Jul 25, 2013 at 9:34 AM, Amit Mangal forum.amit.man...@gmail.com wrote: Hi Developers, I am developing tab group activity. inside one tab there are multiple activity started as a child. i want to come back to very first activity from inside activity please tell me how to do that. here is the code for calling child activity Intent previewMessage = new Intent(getParent(), Test.class); TabGroupActivity parentActivity = (TabGroupActivity)getParent(); parentActivity.startChildActivity(Test, previewMessage); i am inside 5th child activity and i want to come back to 1 activity after doing some task. onbackpressed function sends me 4th activity i want to jumb 1 activty. 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. -- *Cheers*, *Dalvinder Singh* | http://dalvinsingh.blogspot.in/ -- -- 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.
Re: [android-developers] How to communicate with Google Server for Android App License Verification?
On Thu, Jul 25, 2013 at 4:40 AM, gauri gauri.v...@gmail.com 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.
Re: [android-developers] DLNA implementation android
On Thu, Jul 25, 2013 at 4:44 AM, vani reddy vani.reddy.bl...@gmail.comwrote: How to implement DLNA for android? You may want to elaborate on what this is since some people may have no idea what you're talking about (I know I don'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 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] Can't always get unique identifier
On 07/24/2013 02:41 PM, TreKing wrote: On Wed, Jul 24, 2013 at 2:45 PM, Tobiah t...@tobiah.org mailto:t...@tobiah.org wrote: So I was wondering whether there was some other unique identifier I could use, or failing that, would like to here suggestions on generating an identifier that would (almost?) never be a duplicate. http://lmgtfy.com/?q=android+unique+ID First Hit: http://stackoverflow.com/questions/3115918/android-unique-id, which also leads to Third Hit: http://android-developers.blogspot.com/2011/03/identifying-app-installations.html The first two hits outline the technique that I listed in my original post. It fails on some T-mobile devices. That's why I was looking for alternatives. The third really just states why the other methods are not satisfying. It looks like I'll have to go with creating my own GUID in the rare case that the ANDROID_ID fails. I'll have to keep it on the filesystem in order to survive app upgrades. Given the correct permissions, am I guaranteed to be able to write to the filesystem on any device? Thanks, Tobiah - 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. -- -- 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] Modifying an String Binary Resource File (*.arsc) of android
Please check the question on the link: http://stackoverflow.com/q/17867452/2585419 -- -- 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] Camera preview freezes when I press HOME button
It would be easy to repeat the problem when I use an old device, which takes 1-2 secs to finish taking a picture. So when I press HOME button, while the device is taking picture, often times it freezes at the preview picture. I have added camera stopPreview and release in onPause(), which will be called when HOME button is pressed. From the LogCat, I find that the camera hardware is still processing some information, but Activity Manager kicks in, saying something about HOME activity. So I think HOME forces some camera procedure finished in a bad way, which makes the camera preview freezes, and the camera cannot be opened any more (e.g. when I try to open the default camera, it says it cannot access to camera) However, if I use the default camera of the old slow device :), I cannot repeat the crash. So it seems the default camera application might handle it well; it might access native libraries to handle the situation, or something else. If I use Nexus 4 device, it is very hard to repeat this experiment. A less powerful device is needed to repeat the experiment. [UPDATE] I put the Logcat at the end of the post (it is long). Here is a brief review. After click the capture button, 07-25 14:20:08.517: I/Camera Preview(1517): For Debug: begin mCamera.takePicture Then I press the HOME button, the log below shows that android.intent.action.MAIN kicks in. 07-25 14:20:08.867: I/ActivityManager(188): Starting activity: Intent { act=android.intent.action.MAIN cat=[android.intent.category.HOME] flg=0x1020 cmp=com.htc.launcher/.Launcher } from pid 188 07-25 14:20:09.337: I/Camera Preview(1517): For Debug: after mCamera.takePicture 07-25 14:20:09.337: I/CameraActivity(1517): For Debug: in onPause(); Regarding how to process in onPause, which will be callsed by HOME button, I tried two options. One option is that onPause releases the camera. Another option is, I put Thread.sleep(1500) to let my activity has enough time to finish something. But with either option, the camear crashes, and cannot be launched any more. *** Long logcat: 07-25 14:20:07.736: I/Camera Preview(1517): For Debug: begin: mCamera.autoFocus(mContinuousAutoFocusCallback); 07-25 14:20:07.736: I/Camera Preview(1517): For Debug: Unexpected exception while doing continuous focusingjava.lang.NullPointerException 07-25 14:20:07.766: I/Camera Preview(1517): For Debug: onClick mCamera.autoFocus and take a picture 07-25 14:20:07.766: D/CameraService(70): autoFocus (pid 1517) 07-25 14:20:07.766: D/QualcommCameraHardware(70): autoFocus E 07-25 14:20:07.766: D/QualcommCameraHardware(70): autoFocus X 07-25 14:20:07.766: D/QualcommCameraHardware(70): runAutoFocus E 07-25 14:20:07.766: D/QualcommCameraHardware(70): af start (fd 39) 07-25 14:20:07.766: I/mm-camera 8x vfe(70): ch=971 cw=1619 vof=485 hof=809 wh=485 ww=809 07-25 14:20:07.916: D/WifiStateTracker(188): Reset connections and stopping DHCP 07-25 14:20:07.916: I/wpa_supplicant(487): Rx Data Filter Remove [5] command 07-25 14:20:07.916: I/wpa_supplicant(487): auto ip disabled 07-25 14:20:07.916: I/wpa_supplicant(487): Rx Data Filter: do not support, ignore 07-25 14:20:07.926: D/NetUtils(188): ifc_get_info addr=0 ! 07-25 14:20:08.497: D/mm-camera af_core(70): af_beta is executing!! 07-25 14:20:08.517: D/QualcommCameraHardware(70): native_set_afmode: ctrlCmd.status == 2 07-25 14:20:08.517: D/QualcommCameraHardware(70): af done: 0 07-25 14:20:08.517: D/CameraService(70): focus lenPos 0 status 0 macro_threshold 10 07-25 14:20:08.517: D/CameraService(70): CameraService::Client::handleGenericNotify: msgType = CAMERA_MSG_FOCUS 07-25 14:20:08.517: D/CameraService(70): CameraService::Client::handleGenericNotify: callback 07-25 14:20:08.517: I/Camera Preview(1517): For Debug: onClick mCamera.autoFocus, onAutoFocus: want to know the time difference 07-25 14:20:08.517: I/Camera Preview(1517): For Debug: begin mCamera.takePicture 07-25 14:20:08.517: D/QualcommCameraHardware(70): runAutoFocus X 07-25 14:20:08.517: D/CameraService(70): setPreviewCallbackFlag(0) (pid 1517) 07-25 14:20:08.517: D/CameraService(70): takePicture (pid 1517) 07-25 14:20:08.517: D/QualcommCameraHardware(70): takePicture(463) 07-25 14:20:08.517: D/QualcommCameraHardware(70): val_ril_status = 0,val_wimax_status = 0,val_hotspot_status = 0,val_low_temp_limit = 10.00,val_batt_temp = 36.50,val_low_temp_limit = 15,val_batt_cap = 79 07-25 14:20:08.517: D/QualcommCameraHardware(70): FLASHLIGHT is ENABLED 07-25 14:20:08.517: E/mm-camera-af(70): af_algo_preview: FAILED 07-25 14:20:08.867: I/ActivityManager(188): Starting activity: Intent { act=android.intent.action.MAIN cat=[android.intent.category.HOME] flg=0x1020 cmp=com.htc.launcher/.Launcher } from pid 188 07-25 14:20:08.927: D/WifiStateTracker(188): Disabling interface
Re: [android-developers] Can't always get unique identifier
On Thu, Jul 25, 2013 at 2:56 PM, Tobiah t...@tobiah.org wrote: Given the correct permissions, am I guaranteed to be able to write to the filesystem on any device? There are no guarantees about anything once your app hits the wild. It's also not clear what you mean by the filesystem - you can access your apps own dedicated space and the user's external storage, assuming it exists and is available. The latter is obviously more volatile than the former. - 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] Dealing with 1000's of different devices, each one with its own bugs
.I am wondering how developers here are dealing with the fact that there are 1000's of devices out there, some of them running your applications in very broken ways .I keep running into these kind of issues again and again for the past 3 years, and to be honest, I'm fed up with it .I've decided to move to iOS development, and the only way to convince me otherwise is to give me a decent, reliable way of dealing with fragmentation So what do you do when you develop a game, for example, and try to create a high-quality user experience on Google Play? Do you do your QA on 50 different devices? 100? 1000? Or do you just shoot blindly and hope that it works, or wait for users to send you bug reports? To make it clear, I'm not talking about official fragmentation. I don't talk about different screen sizes, densities, features, OS versions and so on. I talk about the unofficial fragmentation. The fact that most devices, even the popular ones from the big companies like Samsung, HTC, Motorola, LG and so on, contain tons of implementation bugs that prevent apps from working correctly. I'm talking about the fact that you can call a certain simple API, test it on a stock Android ROM (like on Nexus 4), and then have your application crash on some Samsung, that decided to break the implementation because of some customization. How can people stand that? How is it possible to write code, when the machine that executes it is completely broken in unexpected ways? I'm really fed up with it. About 50% of my Android development time is wasted on babysitting broken devices. I'm waiting for an official Google response about this, and what have you been doing in all those years to fix that. I've heard about things like conformance tests for devices and so on, but the reality is far from acceptable in this area. ,Looking forward for helpful responses Omer -- -- 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] Dealing with 1000's of different devices, each one with its own bugs
My solution: banging my head against the wall really hard. Fed up with it too. Maybe I picked the wrong line of work, and should become a garbage truck driver instead. It's not just crashes, it's things that some devices do, which break the UI in significant (to the users) ways. Nothing like getting emails like this window doesn't scroll the right way or text selection not working -- -- on my Samsung Blah Blah Platinum Plus Gold Pro model XXXZZZ3433, firmware XXjjjuui384u8934, but also reproducible with firmware 887jjhXXX. Google certified with preinstalled Play, of course. -- K 2013/7/26 Omer Gilad omer.gi...@gmail.com: .I am wondering how developers here are dealing with the fact that there are 1000's of devices out there, some of them running your applications in very broken ways .I keep running into these kind of issues again and again for the past 3 years, and to be honest, I'm fed up with it .I've decided to move to iOS development, and the only way to convince me otherwise is to give me a decent, reliable way of dealing with fragmentation So what do you do when you develop a game, for example, and try to create a high-quality user experience on Google Play? Do you do your QA on 50 different devices? 100? 1000? Or do you just shoot blindly and hope that it works, or wait for users to send you bug reports? To make it clear, I'm not talking about official fragmentation. I don't talk about different screen sizes, densities, features, OS versions and so on. I talk about the unofficial fragmentation. The fact that most devices, even the popular ones from the big companies like Samsung, HTC, Motorola, LG and so on, contain tons of implementation bugs that prevent apps from working correctly. I'm talking about the fact that you can call a certain simple API, test it on a stock Android ROM (like on Nexus 4), and then have your application crash on some Samsung, that decided to break the implementation because of some customization. How can people stand that? How is it possible to write code, when the machine that executes it is completely broken in unexpected ways? I'm really fed up with it. About 50% of my Android development time is wasted on babysitting broken devices. I'm waiting for an official Google response about this, and what have you been doing in all those years to fix that. I've heard about things like conformance tests for devices and so on, but the reality is far from acceptable in this area. ,Looking forward for helpful responses Omer -- -- 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.
Re: [android-developers] Dealing with 1000's of different devices, each one with its own bugs
This is basically what the CTS enforcement is attempting to rectify: but it's obviously not a perfect solution. Many small developers just accept this as fact, and handle only the API. Bigger developers are forced to deal with the real problems, and then it's a matter of extensive knowledge, testing, metaprogramming, etc... Kris On Thu, Jul 25, 2013 at 6:39 PM, Omer Gilad omer.gi...@gmail.com wrote: .I am wondering how developers here are dealing with the fact that there are 1000's of devices out there, some of them running your applications in very broken ways .I keep running into these kind of issues again and again for the past 3 years, and to be honest, I'm fed up with it .I've decided to move to iOS development, and the only way to convince me otherwise is to give me a decent, reliable way of dealing with fragmentation So what do you do when you develop a game, for example, and try to create a high-quality user experience on Google Play? Do you do your QA on 50 different devices? 100? 1000? Or do you just shoot blindly and hope that it works, or wait for users to send you bug reports? To make it clear, I'm not talking about official fragmentation. I don't talk about different screen sizes, densities, features, OS versions and so on. I talk about the unofficial fragmentation. The fact that most devices, even the popular ones from the big companies like Samsung, HTC, Motorola, LG and so on, contain tons of implementation bugs that prevent apps from working correctly. I'm talking about the fact that you can call a certain simple API, test it on a stock Android ROM (like on Nexus 4), and then have your application crash on some Samsung, that decided to break the implementation because of some customization. How can people stand that? How is it possible to write code, when the machine that executes it is completely broken in unexpected ways? I'm really fed up with it. About 50% of my Android development time is wasted on babysitting broken devices. I'm waiting for an official Google response about this, and what have you been doing in all those years to fix that. I've heard about things like conformance tests for devices and so on, but the reality is far from acceptable in this area. ,Looking forward for helpful responses Omer -- -- 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.
Re: [android-developers] Dealing with 1000's of different devices, each one with its own bugs
I've found that even the biggest app developers like Skype, Gameloft, etc. have device issues, and they don't look in such a good shape. Just scan the reviews of any super-popular Android app, and you can see the same disease... This app doesn't even work, it sucks, and I PAID FOR IT! (from some crappy device). Obviously, those bigger developers have the budget and capacity to own 100's or Android devices and run a big QA department. What is an independent developer, or even a small startup supposed to do? The solution that me and my partners decided on is to aggressively filter down any device that gives us bad ratings in Google Play (from the developer console). That feels like taking painkillers when you have a broken leg. On Friday, July 26, 2013 2:47:49 AM UTC+3, Kristopher Micinski wrote: This is basically what the CTS enforcement is attempting to rectify: but it's obviously not a perfect solution. Many small developers just accept this as fact, and handle only the API. Bigger developers are forced to deal with the real problems, and then it's a matter of extensive knowledge, testing, metaprogramming, etc... Kris On Thu, Jul 25, 2013 at 6:39 PM, Omer Gilad omer@gmail.comjavascript: wrote: .I am wondering how developers here are dealing with the fact that there are 1000's of devices out there, some of them running your applications in very broken ways .I keep running into these kind of issues again and again for the past 3 years, and to be honest, I'm fed up with it .I've decided to move to iOS development, and the only way to convince me otherwise is to give me a decent, reliable way of dealing with fragmentation So what do you do when you develop a game, for example, and try to create a high-quality user experience on Google Play? Do you do your QA on 50 different devices? 100? 1000? Or do you just shoot blindly and hope that it works, or wait for users to send you bug reports? To make it clear, I'm not talking about official fragmentation. I don't talk about different screen sizes, densities, features, OS versions and so on. I talk about the unofficial fragmentation. The fact that most devices, even the popular ones from the big companies like Samsung, HTC, Motorola, LG and so on, contain tons of implementation bugs that prevent apps from working correctly. I'm talking about the fact that you can call a certain simple API, test it on a stock Android ROM (like on Nexus 4), and then have your application crash on some Samsung, that decided to break the implementation because of some customization. How can people stand that? How is it possible to write code, when the machine that executes it is completely broken in unexpected ways? I'm really fed up with it. About 50% of my Android development time is wasted on babysitting broken devices. I'm waiting for an official Google response about this, and what have you been doing in all those years to fix that. I've heard about things like conformance tests for devices and so on, but the reality is far from acceptable in this area. ,Looking forward for helpful responses Omer -- -- 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] Dealing with 1000's of different devices, each one with its own bugs
There are potential solutions, but in practice it's a constant battle. Certainly there are people that provide internet based test services that test your app on huge numbers of devices for a subscription based fee. Kris On Thu, Jul 25, 2013 at 8:12 PM, Omer Gilad omer.gi...@gmail.com wrote: I've found that even the biggest app developers like Skype, Gameloft, etc. have device issues, and they don't look in such a good shape. Just scan the reviews of any super-popular Android app, and you can see the same disease... This app doesn't even work, it sucks, and I PAID FOR IT! (from some crappy device). Obviously, those bigger developers have the budget and capacity to own 100's or Android devices and run a big QA department. What is an independent developer, or even a small startup supposed to do? The solution that me and my partners decided on is to aggressively filter down any device that gives us bad ratings in Google Play (from the developer console). That feels like taking painkillers when you have a broken leg. On Friday, July 26, 2013 2:47:49 AM UTC+3, Kristopher Micinski wrote: This is basically what the CTS enforcement is attempting to rectify: but it's obviously not a perfect solution. Many small developers just accept this as fact, and handle only the API. Bigger developers are forced to deal with the real problems, and then it's a matter of extensive knowledge, testing, metaprogramming, etc... Kris On Thu, Jul 25, 2013 at 6:39 PM, Omer Gilad omer@gmail.com wrote: .I am wondering how developers here are dealing with the fact that there are 1000's of devices out there, some of them running your applications in very broken ways .I keep running into these kind of issues again and again for the past 3 years, and to be honest, I'm fed up with it .I've decided to move to iOS development, and the only way to convince me otherwise is to give me a decent, reliable way of dealing with fragmentation So what do you do when you develop a game, for example, and try to create a high-quality user experience on Google Play? Do you do your QA on 50 different devices? 100? 1000? Or do you just shoot blindly and hope that it works, or wait for users to send you bug reports? To make it clear, I'm not talking about official fragmentation. I don't talk about different screen sizes, densities, features, OS versions and so on. I talk about the unofficial fragmentation. The fact that most devices, even the popular ones from the big companies like Samsung, HTC, Motorola, LG and so on, contain tons of implementation bugs that prevent apps from working correctly. I'm talking about the fact that you can call a certain simple API, test it on a stock Android ROM (like on Nexus 4), and then have your application crash on some Samsung, that decided to break the implementation because of some customization. How can people stand that? How is it possible to write code, when the machine that executes it is completely broken in unexpected ways? I'm really fed up with it. About 50% of my Android development time is wasted on babysitting broken devices. I'm waiting for an official Google response about this, and what have you been doing in all those years to fix that. I've heard about things like conformance tests for devices and so on, but the reality is far from acceptable in this area. ,Looking forward for helpful responses Omer -- -- 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.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. -- -- You received this message because you are subscribed to the Google Groups Android Developers
Re: [android-developers] Dealing with 1000's of different devices, each one with its own bugs
Yes, I've encountered those services. This is still not a solution. It requires substantial money investment, and in a lot of cases it doesn't give you the ability to debug on those devices. Personal example - I'm developing a game, and we've found (after a friend checked it) that it has major display artifacts on Samsung Galaxy S4. No logs or attempts to remotely resolve the issue helped - so we had to get our hands on the device for a day. It turned out that the device's GPU is buggy, and miscalculates some common shader operations (like matrix multiplication). There's no remote testing platform in the world that can assist you in resolving issues like that. The issue is at the core, and must be solved at a design and attitude level - devices like that SHOULD NOT be allowed to run Google Play apps (and of course, they should be deprived of their certification), until the vendor fixes those issues. On Friday, July 26, 2013 3:27:49 AM UTC+3, Kristopher Micinski wrote: There are potential solutions, but in practice it's a constant battle. Certainly there are people that provide internet based test services that test your app on huge numbers of devices for a subscription based fee. Kris On Thu, Jul 25, 2013 at 8:12 PM, Omer Gilad omer@gmail.comjavascript: wrote: I've found that even the biggest app developers like Skype, Gameloft, etc. have device issues, and they don't look in such a good shape. Just scan the reviews of any super-popular Android app, and you can see the same disease... This app doesn't even work, it sucks, and I PAID FOR IT! (from some crappy device). Obviously, those bigger developers have the budget and capacity to own 100's or Android devices and run a big QA department. What is an independent developer, or even a small startup supposed to do? The solution that me and my partners decided on is to aggressively filter down any device that gives us bad ratings in Google Play (from the developer console). That feels like taking painkillers when you have a broken leg. On Friday, July 26, 2013 2:47:49 AM UTC+3, Kristopher Micinski wrote: This is basically what the CTS enforcement is attempting to rectify: but it's obviously not a perfect solution. Many small developers just accept this as fact, and handle only the API. Bigger developers are forced to deal with the real problems, and then it's a matter of extensive knowledge, testing, metaprogramming, etc... Kris On Thu, Jul 25, 2013 at 6:39 PM, Omer Gilad omer@gmail.com wrote: .I am wondering how developers here are dealing with the fact that there are 1000's of devices out there, some of them running your applications in very broken ways .I keep running into these kind of issues again and again for the past 3 years, and to be honest, I'm fed up with it .I've decided to move to iOS development, and the only way to convince me otherwise is to give me a decent, reliable way of dealing with fragmentation So what do you do when you develop a game, for example, and try to create a high-quality user experience on Google Play? Do you do your QA on 50 different devices? 100? 1000? Or do you just shoot blindly and hope that it works, or wait for users to send you bug reports? To make it clear, I'm not talking about official fragmentation. I don't talk about different screen sizes, densities, features, OS versions and so on. I talk about the unofficial fragmentation. The fact that most devices, even the popular ones from the big companies like Samsung, HTC, Motorola, LG and so on, contain tons of implementation bugs that prevent apps from working correctly. I'm talking about the fact that you can call a certain simple API, test it on a stock Android ROM (like on Nexus 4), and then have your application crash on some Samsung, that decided to break the implementation because of some customization. How can people stand that? How is it possible to write code, when the machine that executes it is completely broken in unexpected ways? I'm really fed up with it. About 50% of my Android development time is wasted on babysitting broken devices. I'm waiting for an official Google response about this, and what have you been doing in all those years to fix that. I've heard about things like conformance tests for devices and so on, but the reality is far from acceptable in this area. ,Looking forward for helpful responses Omer -- -- 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.com To unsubscribe from this group, send email to
[android-developers] Android HAL version
Hi, I look into Android graphic document recently. I noticed that in the official website, it mentions the following... Jellybean MR1 introduces a new version of the HAL. We recommend that you start using version 1.1 of the hardware composer HAL as it will provide support for the newest features (explicit synchronization, external displays, etc). However, i have not found any clue/file to check the version of the HAL of my Android. Can anyone tell me how to check it? Many 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] Dealing with 1000's of different devices, each one with its own bugs
Your last paragraph is *exactly* what the CTS is all about, but obviously if you don't work for google you can't mandate what goes in and what does not :-). I'm not recommending that these services are the solution to everyone's problems: but I do contend they get you farther than you would be otherwise. Games are particularly hard to test, since GPUs vary more widely across devices and aren't part of the most common pieces of the SDK. The fact of the matter is, there are always going to be hacked up ROMs running on the market: that's the design decision made by Android. The CTS helps get you farther to a holistic / cohesive platform, but in the end it's a numbers game: knowing which devices, API levels, user bases, countries, etc.. to care about is something the experienced developer has to have a handle on. Kris On Thu, Jul 25, 2013 at 9:05 PM, Omer Gilad omer.gi...@gmail.com wrote: Yes, I've encountered those services. This is still not a solution. It requires substantial money investment, and in a lot of cases it doesn't give you the ability to debug on those devices. Personal example - I'm developing a game, and we've found (after a friend checked it) that it has major display artifacts on Samsung Galaxy S4. No logs or attempts to remotely resolve the issue helped - so we had to get our hands on the device for a day. It turned out that the device's GPU is buggy, and miscalculates some common shader operations (like matrix multiplication). There's no remote testing platform in the world that can assist you in resolving issues like that. The issue is at the core, and must be solved at a design and attitude level - devices like that SHOULD NOT be allowed to run Google Play apps (and of course, they should be deprived of their certification), until the vendor fixes those issues. On Friday, July 26, 2013 3:27:49 AM UTC+3, Kristopher Micinski wrote: There are potential solutions, but in practice it's a constant battle. Certainly there are people that provide internet based test services that test your app on huge numbers of devices for a subscription based fee. Kris On Thu, Jul 25, 2013 at 8:12 PM, Omer Gilad omer@gmail.com wrote: I've found that even the biggest app developers like Skype, Gameloft, etc. have device issues, and they don't look in such a good shape. Just scan the reviews of any super-popular Android app, and you can see the same disease... This app doesn't even work, it sucks, and I PAID FOR IT! (from some crappy device). Obviously, those bigger developers have the budget and capacity to own 100's or Android devices and run a big QA department. What is an independent developer, or even a small startup supposed to do? The solution that me and my partners decided on is to aggressively filter down any device that gives us bad ratings in Google Play (from the developer console). That feels like taking painkillers when you have a broken leg. On Friday, July 26, 2013 2:47:49 AM UTC+3, Kristopher Micinski wrote: This is basically what the CTS enforcement is attempting to rectify: but it's obviously not a perfect solution. Many small developers just accept this as fact, and handle only the API. Bigger developers are forced to deal with the real problems, and then it's a matter of extensive knowledge, testing, metaprogramming, etc... Kris On Thu, Jul 25, 2013 at 6:39 PM, Omer Gilad omer@gmail.com wrote: .I am wondering how developers here are dealing with the fact that there are 1000's of devices out there, some of them running your applications in very broken ways .I keep running into these kind of issues again and again for the past 3 years, and to be honest, I'm fed up with it .I've decided to move to iOS development, and the only way to convince me otherwise is to give me a decent, reliable way of dealing with fragmentation So what do you do when you develop a game, for example, and try to create a high-quality user experience on Google Play? Do you do your QA on 50 different devices? 100? 1000? Or do you just shoot blindly and hope that it works, or wait for users to send you bug reports? To make it clear, I'm not talking about official fragmentation. I don't talk about different screen sizes, densities, features, OS versions and so on. I talk about the unofficial fragmentation. The fact that most devices, even the popular ones from the big companies like Samsung, HTC, Motorola, LG and so on, contain tons of implementation bugs that prevent apps from working correctly. I'm talking about the fact that you can call a certain simple API, test it on a stock Android ROM (like on Nexus 4), and then have your application crash on some Samsung, that decided to break the implementation because of some customization. How can people stand that? How is
[android-developers] Re: Help with AndroidAnnotations
Testing the console using CURL typing curl -v -H 'Content-Type: application/json' -H 'Accept: application/json' -X POSThttp://localhost:3000/api/v1/registrations -d {\user\:{\email\:\us...@example.com \,\firstname\:\anotheruser\,\password\:\secret1234\,\password_confirmation\:\secret1234\}} In console: Parameters: {user={email=us...@example.com, firstname=anotheruser, password=[FILTERED], password_confirmation=[FILTERED]}, registration={user={email= us...@example.com, firstname=anotheruser, password=[FILTERED], password_confirmation=[FILTERED]}}} But in the app: Parameters: {email=em...@provedor.com rick@gmail.com, firstname=Ricardo, password=[FILTERED], password_confirmation=[FILTERED], registration={email= em...@provedor.com, firstname=Ricardo, password=[FILTERED], password_confirmation=[FILTERED]}} See missing object (registration={email)... How can I create a json well with AndroidAnnotations? Help-me Como gerar um JSON daquele jeito pelo androidannotations... alguém sabe? 2013/7/25 Ricardo Cardoso rick@gmail.com Please, help me in AndroidAnnotations. I have a problem in send my JSON to for the WebService. I created my interface Rest @Rest(rootUrl=http://192.168.0.142:3000;, converters={GsonHttpMessageConverter.class}) public interface UserRestClient { @Post(/api/v1/registrations/) User addUser(User user); And my activity is as follows: @RestService UserRestClient userRestClient; User user = new User(); user.setFirstname(mName); user.setEmail(mEmail); user.setPassword(mPassword); user.setPassword_confirmation(mPassword); userRestClient.addUser(user); In my console rails i have a error Started POST /api/v1/registrations for 192.168.0.138 at 2013-07-24 11:23:21 -0300 Processing by Api::V1::RegistrationsController#create as JSON Parameters: {email=em...@email.com, firstname=Ricardo, password=[FILTERED], password_confirmation=[FILTERED], registration={email=em...@email.com, firstname=Ricardo, password=[FILTERED], password_confirmation=[FILTERED]}} (0.2ms) BEGIN (0.2ms) ROLLBACK Completed 422 Unprocessable Entity in 3ms (Views: 0.3ms | ActiveRecord: 0.4ms) #ActiveModel::Errors:0x007f842510eb80 @base=#User id: nil, firstname: nil, lastname: nil, email: nil, password: nil, password_confirmation: nil, remember_me: nil, gender: nil, dateBirth: nil, modelPhone: nil, created_at: nil, updated_at: nil, encrypted_password: , reset_password_token: nil, reset_password_sent_at: nil, remember_created_at: nil, sign_in_count: 0, current_sign_in_at: nil, last_sign_in_at: nil, current_sign_in_ip: nil, last_sign_in_ip: nil, confirmation_token: nil, confirmed_at: 2013-07-24 14:25:24, confirmation_sent_at: nil, authentication_token: nil, @messages={:email=[can't be blank], :password=[can't be blank]} Do not know why JSON is going on without their user object, or because it duplicates the parameters, can someone help me? -- -- 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] Dealing with 1000's of different devices, each one with its own bugs
I agree that it's better than nothing. But, since it's a paid service that has nothing to do with the official SDK, it doesn't come in the SDK's favor at all. The problem appears in much more obvious parts of the SDK than the one I presented. I can give countless examples on demand and I'm sure others can too. Also, I never even bothered to fix custom ROMs and such - this is really beyond my scope. I'm having constant issues with stock, popular devices from Samsung, HTC, etc. - the ones that get shipped in the millions and dominate the Google Play statistics. As you said, statistics are also a temporary solution to the issue - just focus on workarounds for the most popular buggy devices - mainly the Samsung Galaxy series and its endless variations. On Friday, July 26, 2013 4:33:52 AM UTC+3, Kristopher Micinski wrote: Your last paragraph is *exactly* what the CTS is all about, but obviously if you don't work for google you can't mandate what goes in and what does not :-). I'm not recommending that these services are the solution to everyone's problems: but I do contend they get you farther than you would be otherwise. Games are particularly hard to test, since GPUs vary more widely across devices and aren't part of the most common pieces of the SDK. The fact of the matter is, there are always going to be hacked up ROMs running on the market: that's the design decision made by Android. The CTS helps get you farther to a holistic / cohesive platform, but in the end it's a numbers game: knowing which devices, API levels, user bases, countries, etc.. to care about is something the experienced developer has to have a handle on. Kris On Thu, Jul 25, 2013 at 9:05 PM, Omer Gilad omer@gmail.comjavascript: wrote: Yes, I've encountered those services. This is still not a solution. It requires substantial money investment, and in a lot of cases it doesn't give you the ability to debug on those devices. Personal example - I'm developing a game, and we've found (after a friend checked it) that it has major display artifacts on Samsung Galaxy S4. No logs or attempts to remotely resolve the issue helped - so we had to get our hands on the device for a day. It turned out that the device's GPU is buggy, and miscalculates some common shader operations (like matrix multiplication). There's no remote testing platform in the world that can assist you in resolving issues like that. The issue is at the core, and must be solved at a design and attitude level - devices like that SHOULD NOT be allowed to run Google Play apps (and of course, they should be deprived of their certification), until the vendor fixes those issues. On Friday, July 26, 2013 3:27:49 AM UTC+3, Kristopher Micinski wrote: There are potential solutions, but in practice it's a constant battle. Certainly there are people that provide internet based test services that test your app on huge numbers of devices for a subscription based fee. Kris On Thu, Jul 25, 2013 at 8:12 PM, Omer Gilad omer@gmail.com wrote: I've found that even the biggest app developers like Skype, Gameloft, etc. have device issues, and they don't look in such a good shape. Just scan the reviews of any super-popular Android app, and you can see the same disease... This app doesn't even work, it sucks, and I PAID FOR IT! (from some crappy device). Obviously, those bigger developers have the budget and capacity to own 100's or Android devices and run a big QA department. What is an independent developer, or even a small startup supposed to do? The solution that me and my partners decided on is to aggressively filter down any device that gives us bad ratings in Google Play (from the developer console). That feels like taking painkillers when you have a broken leg. On Friday, July 26, 2013 2:47:49 AM UTC+3, Kristopher Micinski wrote: This is basically what the CTS enforcement is attempting to rectify: but it's obviously not a perfect solution. Many small developers just accept this as fact, and handle only the API. Bigger developers are forced to deal with the real problems, and then it's a matter of extensive knowledge, testing, metaprogramming, etc... Kris On Thu, Jul 25, 2013 at 6:39 PM, Omer Gilad omer@gmail.com wrote: .I am wondering how developers here are dealing with the fact that there are 1000's of devices out there, some of them running your applications in very broken ways .I keep running into these kind of issues again and again for the past 3 years, and to be honest, I'm fed up with it .I've decided to move to iOS development, and the only way to convince me otherwise is to give me a decent,