[android-developers] Difference between Android and Linux Kernel ?

2012-10-19 Thread chain_chelliah
I know Android uses the Linux kernel. I hope the Android developers did some modification with original Linux Kernel, especially in standard C libraries. My question is whether the processing speed of Linux and Android kernel are the same or different. I did some tests in different OS like

[android-developers] Can we save a file on android device, even after uninstalling the app

2012-10-19 Thread Jatin D Patel
File will store important information regarding whether payment was done or not. If app is uninstalled. file gets uninstalled too. So can we store file on android device, even if customers uninstalls the app. The reason why we are doing so is because, if customers come back to use our

[android-developers] Re: Difference between Android and Linux Kernel ?

2012-10-19 Thread al
Yes, the Android linux kernel has been modified. Android uses the bionic c lib. Your test results look like you are comparing apples and oranges. E.g. do you use the same hardware for the test? If so, you need to use Android-x86 or something similar which may not be optimized (drivers etc.)

Re: [android-developers] Can we save a file on android device, even after uninstalling the app

2012-10-19 Thread Kristopher Micinski
what happens when the user puts the file there before your app is installed ... This is a very poor authorization scheme, you should use an app licensing scheme instead. kris On Fri, Oct 19, 2012 at 2:32 AM, Jatin D Patel depo.ja...@gmail.com wrote: File will store important information

Re: [android-developers] Re: Save the fragment state in tabs switch

2012-10-19 Thread Giosia Gentile
Sorry but I write wrong, the fragment class doesn't have the onRetainNonConfigurationInstan ce() method!!! How I can retain my fragment in configuration change if I don't have this method!! Thank you! On Thursday, October 18, 2012 8:50:20 PM UTC+2, MagouyaWare wrote: Ummm... if you look at

[android-developers] Re: Difference between Android and Linux Kernel ?

2012-10-19 Thread Anthony Prieur
You might want to take a look at Linaro toolchain which speedup a lot Android: http://www.youtube.com/watch?v=mrQRYmYip6Q Le vendredi 19 octobre 2012 08:13:53 UTC+2, chain_chelliah a écrit : I know Android uses the Linux kernel. I hope the Android developers did some modification with

[android-developers] Re: Difference between Android and Linux Kernel ?

2012-10-19 Thread chain_chelliah
Thanks for quick reply, I'm not using same hardware platform for all. Android alone running ARM core with 750 MHz , others are Intel core with 2 GHz. Compare with MIPS rate both core equally same. Kindly tell me, If my platforms may differ which Android OS suitable for

[android-developers] Best Approach to make an online Radio Player in Android

2012-10-19 Thread Sebs
I am making an online radio player in android. For now what i have faced is that when i am playing from url it plays for a while the stops,showing sometime info 710(starting buffering),702(end buffering) and 703 low internet reception. Now as i need the player to maintain the state for

[android-developers] Re: Difference between Android and Linux Kernel ?

2012-10-19 Thread chain_chelliah
Thanks for the reply, I'm using Beagle Bone device as developing kit. Is this OS support in ARM platform. If so, where i can download it. On Friday, October 19, 2012 12:32:36 PM UTC+5:30, Anthony Prieur wrote: You might want to take a look at Linaro toolchain

Re: [android-developers] Re: Difference between Android and Linux Kernel ?

2012-10-19 Thread Anthony Prieur
Try first JellyBean image, reading comments seems JB already added a portion of Linaro optimization. Linaro: http://www.linaro.org/downloads/ On Fri, Oct 19, 2012 at 9:17 AM, chain_chelliah sangilipandian.chell...@marudham.co.in wrote: Thanks for the reply, I'm using Beagle Bone

[android-developers] Re: Difference between Android and Linux Kernel ?

2012-10-19 Thread chainz roid
Hello Mr.Anthony Prieur chain_chellaih using Beaglebone. but in the download link, which one yo give the target boards are - Origen http://releases.linaro.org/12.09/android/leb-origen/ - PandaBoard http://releases.linaro.org/12.09/android/leb-panda/ - Snowball

Re: [android-developers] Re: Difference between Android and Linux Kernel ?

2012-10-19 Thread Anthony Prieur
Asks directly to Linaro team, would be better infos there. On Fri, Oct 19, 2012 at 9:54 AM, chainz roid sangilikumar.muniya...@marudham.co.in wrote: Hello Mr.Anthony Prieur chain_chellaih using Beaglebone. but in the download link, which one yo give the target boards are

Re: [android-developers] Re: Difference between Android and Linux Kernel ?

2012-10-19 Thread chain_chelliah
Oh !!! Thanks Anthony !!! Please let me know when you have gathered knowledge of beagle bone board. Thanks and Regards, Sangili Pandian C. On Friday, October 19, 2012 1:31:32 PM UTC+5:30, Anthony Prieur wrote: Asks directly to Linaro team, would be better infos there. On Fri,

[android-developers] Android tabs

2012-10-19 Thread ANKUR GOEL
Hi all i am working on tabs one help needed tht is 1 am third tab -- inside that i have detail with one button i want to go to first tab on click of that button and i dont want new tab to launch -- You received this message because you are subscribed to the Google Groups Android Developers

[android-developers] Will there be a new density beyond xhdpi to support 440dpi screens as found in the new HTC J Butterfly?

2012-10-19 Thread Mark Carter
ldpi ~120dpi mdpi ~160dpi hdpi ~240dpi xhdpi ~320dpi xxhdpi would then be for 400dpi or 480dpi (depending how you continue the sequence)? -- 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] Application Crash on Internet Connection Loss

2012-10-19 Thread Krishna Mahadik
Hi Guys, I am facing problem in handling exception. My application is an internet based application. The scenario is such that my application work fine when internet connection is alive. As, internet connection is lost, my application crashes. How can i stop my application from crashing. At

Re: [android-developers] Android tabs

2012-10-19 Thread raju bhusani
Hi, Use Tabhost object and call like this: Tabhost tab = getTabHost(); tab.setCurrentTab(m_currTab); On Fri, Oct 19, 2012 at 2:10 PM, ANKUR GOEL ankur1...@gmail.com wrote: Hi all i am working on tabs one help needed tht is 1 am third tab -- inside that i have detail with one button

[android-developers] Re: Converting LAt Long to UTM

2012-10-19 Thread Karl Kristian Markman
Sorry for the TAB usage but I just copy/past from eclipse.. I have one more problem here. The conversion sort of works but I miss the target by about 200 meters West. I have figured it out to bee this line that screws everything up.: nu = a/(Math.pow((1-(e*e* Math.sin(lat)*Math.sin(lat))),

Re: [android-developers] Application Crash on Internet Connection Loss

2012-10-19 Thread Asheesh Arya
// Check if Internet present isInternetPresent = cd.isConnectingToInternet(); if (!isInternetPresent) { // Internet Connection is not present alert.showAlertDialog(MainActivity.this, Internet Connection Error, Please connect to working

Re: [android-developers] WiFi hotspot and 2.3.6 (or newer)

2012-10-19 Thread falcon74
Thanks Justin. On Friday, October 19, 2012 1:29:05 AM UTC+5:30, MagouyaWare wrote: 1) This feature is probably a combination of device carrier specific. Yes, that's about what I thought. 2) This question has nothing to do with this list... Well, I think it is in a way, because based on

[android-developers] Re: Converting LAt Long to UTM

2012-10-19 Thread Karl Kristian Markman
On Friday, October 19, 2012 1:32:23 PM UTC+2, Karl Kristian Markman wrote: Sorry for the TAB usage but I just copy/past from eclipse.. I have one more problem here. The conversion sort of works but I miss the target by about 200 meters West. I have figured it out to bee this line that

[android-developers] using ffmpeg library for converting no. of images into a video containing music

2012-10-19 Thread Narendra Singh Rathore
Hello all, I have used the following link for converting images into video https://github.com/guardianproject/SSCVideoProto But, the problem is that it runs properly on version 2.3.6, where as gives problem while running on the version 2.3.3, it gives the following error

Re: [android-developers] Android tabs

2012-10-19 Thread skink
ANKUR GOEL wrote: Hi please see the application flow 4 tabs 3rd tab -- listTab -- on click -- DetailActivity with button thn from this button click i want to move to 1 Tab start DetailActivity by calling startActivityForResult() instead of startActivity() pskink -- You received

[android-developers] Re: Converting LAt Long to UTM

2012-10-19 Thread RichardC
It's not java.lang.math that needs to have the decimal point but Java the language: 1/2 is integer 1 divided by integer 2 result integer 0 1.0/2.0 is double 1.0 divided by double 2.0 result double 0.5 On Friday, October 19, 2012 1:31:57 PM UTC+1, Karl Kristian Markman wrote: On Friday,

[android-developers] Re: Application Crash on Internet Connection Loss

2012-10-19 Thread ravi .
Use this code. This will work public static boolean chkInternetConnection(Context cxt) { boolean isAvailable = false; ConnectivityManager conMgr = (ConnectivityManager) cxt.getSystemService(Context.CONNECTIVITY_SERVICE); if (conMgr.getActiveNetworkInfo() != null

[android-developers] Changing position of widgets

2012-10-19 Thread x-alina
Hi, how can I change the position of widgets in the source code? On Nexus is the clock for example not in the middle. I want change this in my little AOSP distribution. Regards, Alina -- You received this message because you are subscribed to the Google Groups Android Developers group. To

[android-developers] How to set limit for video capture

2012-10-19 Thread ravi .
Hi Everyone I want to limit the duration of the video capture. I am using the following code but this is not working. Intent intent = new Intent(MediaStore.ACTION_VIDEO_CAPTURE); intent.putExtra(MediaStore.EXTRA_DURATION_LIMIT, 3000);

[android-developers] Re: Bluetooth App with Apple chip inside of it.

2012-10-19 Thread ColorTheorist
Had to send my hardware device that connects to iOS devices out for some internal configurations for a separate reason. So no testing until it gets back after the weekend. Feedback from anyone who has done or heard of something like this would be useful. Or someone with hardware knowledge as

[android-developers] Re: Application Crash on Internet Connection Loss

2012-10-19 Thread bob
Why don't you see what Exception gets thrown and handle it? Most apps will pop up a Retry button when there's no Internet. On Friday, October 19, 2012 6:13:52 AM UTC-5, Spike wrote: Hi Guys, I am facing problem in handling exception. My application is an internet based application.

[android-developers] Re: using ffmpeg library for converting no. of images into a video containing music

2012-10-19 Thread bob
Maybe the directory Test does not exist on that device? On Friday, October 19, 2012 7:41:31 AM UTC-5, Narendra Singh Rathore wrote: Hello all, I have used the following link for converting images into video https://github.com/guardianproject/SSCVideoProto But, the problem is that it

[android-developers] how to make the phone number to be auto formatted to 123-123-1234 this format

2012-10-19 Thread Tom
Hi, i need help for this code. if you know about it please help me *how to make the phone number to be auto formatted to 123-123-1234 this format* *on ontextchangelistener of edittext..* * * Thanks -- You received this message because you are subscribed to the Google Groups Android

[android-developers] Re: using ffmpeg library for converting no. of images into a video containing music

2012-10-19 Thread Chris Sarbora
It looks like you're passing the format string directly to the FS. If there's not a file in that directory named literally %0d.jpeg, I'd expect it to fail. On Friday, October 19, 2012 5:41:31 AM UTC-7, Narendra Singh Rathore wrote: Hello all, I have used the following link for converting

[android-developers] Re: Bluetooth App with Apple chip inside of it.

2012-10-19 Thread Chris Sarbora
Do you know the changes that were required to it? On Thursday, October 18, 2012 1:54:43 PM UTC-7, ColorTheorist wrote: There is a custom device that I am working with that has been approved to communicate with Apple mobile devices. It will be my responsibility on my end to also communicate

Re: [android-developers] wildfire 3.1.0

2012-10-19 Thread TreKing
On Thu, Oct 18, 2012 at 8:25 AM, Rahul Kaushik rahulkaushi...@gmail.comwrote: How to connect with server wildfire 3.1.0 from android code Read documentation for Server Wildfire 3.1.0, whatever that is.

Re: [android-developers] how to make the phone number to be auto formatted to 123-123-1234 this format

2012-10-19 Thread Rafael Maas
edittext with mask? http://horribile.blogspot.com.br/2011/12/using-mask-with-edittext.html http://oraculum.blog.br/blogoraculum/index.php/2012/02/29/mascara-de-cpf-para-campos-edittext-no-android/ 2012/10/19 Tom arasi...@gmail.com Hi, i need help for this code. if you know about it please

Re: [android-developers] Re: Run the Service continuously even force close the app.

2012-10-19 Thread TreKing
On Mon, Oct 15, 2012 at 11:06 AM, Seshu s.seshu...@gmail.com wrote: Wat about the lower versions i.e., from Android 1.1 to Android 2.3.4. Will it work??? Not reliably, no. There's no good reason do be doing this anyway. If the user shut you down, there's probably a good reason for it.

Re: [android-developers] Yelp search result for businesses is missing the attraction lat/lng.

2012-10-19 Thread TreKing
On Mon, Oct 15, 2012 at 7:26 AM, Sultan Ibrahim sultan.ibra...@xintsolutions.com wrote: i have used an example of yelp from github to search for businesses,the example is working fine but missing one thing that is the lat/lngs of each attraction/location that i want to show, is not coming up

Re: [android-developers] Google Map Not working in the Real Deceive.

2012-10-19 Thread TreKing
On Sun, Oct 7, 2012 at 11:36 AM, askl amal...@gmail.com wrote: But it is not running in the real device. How can i fix that problem. Just give me some guild lines. First guideline: when asking a question, be specific and clear. It is not running in the real device tells us nothing about the

[android-developers] weak USB juice?

2012-10-19 Thread bob
I noticed that when my Galaxy Tab is connected to my PC, the battery level continues to decline until I have to take it out and charge it from a wall. Is there a way around this? I would think it should be able to charge or at least maintain its level from the USB juice. -- You received

Re: [android-developers] weak USB juice?

2012-10-19 Thread TreKing
On Fri, Oct 19, 2012 at 2:55 PM, bob b...@coolfone.comze.com wrote: I noticed that when my Galaxy Tab is connected to my PC, the battery level continues to decline until I have to take it out and charge it from a wall. Is there a way around this? This has nothing to do with developing

Re: [android-developers] weak USB juice?

2012-10-19 Thread Justin Anderson
It never ceases to amaze me how many times you ask off-topic questions on this forum... Thanks, Justin Anderson MagouyaWare Developer http://sites.google.com/site/magouyaware On Fri, Oct 19, 2012 at 8:55 AM, bob b...@coolfone.comze.com wrote: I noticed that when my Galaxy Tab is connected to

[android-developers] Re: Bluetooth App with Apple chip inside of it.

2012-10-19 Thread ColorTheorist
I don't, no. The hardware team is overseas from the software location, so a response will probably not come back through until the weekend has passed. I do believe there was some sort of custom chip needed over the bluetooth, but I can't verify at the moment. Other than that it seems as

[android-developers] Re: please help me

2012-10-19 Thread bob
Sounds like you will want to launch the Adobe PDF Reader. I'm guessing you want something like this: Intent intent = new Intent(); intent.setPackage(com.adobe.reader); intent.setDataAndType(Uri.parse(doc), application/pdf); startActivity(intent); On Thursday, October 18, 2012 3:45:55 PM

Re: [android-developers] Re: please help me

2012-10-19 Thread bahmani iman
On Fri, Oct 19, 2012 at 6:45 PM, bob b...@coolfone.comze.com wrote: Sounds like you will want to launch the Adobe PDF Reader. I'm guessing you want something like this: Intent intent = new Intent(); intent.setPackage(com.adobe.reader); intent.setDataAndType(Uri.parse(doc),

Re: [android-developers] Re: please help me

2012-10-19 Thread TreKing
On Fri, Oct 19, 2012 at 3:24 PM, bahmani iman imanbahm...@gmail.com wrote: i want make a application like other application with text file no with adobe pdf you know i want create a application that this have a home page and other menu are you have a refrence or source for this work? Your

[android-developers] Context() getDir() without creation

2012-10-19 Thread Paolo Mancini
Hi, I need to create some directory inside the application to maintain some internal data. To obtain this, I use context.getDir() and It works fine. Sometimes I need to know if some dir exists without create it..and to do it I can't use the context.getDir() cause this function create the

Re: [android-developers] Context() getDir() without creation

2012-10-19 Thread TreKing
On Fri, Oct 19, 2012 at 3:47 PM, Paolo Mancini paolo8...@gmail.com wrote: How can I obtain this? http://developer.android.com/reference/android/content/Context.html#getFilesDir%28%29 And standard Java IO.

[android-developers] Re: Bluetooth App with Apple chip inside of it.

2012-10-19 Thread bob
I think you mean Serial Port Profile (SPP). On Friday, October 19, 2012 10:10:00 AM UTC-5, ColorTheorist wrote: I don't, no. The hardware team is overseas from the software location, so a response will probably not come back through until the weekend has passed. I do believe there was

[android-developers] Re: Context() getDir() without creation

2012-10-19 Thread bob
new File(/mnt/sdcard/somedir).exists() On Friday, October 19, 2012 10:47:50 AM UTC-5, Paolo Mancini wrote: Hi, I need to create some directory inside the application to maintain some internal data. To obtain this, I use context.getDir() and It works fine. Sometimes I need to know if

Re: [android-developers] Context() getDir() without creation

2012-10-19 Thread Paolo Mancini
For instance: I create a new Test dir with: context.getDir(Test,Context.MODE_PRIVATE); If after in another part of code I want to check if Test exist without create it, which is the correct procedure?! thanks Il giorno venerdì 19 ottobre 2012 18:00:40 UTC+2, TreKing ha scritto: On Fri,

Re: [android-developers] WiFi hotspot and 2.3.6 (or newer)

2012-10-19 Thread Justin Anderson
Well, I think it is in a way, because based on if the feature is indeed there or not, approach / design of my app changes, or rather the overall solution's architecture that I am thinking of. No, it really isn't... This group is for Android app development with the Android SDK. Just because

[android-developers] ListView doesn't refresh when last item is deleted

2012-10-19 Thread Jacek Jabłoński
Hi, I have problem in my app. I have CursorLoader in conjcution with CursorAdapter. Everything works as expected, except one condition: when I have some items on ListView and I swap cursor in adapter for cursor that is empty, visible items aren't deleted (only dividers between rows disappear).

Re: [android-developers] ListView doesn't refresh when last item is deleted

2012-10-19 Thread Justin Anderson
I've never used a cursor with an adapter, but in general, when your adapter changes you need to call notifyDataSetChanged() on your adapter to let it know that the data needs to be refreshed... The adapter will then tell the listview it needs to update itself. Also, you shouldn't have to set the

Re: [android-developers] ListView doesn't refresh when last item is deleted

2012-10-19 Thread Jacek Jabłoński
Thanks for your reply. I've tried notifyDataSetChanged() previously, but it doesn't do the work. The only situation with refreshing ListView problem is only when I swap cursor for cursor that doesn't contain any elements. I think, I need toswap out the data because I am using CursorLoader.

Re: [android-developers] Context() getDir() without creation

2012-10-19 Thread bob
new File(context.getFilesDir(),Test).exists() On Friday, October 19, 2012 11:05:17 AM UTC-5, Paolo Mancini wrote: For instance: I create a new Test dir with: context.getDir(Test,Context.MODE_PRIVATE); If after in another part of code I want to check if Test exist without create it,

[android-developers] Boot sequence and application coordination

2012-10-19 Thread Bill Michaelson
I recently modified an application such that a component Service is now started upon device boot via RECEIVE_BOOT_COMPLETED. But when the service started, I encountered a problem with sqlite opening - a failure that was critical to the application. Upon examining adb logcat output, I noticed

Re: [android-developers] How to make Widgets not overlap

2012-10-19 Thread Justin Anderson
What's information you need know more? Please suggest. I think who have the exp. Who will know what I say. Your question is vague and doesn't give any specifics about what you are doing... In activity, it has five TabWidgets. Great.. what approach did you take to create and set them up?

[android-developers] Re: Bluetooth App with Apple chip inside of it.

2012-10-19 Thread ColorTheorist
No, I mean what I meant as requested from within the Google specifications for communications over bluetooth. http://source.android.com/tech/accessories/guide/custom.html Let's actually respond with some semblance of professionalism without trying to undermine people with caps and bold

[android-developers] Re: WiFi hotspot and 2.3.6 (or newer)

2012-10-19 Thread bob
This option does exist on my HTC Evo Design phone. It has ICS. https://lh6.googleusercontent.com/-DVXAcimGTeM/UIGPC4xRGGI/ACU/DF7DltdT1-o/s1600/evo.jpg On Thursday, October 18, 2012 8:45:09 AM UTC-5, falcon74 wrote: Froyo apparently had an option to create a portable hotspot

[android-developers] Re: Bluetooth App with Apple chip inside of it.

2012-10-19 Thread ColorTheorist
While it is a bit confusing as to what complications would arise from devices meant to connect with an Apple device from an Android device, I have communicated with proprietary devices from HID devices over the USB port once a driver had been introduced to handle the communication. So I'm not

Re: [android-developers] IllegalArgumentException from the MediaStore

2012-10-19 Thread Justin Anderson
http://lmgtfy.com/?q=android+illegalargumentexception+databaseutils Thanks, Justin Anderson MagouyaWare Developer http://sites.google.com/site/magouyaware On Thu, Oct 18, 2012 at 3:06 PM, Gaurav gkalmady...@gmail.com wrote: Hi, Accessing the media store gives me an IllegalArgumentException.

Re: [android-developers] Digest for android-developers@googlegroups.com - 25 Messages in 10 Topics

2012-10-19 Thread Kevin TeslaCoil
-Kevin (mobile) On Oct 19, 2012 12:58 PM, android-developers@googlegroups.com wrote: Today's Topic Summary Group: http://groups.google.com/group/android-developers/topics - IllegalArgumentException from the MediaStore#13a7a2cb77ea70e7_group_thread_0[1 Update] - Bluetooth App with

[android-developers] stay awake, please

2012-10-19 Thread bob
My Galaxy Tab is being exceedingly ornery. It continues to dim the screen after a few minutes even though I have called this function: void wake_lock() { PowerManager pm = (PowerManager) getSystemService(Context.POWER_SERVICE); PowerManager.WakeLock wl =

[android-developers] The Redexer binary rewriter

2012-10-19 Thread Kristopher Micinski
All, This is not strictly related to Android app development, so apologies in advance as it is slightly off topic here. However, as I have promised other people that I was working in the project in the past, I thought I would give it a small plug here. For the past year or so, my colleagues and

[android-developers] Re: Boot sequence and application coordination

2012-10-19 Thread Bill Michaelson
To answer my own question, I think I'm looking for code like that below. public void waitForExternalStorage() { while(Environment.getExternalStorageState().equals(Environment.MEDIA_CHECKING)) { try { Thread.sleep(1000L); } catch(InterruptedException e) {

Re: [android-developers] stay awake, please

2012-10-19 Thread TreKing
On Fri, Oct 19, 2012 at 6:39 PM, bob b...@coolfone.comze.com wrote: Anyone know what the issue is? Dim is not the same as sleep. - TreKing http://sites.google.com/site/rezmobileapps/treking -

[android-developers] how to solve the error UnknownHostException

2012-10-19 Thread SoftMan
I get this error when trying to query the server. I have a week on this, so, that means: I have internet permision in the manifest. The emulator have inernet access, I can go to google and navigate. The firewall sf off. I setted up the server and ip name in both, the hosts of machine and

[android-developers] Re: how to solve the error UnknownHostException

2012-10-19 Thread SoftMan
Ya le he hecho ping al servidor y tiene conexion. No estoy bajo un proxi. El viernes, 19 de octubre de 2012 14:55:10 UTC-4, SoftMan escribió: I get this error when trying to query the server. I have a week on this, so, that means: I have internet permision in the manifest. The emulator

[android-developers] Re: how to solve the error UnknownHostException

2012-10-19 Thread SoftMan
I can ping the server and I am not under a proxi. Please, 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

Re: [android-developers] Problem in apps

2012-10-19 Thread Justin Anderson
Solution: fix your app so it works on tab. I can vouch for this answer... I guarantee that once you fix the problem it will work. :-) Thanks, Justin Anderson MagouyaWare Developer http://sites.google.com/site/magouyaware On Wed, Oct 17, 2012 at 2:55 PM, TreKing treking...@gmail.com wrote:

[android-developers] Re: weak USB juice?

2012-10-19 Thread bob
This issue does not seem to happen with the Google Nexus 7, interestingly enough. I guess I can just use that for now. On Friday, October 19, 2012 9:55:42 AM UTC-5, bob wrote: I noticed that when my Galaxy Tab is connected to my PC, the battery level continues to decline until I have

Re: [android-developers] stay awake, please

2012-10-19 Thread bob
Is this it? getWindow().addFlags(WindowManager.LayoutParams.FLAG_KEEP_SCREEN_ON); On Friday, October 19, 2012 1:57:45 PM UTC-5, TreKing wrote: On Fri, Oct 19, 2012 at 6:39 PM, bob b...@coolfone.comze.comjavascript: wrote: Anyone know what the issue is? Dim is not the same as sleep.

Re: [android-developers] stay awake, please

2012-10-19 Thread Kostya Vasilyev
FULL_WAKE_LOCK is supposed to keep the screen and the keyboard on at full brightness: http://developer.android.com/reference/android/os/PowerManager.html You could try adding ACQUIRE_CAUSES_WAKEUP to the wake lock or use the window manager flag, if you can (which is managed for you if the window

[android-developers] Re: Can we save a file on android device, even after uninstalling the app

2012-10-19 Thread bob
Why not have the phone send you the UUID? Then, on your server, you can store which UUID bought what and authorize accordingly. On Friday, October 19, 2012 1:34:47 AM UTC-5, Jatin Patel wrote: File will store important information regarding whether payment was done or not. If app is

Re: [android-developers] Re: Large Database File

2012-10-19 Thread Vinicius Jose Grein
it works, now the database has 26mb thx On Thu, Oct 18, 2012 at 9:23 PM, Vinicius Jose Grein viniciu...@gmail.comwrote: Great Mark, I will try and let you know the result On Thu, Oct 18, 2012 at 5:47 PM, Mark Murphy mmur...@commonsware.comwrote: On Thu, Oct 18, 2012 at 4:39 PM, Nobu Games

Re: [android-developers] Re: Can we save a file on android device, even after uninstalling the app

2012-10-19 Thread Kristopher Micinski
Still not a good plan, you can fake the UUID on the phone side easily enough, but yes, a potential approximate solution. kris On Fri, Oct 19, 2012 at 3:53 PM, bob b...@coolfone.comze.com wrote: Why not have the phone send you the UUID? Then, on your server, you can store which UUID bought

[android-developers] Re: how to solve the error UnknownHostException

2012-10-19 Thread bob
As a quick stopgap solution, why not just use the IP address instead of the hostname? Sounds like there is something awry with the DNS. On Friday, October 19, 2012 2:03:43 PM UTC-5, SoftMan wrote: I can ping the server and I am not under a proxi. Please, help! -- You received this

[android-developers] Re: how to solve the error UnknownHostException

2012-10-19 Thread Sterling Michel Diaz De Oleo
Hi Bob. thanks for answering. It's need to have the host name because the server was made in SAP and sadly that's does not allow that. I tried that too, and it gave me an error. El viernes, 19 de octubre de 2012 16:40:32 UTC-4, bob escribió: As a quick stopgap solution, why not just use the

[android-developers] Sqllite order by

2012-10-19 Thread Vinicius Jose Grein
Dear all, we did a query in SQLlite, but the result is not in the order that we need, ie, the character á is being shown after z. How can I configure my query to ignore special characters Best Regards -- You received this message because you are subscribed to the Google Groups Android

[android-developers] Re: Boot sequence and application coordination

2012-10-19 Thread bob
Wouldn't it make more sense to see if the SQLite opening fails? If it fails, wait 20 seconds or so and try again. On Friday, October 19, 2012 1:46:23 PM UTC-5, Bill Michaelson wrote: To answer my own question, I think I'm looking for code like that below. public void

[android-developers] Re: Sqllite order by

2012-10-19 Thread bob
Sounds like you will want to do this in java using the getNumericValue function in the Class Character. If it returns = 128, you have a special character, and should ignore that row. On Friday, October 19, 2012 4:02:29 PM UTC-5, Vinicius wrote: Dear all, we did a query in SQLlite, but the

[android-developers] Re: Sqllite order by

2012-10-19 Thread RichardC
It may be possible have a read of SQLite collation sequences: http://www.sqlite.org/datatype3.html#collation On Friday, October 19, 2012 10:02:29 PM UTC+1, Vinicius wrote: Dear all, we did a query in SQLlite, but the result is not in the order that we need, ie, the character á is being

[android-developers] android:attr/activatedBackgroundIndicator isn't working

2012-10-19 Thread Vadim Peretokin
I'm using a ListView with the android.R.layout.simple_list_item_activated_1 style used on an ArrayAdapter for the TextView elements, similar to the List16.java example. I'd like my ListView to have multi-selection, so I implemented MultiChoiceModeListener and set the

[android-developers] how to Disply all files from SD CARD in List View

2012-10-19 Thread laxman k
hi guys i am try to develope a bluetooth tranfer app Please tell me the.how to display all files from sd card in list view -- 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] how to Disply all files from SD CARD in List View

2012-10-19 Thread TreKing
On Fri, Oct 19, 2012 at 6:20 PM, laxman k laxman.k1...@gmail.com wrote: Please tell me the.how to display all files from sd card in list view What, specifically, are you having trouble with? This is too broad a question.

Re: [android-developers] How to make Widgets not overlap

2012-10-19 Thread Perry168
But in another forum, who gave a solved answer. So I think my information and point of view is enough and correct. MagouyaWare於 2012年10月20日星期六UTC+8上午1時31分53秒寫道: What's information you need know more? Please suggest. I think who have the exp. Who will know what I say. Your question is

[android-developers] Re: Sqllite order by

2012-10-19 Thread Lew
Vinicius wrote: we did a query in SQLlite, but the result is not in the order that we need, ie, the character á is being shown after z. How can I configure my query to ignore special characters Which characters are special to you? It's kind of hard to spell certain words without certain

Re: [android-developers] how to Disply all files from SD CARD in List View

2012-10-19 Thread TreKing
On Fri, Oct 19, 2012 at 6:43 PM, laxman k laxman.k1...@gmail.com wrote: i dn't know how approach to sd card concept .i want look like this photo Well, start reading some documentation, playing with some samples, and trying to get somewhere on your own. When you manage to come up with a more

Re: [android-developers] weak USB juice?

2012-10-19 Thread Kristopher Micinski
This is a fairly well discussed issue, I think if you google android phone computer wall charger not as fast you could probably get the answer. Anyway,... http://electronics.stackexchange.com/questions/5498/how-to-get-more-than-100ma-from-a-usb-port kris On Fri, Oct 19, 2012 at 10:55 AM, bob

[android-developers] A couple of questions on the Video/Audio in an Android app

2012-10-19 Thread solnichko
Hi people, Can anyone assist on the following please. I am trying to develop a small app and not sure what is the best way to handle the data. Basically, I have an activity displaying an object's title, image and description (accessed via WS). I also have a link 'More', which opens an html

[android-developers] it can't scroll after i set OnTouchListener to its child, i add Google Calender appWidgetHostView in app

2012-10-19 Thread Wing Fung Chow
It is a application that can add appWidget. The widget can be deleted by long press. This function, i set onTouchListener and GestureDetector to do it and set onTouchListener per 3s to prevent it become invaild after update. However, i found that the google calender can't be scroll, Could