[android-developers] Re: Virtual device doesn't work?

2012-10-16 Thread Bob S
Actually turns out it worked once I edited the emulator to have *GPU Emulation* set to *Yes* -- 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

Re: [android-developers] Re: cross-platform development, barebones?

2012-10-16 Thread Kristopher Micinski
The NDK is for *pieces* of an app. Typically very high performance pieces, but not the actual app itself. kris On Tue, Oct 16, 2012 at 6:23 PM, Kristopher Micinski krismicin...@gmail.com wrote: On Tue, Oct 16, 2012 at 6:12 PM, Bob S bsabis...@gmail.com wrote: (for the Android side, ever heard

Re: [android-developers] Re: cross-platform development, barebones?

2012-10-16 Thread Latimerius
On Wed, Oct 17, 2012 at 12:12 AM, Bob S bsabis...@gmail.com wrote: (for the Android side, ever heard of NDK?). Yes, that is my question! Did you read my original post? NDK would seem to be what I want, yet there are all these disclaimers when you download it that warn you away from it.

Re: [android-developers] Re: cross-platform development, barebones?

2012-10-16 Thread Kristopher Micinski
True, you can go through a JNI wrapper to jump back into Java, but I wonder then, if you're writing your app mostly in C++, how does that fit the goal of the original post.. kris On Tue, Oct 16, 2012 at 6:34 PM, Latimerius l4t1m3r...@gmail.com wrote: On Wed, Oct 17, 2012 at 12:12 AM, Bob S

Re: [android-developers] WifiP2pManager.ConnectionInfoListener onConnectionInfoAvailable (WifiP2pInfo info)

2012-10-16 Thread Irfan Sheriff
Do you see the peer status (WifiP2pDevice has a status field) as connected when you listen P2P_PEERS_CHANGED_ACTION broadcast and request the peers ? On Tue, Oct 16, 2012 at 5:11 AM, Zach zachariah...@gmail.com wrote: Hi I am working on wifi direct. After sending a connect request I was

Re: [android-developers] Re: cross-platform development, barebones?

2012-10-16 Thread Latimerius
On Wed, Oct 17, 2012 at 12:37 AM, Kristopher Micinski krismicin...@gmail.com wrote: True, you can go through a JNI wrapper to jump back into Java, but I wonder then, if you're writing your app mostly in C++, how does that fit the goal of the original post.. If your app is tied to the Android

Re: [android-developers] Re: cross-platform development, barebones?

2012-10-16 Thread a1
W dniu środa, 17 października 2012 00:27:27 UTC+2 użytkownik Kristopher Micinski napisał: The NDK is for *pieces* of an app. Typically very high performance pieces, but not the actual app itself. Not really, since 2.3 there are two legitimate scenarios for NDK use: 1) as you mention

[android-developers] Re: testing in app billing - I can't repurchase after refunding

2012-10-16 Thread gadget
yup. I can confirm this on HTC Thunderbolt 2.3. Seems like a new issue (since the end of August or so) -- 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

[android-developers] Extremely slow turnaround when building and running

2012-10-16 Thread Latimerius
Your rig is way beefier than mine then. :-) Good to know at least that if I spend money on better hardware there is a hope of improvement. Still, the point remains that just adding external jars (ACRA, analytics) went to about two minutes from less than one. So if dexing is fixed it would make

Re: [android-developers] Re: cross-platform development, barebones?

2012-10-16 Thread Kristopher Micinski
True, but I don't consider games (which typically use one activity and don't really use the pices of the framework) to be apps. Maybe people disagree, I'd call them games. kris On Tue, Oct 16, 2012 at 6:56 PM, Latimerius l4t1m3r...@gmail.com wrote: On Wed, Oct 17, 2012 at 12:37 AM, Kristopher

Re: [android-developers] Re: cross-platform development, barebones?

2012-10-16 Thread Kristopher Micinski
On Tue, Oct 16, 2012 at 6:56 PM, a1 arco...@gmail.com wrote: W dniu środa, 17 października 2012 00:27:27 UTC+2 użytkownik Kristopher Micinski napisał: The NDK is for *pieces* of an app. Typically very high performance pieces, but not the actual app itself. Not really, since 2.3 there

Re: [android-developers] Re: cross-platform development, barebones?

2012-10-16 Thread Latimerius
On Wed, Oct 17, 2012 at 12:59 AM, Kristopher Micinski krismicin...@gmail.com wrote: True, but I don't consider games (which typically use one activity and don't really use the pices of the framework) to be apps. Maybe people disagree, I'd call them games. Game is a kind of application if you

Re: [android-developers] Re: GUI with monkeyrunner

2012-10-16 Thread Bill Napier
On Tue, Oct 16, 2012 at 12:39 PM, Lew lewbl...@gmail.com wrote: I don't know about your specific modules, but you don't have to use Python to use monkeyrunner.jar; you could write code in Java, too. Java has GUIs available for it. Which, since Jython can use Java jars, might give you the

Re: [android-developers] GPU Acceleration - still not worth using on 4.1.1?

2012-10-16 Thread Adam Ratana
Awesome! As I've said before, this hw acceleration of canvas is a huge win and I don't think you guys have gotten enough credit in the world at large for this undertaking. You've mentioned to me that drawing circles and ellipses is still done in software, due to differences in GPUs. The HW

Re: [android-developers] Re: cross-platform development, barebones?

2012-10-16 Thread Kristopher Micinski
On Tue, Oct 16, 2012 at 7:20 PM, Latimerius l4t1m3r...@gmail.com wrote: On Wed, Oct 17, 2012 at 12:59 AM, Kristopher Micinski krismicin...@gmail.com wrote: True, but I don't consider games (which typically use one activity and don't really use the pices of the framework) to be apps. Maybe

[android-developers] ContentValues object leak when used in conjunction with DatabaseUtils.cursorRowToContentValues

2012-10-16 Thread Gaurav
Hi, We have multiple use cases for *static* *void*cursorRowToContentValues(Cursor cursor, ContentValues values) { These contentValues are local variables with maximum function level scope. However multiple calls to this method results in a memory leak. The analysis of the HPROF file generated

[android-developers] Re: Creating an updated Android.jar file

2012-10-16 Thread Chris Sarbora
Depends. If you want your emulator or phone to pick up the actual implementation changes, you'll have to flash the device (or create a new emulator using the build output). If you just want Eclipse to use your new android.jar for the compile linking, ... I'm not actually sure, after checking.

[android-developers] Re: Browser emulator

2012-10-16 Thread Chris Sarbora
Could try the Intel emulator, it's much faster than the standard one. Other than that, not many options for speeding the emulator up. There are no programs I know of that are purpose-built to emulate Browser (or WebView) rendering of webpages. Chrome Dev Tools and Firebug both do a pretty good

Re: [android-developers] GPU Acceleration - still not worth using on 4.1.1?

2012-10-16 Thread Romain Guy
You've mentioned to me that drawing circles and ellipses is still done in software, due to differences in GPUs. The HW accelerated workaround, that I know of is obviously drawLines() using approximated geometry - for outlines. This works, but, is there currently a hardware accelerated way to

Re: [android-developers] Re: It seems easy to get rid of a competitor’s app

2012-10-16 Thread Chris Sarbora
Most people don't know how to fistfight either, but that doesn't mean you should let bullies give it to you on the chin ;) On Sunday, October 14, 2012 9:26:56 AM UTC-7, Kristopher Micinski wrote: On Sun, Oct 14, 2012 at 12:17 PM, Chris Sarbora top...@gmail.comjavascript: wrote: Escalate

[android-developers] Re: Accelerometer use (G's and frequency)

2012-10-16 Thread Chris Sarbora
I'm totally talking out of my butt (have not looked at the relevant code) but I'm guessing that questions 1 and 2 have more to do with driver/hardware limits than Android-imposed limits. On Monday, October 15, 2012 6:55:47 PM UTC-7, Guillermo Polonsky wrote: Did you get a reply on any of

Re: [android-developers] Android version update

2012-10-16 Thread TreKing
On Tue, Oct 16, 2012 at 10:39 AM, Sandip Panchal sandip.g.panc...@gmail.com wrote: How can I have andoird 4+ in my device? This has nothing to do with this list. - TreKing

[android-developers] Re: NMEA packet is not working

2012-10-16 Thread lbendlin
You're misunderstanding the concept of how to request location updates. You should certainly not re-request the service inside onLocationChanged On Tuesday, October 16, 2012 9:19:19 AM UTC-4, Muhammad Mehdi wrote: this code is working fine for Lat long but now im shifting for gps NMEA packet

Re: [android-developers] Backup / synching data within your app

2012-10-16 Thread TreKing
On Mon, Oct 15, 2012 at 12:53 PM, Russ Taylor russtaylor...@gmail.comwrote: Is there a better way to do this, am I inventing the wheel again? SD Card. - TreKing

[android-developers] Re: Device Administration API policy prevent change set date time

2012-10-16 Thread Faisal Ibrahim Silitonga
hi are you solve this problem? i have same problem? can you share how to prevent user to be able to set time settings? Pada Selasa, 29 November 2011 18:54:04 UTC+7, Anil from the Alps menulis: We are developing an Enterprise App and want to use Device Administration API as it is explained on

Re: [android-developers] Re: How to get a button id from an app(I don't have the source)

2012-10-16 Thread $rik@nth
Thanks Dhruv for the Idea. On Tue, Oct 16, 2012 at 5:44 PM, Dhruv Kumar dhruvk...@gmail.com wrote: Without Application you can't get the id . By the way you can get id e.g text = (TextView)findViewById(R.id.text); where id mention in xml file. On Tuesday, October 16, 2012 6:55:11 AM UTC-4,

Re: [android-developers] Re: How to get a button id from an app(I don't have the source)

2012-10-16 Thread Kristopher Micinski
Umm slight disagree I do this all the time in instrumentation. kris On Tue, Oct 16, 2012 at 8:14 AM, Dhruv Kumar dhruvk...@gmail.com wrote: Without Application you can't get the id . By the way you can get id e.g text = (TextView)findViewById(R.id.text); where id mention in xml file.

Re: [android-developers] Re: How to get a button id from an app(I don't have the source)

2012-10-16 Thread Landry shuai
你可以参照hierarchyview来看。 On 17 October 2012 10:10, Kristopher Micinski krismicin...@gmail.comwrote: Umm slight disagree I do this all the time in instrumentation. kris On Tue, Oct 16, 2012 at 8:14 AM, Dhruv Kumar dhruvk...@gmail.com wrote: Without Application you can't get the

[android-developers] Re: NMEA packet is not working

2012-10-16 Thread gjs
Hi, And you are missing the NMEA callback method - onNmeaReceivedhttp://developer.android.com/reference/android/location/GpsStatus.NmeaListener.html#onNmeaReceived(long, java.lang.String)(long timestamp, Stringhttp://developer.android.com/reference/java/lang/String.html nmea) See

Re: [android-developers] Problems with start a Map Activity from other Activity

2012-10-16 Thread Asheesh Arya
have you checked permission in your android manifest file -- 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] Re: GPU Acceleration - still not worth using on 4.1.1?

2012-10-16 Thread Anthony Prieur
Is anyone else seeing as much weirdness with GPU accel as I am? I do see troubles too with GPU, especially this one: ICS WebView blinks when Hardware Acceleration is used http://code.google.com/p/android/issues/detail?id=25722 , very annoying as no HW acceleration = no HTML5 video tag

Re: [android-developers] flip the emulator

2012-10-16 Thread Fred Stluka
On 10/16/12 11:21 AM, bob wrote: Is there any way to flip the emulator (i.e. go from landscape to reverseLandscape)? Yes. Ctrl-F11. See: http://bristle.com/Tips/AndroidProg.htm#emulator_keys --Fred Fred Stluka

<    1   2   3