Re: [android-developers] AndEngine - what is Mercurial?
Mercurial is a version control system., sort of like Git and Subversion. You only need the plugin to pull the code from the site. Actually you can install Mercurial, pull the code and put it in your project without the plugin but the plugin pulls it directly into eclipse. AFAIK there are no books covering andengine. Thanks On Sat, Jul 23, 2011 at 10:19 AM, Jim Graham spooky1...@gmail.com wrote: I'm trying to get started with AndEngine, and even after reading the Getting Started doc, I still have an unanswered question: what is Mercurial (for Eclipse), and do I need it to do projects with AndEngine, or is that just for pulling code from their site? Also, I might (and hope I will NOT---tests which I should be getting next week will confirm/deny) be spending some more time in the Cancer Care Center in a week or so...does anyone know of a book (real book, not e-book...until I can get an Android tablet[1], e-books are too difficult to read) on coding with AndEngine that I could read IF I end up back in the whole cancer nightmare? Thanks, --jim [1] and the ones I'd be interested in are far beyond my budget, especially in the next week or two. -- 73 DE N5IAL (/4)MiSTie #49997 Running FreeBSD 7.0 spooky1...@gmail.com ICBM/Hurricane: 30.44406N 86.59909W Point Lobos Photography Set 1 (Photo-posters): http://jdgapps.com Do not look into waveguide with remaining eye! -- 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 -- Raghav Sood http://www.raghavsood.com/ http://wiki.androidappcheck.com/ http://www.telstop.tel/ https://market.android.com/developer?pub=Raghav+Sood -- 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
[android-developers] java.lang.IllegalArgumentException: Unknown URL content://org.books/books
Wrote the following code to insert an item into sqlite database public static final String PROVIDER_NAME = org.books; public static final Uri CONTENT_URI = Uri.parse(content://+ PROVIDER_NAME + /books); private static final String DATABASE_TABLE = titles; public Uri insert(Uri uri, ContentValues values) { //---add a new book--- long rowID = booksDB.insert( DATABASE_TABLE, , values); //---if added successfully--- if (rowID0) { Uri _uri = ContentUris.withAppendedId(CONTENT_URI, rowID); getContext().getContentResolver().notifyChange(_uri, null); return _uri; } throw new SQLException(Failed to insert row into + uri); } ContentValues values = new ContentValues(); Uri uri = getContentResolver().insert( Uri.parse( content://org.books/books), values); I am getting the following error. Is my URL format correct? 07-22 17:56:59.479: ERROR/AndroidRuntime(4926): Caused by: java.lang.IllegalArgumentException: Unknown URL content://org.books/books 07-22 17:56:59.479: ERROR/AndroidRuntime(4926): at android.content.ContentResolver.insert(ContentResolver.java:626) -- 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
[android-developers] Re: Map point reload
Hi, For the GPS issue, to prevent it from starting stopping on orientation change in your Activity, you can implement LocationManager in a Service then pass the Location objects back to the Activity. It is a fairly convoluted affair to setup but it does work. A simpler option - you might? also be able to maintain a reference to the Location Manager object (or some other class that acts as a container encapsulates the LocationManager) through onRetainNonConfigurationInstance() which is specifically provided for handling orientation other changes for the Activity. I've done the former but no the latter. Regards On Jul 23, 1:29 am, JCC banr...@gmail.com wrote: Ok thanks, I fixed the data problem but still with the flip issue that it calls the GPS again. =( any suggestion would be much appreciated. -- 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
Re: [android-developers] Re: Listview oddity with imageview
I wish I could say it helped but it hasn't. On Sat, Jul 23, 2011 at 1:27 AM, Abhishek Akhani abhishek.akh...@gmail.comwrote: invalidate the view after rotating... hope this may help... -- 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 -- Regards, Sy -- 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
[android-developers] Intent Object
Hi All I have following problems, String str; str =getMyString(); //str is my calss name. // I want to build a intent using this string as class name(?). Intent intent = new Intent(this, ? ); startActivity(intent); Thanks in advance. Regards Goutom -- 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
[android-developers] Memory allocation
Is there a method or object I can override that will root all the memory allocation performed by my application through to something I can control...this would include any views and objects I reference. I have a problem where a background thread loads images in the background, as I scroll through the list view, if I scroll quickly it can sometimes bomb the applications. Checking the log it appears the application is running out of heapspace. The application is ok, but I want to capture this find of thing to prevent the application from crashing out. -- Regards, Sy -- 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
Re: [android-developers] Memory allocation
I am unclear what root all the memory allocation means. If you really mean route all the memory allocation, then, no, there's no way to do that AFAIK. On Sat, Jul 23, 2011 at 7:06 AM, Simon Platten simonaplat...@googlemail.com wrote: Is there a method or object I can override that will root all the memory allocation performed by my application through to something I can control...this would include any views and objects I reference. I have a problem where a background thread loads images in the background, as I scroll through the list view, if I scroll quickly it can sometimes bomb the applications. Checking the log it appears the application is running out of heapspace. The application is ok, but I want to capture this find of thing to prevent the application from crashing out. You can catch OutOfMemoryError exceptions at runtime. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy Android App Developer Books: http://commonsware.com/books -- 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
Re: [android-developers] Memory allocation
Prior to 3.0, all bitmaps are allocated in a separate heap, called the native heap. You should be able to keep track of how much your application allocates / frees there in your image loading code. There are also methods to get the native heap stats with Debug class: http://developer.android.com/reference/android/os/Debug.html#getNativeHeapFreeSize() It helps to call recycle() on those images your application no longer needs (perhaps by keeping your own MRU list). -- Kostya 23.07.2011 15:06, Simon Platten пишет: Is there a method or object I can override that will root all the memory allocation performed by my application through to something I can control...this would include any views and objects I reference. I have a problem where a background thread loads images in the background, as I scroll through the list view, if I scroll quickly it can sometimes bomb the applications. Checking the log it appears the application is running out of heapspace. The application is ok, but I want to capture this find of thing to prevent the application from crashing out. -- Regards, Sy -- 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 -- Kostya Vasilyev -- 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
[android-developers] Re: Map point reload
alternatively, tell Android not to mess with the orientation change, and perform all necessary UI changes ourself. That way you avoid the activity restart. -- 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
[android-developers] Re: How to control device from your desktop?
Look at Reto Meier's setup that he used for the presentations. He used Bluetooth to control one tablet from another. You should be able to extend the concept. -- 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
[android-developers] Re: Application with large number of user facing screens ~ aka Activities
You might also look into using a ViewFlipper. Trades a bit of memory in exchange for speed. Fragments may be of use too. This is one of those problems that has many solutions and finding the best one depends on the specifics of your app. On Jul 22, 9:04 pm, TreKing treking...@gmail.com wrote: On Fri, Jul 22, 2011 at 10:16 PM, Jaz jazmeetwad...@gmail.com wrote: How is it possible to write just 1 Activity class and create multiple instances of it/refresh it with different data to capture user events. http://developer.android.com/reference/android/app/Activity.html#setC...) - 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
[android-developers] Re: Intent Object
I tried this: String str = getMyString(); Intent intent = new Intent(this,Class.forName(str)); startActivity(intent); but failed.. Any help will be appriciatable... Regards Goutom On Sat, Jul 23, 2011 at 3:34 AM, Goutom goutom.sust@gmail.com wrote: Hi All I have following problems, String str; str =getMyString(); //str is my calss name. // I want to build a intent using this string as class name(?). Intent intent = new Intent(this, ? ); startActivity(intent); Thanks in advance. Regards Goutom -- 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
[android-developers] Re: Intent Object
Got a solution.. private Class? c = null; c= Class.forName(packagename+classname); intent = new Intent(this,c); startActivity(intent); it works fine. On Sat, Jul 23, 2011 at 4:45 AM, Goutom goutom.sust@gmail.com wrote: I tried this: String str = getMyString(); Intent intent = new Intent(this,Class.forName(str)); startActivity(intent); but failed.. Any help will be appriciatable... Regards Goutom On Sat, Jul 23, 2011 at 3:34 AM, Goutom goutom.sust@gmail.com wrote: Hi All I have following problems, String str; str =getMyString(); //str is my calss name. // I want to build a intent using this string as class name(?). Intent intent = new Intent(this, ? ); startActivity(intent); Thanks in advance. Regards Goutom -- 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
Re: [android-developers] Re: Intent Object
Hi, Always return Region.contains(int x, int y) return me a false *Android.Graphics.Region we can create region using Path Or Rectangle When i create region using Path But every time of my region return me a false region.contains(int x, int y) //false* When i tried for rectangle region that time it's return me a correct Regards, Ashish -- 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
[android-developers] Always return Region.contains(int x, int y)
Hi, Always return Region.contains(int x, int y) return me a false *Android.Graphics.Region we can create region using Path Or Rectangle When i create region using Path But every time of my region return me a false region.contains(int x, int y) //false* When i tried for rectangle region that time it's return me a correct Regards, Ashish -- 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
[android-developers] Bluetooth headset
How can be detected if a bluetooth is currently connected? I already used the intent BluetoothDevice.ACTION_ACL_CONNECTED, but this one is sent at connection time, also i tried to check with isBluetoothA2dpOn but doesn't work either. I itarated through al the bluetooh devices and even if the bluetooh is disconnected it returns that are bonded. So is there an api that shows if any bluetooth device is currently in connection state? 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
[android-developers] AndEngine - what is Mercurial?
Each developer is probabaly going to have an opinion regarding repo solutions... I have to say though that I use Mercurial (via Kiln) and I LOVE IT!!! It is so much easier to use than Subversion, which is what I came from using. I've not messed with GIT too much so I am pretty neutral as it seems good enough. To answer your question, you are going to need the Mercurial plug-in for Eclipse to pull the repo so you can work on it. The best one is called MercurialEclipse http://www.javaforge.com/project/HGE also you might want to look into TortiseHG as a Mercurial client for your desktop, it integrates right into your right click menu. AndEngine is a pretty decent game engine. It'll get you up and running making stuff happen pretty quick. -- 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
[android-developers] Application doesn't close with back button
I made an application, with two logo activity at the start, first is my logo, and the second is the application's logo, they are stay for 2 seconds, and then the next activity starts, the Menu. I can't close my application because from the menu if I press the back button, it's only show the application's logo, and doesn't exit to the main screen. I tried to import the finish(); method to my logo screens, but it doesn't works either. With my another application, there weren't any problem. What's the matter, what do you think? -- 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
Re: [android-developers] Application doesn't close with back button
A splash screen typically calls finish() just after calling startActivity() for the next activity. I suggest that you try finish() again. On Sat, Jul 23, 2011 at 9:22 AM, Zwiebel hunzwie...@gmail.com wrote: I made an application, with two logo activity at the start, first is my logo, and the second is the application's logo, they are stay for 2 seconds, and then the next activity starts, the Menu. I can't close my application because from the menu if I press the back button, it's only show the application's logo, and doesn't exit to the main screen. I tried to import the finish(); method to my logo screens, but it doesn't works either. With my another application, there weren't any problem. What's the matter, what do you think? -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy Android App Developer Books: http://commonsware.com/books -- 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
[android-developers] glReadPixels()
Hi, I'm trying to detect the opengl object under the cursor... I have read it referred to as picking. Here is my code: public int makeBuffer(GL10 gl, int x, int y) { ByteBuffer PixelBuffer = ByteBuffer.allocateDirect(4); PixelBuffer.order(ByteOrder.nativeOrder()); PixelBuffer.position(0); int mTemp = 0; gl.glReadPixels((int)x, (int) y, 1, 1, GL10.GL_RGBA, GL10.GL_UNSIGNED_BYTE, PixelBuffer); Log.e(Picking, xy: x + x + y+ y); byte b [] = new byte[4]; PixelBuffer.get(b); Log.e(Picking, rgba: r+ PixelBuffer.get(0) + g + PixelBuffer.get(1) + b + PixelBuffer.get(2) + a + PixelBuffer.get(3)); Log.e(Picking, rgba: r+ b[0] + g + b[1] + b + b[2] + a + b[3]); //mTemp = PixelBuffer.get(0); mTemp = b[0]; Log.e(Picking, result: + mTemp ); return mTemp; } See that most of the code above is logcat statements. My code prints zeros to the screen for r,g, and b. For alpha it prints '-1' which is translatable to 255 (unsigned) as 'full alpha'. I'm trying to detect a color on the screen at the given x/y position. I would be happy with a red value that's somewhere between 1 and 15, as that's the color that should be below the touch. I would expect that if I was doing it entirely wrong I would get all zeroes, but I must be doing it at least partially right, as I'm getting alpha. I have also included lines in my manifest that tell the phone that I use the permissions for the 'surface flinger' and the 'read frame buffer'. I don't know if these lines are working. uses-permission android:name=android.permission.ACCESS_SURFACE_FLINGER / uses-permission android:name=android.permission.READ_FRAME_BUFFER / any help would be appreciated. -- 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
[android-developers] Application doesn't close with back button
I am confused. Please try to be more clear in the description of your issue. -- 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
Re: [android-developers] Application doesn't close with back button
better u can show u r codethen we wiil understand wat u done mistake On Sat, Jul 23, 2011 at 6:31 AM, rich friedel rich.frie...@gmail.comwrote: I am confused. Please try to be more clear in the description of your issue. -- 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
Re: [android-developers] AndEngine - what is Mercurial?
On Sat, Jul 23, 2011 at 05:50:55AM -0700, rich friedel wrote: Each developer is probabaly going to have an opinion regarding repo solutions... By repo, I assume you mean one of those code storage things where multiple devs can check out code, work on it, and check it back in, without clobbering each other's work, right? Yeah, I don't use one. I just make periodic tar.gz archives of my source directory (at different stages...got this working, back up...got that working, back it up again, and so on). Works for me. :-) To answer your question, you are going to need the Mercurial plug-in for Eclipse to pull the repo so you can work on it. I have the .jar file. Now I just need the samples (some of which force-close my Motorola Bravo). I'm trying to find a site that has the samples as either a .zip or .tar.gz. AndEngine is a pretty decent game engine. It'll get you up and running making stuff happen pretty quick. I'm checking out Angle right now. AndEngine's samples that WORK (in the installable samples APK) look great. The ones that force-close my phone, not so great Later, --jim -- 73 DE N5IAL (/4)| DMR: So fsck was originally called spooky1...@gmail.com| something else. Running FreeBSD 7.0 | Q: What was it called? ICBM / Hurricane: | DMR: Well, the second letter was different. 30.44406N 86.59909W |-- Dennis M. Ritchie, Usenix, June 1998. Point Lobos Photography Set 1 (Photo-posters): http://jdgapps.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
[android-developers] Re: SDK Tools r12 causing aapt to fail
Tools revision 12 is fine. Platform Tools revision 6 has this issue. Downgrade that one to 5 for the time being. -- 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
[android-developers] Re: LocationManager - called very often when moving
The problem was a bug removeing, and re-requesting updates very often. The minTime as you all know if not a gurantee, so when you unregister, and re-register and theres a gps update ready it gets fired right after you request it. If you then unregister and re-register ... :) On 21 Jul., 21:00, Jan Nielsen j...@air-port.dk wrote: I dont think there is any other programs requesting GPS, I have navigation app, but not running when I tested my app. I only request the update one place and before that I remove any registered listeners. LocationManager mlocManager = (LocationManager)getSystemService(Context.LOCATION_SERVICE); mlocManager.removeUpdates(this); mlocManager.requestLocationUpdates( LocationManager.GPS_PROVIDER, delay * 60 * 1000, 25000, this); I have also tried Float.MAX_VALUE and 0 for the distance, with same result. Maybe the GPS system needs to be awake often when moving, to estimate the speed more precisely, and the underlaying software handles that. I handle the extra calls in software, and only send if 60seconds have passed, but I guess it could have an effect on battery, if the phone moves alot. On 21 Jul., 14:02, lbendlin l...@bendlin.us wrote: Is your app the only one consuming the GPS? Did you maybe register another listener? -- 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
[android-developers] please stop logcat autoscroll
please stop logcat 'autoscroll' or please make its option. can't filtering messages like sqlite. so can't see its message when autoscrolling madly. madly madly madly!! i doubt android eclipse plugin developer team used logcat really. -- 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
[android-developers] Re: please stop logcat autoscroll
one more. i tried logcat filter like 'system.err'. it's meaningless. it's too scrolled automatically MADLY!!! i hate logcat medley. On 7월24일, 오전4시11분, freeanderson freeander...@gmail.com wrote: please stop logcat 'autoscroll' or please make its option. can't filtering messages like sqlite. so can't see its message when autoscrolling madly. madly madly madly!! i doubt android eclipse plugin developer team used logcat really. -- 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
Re: [android-developers] Re: Request to Google's Android SDK team
All your suggestions are valid and I've already used some of them. E.g. I've finished with the 2.2 testing. I want to now test with as many other devices as possible (without having to mortgage my home). The issue isn't whether there are work-arounds, we're all engineers, our jobs are to find solutions to hard problems. The issue is CONVENIENCE and EFFICIENCY. If you do not agree a VirtualBox solution is a more convenient and efficient solution, then I don't think there's anything I can say to convince you otherwise. Google is already working on a Honeycomb emulator. I'm not asking them to stop. I'm just asking for an intermediate solution while they improve on their final product. If my users were inconvenienced, I would try to give them a temporary solution to hold them over until I have a good solution. But that's just me. It's a difference in engineering philosophy. Are you speaking for Google? Is this Google's final word on the matter? If Google isn't even going to consider this issue, there's no point in continuing this discussion. --jc -- 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
Re: [android-developers] please stop logcat autoscroll
On Sat, Jul 23, 2011 at 2:11 PM, freeanderson freeander...@gmail.comwrote: please stop logcat 'autoscroll' or please make its option. It is an option. If you scroll to the bottom of the log, it autoscrolls. If you scroll up even one tick, it stops autoscrolling. - 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
Re: [android-developers] Re: Request to Google's Android SDK team
On Sat, Jul 23, 2011 at 3:15 PM, Jimen Ching jimen.ch...@gmail.com wrote: If you do not agree a VirtualBox solution is a more convenient and efficient solution, then I don't think there's anything I can say to convince you otherwise. If it would work, it might be. However, I doubt that it will work, since it does not solve the graphics acceleration problem. The mere fact that VirtualBox might expose hardware graphics acceleration capabilities does not mean that Honeycomb will be able to exploit them without significant work. I would expect that performance of a Honeycomb VirtualBox to perhaps be incrementally better than a Honeycomb qemu. Or, to put it another way, I would expect the ratio of pain between 2.3 and 3.0 to be roughly the same on qemu and VirtualBox. Furthermore, I recall suggesting this very solution to Xav at Google I|O and being told that it did not help. There is also the minor issue that VirtualBox is owned by Oracle. :-) Personally, I wish that the Honeycomb source code had been released, specifically so that the community could work on this sort of thing and see if we can come up with something. Are you speaking for Google? Nope. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy Android App Developer Books: http://commonsware.com/books -- 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
[android-developers] Re: please stop logcat autoscroll
Press scroll lock button on a keyboard :) On Jul 23, 2:16 pm, TreKing treking...@gmail.com wrote: On Sat, Jul 23, 2011 at 2:11 PM, freeanderson freeander...@gmail.comwrote: please stop logcat 'autoscroll' or please make its option. It is an option. If you scroll to the bottom of the log, it autoscrolls. If you scroll up even one tick, it stops autoscrolling. - 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
[android-developers] Adsense ad causing noticeable lag/framerate issues every time it animates within my game?
Hi, I'm in the process of developing a game with an AdView located at the top of the screen. The game and ad work beautifully when the advertisement is pulled from AdMob (I believe because it's just a static unchanging image), but when the ad is pulled from AdSense there is noticeable amount of lag or framerate issues everytime the ad animates the scrolling text. These issues appear to make the game jumpy as the objects in my game(missiles) speed forward much faster than they should for the duration of the ad animation time. I'm fairly new to android and game development in general, so I feel like I'm doing something wrong as I have played plenty of android games which do not get this type of lag with adsense ads. Perhaps someone with a bit of game experience can lay out the proper way to add an AdView component to a game. -- 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
Re: [android-developers] AndEngine - what is Mercurial?
On Sat, Jul 23, 2011 at 10:19:15AM -0500, Jim Graham wrote: On Sat, Jul 23, 2011 at 05:50:55AM -0700, rich friedel wrote: I'm checking out Angle right now. AndEngine's samples that WORK (in the installable samples APK) look great. The ones that force-close my phone, not so great I also looked at jmonkeyengine3, and a few others. One, Alien[something]'s sample apk locked my Motorola Bravo HARD while I was installing it. I had to open the phone and remove the battery for a second---even the display off // power switch didn't work. I did some reading in previous articles from this list, too. I finally settled on libGDX. Nice feature: develop in Eclipse, run in Eclipse as a Java application (no painfully slow, as in no response after six or more hours, emulator to deal with, no hassles having to build an apk file, hook up my droid via USB and thus dragging my laptop down to a crawl, install, run from the phone, etc...). Then, build as an Android app and test, etc., as usual. And now, I have a lot to learn before I really get started on a project. Maybe this one will do more than sit there. My brewer's grain database app has taken me by surprise: I ONLY listed data for 20 generic malts/adjuncts, where the real app has 297, and the free app only points to the paid app for the rest of those. People are installing and keeping the free app, and nobody has touched the paid app. Amazing. Later, --jim -- 73 DE N5IAL (/4)MiSTie #49997 Running FreeBSD 7.0 spooky1...@gmail.comICBM/Hurr.: 30.44406N 86.59909W Point Lobos Photography Set 1 (Photo-posters): http://jdgapps.com No, I'm not going to explain it. If you can't figure it out, you didn't want to know anyway... --Larry Wall -- 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
[android-developers] Curious NPE
I am getting some bugreports of NPE's which I cannot explain. These happen rarely. Here's the must baffling (in simplified code): class MyActivity extends Activity { Object myObject; protected void onCreate(Bundle state) { myObject = new Object(); } public void onBackPressed() { myObject.myMethod(); } } Then the user gets a NPE on myObject when it tries to call myMethod in obBackPressed() There are no other myObject assignemnet in my code -- once it's inialized, it's never touched. So the only way I can see that NPE happenining is if onBackPressed() is called before onCreate(). I've had some other reports where the NPE happened after a screen rotate, but it involved a member variable, which should have been also initalized in onCreate(). Since these reports are rare with only 1 report per error, I suspect a race conditiion. Would love to hear people's ideas. (And please don't tell me to chech myObject != null before accessing) -- 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
[android-developers] Default.png
Is there anything like Default.png for Android? -- 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
Re: [android-developers] Default.png
You can do something similar by setting a window background in your theme. See http://android-developers.blogspot.com/2009/03/window-backgrounds-ui-speed.htmlfor more info On Sat, Jul 23, 2011 at 5:30 PM, bob b...@coolgroups.com wrote: Is there anything like Default.png for Android? -- 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 -- Romain Guy Android framework engineer romain...@android.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
Re: [android-developers] Re: Facebook Integration issue
Hi Gaurav, Sorry i'm not sure about that platform change. But let me try and let you know soon. If you get any update on that please let me know Regards, Shanmugam On Fri, Jul 22, 2011 at 7:36 PM, gaurav gupta gaurav.gupta...@gmail.comwrote: Hi Shanmugam, thanks 4 reply. i work for that too. its working fine when in my phone Facebook For Android 1.3 is used. but when i upgrade my Facebook For Android to 1.5 or 1.6 , its not working. this issue is related to Facebook updation. Please look at this issue. if u find any link or anything regarding this, let me know Thanks On Sat, Jul 16, 2011 at 4:56 PM, shanmugam nathan shanmugam.andr...@gmail.com wrote: Hey gaurav, Why don't u try with EasyFacebookConnectSDK its quite simpler for beginners. But u can find some errors in LogCat but just ignore those coz ur final target ll be achieved. Thanks, Shanmugam -- 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 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
[android-developers] Re: glib linker errors on gingerbread
As with any other issue, if one issue gets resolved another issue takes over precedence and older issue is no more a problem. When there is no problem, these posts remain dangling. Anyway let me close at least one, this one. Initially the problem appeared very strange. And it is misleading due to glib/glib/galiasdef.c as mentioned by Arun. But a deep look reveals that the glib integrated to Android is not the complete one. Which ever parts are required, only those parts are integrated. After adding the gqueue.c file to Android, this error got resolved. Hope this will be helpful. /Sammoh -- 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
Re: [android-developers] 3D maps
1. Is Google provide any kind of control/view/widget that display 3D maps? 2. If yes, i need the link badly 3. If no, when google allow developers to do this (if you know) 4. Any other third party control/view/widget to show 3D maps? On Tue, Jul 19, 2011 at 12:47 AM, TreKing treking...@gmail.com wrote: On Sun, Jul 17, 2011 at 12:00 PM, Deeraf dee.dee...@gmail.com wrote: Now i want it to display on 3d maps. I got frustrated in search of 3d map view control etc... What kind of answer are you expecting here ... ? - 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 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
[android-developers] Android Processes
Hi All, I am working in an application for the recording voice. When I start recording my other service start crashing. I create a service which only show the message Log.i(tag, service is starting); and I set repeated schedule for this service after every one minute. It becomes crash after 2 or 3 min. When I set the android:process=:myprocess attribute for the recording it working fine. I only want to know your opinion about is it right way or not. Other process has some pros and cons but I don't know. Could any one explain me? Yours, Daniel Felix -- 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