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

2012-07-20 Thread Clark kent
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? Thanks Clark On Sunday, July 15, 2012 5:52:38 AM UTC+7, Dianne Hackborn wrote: You just need to fix

[android-developers] Re: Sole Trader in Germany?

2012-07-20 Thread kaciula
Because Android developers from Romania, as well as developers from a lot of other countries, can't sell apps on the Android Market. http://support.google.com/googleplay/android-developer/bin/answer.py?hl=enanswer=150324 On Friday, July 20, 2012 12:06:42 AM UTC+3, bob wrote: Why not get

Re: [android-developers] NFC Application

2012-07-20 Thread GregM
Hi, I suggest looking at the example here: https://github.com/gast-lib/gast-lib/blob/master/app/src/root/gast/playground/nfc/NFCInventoryActivity.java The code helps you write an Activity that helps the user create the right NFC tags. Just copy and paste the code into your app and change the

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

2012-07-20 Thread BoD
Wait, I'm not sure I understand. Are you saying StrictMode configuration calls (setThreadPolicy, setVmPolicy) no longer work if made in Application.onCreate? (We can expect most apps make the calls there.) -- BoD On 07/16/2012 11:05 PM, Dianne Hackborn wrote: The bug I think is that the

[android-developers] Re: Speech Recognition in Android

2012-07-20 Thread GregM
Hi, This code library helps you with speech recognition and in particular has some nice code to help handle matching hard to match words using Soundex and Stemming and other things. Check it out here: https://github.com/gast-lib/gast-lib To get started quickly, I suggest just extending this

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

2012-07-20 Thread b0b
On Friday, 20 July 2012 10:33:46 UTC+2, BoD wrote: Wait, I'm not sure I understand. Are you saying StrictMode configuration calls (setThreadPolicy, setVmPolicy) no longer work if made in Application.onCreate? (We can expect most apps make the calls there.) -- BoD Exactly.

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

2012-07-20 Thread Ran
I just got the OTA for JellyBean on my Nexus S. READ_LOGS apps seem to work as before.. I can see all the logs in alogcat. is this a bug? On Sunday, July 8, 2012 10:26:47 PM UTC+3, Ievgenii Nazaruk wrote: Hi all, I've been working on an application for developers that uses DropBoxManager.

[android-developers] How to get the platform signing key

2012-07-20 Thread Narendra Singh Rathore
Hi all, I need to know how can I get the platform signing key. I googled a lot, but unable to find the step by step process for that. Please guide me the way to do that. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group,

Re: [android-developers] How to get the platform signing key

2012-07-20 Thread Mark Murphy
On Fri, Jul 20, 2012 at 7:03 AM, Narendra Singh Rathore nsr.curi...@gmail.com wrote: Hi all, I need to know how can I get the platform signing key. I googled a lot, but unable to find the step by step process for that. Please guide me the way to do that. This has nothing to do with this list.

Re: [android-developers] Re: Dear all

2012-07-20 Thread srikanth
thank you i got it On Friday, July 13, 2012 9:23:55 AM UTC+5:30, jugni wrote: Hello, first of all retrive the which item is clicked and then based on cliked item call the activity so your query will be solve. On Fri, Jul 13, 2012 at 8:41 AM, srikanth srikanthandroidgro...@gmail.com

[android-developers] Re: Sole Trader in Germany?

2012-07-20 Thread superpsycho
I´m a german dev-beginner and i can tell you, our taxsystem is as complex as hell... I think you have a german giro-account right? So the way i would go is to contact the local depatment of taxes where your bank is located. They might help you much better than any dev because the whole thing

[android-developers] Re: systrace error

2012-07-20 Thread Todd Sjolander
Have you seen thishttp://stackoverflow.com/questions/11300773/error-running-systrace-tool-in-adb-using-a-jelly-bean-4-1-emulator-on-windows-7? It sounds like the script doesn't play nice on Windows...but that seems like too obvious of an error to go overlooked. Either way, running it in

[android-developers] Serial BluetoothSTREAM without packaging

2012-07-20 Thread superpsycho
Hey devs, i would like to know if it´s possible to sent data over bluetooth without interruption. With the source below i got fragmented packages on the reciverside. CODE: OutputStream outStream = serialSocket.getOutputStream(); Log.d(TAG,outStream created

Re: [android-developers] onSaveInstanceState() killed by OS

2012-07-20 Thread Andrew
I'll try to find this out through experiments. Yes, I agree that this probably is freezing UI. But there's a problem here: this cannot be run on a spawned thread as OS may kill the process right after this call returns, thus, again, killing the saving thread in the middle! On Thursday, July

Re: [android-developers] onSaveInstanceState() killed by OS

2012-07-20 Thread Mark Murphy
On Fri, Jul 20, 2012 at 8:06 AM, Andrew andrew.masl...@allegrowireless.com wrote: Yes, I agree that this probably is freezing UI. But there's a problem here: this cannot be run on a spawned thread as OS may kill the process right after this call returns, thus, again, killing the saving thread

[android-developers] Android C2DM messages are lost?

2012-07-20 Thread Jafar
Hello, I'm sending notifications with android C2DM. I'm using C2dmSharp. I'm trying to send 200 different notifications to my phone. Server-side I get an OK response with an id=[ID of sent message] for each message (like documented here https://developers.google.com/android/c2dm/#push) so I

[android-developers] Re: urgent - how to include existing c++ code into Android

2012-07-20 Thread Károly Holczhauser
Hello there ! Yes, all of you had right ! I had created an extend C code in a cpp file with a JNI , after I was able to reach my original C++ lib. Thx , cheers On Wednesday, 18 July 2012 09:56:35 UTC+2, Juned Khan wrote: NDK is the only solution to run .cpp files or .c files -- You

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

2012-07-20 Thread BoD
:( 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 restored to the default settings by the framewrok after onCreate() is called. -- You received this message because you are subscribed to the

[android-developers] Re: Sole Trader in Germany?

2012-07-20 Thread bob
Hmmm… I used to think that Romain Guy was from Romania. But I guess that's just his name. On Friday, July 20, 2012 2:46:48 AM UTC-5, kaciula wrote: Because Android developers from Romania, as well as developers from a lot of other countries, can't sell apps on the Android Market.

[android-developers] Re: Scaling ImageView rightCrop

2012-07-20 Thread Sam Duke
+1 for this On Monday, 31 January 2011 17:04:33 UTC, lou wrote: Hi ! I'm trying to insert an image in my application. This image don't cover all the screen, so I have to scale it. My problem : I want the picture to cover the all screen, stay scaled and be cropped at the right of the

[android-developers] Re: Sole Trader in Germany?

2012-07-20 Thread bob
Can you use Admob or Greystripe to monetize your apps? On Friday, July 20, 2012 2:46:48 AM UTC-5, kaciula wrote: Because Android developers from Romania, as well as developers from a lot of other countries, can't sell apps on the Android Market.

[android-developers] Listener object referece after removing the view

2012-07-20 Thread rk
I am adding Custom Views and each View has few Custom-listeners. Based on the User settings I will remove existing views and create/add new views to the UI. My Question: When I remove/delete the view, does my Listener objects are eligible for garbage collection or NOT ? I dont need the view

Re: [android-developers] Re: static vs non-static inner classes

2012-07-20 Thread joebowbeer
Note that there is now an Android Lint check for non-static inner classes that extend Handler. See HandlerLeak: http://tools.android.com/tips/lint-checks I've implemented a Handler.Callback wrapper that wraps the Callback (usually an inner class) in a WeakReference, and I construct the

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

2012-07-20 Thread vt
On Friday, July 20, 2012 2:50:19 AM UTC-7, Ran wrote: I just got the OTA for JellyBean on my Nexus S. READ_LOGS apps seem to work as before.. I can see all the logs in alogcat. is this a bug? It looks like previously installed applications have inherited permissions that were given at

Re: [android-developers] onSaveInstanceState() killed by OS

2012-07-20 Thread Justin Anderson
As Mark said earlier... The main purpose of onSaveInstanceState() is to save the current state of your UI so you can restore it when the activity comes back... That way the rotation appears seamless to the user. This would mean saving text in EditText objects, or the checked state of a CheckBox

Re: [android-developers] onSaveInstanceState() killed by OS

2012-07-20 Thread RichardC
And not even your UI: * The default implementation takes care of most of the UI per-instance state for you by calling onSaveInstanceState()http://developer.android.com/reference/android/view/View.html#onSaveInstanceState() on each view in the hierarchy that has an id, and by saving the id of

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

2012-07-20 Thread Justin Anderson
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 cause of the errors, and fix them... Thanks, Justin Anderson MagouyaWare

Re: [android-developers] video upload to server

2012-07-20 Thread Justin Anderson
how to use google... Thanks, Justin Anderson MagouyaWare Developer http://sites.google.com/site/magouyaware On Fri, Jul 20, 2012 at 12:42 AM, ANKUR GOEL ankur1...@gmail.com wrote: Hi all , how to upload large video file to server . Thanks -- You received this message because you are

Re: [android-developers] onSaveInstanceState() killed by OS

2012-07-20 Thread Streets Of Boston
Hi Andrew, The answers you got are correct. You should spend as little time in onSaveInstanceState (or any other onX callback method) as possible. Preferably a few milliseconds. I don't know what your app does, but it looks like you try to save user supplied information (either in a file

Re: [android-developers] onSaveInstanceState() killed by OS

2012-07-20 Thread Justin Anderson
Nice catch... I never noticed that before. Thanks, Justin Anderson MagouyaWare Developer http://sites.google.com/site/magouyaware On Fri, Jul 20, 2012 at 9:07 AM, RichardC richard.crit...@googlemail.comwrote: And not even your UI: * The default implementation takes care of most of the UI

Re: [android-developers] Re: Sole Trader in Germany?

2012-07-20 Thread Kristopher Micinski
On Fri, Jul 20, 2012 at 9:51 AM, bob b...@coolfone.comze.com wrote: Hmmm… I used to think that Romain Guy was from Romania. But I guess that's just his name. No, he's one of the developers at Google... kris -- You received this message because you are subscribed to the Google Groups

[android-developers] Gingerbread sandwich

2012-07-20 Thread bob
So, there was Android 1 and Android 2, which were basically for phones. Then, came Android 3, which was basically for tablets. Then, came Android 4, which is for phones again. Is it safe to say that Android 4 is basically a continuation of Android 2 for the most part? -- You

[android-developers] Re: Sole Trader in Germany?

2012-07-20 Thread kaciula
The entire business is located in Romania (which is in EU). Only the bank account is in Germany and the owner is a regular guy who lives in Germany. And the account is a Giro account at the Baden Wurtembergische Bank. Basically, we'd like from time to time to transfer the money from the German

Re: [android-developers] Accessing Android Transceiver Info.

2012-07-20 Thread Fred Niggle
Speaking from experience of attempting to develop an ultrasonic measurement app, this is not possible. Sonar is a marine application and it is simply not possible with a mobile phone, not lest because mobile phones do not have a submersible active sonar device, but also because surface noise

Re: [android-developers] Gingerbread sandwich

2012-07-20 Thread Justin Anderson
1. this really should be on the android-discuss group as it has nothing to do with development. Really, you'd think you'd get it down by now, after the number of threads that you've started and you've been told so many times that this group is not the appropriate place for it. 2.

[android-developers] Re: File IO works on Emulator but not my snowball board

2012-07-20 Thread marcpolo
Problem solved. I had to enable user permissions (chmod) on the mnt/sdcard/ directory. Thanks for the feedback. -- 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

Re: [android-developers] Re: static vs non-static inner classes

2012-07-20 Thread Kostya Vasilyev
It's also pretty easy to remove outstanding messages in an activity or fragment's end-of-lifecycle callbacks. Good idea anyway if those messages are supposed to trigger UI changes -- you won't want them to arrive after the activity/fragment has shut down. -- K 2012/7/20 joebowbeer

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

2012-07-20 Thread JP
One of the most vexing problems over the years: Official ADB USB driver support by OEMs. With the exception of a few, every new device coming out seems to be missing the ADB USB drivers. Even Nexus devices. And once out, they may not even be available naked from the official source, as they should

[android-developers] Re: Listener object referece after removing the view

2012-07-20 Thread bob
Why not override the finalize method in Java? protected void finalize() throws Throwable {} Maybe stick a Log statement in there and put a breakpoint on the Log statement? When it gets called, that's when it's ready for collection. On Friday, July 20, 2012 9:10:11 AM UTC-5, rk wrote: I am

[android-developers] Re: video upload to server

2012-07-20 Thread bob
Sounds like a job for a TCP socket. Will probably be something like this but more binary-ish: Socket s = new Socket(Config_Manager.getIp(), Config_Manager.getPort()); OutputStream theOutput = s.getOutputStream(); OutputStreamWriter out = new OutputStreamWriter(theOutput); out.write(content);

[android-developers] JellyBean systrace in cygwin problem, does not write trace.html

2012-07-20 Thread JP
Using systrace, I am trying to create a system trace file as demonstrated in the Google I/O session For Butter or Worse. Configuration: Galaxy Nexus / JellyBean 4.1.1 (JR003C). Windows 7 SP 1 with Cygwin and Python installed, which is different from the demo in the session where they use a Mac.

[android-developers] Re: How to get the platform signing key

2012-07-20 Thread bob
Sounds like you are looking for the keytool command that you run at the command line. I bet your keys are in a file called keystore on your hard drive. If you combine the keytool command with the keystore file, that may give you what you're looking for. On Friday, July 20, 2012 6:03:12

[android-developers] Re: Accessing Android Transceiver Info.

2012-07-20 Thread bob
Do you want underwater sonar or above water sonar (like what bats use)? On Thursday, July 19, 2012 10:16:36 PM UTC-5, Be Tox wrote: Does anyone know how to access the transceiver information (MIB?) on an Android phone in order to create a Sonar type App? Kind Regards, Be Tox -- You

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

2012-07-20 Thread bob
Why not get a Mac? Almost all Android devices just work on a Mac. I don't know why, but that is how it is. On Friday, July 20, 2012 12:15:23 PM UTC-5, JP wrote: One of the most vexing problems over the years: Official ADB USB driver support by OEMs. With the exception of a few, every

[android-developers] Re: Upload Video on youtube

2012-07-20 Thread bob
Make sure you have INTERNET permission and are linking to the JAR for the YouTube SDK. On Wednesday, July 18, 2012 4:34:17 AM UTC-5, Mahesh Chunkhade wrote: Hello friends, I want to upload video on youtube via my application ,i tried it lot but i am not getting how to upload

[android-developers] Re: Serial BluetoothSTREAM without packaging

2012-07-20 Thread bob
Why not append your data into one big buffer and do one send of the big buffer? On Friday, July 20, 2012 6:51:01 AM UTC-5, superpsycho wrote: Hey devs, i would like to know if it´s possible to sent data over bluetooth without interruption. With the source below i got fragmented packages

Re: [android-developers] Re: Accessing Android Transceiver Info.

2012-07-20 Thread Bill Takats
Definitely NOT underwater. I am looking at an APP to essentially bounce sonic waves through/off materials -- probably in the 20 - 5000 Hz range. On Fri, Jul 20, 2012 at 1:42 PM, bob b...@coolfone.comze.com wrote: Do you want underwater sonar or above water sonar (like what bats use)? On

[android-developers] Re: Sole Trader in Germany?

2012-07-20 Thread Nobu Games
Let the German bank account owner try to figure that one out. He could first of all ask his bank for free. Be warned that the bank might be not amused when that account got opened under false pretenses (see http://europa.eu/youreurope/citizens/shopping/banking/opening-bank-account/index_en.htm

Re: [android-developers] Usage of DisplayMetrics

2012-07-20 Thread Dianne Hackborn
I recommend never using them. The real correct size will be given to you through the view hierarchy. On Thu, Jul 19, 2012 at 7:32 PM, Agus agus.sant...@gmail.com wrote: What are the uses cases in which width and height values of DisplayMetrics used ? Is it just for games ? -- You

[android-developers] Re: setPictureSize on Droid RAZR

2012-07-20 Thread paladin
Code where I set the size: public void surfaceChanged(SurfaceHolder holder, int format, int w, int h) { Camera.Parameters parameters = camera.getParameters(); ListSize sizes = parameters.getSupportedPictureSizes(); int width = 0, height = 0; if(sizes == null)

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

2012-07-20 Thread Ran Manor
you're right. - Ran On Fri, Jul 20, 2012 at 5:49 PM, vt vadim.tkache...@gmail.com wrote: On Friday, July 20, 2012 2:50:19 AM UTC-7, Ran wrote: I just got the OTA for JellyBean on my Nexus S. READ_LOGS apps seem to work as before.. I can see all the logs in alogcat . is this a bug? It

[android-developers] Re: Sole Trader in Germany?

2012-07-20 Thread Nobu Games
In addition to what I said: the German bank account owner might get into trouble with the German tax system because of the money you earn for him. He is actually obliged to tell the tax office about any kind of income he has and in my book that money you earn counts as his income, since he owns

[android-developers] Re: static vs non-static inner classes

2012-07-20 Thread Streets Of Boston
The problem is with a non-static inner class is that you don't 'see' the implicit reference to the outer instance (OuterClass.this). It is easy to forget about this one and later realize what problems it causes. Usually, when the lifetime cycle of an inner class matches the lifecycle of the

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

2012-07-20 Thread pratik.prajap...@gmail.com
Any one fixed this? On Sunday, April 8, 2012 5:11:38 AM UTC-7, justlove joyous wrote: any clues? On Thursday, April 5, 2012 4:27:31 AM UTC-4, kcobra wrote: The error is as following: UNEXPECTED TOP-LEVEL ERROR: Exception in thread main java.lang.OutOfMemoryError: GC overhead limit

Re: [android-developers] Usage of DisplayMetrics

2012-07-20 Thread bob
Or like so: Display display = ((WindowManager).getSystemService(Context.WINDOW_SERVICE)).getDefaultDisplay(); float width = display.getWidth(); float height = display.getHeight(); On Friday, July 20, 2012 1:06:36 PM UTC-5, Dianne Hackborn wrote: I recommend never using them. The real

Re: [android-developers] Re: Accessing Android Transceiver Info.

2012-07-20 Thread bob
Are you planning to use sound waves or electromagnetic waves? For sound waves, I would expect you would use audio playback and the microphone, and not a transceiver. If you're using electromagnetic waves, that's radar… ish. On Friday, July 20, 2012 12:54:56 PM UTC-5, Be Tox wrote:

[android-developers] stroke color

2012-07-20 Thread bob
Is there a way to set the stroke color on Paint to something different than the text color? -- 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

[android-developers] Re: stroke color

2012-07-20 Thread Nobu Games
I'm not sure what you mean. You can call Paint.setColor() and provide an ARGB encoded integer as argument. You can use the Color class for constructing such an int with helper methods. Or you can call Paint.setARGB() for specifying the individual color channels. If you want to draw a shape

Re: [android-developers] stroke color

2012-07-20 Thread Justin Anderson
Doesn't look like there is an easy way to do that, but depending on what you are trying to do, a quick google search brought up this workaround that may help... http://stackoverflow.com/questions/2145131/trying-to-draw-a-button-how-to-set-a-stroke-color-and-how-to-align-a-gradient Thanks, Justin

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

2012-07-20 Thread JP
I figured somebody was going to offer that. I got a Mac, but this is about my Windows boxen where I need this to work on Windows. But while ranting (;-). The part that sucks with Macs is that Apple drops older versions of OS X like hot potatoes. If I know a certain application that I rely on is

Re: [android-developers] onSaveInstanceState() killed by OS

2012-07-20 Thread TreKing
On Fri, Jul 20, 2012 at 7:06 AM, Andrew andrew.masl...@allegrowireless.comwrote: Yes, I agree that this probably is freezing UI. But there's a problem here: this cannot be run on a spawned thread as OS may kill the process right after this call returns, thus, again, killing the saving thread

[android-developers] set the different ringtone for an single contact

2012-07-20 Thread David Toledo
Hi All How can I set the different ringtone for an single contact from address book? Thanks David -- 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

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

2012-07-20 Thread Kostya Vasilyev
Since no-one's offered you try using Linux, I'll do that now. Some devices still need some magic in the udev config file, but most don't. I'm seeing a big difference in how fast Eclipse launches an app after it's been built, it's much faster on Linux than on Windows (same computer, same Eclipse

[android-developers] MediaCodec configure() MediaCrypto parameter

2012-07-20 Thread ssocco
Hello, I'm working with the Jelly Bean MediaCodec API, trying to configure a decoder and display pipeline for an open (unencrypted) container. How should I create a MediaCrypto object for the configure() API? Thanks, Steve -- You received this message because you are subscribed to the

Re: [android-developers] set the different ringtone for an single contact

2012-07-20 Thread David Toledo
I answer myself, maybe is the solution from problem, the following private void changeTonetoContact(int contactId,String uriString) { ContentValues values = new ContentValues(); values.put(ContactsContract.Contacts.CUSTOM_RINGTONE, uriString);

Re: [android-developers] onSaveInstanceState() killed by OS

2012-07-20 Thread Justin Anderson
This method, or it's fancy new Fragments version, might be of interest to you: http://developer.android.com/reference/android/app/Activity.html#onRetainNonConfigurationInstance%28%29 I don't know... I can't see how there is much value in a method that you must not rely on it being called

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

2012-07-20 Thread bob
There's something called PdaNet… I think when you install it, it installs a bunch of drivers that help with Android devices… I installed it, and it may have helped me talk to a VIZIO tablet on Windows… but I'm not sure. I discovered that waiting one or two minutes before doing adb devices

[android-developers] Re: onPreviewFrame method not called

2012-07-20 Thread bob
I don't know, but I would consider upping your stuff to ICS. They do all kinds of real-time camera filtering and such, and it's built-in. Lots of neat effects like vignette. On Thursday, July 19, 2012 8:32:27 PM UTC-5, mkerim wrote: Hello, I have seen these kinds of topics stating a

Re: [android-developers] Re: Accessing Android Transceiver Info.

2012-07-20 Thread Bill Takats
I was/am planning to simply use the speaker and mic for sound doppler spectral analysis of solid non-dense objects. Being an Engineer, I would imagine that real time capturing of the reflected sonic waves might be an issue when compared to the initial sent ping signals. Hence, in a nut-shell, my

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

2012-07-20 Thread Andy dev
Anyone at least confirm what I'm doing looks ok - even if you don't know the reason why. Just as a sanity check? On Thursday, July 19, 2012 10:19:22 PM UTC+1, Andy dev wrote: I've got a service running (an accessibility service called MainRunningService) and also use an alarmmanager within

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

2012-07-20 Thread Kostya Vasilyev
Yep, I can confirm this with my own foreground service on 4.1.1 (Galaxy Nexus). -- K 2012/7/21 Andy dev andrewpmo...@gmail.com Anyone at least confirm what I'm doing looks ok - even if you don't know the reason why. Just as a sanity check? On Thursday, July 19, 2012 10:19:22 PM UTC+1, Andy

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

2012-07-20 Thread Andy dev
Thanks. I'll keep looking for a solution then! On Friday, July 20, 2012 11:04:13 PM UTC+1, Kostya Vasilyev wrote: Yep, I can confirm this with my own foreground service on 4.1.1 (Galaxy Nexus). -- K 2012/7/21 Andy dev andrewpmo...@gmail.com Anyone at least confirm what I'm doing looks

[android-developers] Logcat without ADB or even USB drivers

2012-07-20 Thread RLScott
I have a bug that so far only shows up on this obscure Chinese tablet. There are no OEM USB drivers for this device, so I can't use Logcat the usual way. Is there any other kind of logging that is similar to Logcat that I could use to log some events in the code? I could write my own logging

[android-developers] Re: Logcat without ADB or even USB drivers

2012-07-20 Thread lbendlin
is the device rooted? you should be able to pipe the logcat on the device to a text file. On Friday, July 20, 2012 9:19:01 PM UTC-4, RLScott wrote: I have a bug that so far only shows up on this obscure Chinese tablet. There are no OEM USB drivers for this device, so I can't use Logcat

Re: [android-developers] onSaveInstanceState() killed by OS

2012-07-20 Thread TreKing
On Fri, Jul 20, 2012 at 4:07 PM, Justin Anderson magouyaw...@gmail.comwrote: This method, or it's fancy new Fragments version, might be of interest to you: http://developer.android.com/reference/android/app/Activity.html#onRetainNonConfigurationInstance%28%29 I don't know... I can't see

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

2012-07-20 Thread JP
On Friday, July 20, 2012 1:39:04 PM UTC-7, Kostya Vasilyev wrote: Since no-one's offered you try using Linux, I'll do that now. Well we are talking corporate laptops that will not go on a corp. network running Linux. Plus no Outlook and so forth. Well I suppose I'll keep the Nexus 7