[android-developers] Re: Fragment Transition Animation Crashes
The native fragment API uses the new (since 3.0) animators. http://developer.android.com/guide/topics/graphics/prop-animation.html You can see the difference in the source, too: https://android.googlesource.com/platform/frameworks/support/+/refs/heads/master/v4/java/android/support/v4/app/FragmentManager.java 1. Animation anim = AnimationUtils.*loadAnimation*(mActivity,fragment .mNextAnim); https://android.googlesource.com/platform/frameworks/base/+/refs/heads/master/core/java/android/app/FragmentManager.java 1. Animator anim = AnimatorInflater.*loadAnimator*(mActivity,fragment .mNextAnim); -- K On Monday, January 28, 2013 4:14:36 AM UTC+4, Doug Gordon wrote: The following code used to work fine in a previous iteration of my app that was targeted to V11 but used the support library to support fragments, etc., from the minimum V7 and up: Fragment frag = ShowExhibit.ShowExhibitFrag.newInstance(args); FragmentTransaction ft = mFrag.getFragmentManager().beginTransaction(); ft.setCustomAnimations(android.R.anim.fade_in, android.R.anim.fade_out, android.R.anim.fade_in, android.R.anim.fade_out); ft.replace(mParentId, frag); ft.addToBackStack(null); ft.commit(); Now I'm creating a new version that targets V14 and also has a min of V14, so no need to use the support library for fragments. Running this on the emulator running Android 4.0 (V14), I get the following fatal error on the transition: FATAL EXCEPTION: main java.lang.RuntimeException: Unknown animator name: alpha at android.animation.AnimatorInflater.createAnimatorFromXml(AnimatorInflater.java:129) at android.animation.AnimatorInflater.createAnimatorFromXml(AnimatorInflater.java:93) So what has changed? I can load my previous app version on this same emulator and it runs just fine. None of the code related to this operation has changed in any way. The emulator was created using the standard Galaxy Nexus definition within ADT. -- -- 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, send email to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
[android-developers] Custom view rendering issue
Hi, I am writing a custom view and for optimization purposes, I draw some static part of the view in a Bitmap. Unfortunately, the quality of the rendering when using an offscreen bitmap is noticeably less compared to rendering into the view's canvas bitmap. Here are two screenshots showing the difference Rendering into view's Canvas: https://lh5.googleusercontent.com/-wSjtLmhUgz8/UQZV96LTo6I/AEM/r9saff_8dlM/s1600/01_view_canvas.png Rendering into a Bitmap Canvas https://lh3.googleusercontent.com/-jVuFcXhAf7g/UQZWK7NBNfI/AEU/0AfCGfQMudU/s1600/02_bitmap_canvas.png The difference is most noticeable at the horizontal black line. The anti-aliasing algorithm seems to affect more pixels (is wider). The drawing code is the same in both cases, and the offscreen canvas is created like this final Bitmap tempBitmap = Bitmap.createBitmap(getWidth(), getHeight(), Bitmap.Config.ARGB_); final Canvas tempCanvas = new Canvas(tempBitmap); Any ideas on how to get the same rendering in the offscreen canvas as in the view's ? Thank you -- -- 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, send email to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Re: [android-developers] ArrayAdapter in background thread
Directly modifying an adapter's data (especially changing the number of items) from a background thread is a recipe for disaster. The data can be loaded on a thread, but should be switched in the adapter on the UI thread, followed by a call to notifyDatasetChanged, also on the UI thread. -- K On Monday, January 28, 2013 5:43:35 AM UTC+4, dashman wrote: nevermind - i decided to subl-class BaseAdapter Thanks. On Sunday, January 27, 2013 7:36:06 PM UTC-5, dashman wrote: mark, You can modify the ArrayList directly from a background thread. How can i do that - i don't see any api for this. -- -- 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, send email to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Re: [android-developers] Mobile network idle sockets disconnected
Sorry for reopening this, but I have a consequence behavior with this and was hoping for some insights. As I said earlier, we are using a very specific APN that allows the connection only to a restricted range of servers. I managed to use a heartbeat every 5 minutes to workaround the GCM issue, and with the app everything is working fine. However, I have another consequence. Because the APN restricts access to anything outside our safe little world, the system is consuming a whole load of data. Android OS consumed 3 mb in three days, Google Services 416 k. In the data settings I was able to restrict Google Services (as well as software updates and others) from using data but I can't do the same for Android OS. This is killing us completely because we have a very restrictive data plans. Any ideas on how I can disable data transfer for everything except my application? Thanks On 21 December 2012 15:55, Goncalo Oliveira gonc...@minkan.net wrote: Robert, Thanks again for clarifying. Basically if I open up GCM I'm allowing user to work with gtalk, so I will want to avoid that. Looks like sending the heartbeat every 5 minutes is the only option I have left. Thanks for the help. Much appreciated. Cheers On 21 December 2012 15:44, Robert Greenwalt rgreenw...@google.com wrote: I believe most of the google apps rely on GCM (calendar, gmail, contacts, talk, etc), also 3rd party apps that need pushed notifications are encouraged to use GCM. Unless you are making a custom build and denying app installs you probably have apps that will be broken without GCM. Of course, if you have very limited data plans on special purpose phones, you may wish for all those apps to be broken - they can use quite a bit of data. I don't know what GCM's steady-state data rate is for a device. I believe it does a carrier keep-alive ping every 20-30 minutes. It also checks for updates whenever the screen comes on. Other than that I think it is dependent on user or network-originating app traffic. R On Fri, Dec 21, 2012 at 2:23 AM, Goncalo Oliveira gonc...@minkan.netwrote: Robert, Thank you for the explanation. There's just one more thing that I'd like you to help me understand. If we choose to allow the GCM connection, what kind of traffic can we expect to have? Like I said previously, we have a very tight data plan, so if the GCM connection adds more than just a few bytes, that might be a bad idea to enable it. Also, by enabling GCM connection, what am I allowing the users to do? Can they use gtalk or something else? Cheers On 21 December 2012 00:17, Robert Greenwalt rgreenw...@google.comwrote: The GCM is part of the platform - 3rd party apps depend on it and so there's no mechanism for deactivating it. If you can allow the GCM connection to succeed, you should avoid the current problems, but if you're going for a secure platform you may not want the GCM connection to succeed. You could potentially hijack the dns resolution: have your dns server report an address you control for mtalk.google.com, then allow connections to your own server, but no real functionallity. With some reverse engineering you may be able to get to a quiet connection that doesn't trigger these data-stall triggers. The easiest solution is to adjust your keep-alive ping to 6 minutes. That will effect the battery, but less than allowing the resets to happen. I have created internal issues to examine this issue, but even if we fixed it today internally you wouldn't see it for a long while. The first issue is to find what traffic is causing this connection reset. The second is to re-eval counting udp packets (I am assuming that's causing part of this problem). I'm sorry you have hit this issue. Robert On Thu, Dec 20, 2012 at 4:30 AM, Goncalo Oliveira gonc...@minkan.netwrote: Robert, Any updates on this? Cheers On 18 December 2012 10:06, Goncalo Oliveira gonc...@minkan.netwrote: consider opening up the addre -- Gonçalo Oliveira -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- Gonçalo Oliveira -- 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] GCM not working over wifi
Hello i have create one app in which i use GCM, its work normally over mobile data packet, but when my app is running over mobile Wifi my GCM code not working. Any solution ? -- -- 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, send email to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
[android-developers] In-app billing V3 - Error while retrieving information from server. [RPC:S-7:AEC-0]
i have create one app and already published in that app i used in-app billing (UNMANAGED). When i test it using android.test.purchased product id, it will works properlly, but after publishing the app i test it again using live product Id at that time it will not working, means my app redirect to google play store after that it returns this kind of Error in popup message and that message is : Error while retrieving information from server. [RPC:S-7:AEC-0] I Have do all the things like Factory Reset, Removeing Google A/c , Restart the phone etc. but not getting any success. please help me i'm stuck since last 4 to 5 days i didn't get any solution yet. -- -- 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, send email to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
[android-developers] All my apps are losing 5 star rates at a really high speed. I've lost more than 200 during this weekend.
Since last week all my apps are losing only 5 star rates. What´s going on?!?! They are just disappearing and it is happening to ALL my apps. I've lost more than 200 rates already and it keeps on falling! -- -- 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, send email to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
[android-developers] Re: GCM not working over wifi
Rajan wrote: Hello i have create one app in which i use GCM, its work normally over mobile data packet, but when my app is running over mobile Wifi my GCM code not working. Any solution ? for my GCM code not working? no, i don't think anyone can help you with so detailed problem description pskink -- -- 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, send email to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
[android-developers] Re: Play store - reviews disappear
I have lost more than 200 during the weekend. Only 5 star rates! El domingo, 27 de enero de 2013 12:59:21 UTC+1, Giuseppe escribió: We are experiencing some review deletion from our play store. Anybody here is having the same problem? -- -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en --- You received this message because you are subscribed to the Google Groups Android Developers group. To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
[android-developers] Re: Play store - reviews disappear
It is happening to ALL my apps.. even the apps I don´t have published right now. El lunes, 28 de enero de 2013 13:15:11 UTC+1, Héctor Júdez escribió: I have lost more than 200 during the weekend. Only 5 star rates! El domingo, 27 de enero de 2013 12:59:21 UTC+1, Giuseppe escribió: We are experiencing some review deletion from our play store. Anybody here is having the same problem? -- -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en --- You received this message because you are subscribed to the Google Groups Android Developers group. To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
[android-developers] Re: Play store - reviews disappear
So what we should do now? We are losing many time to find what happened and there is no sense on this problem. Should we contact Google ? what we must do? -- -- 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, send email to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
[android-developers] Re: Play store - reviews disappear
248 rates lost in one week. Almost all of the 5 star ratings. I have tried to contact Google but no response. I also posted a message in Google Plus with #PlayStore #AndroidDev and no success either. El lunes, 28 de enero de 2013 13:20:08 UTC+1, Giuseppe escribió: So what we should do now? We are losing many time to find what happened and there is no sense on this problem. Should we contact Google ? what we must do? -- -- 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, send email to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
[android-developers] Eclipse exported apk crashing
Hello, I need to publish my application, i ran the Eclipse export wizard and exported a signed apk with a self-signed certificate, i ran the zipalign tool also. The problem is that when installing this package on the device and running it, it crashes directly, although i can run the application directly from eclipse with no problems. Will that have to do with the proguard configurations or anything else?! Regards -- -- 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, send email to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
[android-developers] Re: In-app billing V3 - Error while retrieving information from server. [RPC:S-7:AEC-0]
A Google search for RPC:S-7:AEC-0 shows a lot of discussions of this error. Not sure if any magic fixes would work though -- I think your best bet is to report this to Google developer support. https://support.google.com/googleplay/android-developer/bin/answer.py?hl=enanswer=136601 -- K On Monday, January 28, 2013 4:07:32 PM UTC+4, Rajan wrote: i have create one app and already published in that app i used in-app billing (UNMANAGED). When i test it using android.test.purchased product id, it will works properlly, but after publishing the app i test it again using live product Id at that time it will not working, means my app redirect to google play store after that it returns this kind of Error in popup message and that message is : Error while retrieving information from server. [RPC:S-7:AEC-0] I Have do all the things like Factory Reset, Removeing Google A/c , Restart the phone etc. but not getting any success. please help me i'm stuck since last 4 to 5 days i didn't get any solution yet. -- -- 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, send email to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Re: [android-developers] ArrayAdapter in background thread
On Sun, Jan 27, 2013 at 7:36 PM, dashman erjdri...@gmail.com wrote: You can modify the ArrayList directly from a background thread. How can i do that - i don't see any api for this. java.util.ArrayList has been around for, what, 15 years? Yes, it has an API to allow the list to be modified. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy Här kan du ställa och svara på frågor om applikationsutveckling på Android: http://www.andglobe.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, send email to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
[android-developers]
Hi friends very amazing File manager its free application in android market Download and use it. below is link available please give me feed back and use continuously... https://play.google.com/store/apps/details?id=com.manager.folder.jayfeature=search_result#?t=W251bGwsMSwxLDEsImNvbS5tYW5hZ2VyLmZvbGRlci5qYXkiXQ Thank you Jay -- -- 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]
Hi friends very amazing File manager its free application in android market Download and use it. below is link available please give me feed back and use continuously... https://play.google.com/store/apps/details?id=com.manager.folder.jayfeature=search_result#?t=W251bGwsMSwxLDEsImNvbS5tYW5hZ2VyLmZvbGRlci5qYXkiXQ Thank you Jay -- -- 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]
Hi friends very amazing File manager its free application in android market Download and use it. below is link available please give me feed back and use continuously... https://play.google.com/store/apps/details?id=com.manager.folder.jayfeature=search_result#?t=W251bGwsMSwxLDEsImNvbS5tYW5hZ2VyLmZvbGRlci5qYXkiXQ Thank you Jay -- -- 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]
Don't post you're own app here for self ad.. On Mon, Jan 28, 2013 at 6:52 PM, Jayavelu Viswanathan androidjayav...@gmail.com wrote: Hi friends very amazing File manager its free application in android market Download and use it. below is link available please give me feed back and use continuously... https://play.google.com/store/apps/details?id=com.manager.folder.jayfeature=search_result#?t=W251bGwsMSwxLDEsImNvbS5tYW5hZ2VyLmZvbGRlci5qYXkiXQ Thank you Jay -- -- 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, send email to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. -- Thanks Regards Vinoth Kumar A - - - - - - - - - - Confidentiality Warning: This message and any attachments are intended only for the use of the intended recipient(s), are confidential and may be privileged. If you are not the intended recipient. you are hereby notified that any review, re-transmission, conversion to hard copy, copying, circulation or other use of this message and any attachments is strictly prohibited. If you are not the intended recipient. please notify the sender immediately by return email, and delete this message and any attachments from your system. Virus Warning: Although the company has taken reasonable precautions to ensure no viruses are present in this email, the company cannot accept responsibility for any loss or damage arising from the use of this email or attachment. -- -- 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]
You have made a mistake in your app's description: you say it does not require the internet permission, yet the internet permission is listed on the permissions console. You should also explain why the other permissions are necessary in your comments. Kris On Sun, Jan 27, 2013 at 11:58 PM, Jayavelu Viswanathan androidjayav...@gmail.com wrote: Hi friends very amazing File manager its free application in android market Download and use it. below is link available please give me feed back and use continuously... https://play.google.com/store/apps/details?id=com.manager.folder.jayfeature=search_result#?t=W251bGwsMSwxLDEsImNvbS5tYW5hZ2VyLmZvbGRlci5qYXkiXQ Thank you Jay -- -- 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, send email to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
[android-developers] The new CellInfo API
I saw: http://developer.android.com/reference/android/telephony/CellInfo.html and thought that having the signal strength tower ID and in use and neighboring towers all in one callback would be nice to have. I wrote a test program to see if I could get this CellInfoGsm on a Galaxy Nexus or Nexus 4. Snippet of test code follows: @Override public void onCreate() { // Notification to not get killed Log.d(CellInfoTest,Service onCreate); mNotification = buildNotification(); startForeground(5,mNotification); ((NotificationManager)getSystemService(NOTIFICATION_SERVICE)).notify(5,mNotification); mListener = new PhoneStateListener() { public void onCellInfoChanged(ListCellInfo c) { Log.d(CellInfoTest,onCellInfoChanged called); dumpCellInfoList(c); } public void onCellLocationChanged(CellLocation c) { Log.d(CellInfoTest,onCellLocationChanged called); dumpCellLocation(c); } }; myTm = (TelephonyManager)getSystemService(Context.TELEPHONY_SERVICE); } private void dumpCellInfoList(ListCellInfo c) { try { for (int i = 0; i c.size(); i++) { Log.d(CellInfoTest,dumpInfoLocation:+c.get(i).toString()); } } catch (java.lang.NullPointerException e) { Log.d(CellInfoTest,Null pointer for CellInfo); } } private void dumpCellLocation(CellLocation c) { try { Log.d(CellInfoTest,dumpCellLocation:+c.toString()); } catch (java.lang.NullPointerException e) { Log.d(CellInfoTest,Null pointer for CellLocation); } } @Override public int onStartCommand(Intent i, int flags, int startid){ Log.d(CellInfoTest,Service onStartCommand); myTm.listen(mListener, PhoneStateListener.LISTEN_CELL_INFO + PhoneStateListener.LISTEN_CELL_LOCATION); return START_STICKY; } I've also included uses-sdk android:minSdkVersion=17 / uses-permission android:name=android.permission.ACCESS_COARSE_LOCATION/ in the manifest to be sure I was on an updated phone that supported the API and could see the cell location information. I gathered the adb logcat output and toggled the airplane mode a few times to see what got called back. I'm seeing: 01-25 19:04:31.516 D/CellInfoTest( 7999): Starting service 01-25 19:04:31.526 D/CellInfoTest( 7999): Service onCreate 01-25 19:04:31.526 D/CellInfoTest( 7999): Service onStartCommand 01-25 19:04:31.536 D/CellInfoTest( 7999): onCellLocationChanged called 01-25 19:04:31.536 D/CellInfoTest( 7999): dumpCellLocation:[10989,194036662,418] 01-25 19:04:31.536 D/CellInfoTest( 7999): onCellInfoChanged called 01-25 19:04:31.536 D/CellInfoTest( 7999): Null pointer for CellInfo 01-25 19:04:58.935 D/CellInfoTest( 7999): onCellLocationChanged called 01-25 19:04:58.935 D/CellInfoTest( 7999): dumpCellLocation:[10989,-1,418] 01-25 19:04:59.826 D/CellInfoTest( 7999): onCellLocationChanged called 01-25 19:04:59.826 D/CellInfoTest( 7999): dumpCellLocation:[-1,-1,-1] 01-25 19:04:59.956 D/CellInfoTest( 7999): onCellLocationChanged called 01-25 19:04:59.966 D/CellInfoTest( 7999): dumpCellLocation:[-1,-1,0] 01-25 19:05:00.857 D/CellInfoTest( 7999): onCellLocationChanged called 01-25 19:05:00.857 D/CellInfoTest( 7999): dumpCellLocation:[10989,194036662,418] which looks like as soon as I register I get a callback, but the CellInfo is null (which I think is very odd, as it should at least contain the location/strength of the cell that is currently connected and dumped by dumpCellLocation) each of the callbacks that follow happen with the airplane mode toggle an only for onCellLocationChanged. My questions are: Is there a flaw in my code that I am missing? Is there a permission that I need to get the onCellInfoChanged callback to happen? If my code looks good, who do I look to to ask why the Galaxy Nexus and Nexus 4 both fail to make the callbacks (is there a CTS case update that needs to happen, or should I file a bug against the android code?) Dan S. -- -- 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
Re: [android-developers]
The description appears to have been copied from the Open Intents file manager: *OI File Manager* allows you to browse your SD card... -- K On Monday, January 28, 2013 5:44:29 PM UTC+4, Kristopher Micinski wrote: You have made a mistake in your app's description: you say it does not require the internet permission, yet the internet permission is listed on the permissions console. You should also explain why the other permissions are necessary in your comments. Kris On Sun, Jan 27, 2013 at 11:58 PM, Jayavelu Viswanathan android...@gmail.com javascript: wrote: Hi friends very amazing File manager its free application in android market Download and use it. below is link available please give me feed back and use continuously... https://play.google.com/store/apps/details?id=com.manager.folder.jayfeature=search_result#?t=W251bGwsMSwxLDEsImNvbS5tYW5hZ2VyLmZvbGRlci5qYXkiXQ Thank you Jay -- -- 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] Insert data from text file to database
I have a text file data . like Australia-country,america-country,North America-continent and the data goes on to a large extent. i need to create database with three columns one for the the ID number, the other for names of the places , and other for the type of place it looks in this way | | | | | 1 | australia | country | |___ _ _|___ |___ | i have this complete data in atext file. How to i insert the data from text file to database? -- -- 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, send email to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
[android-developers] Re: Custom view rendering issue
I think its actually the Bitmap's fault... Bitmap.CreateBitmap can also get DisplayMatrics as a variable, try that with your device's DisplayMatrics (I'm guessing it's High, while the default is something lower, thus causing the fuzziness) On Monday, January 28, 2013 12:48:21 PM UTC+2, cosminr wrote: Hi, I am writing a custom view and for optimization purposes, I draw some static part of the view in a Bitmap. Unfortunately, the quality of the rendering when using an offscreen bitmap is noticeably less compared to rendering into the view's canvas bitmap. Here are two screenshots showing the difference Rendering into view's Canvas: https://lh5.googleusercontent.com/-wSjtLmhUgz8/UQZV96LTo6I/AEM/r9saff_8dlM/s1600/01_view_canvas.png Rendering into a Bitmap Canvas https://lh3.googleusercontent.com/-jVuFcXhAf7g/UQZWK7NBNfI/AEU/0AfCGfQMudU/s1600/02_bitmap_canvas.png The difference is most noticeable at the horizontal black line. The anti-aliasing algorithm seems to affect more pixels (is wider). The drawing code is the same in both cases, and the offscreen canvas is created like this final Bitmap tempBitmap = Bitmap.createBitmap(getWidth(), getHeight(), Bitmap.Config.ARGB_); final Canvas tempCanvas = new Canvas(tempBitmap); Any ideas on how to get the same rendering in the offscreen canvas as in the view's ? Thank you -- -- 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, send email to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Re: [android-developers] All my apps are losing 5 star rates at a really high speed. I've lost more than 200 during this weekend.
http://developer.android.com/support.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.
Re: [android-developers] Eclipse exported apk crashing
On Mon, Jan 28, 2013 at 6:34 AM, Sohayb Hassoun sohayb.hass...@gmail.comwrote: Will that have to do with the proguard configurations or anything else?! How are we supposed to know? Look at the LogCat and at least post the error. - 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, send email to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Re: [android-developers] Insert data from text file to database
On Mon, Jan 28, 2013 at 8:21 AM, samuel joinvir...@gmail.com wrote: How to i insert the data from text file to database? Copy the data manually, or write a program that reads from the text files and writes to the database. - 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, send email to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
[android-developers] Re: Custom view rendering issue
Unfortunately, the createBitmap() method which accepts DisplayMetrics was added in API level 17 and I need to support a much lower API level. I tried to set the density by passing the DisplayMetrics.densityDpi to Bitmap.setDensity(int) and the problem still persists. On Monday, January 28, 2013 4:38:16 PM UTC+2, Piren wrote: I think its actually the Bitmap's fault... Bitmap.CreateBitmap can also get DisplayMatrics as a variable, try that with your device's DisplayMatrics (I'm guessing it's High, while the default is something lower, thus causing the fuzziness) On Monday, January 28, 2013 12:48:21 PM UTC+2, cosminr wrote: Hi, I am writing a custom view and for optimization purposes, I draw some static part of the view in a Bitmap. Unfortunately, the quality of the rendering when using an offscreen bitmap is noticeably less compared to rendering into the view's canvas bitmap. Here are two screenshots showing the difference Rendering into view's Canvas: https://lh5.googleusercontent.com/-wSjtLmhUgz8/UQZV96LTo6I/AEM/r9saff_8dlM/s1600/01_view_canvas.png Rendering into a Bitmap Canvas https://lh3.googleusercontent.com/-jVuFcXhAf7g/UQZWK7NBNfI/AEU/0AfCGfQMudU/s1600/02_bitmap_canvas.png The difference is most noticeable at the horizontal black line. The anti-aliasing algorithm seems to affect more pixels (is wider). The drawing code is the same in both cases, and the offscreen canvas is created like this final Bitmap tempBitmap = Bitmap.createBitmap(getWidth(), getHeight(), Bitmap.Config.ARGB_); final Canvas tempCanvas = new Canvas(tempBitmap); Any ideas on how to get the same rendering in the offscreen canvas as in the view's ? Thank you -- -- 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, send email to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
[android-developers] Re: Eclipse exported apk crashing
Sohayb, It could definitely be Proguard. I have two ideas for you. First turn debugging on for the app in the manifest so you can see the debug output on your device. Then turn proguard off and try running your apk on the device. The debug output should tell you what is happening. If the app runs then it is almost definitely Proguard at fault. George On Monday, January 28, 2013 7:34:10 AM UTC-5, Sohayb Hassoun wrote: Hello, I need to publish my application, i ran the Eclipse export wizard and exported a signed apk with a self-signed certificate, i ran the zipalign tool also. The problem is that when installing this package on the device and running it, it crashes directly, although i can run the application directly from eclipse with no problems. Will that have to do with the proguard configurations or anything else?! Regards -- -- 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] All my apps are losing 5 star rates at a really high speed. I've lost more than 200 during this weekend.
Thanks, I've already filled a couple forms from this site... no answer yet. There was a Android Market Google Group before but it has been removed... I hope anyone from Google gets to review these posts. El lunes, 28 de enero de 2013 16:11:02 UTC+1, TreKing escribió: http://developer.android.com/support.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, send email to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
[android-developers] Re: AR (augmented reality) and open gl.
Maybe this book will help? http://www.amazon.com/Android-Augmented-Reality-Professional-Apress/dp/143023945X/ Or maybe the docs for TextureView? http://developer.android.com/reference/android/view/TextureView.html public class LiveCameraActivity extends Activity implements TextureView.SurfaceTextureListener { private Camera mCamera; private TextureView mTextureView; protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); mTextureView = new TextureView(this); mTextureView.setSurfaceTextureListener(this); setContentView(mTextureView); } public void onSurfaceTextureAvailable(SurfaceTexture surface, int width, int height) { mCamera = Camera.open(); try { mCamera.setPreviewTexture(surface); mCamera.startPreview(); } catch (IOException ioe) { // Something bad happened } } public void onSurfaceTextureSizeChanged(SurfaceTexture surface, int width, int height) { // Ignored, Camera does all the work for us } public boolean onSurfaceTextureDestroyed(SurfaceTexture surface) { mCamera.stopPreview(); mCamera.release(); return true; } public void onSurfaceTextureUpdated(SurfaceTexture surface) { // Invoked every time there's a new Camera preview frame } } On Sunday, January 27, 2013 5:49:45 AM UTC-6, JossieKat wrote: I would like to know if there is simple example of overlaying open gl above camera stream to create AR I managed to draw graphics above camera stream using canvas but could not do it with open gl . -- -- 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: Eclipse exported apk crashing
Should you really run zipalign explicitly? Shouldn't the Eclipse export wizard have handled that? On Monday, January 28, 2013 6:34:10 AM UTC-6, Sohayb Hassoun wrote: Hello, I need to publish my application, i ran the Eclipse export wizard and exported a signed apk with a self-signed certificate, i ran the zipalign tool also. The problem is that when installing this package on the device and running it, it crashes directly, although i can run the application directly from eclipse with no problems. Will that have to do with the proguard configurations or anything else?! Regards -- -- 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, send email to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
[android-developers] Re: Insert data from text file to database
You will want to use SQL. Something like this: CREATE TABLE GEODATA (ID INTEGER, NAME VARCHAR(80), TYPE VARCHAR(80)); INSERT INTO GEODATA VALUES(1,'North America','continent'); On Monday, January 28, 2013 8:21:28 AM UTC-6, samuel wrote: I have a text file data . like Australia-country,america-country,North America-continent and the data goes on to a large extent. i need to create database with three columns one for the the ID number, the other for names of the places , and other for the type of place it looks in this way | | | | | 1 | australia | country | |___ _ _|___ |___ | i have this complete data in atext file. How to i insert the data from text file to database? -- -- 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, send email to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
[android-developers] Re: Custom view rendering issue
Maybe use this function in the Canvas class? public void setDrawFilter (DrawFilter filter) *A DrawFilter subclass can be installed in a Canvas. When it is present, it can modify the paint that is used to draw (temporarily). With this, a filter can disable/enable antialiasing, or change the color for everything this is drawn.* On Monday, January 28, 2013 9:18:21 AM UTC-6, cosminr wrote: Unfortunately, the createBitmap() method which accepts DisplayMetrics was added in API level 17 and I need to support a much lower API level. I tried to set the density by passing the DisplayMetrics.densityDpi to Bitmap.setDensity(int) and the problem still persists. On Monday, January 28, 2013 4:38:16 PM UTC+2, Piren wrote: I think its actually the Bitmap's fault... Bitmap.CreateBitmap can also get DisplayMatrics as a variable, try that with your device's DisplayMatrics (I'm guessing it's High, while the default is something lower, thus causing the fuzziness) On Monday, January 28, 2013 12:48:21 PM UTC+2, cosminr wrote: Hi, I am writing a custom view and for optimization purposes, I draw some static part of the view in a Bitmap. Unfortunately, the quality of the rendering when using an offscreen bitmap is noticeably less compared to rendering into the view's canvas bitmap. Here are two screenshots showing the difference Rendering into view's Canvas: https://lh5.googleusercontent.com/-wSjtLmhUgz8/UQZV96LTo6I/AEM/r9saff_8dlM/s1600/01_view_canvas.png Rendering into a Bitmap Canvas https://lh3.googleusercontent.com/-jVuFcXhAf7g/UQZWK7NBNfI/AEU/0AfCGfQMudU/s1600/02_bitmap_canvas.png The difference is most noticeable at the horizontal black line. The anti-aliasing algorithm seems to affect more pixels (is wider). The drawing code is the same in both cases, and the offscreen canvas is created like this final Bitmap tempBitmap = Bitmap.createBitmap(getWidth(), getHeight(), Bitmap.Config.ARGB_); final Canvas tempCanvas = new Canvas(tempBitmap); Any ideas on how to get the same rendering in the offscreen canvas as in the view's ? Thank you -- -- 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, send email to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
[android-developers] Knockoff copy of my app on Google Play.
Hello. There is a knockoff copy of my app on Google Play. It wraps my app with code that presents a full screen ad before launching the app. I complained to Google twice via their report app facility, but didn't get any response and the app is still there. Any ideas on who to talk to to get it removed from Google Play? Thank you. -- -- 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: Custom view rendering issue
you can also set the density on the canvas see this: http://stackoverflow.com/questions/5014882/drawing-a-bitmap-on-a-canvas-got-scaled On Monday, January 28, 2013 5:18:21 PM UTC+2, cosminr wrote: Unfortunately, the createBitmap() method which accepts DisplayMetrics was added in API level 17 and I need to support a much lower API level. I tried to set the density by passing the DisplayMetrics.densityDpi to Bitmap.setDensity(int) and the problem still persists. On Monday, January 28, 2013 4:38:16 PM UTC+2, Piren wrote: I think its actually the Bitmap's fault... Bitmap.CreateBitmap can also get DisplayMatrics as a variable, try that with your device's DisplayMatrics (I'm guessing it's High, while the default is something lower, thus causing the fuzziness) On Monday, January 28, 2013 12:48:21 PM UTC+2, cosminr wrote: Hi, I am writing a custom view and for optimization purposes, I draw some static part of the view in a Bitmap. Unfortunately, the quality of the rendering when using an offscreen bitmap is noticeably less compared to rendering into the view's canvas bitmap. Here are two screenshots showing the difference Rendering into view's Canvas: https://lh5.googleusercontent.com/-wSjtLmhUgz8/UQZV96LTo6I/AEM/r9saff_8dlM/s1600/01_view_canvas.png Rendering into a Bitmap Canvas https://lh3.googleusercontent.com/-jVuFcXhAf7g/UQZWK7NBNfI/AEU/0AfCGfQMudU/s1600/02_bitmap_canvas.png The difference is most noticeable at the horizontal black line. The anti-aliasing algorithm seems to affect more pixels (is wider). The drawing code is the same in both cases, and the offscreen canvas is created like this final Bitmap tempBitmap = Bitmap.createBitmap(getWidth(), getHeight(), Bitmap.Config.ARGB_); final Canvas tempCanvas = new Canvas(tempBitmap); Any ideas on how to get the same rendering in the offscreen canvas as in the view's ? Thank you -- -- 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, send email to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Re: [android-developers] Eclipse exported apk crashing
Thank's man, it was an error from the proguard configuration, this is the error that i got, 01-28 17:49:03.510: E/AndroidRuntime(14897): FATAL EXCEPTION: main 01-28 17:49:03.510: E/AndroidRuntime(14897): java.lang.ExceptionInInitializerError 01-28 17:49:03.510: E/AndroidRuntime(14897): at com.actionbarsherlock.app.SherlockActivity.c(Unknown Source) 01-28 17:49:03.510: E/AndroidRuntime(14897): at com.actionbarsherlock.app.SherlockActivity.onPostCreate(Unknown Source) 01-28 17:49:03.510: E/AndroidRuntime(14897): at android.app.Instrumentation.callActivityOnPostCreate(Instrumentation.java:1115) 01-28 17:49:03.510: E/AndroidRuntime(14897): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:1950) 01-28 17:49:03.510: E/AndroidRuntime(14897): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:1992) 01-28 17:49:03.510: E/AndroidRuntime(14897): at android.app.ActivityThread.access$600(ActivityThread.java:127) 01-28 17:49:03.510: E/AndroidRuntime(14897): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1158) 01-28 17:49:03.510: E/AndroidRuntime(14897): at android.os.Handler.dispatchMessage(Handler.java:99) 01-28 17:49:03.510: E/AndroidRuntime(14897): at android.os.Looper.loop(Looper.java:137) 01-28 17:49:03.510: E/AndroidRuntime(14897): at android.app.ActivityThread.main(ActivityThread.java:4511) 01-28 17:49:03.510: E/AndroidRuntime(14897): at java.lang.reflect.Method.invokeNative(Native Method) 01-28 17:49:03.510: E/AndroidRuntime(14897): at java.lang.reflect.Method.invoke(Method.java:511) 01-28 17:49:03.510: E/AndroidRuntime(14897): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:980) 01-28 17:49:03.510: E/AndroidRuntime(14897): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:747) 01-28 17:49:03.510: E/AndroidRuntime(14897): at dalvik.system.NativeStart.main(Native Method) 01-28 17:49:03.510: E/AndroidRuntime(14897): Caused by: java.lang.IllegalArgumentException: Class a is not annotated with @Implementation 01-28 17:49:03.510: E/AndroidRuntime(14897): at com.actionbarsherlock.a.a(Unknown Source) 01-28 17:49:03.510: E/AndroidRuntime(14897): at com.actionbarsherlock.a.clinit(Unknown Source) On Monday, January 28, 2013 5:13:57 PM UTC+2, TreKing wrote: On Mon, Jan 28, 2013 at 6:34 AM, Sohayb Hassoun sohayb@gmail.comjavascript: wrote: Will that have to do with the proguard configurations or anything else?! How are we supposed to know? Look at the LogCat and at least post the error. - 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] Re: Eclipse exported apk crashing
Seems it isn't a problem of zipalign tool to begin with On Monday, January 28, 2013 5:43:27 PM UTC+2, bob wrote: Should you really run zipalign explicitly? Shouldn't the Eclipse export wizard have handled that? On Monday, January 28, 2013 6:34:10 AM UTC-6, Sohayb Hassoun wrote: Hello, I need to publish my application, i ran the Eclipse export wizard and exported a signed apk with a self-signed certificate, i ran the zipalign tool also. The problem is that when installing this package on the device and running it, it crashes directly, although i can run the application directly from eclipse with no problems. Will that have to do with the proguard configurations or anything else?! Regards -- -- 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, send email to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
[android-developers] Repackagers/APK Hoster
I don't get it. Some sites list apps and link to google play for the download. I don't think this is happening here http://www.bingwap.com/3/free-mobile-games/6/android-games/20243/asmbots.shtml Looks like the apk was appropriated and hosted o/s of the market. Even though this app is free, people downloading from here will miss updates, etc... what to do? -- -- 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, send email to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Re: [android-developers] Mobile network idle sockets disconnected
I am curious what the 3mb/day of data consists of if the servers can't be reached. 3mb of tcp connect attempts? DNS lookups? If it's DNS perhaps you could populate your local DNS server with bogus records so that the DNS requests die down to be replaced with perhaps fewer failing connect attempts? Can you capture this traffic? You could potentially use a different APN type. Instead of using a default type you could put it on type IMS or type MMS. This will involve a bit more work for you, but if you don't a a default connection the other apps shouldn't use any data. This would also mean things like the browser won't work. On Mon, Jan 28, 2013 at 3:58 AM, Goncalo Oliveira gonc...@minkan.netwrote: Sorry for reopening this, but I have a consequence behavior with this and was hoping for some insights. As I said earlier, we are using a very specific APN that allows the connection only to a restricted range of servers. I managed to use a heartbeat every 5 minutes to workaround the GCM issue, and with the app everything is working fine. However, I have another consequence. Because the APN restricts access to anything outside our safe little world, the system is consuming a whole load of data. Android OS consumed 3 mb in three days, Google Services 416 k. In the data settings I was able to restrict Google Services (as well as software updates and others) from using data but I can't do the same for Android OS. This is killing us completely because we have a very restrictive data plans. Any ideas on how I can disable data transfer for everything except my application? Thanks On 21 December 2012 15:55, Goncalo Oliveira gonc...@minkan.net wrote: Robert, Thanks again for clarifying. Basically if I open up GCM I'm allowing user to work with gtalk, so I will want to avoid that. Looks like sending the heartbeat every 5 minutes is the only option I have left. Thanks for the help. Much appreciated. Cheers On 21 December 2012 15:44, Robert Greenwalt rgreenw...@google.comwrote: I believe most of the google apps rely on GCM (calendar, gmail, contacts, talk, etc), also 3rd party apps that need pushed notifications are encouraged to use GCM. Unless you are making a custom build and denying app installs you probably have apps that will be broken without GCM. Of course, if you have very limited data plans on special purpose phones, you may wish for all those apps to be broken - they can use quite a bit of data. I don't know what GCM's steady-state data rate is for a device. I believe it does a carrier keep-alive ping every 20-30 minutes. It also checks for updates whenever the screen comes on. Other than that I think it is dependent on user or network-originating app traffic. R On Fri, Dec 21, 2012 at 2:23 AM, Goncalo Oliveira gonc...@minkan.netwrote: Robert, Thank you for the explanation. There's just one more thing that I'd like you to help me understand. If we choose to allow the GCM connection, what kind of traffic can we expect to have? Like I said previously, we have a very tight data plan, so if the GCM connection adds more than just a few bytes, that might be a bad idea to enable it. Also, by enabling GCM connection, what am I allowing the users to do? Can they use gtalk or something else? Cheers On 21 December 2012 00:17, Robert Greenwalt rgreenw...@google.comwrote: The GCM is part of the platform - 3rd party apps depend on it and so there's no mechanism for deactivating it. If you can allow the GCM connection to succeed, you should avoid the current problems, but if you're going for a secure platform you may not want the GCM connection to succeed. You could potentially hijack the dns resolution: have your dns server report an address you control for mtalk.google.com, then allow connections to your own server, but no real functionallity. With some reverse engineering you may be able to get to a quiet connection that doesn't trigger these data-stall triggers. The easiest solution is to adjust your keep-alive ping to 6 minutes. That will effect the battery, but less than allowing the resets to happen. I have created internal issues to examine this issue, but even if we fixed it today internally you wouldn't see it for a long while. The first issue is to find what traffic is causing this connection reset. The second is to re-eval counting udp packets (I am assuming that's causing part of this problem). I'm sorry you have hit this issue. Robert On Thu, Dec 20, 2012 at 4:30 AM, Goncalo Oliveira gonc...@minkan.netwrote: Robert, Any updates on this? Cheers On 18 December 2012 10:06, Goncalo Oliveira gonc...@minkan.netwrote: consider opening up the addre -- Gonçalo Oliveira -- 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
Re: [android-developers] Mobile network idle sockets disconnected
Hi Robert, thanks for such a prompt answer. Firstly, it's 3 mb in 3 days, 1mb/day. The DNS resolves the addresses correctly, but the connections will fail. Unfortunately I don't have access to DNS servers, so it's a bit harder to capture this traffic. I've installed Onavo count to capture the traffic, and I can see the usage growing up with Android OS. The APN idea seems to be a good workaround. Breaking the brower or other apps isn't really a problem for us, as this is something very specific. Can you tell me where can I find more information on how to do this? Cheers On 28 January 2013 16:14, Robert Greenwalt rgreenw...@google.com wrote: I am curious what the 3mb/day of data consists of if the servers can't be reached. 3mb of tcp connect attempts? DNS lookups? If it's DNS perhaps you could populate your local DNS server with bogus records so that the DNS requests die down to be replaced with perhaps fewer failing connect attempts? Can you capture this traffic? You could potentially use a different APN type. Instead of using a default type you could put it on type IMS or type MMS. This will involve a bit more work for you, but if you don't a a default connection the other apps shouldn't use any data. This would also mean things like the browser won't work. On Mon, Jan 28, 2013 at 3:58 AM, Goncalo Oliveira gonc...@minkan.netwrote: Sorry for reopening this, but I have a consequence behavior with this and was hoping for some insights. As I said earlier, we are using a very specific APN that allows the connection only to a restricted range of servers. I managed to use a heartbeat every 5 minutes to workaround the GCM issue, and with the app everything is working fine. However, I have another consequence. Because the APN restricts access to anything outside our safe little world, the system is consuming a whole load of data. Android OS consumed 3 mb in three days, Google Services 416 k. In the data settings I was able to restrict Google Services (as well as software updates and others) from using data but I can't do the same for Android OS. This is killing us completely because we have a very restrictive data plans. Any ideas on how I can disable data transfer for everything except my application? Thanks On 21 December 2012 15:55, Goncalo Oliveira gonc...@minkan.net wrote: Robert, Thanks again for clarifying. Basically if I open up GCM I'm allowing user to work with gtalk, so I will want to avoid that. Looks like sending the heartbeat every 5 minutes is the only option I have left. Thanks for the help. Much appreciated. Cheers On 21 December 2012 15:44, Robert Greenwalt rgreenw...@google.comwrote: I believe most of the google apps rely on GCM (calendar, gmail, contacts, talk, etc), also 3rd party apps that need pushed notifications are encouraged to use GCM. Unless you are making a custom build and denying app installs you probably have apps that will be broken without GCM. Of course, if you have very limited data plans on special purpose phones, you may wish for all those apps to be broken - they can use quite a bit of data. I don't know what GCM's steady-state data rate is for a device. I believe it does a carrier keep-alive ping every 20-30 minutes. It also checks for updates whenever the screen comes on. Other than that I think it is dependent on user or network-originating app traffic. R On Fri, Dec 21, 2012 at 2:23 AM, Goncalo Oliveira gonc...@minkan.netwrote: Robert, Thank you for the explanation. There's just one more thing that I'd like you to help me understand. If we choose to allow the GCM connection, what kind of traffic can we expect to have? Like I said previously, we have a very tight data plan, so if the GCM connection adds more than just a few bytes, that might be a bad idea to enable it. Also, by enabling GCM connection, what am I allowing the users to do? Can they use gtalk or something else? Cheers On 21 December 2012 00:17, Robert Greenwalt rgreenw...@google.comwrote: The GCM is part of the platform - 3rd party apps depend on it and so there's no mechanism for deactivating it. If you can allow the GCM connection to succeed, you should avoid the current problems, but if you're going for a secure platform you may not want the GCM connection to succeed. You could potentially hijack the dns resolution: have your dns server report an address you control for mtalk.google.com, then allow connections to your own server, but no real functionallity. With some reverse engineering you may be able to get to a quiet connection that doesn't trigger these data-stall triggers. The easiest solution is to adjust your keep-alive ping to 6 minutes. That will effect the battery, but less than allowing the resets to happen. I have created internal issues to examine this issue, but even if we fixed it today internally you wouldn't see it for a long while. The first issue is to
[android-developers] jumping thru Android source
Does anyone know why Eclipse chokes when I try to jump around in Android source? I have this method in my Activity: @Override protected void onResume() { super.onResume(); mView.onResume(); } So, I jumped into onResume of mView (GLSurfaceView): public void onResume() { mGLThread.onResume(); } So then I try to jump to the declaration of mGLThread (which is right in GLSurfaceView at the bottom of the file). However, Eclipse won't do it. It says Current text selection cannot be opened in an editor Any ideas why this doesn't work? https://lh5.googleusercontent.com/-tllgem2rvjo/UQasPyfXnUI/AK4/jD7Urk4lCpw/s1600/err2.png -- -- 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, send email to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
[android-developers] Re: Knockoff copy of my app on Google Play.
Was your app open source? I don't see how they could do this from a technical perspective. On Monday, January 28, 2013 9:58:09 AM UTC-6, jeka wrote: Hello. There is a knockoff copy of my app on Google Play. It wraps my app with code that presents a full screen ad before launching the app. I complained to Google twice via their report app facility, but didn't get any response and the app is still there. Any ideas on who to talk to to get it removed from Google Play? Thank you. -- -- 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, send email to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Re: [android-developers] Mobile network idle sockets disconnected
I don't think you're making your own builds, so you'll have to set the APN data on each device (though you probably already have to do this as it's not a public apn). In the apn data set the type of the apn to mms instead of default or blank. Remove any default/blank apn for your mcc/mnc pair. In your app, you will need to call CM.startUsingNetworkFeature(TYPE_MOBILE, enableMMS). This will turn off every 10 minutes (by default - may be different on different phones) so you need to call it repeatedly forever perhaps every 9.5 minutes. Then you need to call requestRouteToHost(TYPE_MOBILE_MMS, int addr) for every IP addr you're accessing. Then you should be able to access the servers normally. R On Mon, Jan 28, 2013 at 8:34 AM, Goncalo Oliveira gonc...@minkan.netwrote: Hi Robert, thanks for such a prompt answer. Firstly, it's 3 mb in 3 days, 1mb/day. The DNS resolves the addresses correctly, but the connections will fail. Unfortunately I don't have access to DNS servers, so it's a bit harder to capture this traffic. I've installed Onavo count to capture the traffic, and I can see the usage growing up with Android OS. The APN idea seems to be a good workaround. Breaking the brower or other apps isn't really a problem for us, as this is something very specific. Can you tell me where can I find more information on how to do this? Cheers On 28 January 2013 16:14, Robert Greenwalt rgreenw...@google.com wrote: I am curious what the 3mb/day of data consists of if the servers can't be reached. 3mb of tcp connect attempts? DNS lookups? If it's DNS perhaps you could populate your local DNS server with bogus records so that the DNS requests die down to be replaced with perhaps fewer failing connect attempts? Can you capture this traffic? You could potentially use a different APN type. Instead of using a default type you could put it on type IMS or type MMS. This will involve a bit more work for you, but if you don't a a default connection the other apps shouldn't use any data. This would also mean things like the browser won't work. On Mon, Jan 28, 2013 at 3:58 AM, Goncalo Oliveira gonc...@minkan.netwrote: Sorry for reopening this, but I have a consequence behavior with this and was hoping for some insights. As I said earlier, we are using a very specific APN that allows the connection only to a restricted range of servers. I managed to use a heartbeat every 5 minutes to workaround the GCM issue, and with the app everything is working fine. However, I have another consequence. Because the APN restricts access to anything outside our safe little world, the system is consuming a whole load of data. Android OS consumed 3 mb in three days, Google Services 416 k. In the data settings I was able to restrict Google Services (as well as software updates and others) from using data but I can't do the same for Android OS. This is killing us completely because we have a very restrictive data plans. Any ideas on how I can disable data transfer for everything except my application? Thanks On 21 December 2012 15:55, Goncalo Oliveira gonc...@minkan.net wrote: Robert, Thanks again for clarifying. Basically if I open up GCM I'm allowing user to work with gtalk, so I will want to avoid that. Looks like sending the heartbeat every 5 minutes is the only option I have left. Thanks for the help. Much appreciated. Cheers On 21 December 2012 15:44, Robert Greenwalt rgreenw...@google.comwrote: I believe most of the google apps rely on GCM (calendar, gmail, contacts, talk, etc), also 3rd party apps that need pushed notifications are encouraged to use GCM. Unless you are making a custom build and denying app installs you probably have apps that will be broken without GCM. Of course, if you have very limited data plans on special purpose phones, you may wish for all those apps to be broken - they can use quite a bit of data. I don't know what GCM's steady-state data rate is for a device. I believe it does a carrier keep-alive ping every 20-30 minutes. It also checks for updates whenever the screen comes on. Other than that I think it is dependent on user or network-originating app traffic. R On Fri, Dec 21, 2012 at 2:23 AM, Goncalo Oliveira gonc...@minkan.netwrote: Robert, Thank you for the explanation. There's just one more thing that I'd like you to help me understand. If we choose to allow the GCM connection, what kind of traffic can we expect to have? Like I said previously, we have a very tight data plan, so if the GCM connection adds more than just a few bytes, that might be a bad idea to enable it. Also, by enabling GCM connection, what am I allowing the users to do? Can they use gtalk or something else? Cheers On 21 December 2012 00:17, Robert Greenwalt rgreenw...@google.comwrote: The GCM is part of the platform - 3rd party apps depend on it and so there's no mechanism for deactivating it. If you can
Re: [android-developers] Mobile network idle sockets disconnected
I wonder if you don't resolve the DNS if your data use will decline? You could test that on an isolated wifi I suppose. On Mon, Jan 28, 2013 at 8:59 AM, Robert Greenwalt rgreenw...@google.comwrote: I don't think you're making your own builds, so you'll have to set the APN data on each device (though you probably already have to do this as it's not a public apn). In the apn data set the type of the apn to mms instead of default or blank. Remove any default/blank apn for your mcc/mnc pair. In your app, you will need to call CM.startUsingNetworkFeature(TYPE_MOBILE, enableMMS). This will turn off every 10 minutes (by default - may be different on different phones) so you need to call it repeatedly forever perhaps every 9.5 minutes. Then you need to call requestRouteToHost(TYPE_MOBILE_MMS, int addr) for every IP addr you're accessing. Then you should be able to access the servers normally. R On Mon, Jan 28, 2013 at 8:34 AM, Goncalo Oliveira gonc...@minkan.netwrote: Hi Robert, thanks for such a prompt answer. Firstly, it's 3 mb in 3 days, 1mb/day. The DNS resolves the addresses correctly, but the connections will fail. Unfortunately I don't have access to DNS servers, so it's a bit harder to capture this traffic. I've installed Onavo count to capture the traffic, and I can see the usage growing up with Android OS. The APN idea seems to be a good workaround. Breaking the brower or other apps isn't really a problem for us, as this is something very specific. Can you tell me where can I find more information on how to do this? Cheers On 28 January 2013 16:14, Robert Greenwalt rgreenw...@google.com wrote: I am curious what the 3mb/day of data consists of if the servers can't be reached. 3mb of tcp connect attempts? DNS lookups? If it's DNS perhaps you could populate your local DNS server with bogus records so that the DNS requests die down to be replaced with perhaps fewer failing connect attempts? Can you capture this traffic? You could potentially use a different APN type. Instead of using a default type you could put it on type IMS or type MMS. This will involve a bit more work for you, but if you don't a a default connection the other apps shouldn't use any data. This would also mean things like the browser won't work. On Mon, Jan 28, 2013 at 3:58 AM, Goncalo Oliveira gonc...@minkan.netwrote: Sorry for reopening this, but I have a consequence behavior with this and was hoping for some insights. As I said earlier, we are using a very specific APN that allows the connection only to a restricted range of servers. I managed to use a heartbeat every 5 minutes to workaround the GCM issue, and with the app everything is working fine. However, I have another consequence. Because the APN restricts access to anything outside our safe little world, the system is consuming a whole load of data. Android OS consumed 3 mb in three days, Google Services 416 k. In the data settings I was able to restrict Google Services (as well as software updates and others) from using data but I can't do the same for Android OS. This is killing us completely because we have a very restrictive data plans. Any ideas on how I can disable data transfer for everything except my application? Thanks On 21 December 2012 15:55, Goncalo Oliveira gonc...@minkan.net wrote: Robert, Thanks again for clarifying. Basically if I open up GCM I'm allowing user to work with gtalk, so I will want to avoid that. Looks like sending the heartbeat every 5 minutes is the only option I have left. Thanks for the help. Much appreciated. Cheers On 21 December 2012 15:44, Robert Greenwalt rgreenw...@google.comwrote: I believe most of the google apps rely on GCM (calendar, gmail, contacts, talk, etc), also 3rd party apps that need pushed notifications are encouraged to use GCM. Unless you are making a custom build and denying app installs you probably have apps that will be broken without GCM. Of course, if you have very limited data plans on special purpose phones, you may wish for all those apps to be broken - they can use quite a bit of data. I don't know what GCM's steady-state data rate is for a device. I believe it does a carrier keep-alive ping every 20-30 minutes. It also checks for updates whenever the screen comes on. Other than that I think it is dependent on user or network-originating app traffic. R On Fri, Dec 21, 2012 at 2:23 AM, Goncalo Oliveira gonc...@minkan.net wrote: Robert, Thank you for the explanation. There's just one more thing that I'd like you to help me understand. If we choose to allow the GCM connection, what kind of traffic can we expect to have? Like I said previously, we have a very tight data plan, so if the GCM connection adds more than just a few bytes, that might be a bad idea to enable it. Also, by enabling GCM connection, what am I allowing the users to do? Can they use gtalk or something
Re: [android-developers] UnknownHostException is not logged
I think a case could also be made for logging the UnknownHostException without the stack trace (just the server name) as an in between step. Thanks for the bugreport. On Fri, Jan 25, 2013 at 3:08 PM, Boris Burtin bbur...@gmail.com wrote: Thanks for responding. I can see the reasoning. Just seems weird that the behavior isn't documented, and that there's no way for me to override it. I'll file a bug for updating the Javadoc. On Friday, January 25, 2013 2:40:10 PM UTC-8, Robert Greenwalt wrote: You can always do the dns lookup yourself and log an error if it's invalid. The DNS cache will ensure it's not wasted effort. On Fri, Jan 25, 2013 at 2:39 PM, Robert Greenwalt rgree...@google.comwrote: I think the log was getting quite full of these exceptions (mobile devices often don't have a network and apps aren't so good at checking that first) so we stopped logging them. If you look at the blame for this code you can see the reasoning. On Fri, Jan 25, 2013 at 2:31 PM, Boris Burtin bbu...@gmail.com wrote: I was racking my brain, trying to figure out why one of my users was having trouble connecting and nothing was in the logs. Finally I looked at the Android source and realized that the logging code explicitly ignores UnknownHostException. Even worse, the Javadoc doesn't specify this behavior. Does this sound like a bug to anyone, as opposed to a feature? In my case, the user enters the hostname, so it's possible to get this exception while the user has a network connection. /** * Handy function to get a loggable stack trace from a Throwable * @param tr An exception to log */ public static String getStackTraceString(Throwable tr) { if (tr == null) { return ; } // This is to reduce the amount of log spew that apps do in the non-error // condition of the network being unavailable. Throwable t = tr; while (t != null) { if (t instanceof UnknownHostException) { return ; } t = t.getCause(); } StringWriter sw = new StringWriter(); PrintWriter pw = new PrintWriter(sw); tr.printStackTrace(pw); return sw.toString(); } -- -- 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=enhttp://groups.google.com/group/android-developers?hl=en -- -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- -- 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] Mobile network idle sockets disconnected
Thanks Robert, I really appreciate your help. I'll try as you suggest. On 28 January 2013 16:59, Robert Greenwalt rgreenw...@google.com wrote: I don't think you're making your own builds, so you'll have to set the APN data on each device (though you probably already have to do this as it's not a public apn). In the apn data set the type of the apn to mms instead of default or blank. Remove any default/blank apn for your mcc/mnc pair. In your app, you will need to call CM.startUsingNetworkFeature(TYPE_MOBILE, enableMMS). This will turn off every 10 minutes (by default - may be different on different phones) so you need to call it repeatedly forever perhaps every 9.5 minutes. Then you need to call requestRouteToHost(TYPE_MOBILE_MMS, int addr) for every IP addr you're accessing. Then you should be able to access the servers normally. R On Mon, Jan 28, 2013 at 8:34 AM, Goncalo Oliveira gonc...@minkan.netwrote: Hi Robert, thanks for such a prompt answer. Firstly, it's 3 mb in 3 days, 1mb/day. The DNS resolves the addresses correctly, but the connections will fail. Unfortunately I don't have access to DNS servers, so it's a bit harder to capture this traffic. I've installed Onavo count to capture the traffic, and I can see the usage growing up with Android OS. The APN idea seems to be a good workaround. Breaking the brower or other apps isn't really a problem for us, as this is something very specific. Can you tell me where can I find more information on how to do this? Cheers On 28 January 2013 16:14, Robert Greenwalt rgreenw...@google.com wrote: I am curious what the 3mb/day of data consists of if the servers can't be reached. 3mb of tcp connect attempts? DNS lookups? If it's DNS perhaps you could populate your local DNS server with bogus records so that the DNS requests die down to be replaced with perhaps fewer failing connect attempts? Can you capture this traffic? You could potentially use a different APN type. Instead of using a default type you could put it on type IMS or type MMS. This will involve a bit more work for you, but if you don't a a default connection the other apps shouldn't use any data. This would also mean things like the browser won't work. On Mon, Jan 28, 2013 at 3:58 AM, Goncalo Oliveira gonc...@minkan.netwrote: Sorry for reopening this, but I have a consequence behavior with this and was hoping for some insights. As I said earlier, we are using a very specific APN that allows the connection only to a restricted range of servers. I managed to use a heartbeat every 5 minutes to workaround the GCM issue, and with the app everything is working fine. However, I have another consequence. Because the APN restricts access to anything outside our safe little world, the system is consuming a whole load of data. Android OS consumed 3 mb in three days, Google Services 416 k. In the data settings I was able to restrict Google Services (as well as software updates and others) from using data but I can't do the same for Android OS. This is killing us completely because we have a very restrictive data plans. Any ideas on how I can disable data transfer for everything except my application? Thanks On 21 December 2012 15:55, Goncalo Oliveira gonc...@minkan.net wrote: Robert, Thanks again for clarifying. Basically if I open up GCM I'm allowing user to work with gtalk, so I will want to avoid that. Looks like sending the heartbeat every 5 minutes is the only option I have left. Thanks for the help. Much appreciated. Cheers On 21 December 2012 15:44, Robert Greenwalt rgreenw...@google.comwrote: I believe most of the google apps rely on GCM (calendar, gmail, contacts, talk, etc), also 3rd party apps that need pushed notifications are encouraged to use GCM. Unless you are making a custom build and denying app installs you probably have apps that will be broken without GCM. Of course, if you have very limited data plans on special purpose phones, you may wish for all those apps to be broken - they can use quite a bit of data. I don't know what GCM's steady-state data rate is for a device. I believe it does a carrier keep-alive ping every 20-30 minutes. It also checks for updates whenever the screen comes on. Other than that I think it is dependent on user or network-originating app traffic. R On Fri, Dec 21, 2012 at 2:23 AM, Goncalo Oliveira gonc...@minkan.net wrote: Robert, Thank you for the explanation. There's just one more thing that I'd like you to help me understand. If we choose to allow the GCM connection, what kind of traffic can we expect to have? Like I said previously, we have a very tight data plan, so if the GCM connection adds more than just a few bytes, that might be a bad idea to enable it. Also, by enabling GCM connection, what am I allowing the users to do? Can they use gtalk or something else? Cheers On 21 December 2012 00:17, Robert
Re: [android-developers] All my apps are losing 5 star rates at a really high speed. I've lost more than 200 during this weekend.
On Mon, Jan 28, 2013 at 9:20 AM, Héctor Júdez hju...@gmail.com wrote: I hope anyone from Google gets to review these posts. Not for Android Market issues, they 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, send email to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
[android-developers] Re: Knockoff copy of my app on Google Play.
No, it wasn't open source. As far as actually doing: it is very easily done from a technical perspective. Just copy an APK, package it with your own, and make your start activity call an activity from the APK. I'm trivializing a bit, but there is really not much more to it than that. The wrapping code could do all sorts of things before calling through to my activity (in fact, this is how a lot of Trojans get out there), but at the surface, it seems they are only doing it to run a full screen ad before the app opens. On Monday, January 28, 2013 11:55:42 AM UTC-5, bob wrote: Was your app open source? I don't see how they could do this from a technical perspective. On Monday, January 28, 2013 9:58:09 AM UTC-6, jeka wrote: Hello. There is a knockoff copy of my app on Google Play. It wraps my app with code that presents a full screen ad before launching the app. I complained to Google twice via their report app facility, but didn't get any response and the app is still there. Any ideas on who to talk to to get it removed from Google Play? Thank you. -- -- 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, send email to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
[android-developers] Re: Knockoff copy of my app on Google Play.
Just decompile, add ad activity, change manifest and recompile. Haven't tried but can probably be automated for most apps. -- -- 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, send email to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Re: [android-developers] Repackagers/APK Hoster
On Mon, Jan 28, 2013 at 10:09 AM, JackN j...@jacknorth.com wrote: what to do? Contact the site host and request the app be removed, assuming you own the app. - 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] Re: Knockoff copy of my app on Google Play.
I noticed that Proguard is able to produce obfuscated code which makes Java Decompiler http://java.decompiler.free.fr/ crash. It's a reasonable step to obfuscate any app (also free ones) in order to make it harder to figure out where to apply these changes or how to crack them. More advanced protection steps are described herehttp://www.google.com/events/io/2011/sessions/evading-pirates-and-stopping-vampires-using-license-verification-library-in-app-billing-and-app-engine.html. To sum it up: on top of code-obfuscation you need to add hidden self-integrity checks to your app that try to validate the package signature. On Monday, January 28, 2013 11:27:00 AM UTC-6, Johan Appelgren wrote: Just decompile, add ad activity, change manifest and recompile. Haven't tried but can probably be automated for most apps. -- -- 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, send email to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Re: [android-developers] Re: Knockoff copy of my app on Google Play.
Those can also be circumvented... But yes, it's possible to make it harder. kris On Mon, Jan 28, 2013 at 12:36 PM, Nobu Games dev.nobu.ga...@gmail.com wrote: I noticed that Proguard is able to produce obfuscated code which makes Java Decompiler crash. It's a reasonable step to obfuscate any app (also free ones) in order to make it harder to figure out where to apply these changes or how to crack them. More advanced protection steps are described here. To sum it up: on top of code-obfuscation you need to add hidden self-integrity checks to your app that try to validate the package signature. On Monday, January 28, 2013 11:27:00 AM UTC-6, Johan Appelgren wrote: Just decompile, add ad activity, change manifest and recompile. Haven't tried but can probably be automated for most apps. -- -- 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, send 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] Re: Knockoff copy of my app on Google Play.
You don't need to decompile anything to achieve what I'm describing. Your APK can have another APK as a payload and simply execute its own activity before starting the one from another APK. I won't get into details simply because I don't want to give anybody the wrong ideas, but it is easy to do. But that is besides the point. The point here is this: now that I know this is being done with my app, who, if anybody at Google can take the knockoff down? At best, it is stealing from me. At worst, it is planting Trojans... On Monday, January 28, 2013 12:36:14 PM UTC-5, Nobu Games wrote: I noticed that Proguard is able to produce obfuscated code which makes Java Decompiler http://java.decompiler.free.fr/ crash. It's a reasonable step to obfuscate any app (also free ones) in order to make it harder to figure out where to apply these changes or how to crack them. More advanced protection steps are described herehttp://www.google.com/events/io/2011/sessions/evading-pirates-and-stopping-vampires-using-license-verification-library-in-app-billing-and-app-engine.html. To sum it up: on top of code-obfuscation you need to add hidden self-integrity checks to your app that try to validate the package signature. On Monday, January 28, 2013 11:27:00 AM UTC-6, Johan Appelgren wrote: Just decompile, add ad activity, change manifest and recompile. Haven't tried but can probably be automated for most apps. -- -- 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, send email to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Re: [android-developers] All my apps are losing 5 star rates at a really high speed. I've lost more than 200 during this weekend.
I have just lost another 14 stars... They got rid of the forum and they don´t answer questions in their help center. El lunes, 28 de enero de 2013 18:21:23 UTC+1, TreKing escribió: On Mon, Jan 28, 2013 at 9:20 AM, Héctor Júdez hju...@gmail.comjavascript: wrote: I hope anyone from Google gets to review these posts. Not for Android Market issues, they 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, send email to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Re: [android-developers] Re: Knockoff copy of my app on Google Play.
Morally, it's basically decompiling, you can fiddle with the bytecode too, decompiling is just the next step.. As for your second question: this forum isn't monitored by the Google play people. However, you might get lucky and have someone from the dev team forward it along. The best I've heard is people getting responses from Google's report an app button. Kris On Mon, Jan 28, 2013 at 12:55 PM, jeka jro...@gmail.com wrote: You don't need to decompile anything to achieve what I'm describing. Your APK can have another APK as a payload and simply execute its own activity before starting the one from another APK. I won't get into details simply because I don't want to give anybody the wrong ideas, but it is easy to do. But that is besides the point. The point here is this: now that I know this is being done with my app, who, if anybody at Google can take the knockoff down? At best, it is stealing from me. At worst, it is planting Trojans... On Monday, January 28, 2013 12:36:14 PM UTC-5, Nobu Games wrote: I noticed that Proguard is able to produce obfuscated code which makes Java Decompiler crash. It's a reasonable step to obfuscate any app (also free ones) in order to make it harder to figure out where to apply these changes or how to crack them. More advanced protection steps are described here. To sum it up: on top of code-obfuscation you need to add hidden self-integrity checks to your app that try to validate the package signature. On Monday, January 28, 2013 11:27:00 AM UTC-6, Johan Appelgren wrote: Just decompile, add ad activity, change manifest and recompile. Haven't tried but can probably be automated for most apps. -- -- 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, send 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, send email to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Re: [android-developers] Re: Knockoff copy of my app on Google Play.
I reported the app twice, both times without so much as an acknowledgement email, meanwhile, the app is getting downloads... Here is hoping someone from Google sees this. On Monday, January 28, 2013 1:28:49 PM UTC-5, Kristopher Micinski wrote: Morally, it's basically decompiling, you can fiddle with the bytecode too, decompiling is just the next step.. As for your second question: this forum isn't monitored by the Google play people. However, you might get lucky and have someone from the dev team forward it along. The best I've heard is people getting responses from Google's report an app button. Kris On Mon, Jan 28, 2013 at 12:55 PM, jeka jro...@gmail.com javascript: wrote: You don't need to decompile anything to achieve what I'm describing. Your APK can have another APK as a payload and simply execute its own activity before starting the one from another APK. I won't get into details simply because I don't want to give anybody the wrong ideas, but it is easy to do. But that is besides the point. The point here is this: now that I know this is being done with my app, who, if anybody at Google can take the knockoff down? At best, it is stealing from me. At worst, it is planting Trojans... On Monday, January 28, 2013 12:36:14 PM UTC-5, Nobu Games wrote: I noticed that Proguard is able to produce obfuscated code which makes Java Decompiler crash. It's a reasonable step to obfuscate any app (also free ones) in order to make it harder to figure out where to apply these changes or how to crack them. More advanced protection steps are described here. To sum it up: on top of code-obfuscation you need to add hidden self-integrity checks to your app that try to validate the package signature. On Monday, January 28, 2013 11:27:00 AM UTC-6, Johan Appelgren wrote: Just decompile, add ad activity, change manifest and recompile. Haven't tried but can probably be automated for most apps. -- -- 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, send 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, send email to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Re: [android-developers] Re: Knockoff copy of my app on Google Play.
This is the typical story. Actually, you'll see worse stories: people whose competitors report their app (when it is in fact the original) and Google shuts down their legitimate app. (Then, they won't get a reply for ages, their developer account is suspended, all their apps are gone, poof!) You should also comment and leave a bad review for the illegitimate app and contact its developer. Kris On Mon, Jan 28, 2013 at 1:43 PM, jeka jro...@gmail.com wrote: I reported the app twice, both times without so much as an acknowledgement email, meanwhile, the app is getting downloads... Here is hoping someone from Google sees this. On Monday, January 28, 2013 1:28:49 PM UTC-5, Kristopher Micinski wrote: Morally, it's basically decompiling, you can fiddle with the bytecode too, decompiling is just the next step.. As for your second question: this forum isn't monitored by the Google play people. However, you might get lucky and have someone from the dev team forward it along. The best I've heard is people getting responses from Google's report an app button. Kris On Mon, Jan 28, 2013 at 12:55 PM, jeka jro...@gmail.com wrote: You don't need to decompile anything to achieve what I'm describing. Your APK can have another APK as a payload and simply execute its own activity before starting the one from another APK. I won't get into details simply because I don't want to give anybody the wrong ideas, but it is easy to do. But that is besides the point. The point here is this: now that I know this is being done with my app, who, if anybody at Google can take the knockoff down? At best, it is stealing from me. At worst, it is planting Trojans... On Monday, January 28, 2013 12:36:14 PM UTC-5, Nobu Games wrote: I noticed that Proguard is able to produce obfuscated code which makes Java Decompiler crash. It's a reasonable step to obfuscate any app (also free ones) in order to make it harder to figure out where to apply these changes or how to crack them. More advanced protection steps are described here. To sum it up: on top of code-obfuscation you need to add hidden self-integrity checks to your app that try to validate the package signature. On Monday, January 28, 2013 11:27:00 AM UTC-6, Johan Appelgren wrote: Just decompile, add ad activity, change manifest and recompile. Haven't tried but can probably be automated for most apps. -- -- 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, send 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, send 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, send email to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Re: [android-developers] Re: Knockoff copy of my app on Google Play.
You can contact an Android Developer Relations person: https://plus.google.com/+AndroidDevelopers/posts It appears that the circle for that group are all DevRels. I may be wrong in that. You may recognize one or more of the people there. Usually, it's easy to find their email and contact them directly about such a thing. You may never get a response but it's certainly worth trying. I've found DevRels to be responsive and helpful in the past. -John Coryat On Monday, January 28, 2013 12:43:54 PM UTC-6, jeka wrote: I reported the app twice, both times without so much as an acknowledgement email, meanwhile, the app is getting downloads... Here is hoping someone from Google sees this. On Monday, January 28, 2013 1:28:49 PM UTC-5, Kristopher Micinski wrote: Morally, it's basically decompiling, you can fiddle with the bytecode too, decompiling is just the next step.. As for your second question: this forum isn't monitored by the Google play people. However, you might get lucky and have someone from the dev team forward it along. The best I've heard is people getting responses from Google's report an app button. Kris On Mon, Jan 28, 2013 at 12:55 PM, jeka jro...@gmail.com wrote: You don't need to decompile anything to achieve what I'm describing. Your APK can have another APK as a payload and simply execute its own activity before starting the one from another APK. I won't get into details simply because I don't want to give anybody the wrong ideas, but it is easy to do. But that is besides the point. The point here is this: now that I know this is being done with my app, who, if anybody at Google can take the knockoff down? At best, it is stealing from me. At worst, it is planting Trojans... On Monday, January 28, 2013 12:36:14 PM UTC-5, Nobu Games wrote: I noticed that Proguard is able to produce obfuscated code which makes Java Decompiler crash. It's a reasonable step to obfuscate any app (also free ones) in order to make it harder to figure out where to apply these changes or how to crack them. More advanced protection steps are described here. To sum it up: on top of code-obfuscation you need to add hidden self-integrity checks to your app that try to validate the package signature. On Monday, January 28, 2013 11:27:00 AM UTC-6, Johan Appelgren wrote: Just decompile, add ad activity, change manifest and recompile. Haven't tried but can probably be automated for most apps. -- -- 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, send 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, send email to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Re: [android-developers] All my apps are losing 5 star rates at a really high speed. I've lost more than 200 during this weekend.
It might be that Google is consolidating ratings that were done by one person a number of times. It might also be that the ones determined to be fraudulent are being removed. It might also be possible that whatever algorithm is doing the work has a bug and is flagging actual, real reviews and ratings. We all know that's probably impossible though. I've seen two ratings disappear out of over 25,000. You can't let things like this bother you. It's probably happening system wide so everyone is being affected. -John Coryat On Monday, January 28, 2013 12:19:47 PM UTC-6, Héctor Júdez wrote: I have just lost another 14 stars... They got rid of the forum and they don´t answer questions in their help center. El lunes, 28 de enero de 2013 18:21:23 UTC+1, TreKing escribió: On Mon, Jan 28, 2013 at 9:20 AM, Héctor Júdez hju...@gmail.com wrote: I hope anyone from Google gets to review these posts. Not for Android Market issues, they 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, send email to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
[android-developers] Re: Repackagers/APK Hoster
was going to do that, but they don't list a DMCA agent (I dont want to get involved with rogue players). I think i will send a takedown to their host (Colo at 55, LLC). I am sure this will be more damaging to them as a whole. On Monday, January 28, 2013 8:09:50 AM UTC-8, JackN wrote: I don't get it. Some sites list apps and link to google play for the download. I don't think this is happening here http://www.bingwap.com/3/free-mobile-games/6/android-games/20243/asmbots.shtml Looks like the apk was appropriated and hosted o/s of the market. Even though this app is free, people downloading from here will miss updates, etc... what to do? -- -- 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, send email to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Re: [android-developers] All my apps are losing 5 star rates at a really high speed. I've lost more than 200 during this weekend.
Rates are not fraudulent and I assume they are getting rid of old rates. My app has been in the market for more than 3 years and I have the feeling they are getting rid of the old rates because new comments are unaffected. Two out of 25k rates is meaningless. I am losing 270 rates out of around 2.5k.. that's more than 10% of all the rates that have taken me 3 years to earn. This is my portfolio and my reputation. My app (Car Finder AR) is in the Top 30 of most countries in the travel section and I don´t understand why they are doing this... I really hope is a bug. El lunes, 28 de enero de 2013 20:32:07 UTC+1, John Coryat escribió: It might be that Google is consolidating ratings that were done by one person a number of times. It might also be that the ones determined to be fraudulent are being removed. It might also be possible that whatever algorithm is doing the work has a bug and is flagging actual, real reviews and ratings. We all know that's probably impossible though. I've seen two ratings disappear out of over 25,000. You can't let things like this bother you. It's probably happening system wide so everyone is being affected. -John Coryat On Monday, January 28, 2013 12:19:47 PM UTC-6, Héctor Júdez wrote: I have just lost another 14 stars... They got rid of the forum and they don´t answer questions in their help center. El lunes, 28 de enero de 2013 18:21:23 UTC+1, TreKing escribió: On Mon, Jan 28, 2013 at 9:20 AM, Héctor Júdez hju...@gmail.com wrote: I hope anyone from Google gets to review these posts. Not for Android Market issues, they 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, send email to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Re: [android-developers] All my apps are losing 5 star rates at a really high speed. I've lost more than 200 during this weekend.
by the way.. this has happened before in July 2011 and it was a bug. Just search on the Internet. However before you could gatter all together and complain in the Market Google Group... now this group is gone and we cannot complain any more. El lunes, 28 de enero de 2013 20:51:34 UTC+1, Héctor Júdez escribió: Rates are not fraudulent and I assume they are getting rid of old rates. My app has been in the market for more than 3 years and I have the feeling they are getting rid of the old rates because new comments are unaffected. Two out of 25k rates is meaningless. I am losing 270 rates out of around 2.5k.. that's more than 10% of all the rates that have taken me 3 years to earn. This is my portfolio and my reputation. My app (Car Finder AR) is in the Top 30 of most countries in the travel section and I don´t understand why they are doing this... I really hope is a bug. El lunes, 28 de enero de 2013 20:32:07 UTC+1, John Coryat escribió: It might be that Google is consolidating ratings that were done by one person a number of times. It might also be that the ones determined to be fraudulent are being removed. It might also be possible that whatever algorithm is doing the work has a bug and is flagging actual, real reviews and ratings. We all know that's probably impossible though. I've seen two ratings disappear out of over 25,000. You can't let things like this bother you. It's probably happening system wide so everyone is being affected. -John Coryat On Monday, January 28, 2013 12:19:47 PM UTC-6, Héctor Júdez wrote: I have just lost another 14 stars... They got rid of the forum and they don´t answer questions in their help center. El lunes, 28 de enero de 2013 18:21:23 UTC+1, TreKing escribió: On Mon, Jan 28, 2013 at 9:20 AM, Héctor Júdez hju...@gmail.com wrote: I hope anyone from Google gets to review these posts. Not for Android Market issues, they 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, send email to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Re: [android-developers] All my apps are losing 5 star rates at a really high speed. I've lost more than 200 during this weekend.
Rates are not fraudulent... How do you know that? Only God and Google know. Don't worry about things you can't change! -John Coryat -- -- 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] Nesting layouts??
I'd like to design a layout with multiple items displayed in a similar format. I'd lilke each displayed using 2 TextViews. Is it possible to create 1 xml layout file with the defnition and then refer to that file multiple times. -- -- 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, send email to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Re: [android-developers] All my apps are losing 5 star rates at a really high speed. I've lost more than 200 during this weekend.
On Mon, Jan 28, 2013 at 1:55 PM, Héctor Júdez hju...@gmail.com wrote: However before you could gatter all together and complain in the Market Google Group... now this group is gone and we cannot complain any more. You're doing a fine job without that forum ;) Honestly, it sucks, but there's no sense in continuing to complain here. I checked my apps and I seem to be missing some ratings as well from early on. Not sure if there are more missing, I don't track them in that much detail. Whatever the reason is, you're not going to get anywhere stressing about it and raising a ruckus here. Contact Google Play support knowing full well you won't get a response, or pester Googler's on G+, or wait it out and see what happens. When stuff like this happens on Google Play, it's usually a sign of features or changes coming. - 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, send email to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Re: [android-developers] Nesting layouts??
On Mon, Jan 28, 2013 at 2:05 PM, dashman erjdri...@gmail.com wrote: Is it possible to create 1 xml layout file with the defnition and then refer to that file multiple times. Yes, it is possible. And covered in the documentation. Look for include. - 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] pause breaks...
So, let's say I have my app running. Then I close the magnetic case. Then, I wait one second. Then, I open the case. So, my understanding is that onPause gets called upon closing the case. Then onResume gets called upon opening the case. The confusing part is that some of the stuff in the old program is valid, and some isn't. I guess I have to re-load all OpenGL textures for one thing? Is there an easy rule of thumb to know what is valid and what isn't after an onPause/onResume? 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, send email to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
[android-developers] Re: pause breaks...
As soon as your OpenGL context changes you'll need to reload all textures. The Renderer.onSurfaceCreated method has a very good explanation of what's going on under the hood and what is required from you: Called when the surface is created or recreated. Called when the rendering thread starts and whenever the EGL context is lost. The EGL context *will typically be lost* when the Android device *awakes after going to sleep*. Since this method is called at the beginning of rendering, as well as every time the EGL context is lost, *this method is a convenient place to put code to create resources that need to be created when the rendering starts*, and that need to be recreated when the EGL context is lost. Textures are an example of a resource that you might want to create here. On Monday, January 28, 2013 2:35:23 PM UTC-6, bob wrote: So, let's say I have my app running. Then I close the magnetic case. Then, I wait one second. Then, I open the case. So, my understanding is that onPause gets called upon closing the case. Then onResume gets called upon opening the case. The confusing part is that some of the stuff in the old program is valid, and some isn't. I guess I have to re-load all OpenGL textures for one thing? Is there an easy rule of thumb to know what is valid and what isn't after an onPause/onResume? 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, send email to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Re: [android-developers] Nesting layouts??
well i wasn't able to do as i expected - but if i defined a class derived off a Layout - it works. com.example.ProgDataView android:id=@+id/label android:text=Label android:layout_width=match_parent android:layout_height=wrap_content/ from my java class ProgDataView - how can i get the value of of the attributes (in my case android:text) On Monday, January 28, 2013 3:07:49 PM UTC-5, TreKing wrote: On Mon, Jan 28, 2013 at 2:05 PM, dashman erjd...@gmail.com javascript:wrote: Is it possible to create 1 xml layout file with the defnition and then refer to that file multiple times. Yes, it is possible. And covered in the documentation. Look for include. - 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, send email to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Re: [android-developers] Re: pause breaks...
Hi, As for OpenGL related resources GLSurfaceView.setPreserveEGLContextOnPause(true) is pretty handy. While documentation states that it doesn't work on all devices, Android source indicates this is the case only on OpenGL ES prior 2.0. -- H On Jan 28, 2013, at 11:11 PM, Nobu Games dev.nobu.ga...@gmail.com wrote: As soon as your OpenGL context changes you'll need to reload all textures. The Renderer.onSurfaceCreated method has a very good explanation of what's going on under the hood and what is required from you: -- -- 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] getting the active Fragment
I've got a FragmentActivity sub-class app with a ViewPager. also has a .PagerTitleStrip. Essentially a view with about 4 Fragments that can be laterally navigated. How can I find the active Fragment on the screen. -- -- 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, send email to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Re: [android-developers] Nesting layouts??
If it is a subclass of android.widget.TextView, I'd call getText(). On Monday, January 28, 2013 3:13:24 PM UTC-6, dashman wrote: well i wasn't able to do as i expected - but if i defined a class derived off a Layout - it works. com.example.ProgDataView android:id=@+id/label android:text=Label android:layout_width=match_parent android:layout_height=wrap_content/ from my java class ProgDataView - how can i get the value of of the attributes (in my case android:text) On Monday, January 28, 2013 3:07:49 PM UTC-5, TreKing wrote: On Mon, Jan 28, 2013 at 2:05 PM, dashman erjd...@gmail.com wrote: Is it possible to create 1 xml layout file with the defnition and then refer to that file multiple times. Yes, it is possible. And covered in the documentation. Look for include. - 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] Eclipse XML editor slow when ADT installed
Hi! I've been trying to get info on this for some time now and decided to finally ask here: Me and my colleagues have been experiencing (sometimes very extreme) slowdowns in Eclipse tab switching/opening documents when having the ADT plugin installed and opening a couple of xml layout files and xml files in general. This happens on the latest release of Juno with the latest release of the ADT plugin. I've personally experienced it on two Windows 7 PC-s (one x64 with x64 compliled Eclipse, one x86), my x64 Macbook with x86 Eclipse and on my Debian x86 laptop. One desktop and the macbook have 8gb of ram, the other desktop has 4gb and the linux laptop 2gb. All eclipses have java runtime set to 1.6 or 1.7, all have increased heap size to 1 or 2gb and increased permgen size. Some have parallelgc enabled. As you can see, since the problem occurs on all of these setups, this eclipse tweaks have no effect on this problem (or very mild effect) which causes me to believe that it most probably has to do with extensions relating to xml editing that ADT brings with itself. If any help: I can see that when switching between two xml layout files toolbar buttons Reload Dependencies/Turn Grammar Constraints Off and Drop To Frame flicker in the 2 second pause between switches (this pause is much longer if there are more than two tabs open). Seems like some state-checks are done many times over and over in a loop and cause these buttons to switch between states. This is also obviously putting a lot of stress on the gc structures and sometimes the only solution is to restart eclipse completely to let it all clear out. Extreemly annoying as you can imagine. Anyone here with similar experiences or any remedies? 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, send email to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Re: [android-developers] All my apps are losing 5 star rates at a really high speed. I've lost more than 200 during this weekend.
You are all right.. Google just answered two of my emails with the exact same copypaste message saying nothing but crap. Anyway, time to forget. Thanks. El lunes, 28 de enero de 2013 21:06:42 UTC+1, TreKing escribió: On Mon, Jan 28, 2013 at 1:55 PM, Héctor Júdez hju...@gmail.comjavascript: wrote: However before you could gatter all together and complain in the Market Google Group... now this group is gone and we cannot complain any more. You're doing a fine job without that forum ;) Honestly, it sucks, but there's no sense in continuing to complain here. I checked my apps and I seem to be missing some ratings as well from early on. Not sure if there are more missing, I don't track them in that much detail. Whatever the reason is, you're not going to get anywhere stressing about it and raising a ruckus here. Contact Google Play support knowing full well you won't get a response, or pester Googler's on G+, or wait it out and see what happens. When stuff like this happens on Google Play, it's usually a sign of features or changes coming. - 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, send email to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
[android-developers] Re: Eclipse XML editor slow when ADT installed
This is a known bug https://bugs.eclipse.org/bugs/show_bug.cgi?id=385272in Eclipse Juno. ADT is probably to blame, too. You should downgrade to the previous version of Eclipse. http://wiki.eclipse.org/Platform_UI/Juno_Performance_Investigation On Monday, January 28, 2013 5:37:54 PM UTC-6, Marko wrote: Hi! I've been trying to get info on this for some time now and decided to finally ask here: Me and my colleagues have been experiencing (sometimes very extreme) slowdowns in Eclipse tab switching/opening documents when having the ADT plugin installed and opening a couple of xml layout files and xml files in general. This happens on the latest release of Juno with the latest release of the ADT plugin. I've personally experienced it on two Windows 7 PC-s (one x64 with x64 compliled Eclipse, one x86), my x64 Macbook with x86 Eclipse and on my Debian x86 laptop. One desktop and the macbook have 8gb of ram, the other desktop has 4gb and the linux laptop 2gb. All eclipses have java runtime set to 1.6 or 1.7, all have increased heap size to 1 or 2gb and increased permgen size. Some have parallelgc enabled. As you can see, since the problem occurs on all of these setups, this eclipse tweaks have no effect on this problem (or very mild effect) which causes me to believe that it most probably has to do with extensions relating to xml editing that ADT brings with itself. If any help: I can see that when switching between two xml layout files toolbar buttons Reload Dependencies/Turn Grammar Constraints Off and Drop To Frame flicker in the 2 second pause between switches (this pause is much longer if there are more than two tabs open). Seems like some state-checks are done many times over and over in a loop and cause these buttons to switch between states. This is also obviously putting a lot of stress on the gc structures and sometimes the only solution is to restart eclipse completely to let it all clear out. Extreemly annoying as you can imagine. Anyone here with similar experiences or any remedies? 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] Re: Eclipse XML editor slow when ADT installed
Just as additional information. I also do have problems with the older Eclipse 3.7.2 in combination with ADT. ADT leaks memory pretty badly on my development machine and brings it to a complete halt after a few hours of development and debugging. This affects just about anything. Slow XML editors, slow overall performance of my PC. I filed a bug report a while ago and I was told to profile the Eclipse process with some tool that does not work on my machine. So basically I have no clue how to help them spot that problem and while that bug is still there I have to restart Eclipse multiple times a day by killing its process and launching it with the -clean parameter. It's awesome. Anyway, ADT is much much worse on Eclipse Juno. There it's just a matter of a few minutes until I have to restart Eclipse. That's why I switched back. On Monday, January 28, 2013 6:24:03 PM UTC-6, Nobu Games wrote: This is a known bug https://bugs.eclipse.org/bugs/show_bug.cgi?id=385272in Eclipse Juno. ADT is probably to blame, too. You should downgrade to the previous version of Eclipse. http://wiki.eclipse.org/Platform_UI/Juno_Performance_Investigation On Monday, January 28, 2013 5:37:54 PM UTC-6, Marko wrote: Hi! I've been trying to get info on this for some time now and decided to finally ask here: Me and my colleagues have been experiencing (sometimes very extreme) slowdowns in Eclipse tab switching/opening documents when having the ADT plugin installed and opening a couple of xml layout files and xml files in general. This happens on the latest release of Juno with the latest release of the ADT plugin. I've personally experienced it on two Windows 7 PC-s (one x64 with x64 compliled Eclipse, one x86), my x64 Macbook with x86 Eclipse and on my Debian x86 laptop. One desktop and the macbook have 8gb of ram, the other desktop has 4gb and the linux laptop 2gb. All eclipses have java runtime set to 1.6 or 1.7, all have increased heap size to 1 or 2gb and increased permgen size. Some have parallelgc enabled. As you can see, since the problem occurs on all of these setups, this eclipse tweaks have no effect on this problem (or very mild effect) which causes me to believe that it most probably has to do with extensions relating to xml editing that ADT brings with itself. If any help: I can see that when switching between two xml layout files toolbar buttons Reload Dependencies/Turn Grammar Constraints Off and Drop To Frame flicker in the 2 second pause between switches (this pause is much longer if there are more than two tabs open). Seems like some state-checks are done many times over and over in a loop and cause these buttons to switch between states. This is also obviously putting a lot of stress on the gc structures and sometimes the only solution is to restart eclipse completely to let it all clear out. Extreemly annoying as you can imagine. Anyone here with similar experiences or any remedies? 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] Re: Eclipse XML editor slow when ADT installed
Well, I can confirm that after installing the SR1 Optimizations early patch I can see a noticeable improvement with regards to switching between tabs and opening xml documents, at least on this Windows 7 machine I'm currently using. Thanks for the links! As for the leakiness/stressfulness towards the GC of the ADT plugin, I agree, a large part of the issue surely resides inside it and is only masked by this optimization patches (but at least the toolbar button flicker is gone as far as I can see so it could really be that a large part of the problem was caused by inefficient calling of plugin listeners by the IDE, which were unnecessarily being called multiple times from different code-paths and causing the stress). I tried tracing it myself once, but don't remember anymore where exactly I got stuck with it... Anyway, it seems like it's working better (acceptable) now, so thanks again! It was slowest on the macbook, so I'll post my feedback once I get around to trying it on there... On Tuesday, January 29, 2013 1:35:34 AM UTC+1, Nobu Games wrote: Just as additional information. I also do have problems with the older Eclipse 3.7.2 in combination with ADT. ADT leaks memory pretty badly on my development machine and brings it to a complete halt after a few hours of development and debugging. This affects just about anything. Slow XML editors, slow overall performance of my PC. I filed a bug report a while ago and I was told to profile the Eclipse process with some tool that does not work on my machine. So basically I have no clue how to help them spot that problem and while that bug is still there I have to restart Eclipse multiple times a day by killing its process and launching it with the -clean parameter. It's awesome. Anyway, ADT is much much worse on Eclipse Juno. There it's just a matter of a few minutes until I have to restart Eclipse. That's why I switched back. On Monday, January 28, 2013 6:24:03 PM UTC-6, Nobu Games wrote: This is a known bughttps://bugs.eclipse.org/bugs/show_bug.cgi?id=385272in Eclipse Juno. ADT is probably to blame, too. You should downgrade to the previous version of Eclipse. http://wiki.eclipse.org/Platform_UI/Juno_Performance_Investigation On Monday, January 28, 2013 5:37:54 PM UTC-6, Marko wrote: Hi! I've been trying to get info on this for some time now and decided to finally ask here: Me and my colleagues have been experiencing (sometimes very extreme) slowdowns in Eclipse tab switching/opening documents when having the ADT plugin installed and opening a couple of xml layout files and xml files in general. This happens on the latest release of Juno with the latest release of the ADT plugin. I've personally experienced it on two Windows 7 PC-s (one x64 with x64 compliled Eclipse, one x86), my x64 Macbook with x86 Eclipse and on my Debian x86 laptop. One desktop and the macbook have 8gb of ram, the other desktop has 4gb and the linux laptop 2gb. All eclipses have java runtime set to 1.6 or 1.7, all have increased heap size to 1 or 2gb and increased permgen size. Some have parallelgc enabled. As you can see, since the problem occurs on all of these setups, this eclipse tweaks have no effect on this problem (or very mild effect) which causes me to believe that it most probably has to do with extensions relating to xml editing that ADT brings with itself. If any help: I can see that when switching between two xml layout files toolbar buttons Reload Dependencies/Turn Grammar Constraints Off and Drop To Frame flicker in the 2 second pause between switches (this pause is much longer if there are more than two tabs open). Seems like some state-checks are done many times over and over in a loop and cause these buttons to switch between states. This is also obviously putting a lot of stress on the gc structures and sometimes the only solution is to restart eclipse completely to let it all clear out. Extreemly annoying as you can imagine. Anyone here with similar experiences or any remedies? 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] Re: getting the active Fragment
If someone can help me with this - i'd appreciate it. At wits end here. Again a FragmentActivity sub-class with the layout being a ViewPager and a PagerTitleStrip inside it. I'm trying to get the current active displayed Fragment. I think the solution has to do with fragmentManager.findFragmentById(id); but i'm creating my Fragment as a sub-class of Fragment and just creating a new instance and passing to the adapter. No where can i set the ID - it's final method in Fragment On Monday, January 28, 2013 5:29:05 PM UTC-5, dashman wrote: I've got a FragmentActivity sub-class app with a ViewPager. also has a .PagerTitleStrip. Essentially a view with about 4 Fragments that can be laterally navigated. How can I find the active Fragment on the screen. -- -- 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: problem accessing external library
Jim wrote: I just figured out the answer. For some reason, the new Android SDK tools need any external libraries to be accessed from a libs directory that is a subdirectory of the project's directory. I made the directory and copied the jsoup library to it, redid the build path, and voila! It works! Could the reason be: http://developer.android.com/tools/projects/index.html libs/ Contains private libraries. ? See also http://lmgtfy.com/?q=android+add+jar+to+project -- Lew -- -- 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: getting the active Fragment
Unfortunately this is really not straightforward. You'll have to work around in order to make that work. You basically have the following possibilities: 1. You can get the currently visible page index number from the pager. Use that number to get the correct fragment from your adapter. Then you can retrieve the currently visible fragment from your fragment pager adapter. But be careful: your adapter needs to internally cache the created fragments, otherwise you can always get a new instance of your fragment. 2. You can let your Fragment itself tell your Activity that it is currently visible. You can check that in your fragment by calling Fragment.getUserVisibleHint(). Use the latest version of Fragment(State)PagerAdapter. Previous versions did not set that hint correctly. On Monday, January 28, 2013 7:50:26 PM UTC-6, dashman wrote: If someone can help me with this - i'd appreciate it. At wits end here. Again a FragmentActivity sub-class with the layout being a ViewPager and a PagerTitleStrip inside it. I'm trying to get the current active displayed Fragment. I think the solution has to do with fragmentManager.findFragmentById(id); but i'm creating my Fragment as a sub-class of Fragment and just creating a new instance and passing to the adapter. No where can i set the ID - it's final method in Fragment On Monday, January 28, 2013 5:29:05 PM UTC-5, dashman wrote: I've got a FragmentActivity sub-class app with a ViewPager. also has a .PagerTitleStrip. Essentially a view with about 4 Fragments that can be laterally navigated. How can I find the active Fragment on the screen. -- -- 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: getting the active Fragment
Post reply [image: More message actions] 8:11 PM (less than a minute ago) Unfortunately this is really not straightforward. You'll have to work around in order to make that work. You basically have the following possibilities: 1. You can get the currently visible page index number from the pager. Use that number to get the correct fragment from your adapter. But be careful: your adapter needs to internally cache the created fragments, otherwise you can always get a new instance of your fragment. 2. You can let your Fragment itself tell your Activity that it is currently visible. You can check that in your fragment by calling Fragment.getUserVisibleHint(). Use the latest version of Fragment(State)PagerAdapter. Previous versions did not set that hint correctly. On Monday, January 28, 2013 4:29:05 PM UTC-6, dashman wrote: I've got a FragmentActivity sub-class app with a ViewPager. also has a .PagerTitleStrip. Essentially a view with about 4 Fragments that can be laterally navigated. How can I find the active Fragment on the screen. -- -- 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: getting the active Fragment
1. You can get the currently visible page index number from the pager. Use that number to get the correct fragment from your adapter. But be careful: your adapter needs to internally cache the created fragments, otherwise you can always get a new instance of your fragment. That's what's happening - i'm getting a new instance. FragmentPagerAdapter adapter = (FragmentPagerAdapter)mViewPager.getAdapter(); Fragment fr = adapter.getItem( mViewPager.getCurrentItem() ); What do i need to do? 2. You can let your Fragment itself tell your Activity that it is currently visible. You can check that in your fragment by calling Fragment.getUserVisibleHint(). Use the latest version of Fragment(State)PagerAdapter. Previous versions did not set that hint correctly. Problem is getting to the Fragment object itself - can't get it unless I store references in my Activity. I'm sub-classing FragmentPagerAdapter for my adapter... and just came across getItemId() which lets you set an id as the fragments are created by the adapter. i would have thought that then fragmentManager.findFragmentById() would have worked. I've verified the getItemid() method is being called. but still no go. -- -- 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: getting the active Fragment
Or where can I find the source for the support library. -- -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en --- You received this message because you are subscribed to the Google Groups Android Developers group. To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
[android-developers] How to use adb to inject Mock GPS Locations to an HTC G1 phone.
In the Menu, I enables Development-AllowMockLocations Eg, I want to test my app on the phone with KML-ish locations over USB. I read somewhere that I might have to use telnet geo commands to the phone. Is there a tutorial or experience somewhere? Thanks for any leads! cellurl -- -- 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] Maps v2 with Fragments
Hi, How can i create maps v2 with using fragments. i saw few exmples in google.all the examples are extended using Activity or FragmentActivity.But i want to extend Fragment,because i implemented tabs using fragments.in these tabs on tab haveing locations.so i need to extend Fragment. sorry for spelling mistakes.please give me suggessions or examples. -- -- 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] All my apps are losing 5 star rates at a really high speed. I've lost more than 200 during this weekend.
My app has been published for 2 1/2 years and have 2500+ ratings also. I haven't lost any that I can see. Knock on wood. That said, it sometimes happens that I get an extra batch of phantom' ratings which are removed a few days later. If you want to complain somewhere, may I suggest Google+ and copy a few Google people on there. I think you would have a better chance of getting a legitimate response than here or by contacting Support. On Tuesday, January 29, 2013 7:42:03 AM UTC+8, Héctor Júdez wrote: You are all right.. Google just answered two of my emails with the exact same copypaste message saying nothing but crap. Anyway, time to forget. Thanks. El lunes, 28 de enero de 2013 21:06:42 UTC+1, TreKing escribió: On Mon, Jan 28, 2013 at 1:55 PM, Héctor Júdez hju...@gmail.com wrote: However before you could gatter all together and complain in the Market Google Group... now this group is gone and we cannot complain any more. You're doing a fine job without that forum ;) Honestly, it sucks, but there's no sense in continuing to complain here. I checked my apps and I seem to be missing some ratings as well from early on. Not sure if there are more missing, I don't track them in that much detail. Whatever the reason is, you're not going to get anywhere stressing about it and raising a ruckus here. Contact Google Play support knowing full well you won't get a response, or pester Googler's on G+, or wait it out and see what happens. When stuff like this happens on Google Play, it's usually a sign of features or changes coming. - 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] Re: Play store - reviews disappear
248 rates lost in one week. Almost all of the 5 star ratings. I also posted a message in Google Plus with #PlayStore #AndroidDev and no success either. You did? I tried to find your post, but couldn't. -- -- 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.