Re: [android-developers] Re: OEM-Official ADB USB Driver support (rant)

2012-07-21 Thread Nikolay Elenkov
Back on topic, the USB driver in the SDK works fine with the N7. Update the SDK and select the driver folder in device manager. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to

Re: [android-developers] Call web service that returns an object

2012-07-21 Thread Mohammed Zarqa
the returned object is a class (Category) and contains ID as integer, Name and description so what should i do to sync the category class defined in both web service and the android app. regards On Thursday, July 19, 2012 9:22:29 PM UTC+3, TreKing wrote: On Wed, Jul 18, 2012 at 9:15 AM,

Re: [android-developers] Application to start with

2012-07-21 Thread Narendra Singh Rathore
On Thu, Jul 19, 2012 at 3:49 PM, tj mailme.ta...@gmail.com wrote: I am new to android development. I have worked before on java and .NET but am a bit confused with android programming. Can you plz suggest some ideas as to on what basic application should I start working on. I made basic

Re: [android-developers] Android setup for windows xp 64 bit

2012-07-21 Thread Gautam Khatri
first install eclipse juno for xp then install sdk On Mon, Jul 16, 2012 at 10:44 AM, Arun Prasad arunspo...@gmail.com wrote: Hi, I have tried to install android sdk in windows xp 64 bit. But when i try to install eclipse and adt plugin is not updating. When i search the net, i have

Re: [android-developers] Re: ICS build error:GC overhead limit exceeded

2012-07-21 Thread Justlovejoy
i did, had to get proper version of java think it's java 1.6.20 or something but not just 1.6 plain. also had to remove current java On Fri, Jul 20, 2012 at 3:09 PM, pratik.prajap...@gmail.com pratik.prajap...@gmail.com wrote: Any one fixed this? On Sunday, April 8, 2012 5:11:38 AM UTC-7,

Re: [android-developers] Re: Jelly Bean and Strict Mode

2012-07-21 Thread Ievgenii Nazaruk
I've just created one: http://code.google.com/p/android/issues/detail?id=35298 On Friday, July 20, 2012 4:12:26 PM UTC+3, BoD wrote: :( Did anybody open an issue? -- BoD On 07/20/2012 11:25 AM, b0b wrote: Exactly. StrictMode thread policy (and it seems only thread policy) is

Re: [android-developers] Re: READ_LOGS permission is not granted to 3rd party applications in Jelly Bean (api 16)

2012-07-21 Thread Ievgenii Nazaruk
Hm, I've had an impression that permissions are granted or denied on each fresh start of application. But after doing some experiments and looking through logs, it seems that they are only granted or denied during installation. Which explains the behavior of inherently granted READ_LOGS

[android-developers] app crashes when a map view is added

2012-07-21 Thread Ralph Bergmann | the4thFloor.eu
Hello, on all my Android 4.x devices the app crashes when I restart the app via Eclipse and the MapView is visible. You can find a example app here: https://github.com/the4thfloor/AndroidMapViewCrashTest Import this project and press play in Eclipse. In the app press the buttons until the

Re: [android-developers] Usage of DisplayMetrics

2012-07-21 Thread Jim Graham
On Fri, Jul 20, 2012 at 12:10:04PM -0700, bob wrote: float width = display.getWidth(); float height = display.getHeight(); Correction: display.getWidth() and display.getHeight() both return int, not float. Later, --jim -- THE SCORE: ME: 2 CANCER: 0 73 DE N5IAL (/4)MiSTie

[android-developers] Re: per account settings in Jelly Beans

2012-07-21 Thread Marten Gajda
I've created an email account in the emulator to see how they handle this. I don't like the new concept (although it's not completely new since the email client in 4.0.3 already has its own account selector activity) Why do we need two account selectors? Anyway, I've implemented my own selector

[android-developers] Re: Recommendations on Screenshot formats?

2012-07-21 Thread Mark Carter
One year on, now we have xhdpi devices and tvdpi (or whatever it is called for the Nexus 7), what is the recommended screenshot size to use? One thing I don't like with the Galaxy Nexus screenshots, is that they include the soft (back, home, multitasking) buttons - so the user ends up seeing

Re: [android-developers] Re: OEM-Official ADB USB Driver support (rant)

2012-07-21 Thread JP
On Saturday, July 21, 2012 1:13:27 AM UTC-7, Nikolay Elenkov wrote: Back on topic, the USB driver in the SDK works fine with the N7. Update the SDK and select the driver folder in device manager. Not for me, not. (USB debugging enabled) Oh well. -- You received this message because you

[android-developers] adb pull not to file but to memory

2012-07-21 Thread matt
hello, is it possible to somehow redirect the outputs of adb pull not to a file but to some place in memory? specifically i am writing a java program, that executes adb pull /dev/graphics/fb0 and in the same program i want to process the result. -- You received this message because you are

Re: [android-developers] Usage of DisplayMetrics

2012-07-21 Thread Dianne Hackborn
Not sure what you are answering...? That is not a use case, that is just retrieving the values. Which, again, I recommend not using for anything. On Fri, Jul 20, 2012 at 12:10 PM, bob b...@coolfone.comze.com wrote: Or like so: Display display =

Re: [android-developers] Re: OEM-Official ADB USB Driver support (rant)

2012-07-21 Thread Nikolay Elenkov
On Jul 22, 2012 12:05 AM, JP joachim.pfeif...@gmail.com wrote: On Saturday, July 21, 2012 1:13:27 AM UTC-7, Nikolay Elenkov wrote: Back on topic, the USB driver in the SDK works fine with the N7. Update the SDK and select the driver folder in device manager. Not for me, not. (USB debugging

[android-developers] Looking for a developer for a simple widget

2012-07-21 Thread Richard Pickett
I'm looking for a developer that will write a simple app. I'm basically wanting a branded version of 1 VPN - a widget that sits on the home screen that toggles a VPN on and off and indicates whether it's currently connected or not. I'm open to the terms, whether it's a single payment for the app

Re: [android-developers] Call web service that returns an object

2012-07-21 Thread TreKing
On Sat, Jul 21, 2012 at 3:25 AM, Mohammed Zarqa mmza...@gmail.com wrote: the returned object is a class (Category) and contains ID as integer, Name and description so what should i do to sync the category class defined in both web service and the android app. Parse the data you get to

Re: [android-developers] app crashes when a map view is added

2012-07-21 Thread TreKing
On Sat, Jul 21, 2012 at 6:42 AM, Ralph Bergmann | the4thFloor.eu ra...@the4thfloor.eu wrote: What's going wrong? As the stacktrace explicitly tells you, you have a NullPointer at line 482 of LoadedApk.java. Use your debugger to determine what is null, then make it not null.

Re: [android-developers] Looking for a developer for a simple widget

2012-07-21 Thread Mark Murphy
On Sat, Jul 21, 2012 at 1:18 PM, Richard Pickett dev.null.1...@gmail.com wrote: I'm looking for a developer that will write a simple app. I'm basically wanting a branded version of 1 VPN - a widget that sits on the home screen that toggles a VPN on and off and indicates whether it's currently

Re: [android-developers] app crashes when a map view is added

2012-07-21 Thread Ralph Bergmann | the4thFloor.eu
Am 21.07.12 19:31, schrieb TreKing: As the stacktrace explicitly tells you, you have a NullPointer at line 482 of LoadedApk.java. Use your debugger to determine what is null, then make it not null. The LoadedApk.java is from the system not from me. And when you look at the example project the

Re: [android-developers] Looking for a developer for a simple widget

2012-07-21 Thread Richard Pickett
On Sat, Jul 21, 2012 at 12:41 PM, Mark Murphy mmur...@commonsware.comwrote: There is no documented and supported API to do this. Whatever technique they had been using presumably no longer works as of Android 4.0, based on their product description. If I understand it correctly, there

Re: [android-developers] Looking for a developer for a simple widget

2012-07-21 Thread Mark Murphy
On Sat, Jul 21, 2012 at 2:05 PM, Richard Pickett dev.null.1...@gmail.com wrote: If I understand it correctly, there wasn't a documented method back when they released it either. Yet they did it. Which is why I have some time budgeted to figure out how they did it and make sure that the Android

Re: [android-developers] app crashes when a map view is added

2012-07-21 Thread Kostya Vasilyev
I see it happen all the time... and without a MapView. It's some side effect of an application relaunch. Only happens during development. I already filed bug a few months ago. 21.07.2012 15:45 пользователь Ralph Bergmann | the4thFloor.eu ra...@the4thfloor.eu написал: Hello, on all my Android

Re: [android-developers] app crashes when a map view is added

2012-07-21 Thread Kostya Vasilyev
2012/7/21 Kostya Vasilyev kmans...@gmail.com I see it happen all the time... and without a MapView. Correction - used to see it all the time with 4.0.2/4.0.4. Appears to be fixed in 4.1.1 (although I haven't used it enough to say for sure). -- K It's some side effect of an application

Re: [android-developers] Re: Jelly bean swiping task away from task list kills service

2012-07-21 Thread Andy dev
Ok, I've found out a little more information. It seems that the crash doesn't happen when the task is swiped away, it's when one of the broadcast receivers tries to fire after the app has been swiped away. It works find beforehand, but it's cleared from the task list I'm also seeing this in the

[android-developers] Re: READ_LOGS permission is not granted to 3rd party applications in Jelly Bean (api 16)

2012-07-21 Thread Zsolt Vasvari
No, that's npt the case. After my OTA JB update, CatLog worked fine with all logs showing, but then, the next day, it did not. I didn't uninstall CatLog or anything. It just stopped working. PS: I also didn't reboot my phone. On Friday, July 20, 2012 9:49:50 PM UTC+7, vt wrote: On

[android-developers] sharing jars across applications

2012-07-21 Thread Ubuntu guy
Hello, I'm developing couple of applications which uses a java library (.jar). Both applications run fine in their own dalvik and things are fine. However, the library (although is being shared) is being linked into the byte code (generated by the compiler) and there by increasing the memory

[android-developers] Re: adb pull not to file but to memory

2012-07-21 Thread Chris Stratton
On Jul 21, 12:37 pm, matt matthias.gru...@gmail.com wrote: specifically i am writing a java program, that executes adb pull /dev/graphics/fb0 Don't do that. While it works on some devices, it won't work on others. There's an executable program called screencap or something like that, which

[android-developers] Re: How to stop terminate the Android application when using the native code

2012-07-21 Thread Chris Stratton
On Jul 20, 11:07 am, Justin Anderson magouyaw...@gmail.com wrote: I know, i can disable it, so it will work, but i'd like to let the app can run many times again. So i disable the exit(), but when call the second times, it generates errors. Could you help? Debug your code, find the

[android-developers] Re: sharing jars across applications

2012-07-21 Thread Ubuntu guy
To be more specific, this is a platform library provided by the OEM (as an sdk add-on), So is the platform library ACTUALLY shared across applications? On Jul 21, 5:29 pm, Ubuntu guy sam_...@yahoo.co.in wrote:   Hello,    I'm developing couple of applications which uses a java library

Re: [android-developers] Usage of DisplayMetrics

2012-07-21 Thread Jim Graham
On Sat, Jul 21, 2012 at 09:57:34AM -0700, Dianne Hackborn wrote: Not sure what you are answering...? That is not a use case, that is just retrieving the values. Which, again, I recommend not using for anything. I'm not sure I understand Are you saying that display.getWidth and

[android-developers] Jelly Bean conversational TTS?

2012-07-21 Thread Josh Burton
Hi, The whats new in Jelly Bean page (http://www.android.com/about/jelly-bean/) states Jelly Bean introduces a new conversational text-to-speech voice in US English, available as both a network engine and an embedded engine via the TTS API. I get the conversation voice in Google Now, but

[android-developers] Using android.R.id.title and getParent to remove TitleBar

2012-07-21 Thread Vance Turnewitsch
I am using the following code to dynamically hide the TitleBar: ViewGroup ob = (ViewGroup) findViewById(android.R.id.title).getParent(); ((View)ob).setVisibility(View.INVISIBLE); ob.setLayoutParams(new LinearLayout.LayoutParams(0, 0));

Re: [android-developers] Re: Adding functions dynamically from application to Jar

2012-07-21 Thread Harsh Vardhan
My eclipse info: Eclipse SDK Version: 3.7.2 Build id: M20120208-0800 So you resorted to some other IDE for android development..which one if answer is yes? Kris can you tell me what according you is the problem here..just making sure that we are on the same page!! Because I am sure that I

Re: [android-developers] Re: sharing jars across applications

2012-07-21 Thread Nikolay Elenkov
On Sun, Jul 22, 2012 at 11:56 AM, Ubuntu guy sam_...@yahoo.co.in wrote: To be more specific, this is a platform library provided by the OEM (as an sdk add-on), So is the platform library ACTUALLY shared across applications? Unless you are building your own ROM and add it to the system

[android-developers] JB compile Error!

2012-07-21 Thread Scorpio92
I try to compile JB and get this error: target thumb C: libhardware_legacy = hardware/libhardware_legacy/power/power.c arm-linux-androideabi-gcc: error: : No such file or directory make: *** [out/target/product/swift/obj/SHARED_LIBRARIES/libhardware_legacy_intermediates/power/power.o] Error 1

Re: [android-developers] Re: Adding functions dynamically from application to Jar

2012-07-21 Thread Kristopher Micinski
Personally I use emacs for android development... My comment as to your finding a security loophole was merely sarcasm... Kris On Jul 21, 2012 11:35 PM, Harsh Vardhan harsh.020...@gmail.com wrote: My eclipse info: Eclipse SDK Version: 3.7.2 Build id: M20120208-0800 So you resorted to

Re: [android-developers] Usage of DisplayMetrics

2012-07-21 Thread Agus
You missed something which is that : use cases are different than how to use. On Sat, Jul 21, 2012 at 8:02 PM, Jim Graham spooky1...@gmail.com wrote: On Sat, Jul 21, 2012 at 09:57:34AM -0700, Dianne Hackborn wrote: Not sure what you are answering...? That is not a use case, that is just