[android-developers] Re: AutoCompleteTextView

2010-08-16 Thread Randy McEoin
I have this same problem and would also be interested in the solution. On Jun 24, 4:38 am, praveena ankitha wrote: > hi all, > > I have One AutocompleTextView and I want to make the virtual keyboard > disappear when he hits "DONE" at the AutocompleTextView. So far, the buttons > "NEXT"/"DONE" do

[android-developers] Re: Null pointer exception while receiving at Broadcast receiver

2009-09-06 Thread Randy McEoin
It would be best to check for null before attempting to use. Perhaps whatever is issuing the broadcast is not adding the string extra. String msg_receive = intent.getStringExtra("message1"); if (msg_receive != null) { AssetTest.hh_text.append("\n\n"+msg_receive); } Randy On Sep 3, 10:49 pm

[android-developers] Re: how can I catch SCREEN_ON/SCREEN_OFF broadcasts?

2009-08-13 Thread Randy McEoin
Thanks for this post. I'm using this to clean up auto lock in OI Safe. Randy On Jul 20, 9:36 am, Peli wrote: > In your main activity, you have to write something like > >    BroadcastReceivermReceiver = newBroadcastReceiver() { >             @Override >             public void onReceive(Conte

[android-developers] Re: URGENT!!!!! Can't update apps in android market!!!

2009-04-25 Thread Randy McEoin
The market doesn't seem to accept minSdkVersion="2". You must use "1". On Apr 25, 10:42 am, aleung wrote: > When I didn't add the "minSdkVersion", I got the error message: > Market requires theminSdkVersionto be set in AndroidManifest.xml. > > But even after I added it, there was still error:

[android-developers] Re: AutoCompleteTextView and SimpleCursorAdapter

2009-04-24 Thread Randy McEoin
I was struggling with the same problem. Thanks for your code example. I had to do a few tweaks to get it to work. I don't think that "ASC" is a valid orderby. It should be the name of a field and then the ASC. For example my table has a field called "modified" which contains the time the re

[android-developers] Re: 1.5 SDK: "android list target" failed

2009-04-17 Thread Randy McEoin
Your next step is to create an avd: android create avd --name my_avd_name --target 1 Eclipse should automatically see it. Be sure to read all of http://developer.android.com/sdk/preview as there are other steps you may need to take. Randy On Apr 17, 4:45 pm, j wrote: > I have installed the

[android-developers] Re: How can I encrypt and decrypt the data

2009-03-26 Thread Randy McEoin
Take a look at the source for OI Safe. http://code.google.com/p/openintents/source/browse/trunk/Safe/src/org/openintents/safe/CryptoHelper.java Randy On Mar 24, 11:22 pm, manoj wrote: > Hi, > > I want to write an app which encrypts the data and decrypts it into > original data. > > But I dont

[android-developers] Re: what is absolute path name of file on SDCard

2009-01-15 Thread Randy McEoin
See post http://groups.google.com/group/android-developers/browse_thread/thread/8240dc2d14848a85/d7994d8ed5b53645 Essentially: File sdpath = Environment.getExternalStorageDirectory(); Log.d("sdpath = ", sdpath.toString()); On Jan 14, 10:16 pm, jalandar wrote: > Hello , every body > What is ab

[android-developers] Re: ListActivity and progressbars?

2008-11-16 Thread Randy McEoin
When I implemented a progress bar I had to place the processing I needed within a thread. It looked something like the following: setProgressBarIndeterminateVisibility(true); myThread = new Thread(new Runnable() { public void run() { doProc

[android-developers] Re: encryption software

2008-11-16 Thread Randy McEoin
Take a look at Android Password Safe. http://code.google.com/p/android-passwordsafe/ On Nov 14, 6:20 pm, yakuza <[EMAIL PROTECTED]> wrote: > Has there been any softwares developed to encrypt data on Android > platform? --~--~-~--~~~---~--~~ You received this messa

[android-developers] market posting negative installs

2008-11-14 Thread Randy McEoin
Have any Market publishers noticed negative active installs? I published an application last night and currently my stats are: 415 total -69 active installs (-16%) Early this morning I saw 131 total with -132 active (-100%). This makes no sense whatsoever. Another app I'm involved with at le

[android-developers] Re: how to detect the Orientation of G1 Screen ?

2008-11-04 Thread Randy McEoin
Create a Broadcast Receiver to listen for ACTION_CONFIGURATION_CHANGED. On Nov 4, 8:17 am, Hw3699 <[EMAIL PROTECTED]> wrote: > how to detect the Orientation of G1 Screen ? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Grou

[android-developers] Re: Application install unsuccessful after signing

2008-10-28 Thread Randy McEoin
Is the app installed with the debug key and now you're trying to install with a properly signed key? Solution is to perform an uninstall of the debug version first. You may need to reinstall the debug version in order to uninstall it. When you perform an installation of the same application b

[android-developers] Re: Detecting SCREEN_OFF

2008-10-26 Thread Randy McEoin
Figured it out. After grep'ing through the Android source code, found and successfully implemented the following within my ListActivity. BroadcastReceiver mIntentReceiver = new BroadcastReceiver() { public void onReceive(Context context, Intent intent) { if (intent.getAct

[android-developers] Detecting SCREEN_OFF

2008-10-26 Thread Randy McEoin
I'm trying to detect when the screen times out and puts the phone to sleep. There is a Broadcast Action called ACTION_SCREEN_OFF that appears to be just what I need. However I can't seem to get it to catch. Here's what I have in the Manifest:

[android-developers] Re: showAlert in latest SDK

2008-08-22 Thread Randy McEoin
What follows is how I did it. The part that was not obvious from the sample code was the need for show(). Note that you can skip the setIcon() and it'll use a default one. And you can skip the setPositiveButton(), but then the user needs to hit the back button to clear the dialog. showAlert(