[android-developers] Re: disable home button

2008-12-28 Thread sherifffruitfly
Yes it is possible. Setup Wizard achieves the goal, and NOT in the way that Toddler Lock does. Setup Wizard genuinely makes the Home Button do *nothing* when it starts, and then enables it when it completes. -sff On Nov 10, 3:18 pm, zl25drexel zl25dre...@gmail.com wrote: anyone knows how

[android-developers] Re: Synchronizing Maps and Map Overlays - ConcurrentModificationException

2008-12-28 Thread Al Sutton
Please stop bumping this, if you're not getting replies it's because people are unable or unwilling to help and bumping will just annoy people. Al. mscwd01 wrote: hmmm, bump. Still havent worked this out. On Dec 26, 11:59 pm, mscwd01 mscw...@gmail.com wrote: Okay, hope everyone had a

[android-developers] Can one not use @+id with ArrayAdapter layout XML file?

2008-12-28 Thread blindfold
Not using @+id through ArrayAdapterString MyList = new ArrayAdapterString(this, R.layout.mylist); works fine, but using @+id through ArrayAdapterString MyList = new ArrayAdapterString(this, R.id.mylist); does not, where my mylist.xml reads ?xml version=1.0 encoding=utf-8? TextView

[android-developers] Re: change gmail addres on phone

2008-12-28 Thread ipalik
Thanks! On 26 Dez., 15:11, freedom koansin@gmail.com wrote: 'MENU-Settings-SD card phone storage-Factory data reset' then restart your phone On Dec 26, 9:57 pm,ipalikp.christo...@googlemail.com wrote: Hello! Is it possible to change the mail adress, i typed in the first sign in

[android-developers] Re: XMPP through Smack

2008-12-28 Thread Tez
Hi, Even i am having problems in getting the Smack API to work on Android. I heard that u need to use a patched version of the original smack.jar, however, i've had no luck in getting that file also. I am trying to use JSO(Jabber Stream Objects). Hopefully that won't have as many problems. :)

[android-developers] Re: disable home button

2008-12-28 Thread Romain Guy
That's because SetupWizard is considered to be the Home screen at boot time, so pressing Home just brings the SetupWizard back. On Sun, Dec 28, 2008 at 9:42 AM, sherifffruitfly sherifffruit...@gmail.com wrote: Yes it is possible. Setup Wizard achieves the goal, and NOT in the way that Toddler

[android-developers] Re: XMPP through Smack

2008-12-28 Thread Peter Parnes
Hi Have you tried this ? http://davanum.wordpress.com/2007/12/31/android-just-use-smack-api-for-xmpp/ -Peter On Sun, Dec 28, 2008 at 10:42 AM, Tez earlencefe...@gmail.com wrote: Hi, Even i am having problems in getting the Smack API to work on Android. I heard that u need to use a

[android-developers] Re: Can one not use @+id with ArrayAdapter layout XML file?

2008-12-28 Thread Mark Murphy
blindfold wrote: Not using @+id through ArrayAdapterString MyList = new ArrayAdapterString(this, R.layout.mylist); works fine, but using @+id through ArrayAdapterString MyList = new ArrayAdapterString(this, R.id.mylist); does not, where my mylist.xml reads ?xml version=1.0

[android-developers] Re: managedQuery() terminating the application.

2008-12-28 Thread Mark Murphy
Sarath Kamisetty wrote: Hi, I have one more question on this. The following query returns all the contacts in the phone. private String[] projection = new String[] { People._ID, People.NAME, People.NUMBER, }; managedCursor =

[android-developers] Re: How to access internet in emulator v1.0

2008-12-28 Thread sheik
Thanks Tez.. i shall look into it and let u know.. On Dec 27, 5:08 pm, Tez earlencefe...@gmail.com wrote: Hi, To access internet from within an activity, you need to setup INTERNET permissions in your manifest file. Then you can access the internet either by launching your activity with a

[android-developers] Re: A question about camera of Android SDK 1.0 rc2

2008-12-28 Thread Hastala
I also faced this issue. On Dec 27, 9:03 pm, NY lindaan...@gmail.com wrote: I update from rc1 to rc2 And open default picture app, choose a image, open it then will have a error If back to install rc1, it work right Is it a bug of rc2? --~--~-~--~~~---~--~~

[android-developers] Re: disable home button

2008-12-28 Thread sherifffruitfly
That doesn't jibe with actual user experience. The following repros for me: 1) With an activated dev phone, run the Startup Wizard via Any Cut. 2) Exit immediately, via the Back Button. 2a) Verify that Startup Wizard has ended, if desired. 3) Verify that the Home Button now does *nothing*

[android-developers] How to use ScaleDrawable?

2008-12-28 Thread androidian
Hi, Can someone tell me how to use the ScaleDrawable class? In particular, instantiating it. There is only one constructor: public ScaleDrawable(Drawable drawable, int gravity, float scaleWidth, float scaleHeight) ...but it has no supporting javadoc documentation. What is the gravity constant

[android-developers] Dynamic Map Overlays

2008-12-28 Thread mscwd01
I have a map with ten overlays which signify map pins. Occasionally I would like to reposition the overlays to mark a different location on the map. How do I change the GeoPoint position of a map overlay after I have already created it and added it to map.getOverlays() ? I have spent absolutely

[android-developers] Service will not stay running

2008-12-28 Thread bparker
I have a service which is dynamically registered from within an activity. The service listens for incoming and outgoing phone calls, so it needs to stay running all the time. But after about 1 day, without even launching any other applications, the parent activity is killed and the service stops

[android-developers] Re: dealing with multiple activities

2008-12-28 Thread gstavrev
You are on the right track. I`m not an expert, but I was playing with the same thing yesterday. You use the addExtras function for the Intent, but you use a Bundle as an argument. In the bundle I believe you can store values as an associative aray or hash. You then extract the bundle and the

[android-developers] Any updates on paid apps timeline?

2008-12-28 Thread Redhunt
Has anyone heard any news on when developers will be able to post apps for a fee ? Thanks --~--~-~--~~~---~--~~ 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] Re: Any updates on paid apps timeline?

2008-12-28 Thread Sven Boden
There are already sites out there which allow you to charge for android apps, for the official site I didn't see anything out there yet. Regards, Sven 2008/12/28 Redhunt androidgr...@survivorsoft.com Has anyone heard any news on when developers will be able to post apps for a fee ? Thanks

[android-developers] future app distribution on android

2008-12-28 Thread Sven Boden
Anyone has an idea on how future app distribution will work on android? I see a possibility for some issues. Right now you have the G1 phone... probably - except for developers - everyone is on the same version of the OS. How will app distribution work in the future when multiple versions of

[android-developers] Re: XMPP through Smack

2008-12-28 Thread jman
That is one of the many references I have already read. Unfortunately, the zip file was not there. On Dec 28, 4:52 am, Peter Parnes peter.par...@gmail.com wrote: Hi Have you tried this ?http://davanum.wordpress.com/2007/12/31/android-just-use-smack-api-fo... -Peter On Sun, Dec 28,

[android-developers] DatePicker and TimePicker widgets

2008-12-28 Thread Sarath Kamisetty
Hi, I want to display DatePicker and TimePicker widgets side by side on the screen but when I use LinearLayout like below, half of the TimePicker is not showing up. Both DatePicker and TimePicker widgets seem to be too large and taking up lot of screen space. I tried restricting their width and

[android-developers] Re: What is a good way to download a webpage for offline reading?

2008-12-28 Thread Eric
Have u hear of google gear? which is already integrated into Android.. If you use gear's features, I believe you can do what you are after. (but don't ask me how because I don't know.) Cheers Eric Portable Electronics Ltd www.hdmp4.com On Dec 28, 2:18 am, Mariano Kamp mariano.k...@gmail.com

[android-developers] Re: Service will not stay running

2008-12-28 Thread Al
Does Logcat show any reason for killing the Service? You can install Logcat app from http://code.google.com/p/android-random/, which will show logcat on the phone. You can also save the data to a text file, but by default, it saves it to /data/{package-name}/file, which we can't access. You can

[android-developers] Re: Eclipse Error while adding ddms

2008-12-28 Thread Anonymous Anonymous
hi Jeff, i was having open jdk and later i have gone for sun-java6-jdk and got it solved. Thanks Binish On Sun, Dec 28, 2008 at 6:06 AM, jeff ssapu...@gmail.com wrote: Hi, what is the problem with the JDK if you dont mind sharing..I have the same problem recently... Thanks, On Dec 7,

[android-developers] Re: Can one not use @+id with ArrayAdapter layout XML file?

2008-12-28 Thread blindfold
Thanks a lot for your clarification, Mark! Very lucid. Regards On Dec 28, 2:07 pm, Mark Murphy mmur...@commonsware.com wrote: blindfold wrote: Not using @+id through ArrayAdapterString MyList = new ArrayAdapterString(this, R.layout.mylist); works fine, but using @+id through

[android-developers] Re: Service will not stay running

2008-12-28 Thread bparker
I tried the Logcat app and it seems that it (the app itself) only keeps about 2 hours worth of data, whereas the Logcat view in eclipse shows me at least twice that much... but still not enough to catch the service being stopped, which usually takes at least a day or more. Any ideas on how to

[android-developers] Re: Service will not stay running

2008-12-28 Thread bparker
I just noticed that the Logcat app itself was just killed as well, after not even running for 10 minutes... with the screen off and no other activities running. The only message I got was: 12-28 20:24:12.760: INFO/ActivityManager(51): Process org.devtcg.tools.logcat (pid 5916) has died. On Dec

[android-developers] Re: Service will not stay running

2008-12-28 Thread Mark Murphy
bparker wrote: I just noticed that the Logcat app itself was just killed as well, after not even running for 10 minutes... with the screen off and no other activities running. U...how are you determining that there are no other activities running? -- Mark Murphy (a Commons Guy)

[android-developers] Re: Service will not stay running

2008-12-28 Thread Mark Murphy
Mark Murphy wrote: bparker wrote: I just noticed that the Logcat app itself was just killed as well, after not even running for 10 minutes... with the screen off and no other activities running. U...how are you determining that there are no other activities running? Actually, to be

[android-developers] TextView Under Growing ListView

2008-12-28 Thread Moto
Hi, I'm currently trying to display a TextView on the top and bottom of my screen and in the middle my ListView. The problem is that when my ListView grows it pushes my bottom TextView out of the screen. How can I overcome this? Thanks! here is current XML: XML: ?xml version=1.0 encoding=utf-8?

[android-developers] Updated XMPP Client (using Smack)

2008-12-28 Thread Davanum Srinivas
Folks, finally got around to updating my xmpp sample to latest SDK. http://davanum.wordpress.com/2008/12/29/updated-xmpp-client-for-android/ thanks, dims -- Davanum Srinivas :: http://davanum.wordpress.com --~--~-~--~~~---~--~~ You received this message

[android-developers] Re: Service will not stay running

2008-12-28 Thread bparker
Yes I'm sure, everything is fine. I have a plain dev phone with nothing else installed but my application, and I'm sure there is never a low memory condition, I've checked top and everything I can think of... also the docs say that your service is supposed to be restarted by the system if a low

[android-developers] Re: suggestion. replace onActivityResult(), Request Code and Result Codes with flexible callbacks

2008-12-28 Thread brnzn
Something like Anil is suggesting is probably eventually going to be essential for the platform as without it re-using 3rd party activities is problematic. Imagine a case where from your activity you want to invoke two different 3rd party activities to do some particular tasks and give you back

[android-developers] Re: TextView Under Growing ListView

2008-12-28 Thread tonyant
try this one ?xml version=1.0 encoding=utf-8? LinearLayout xmlns:android= http://schemas.android.com/apk/res/android; android:orientation=vertical android:layout_width=fill_parent android:layout_height=fill_parent android:background=#00 TextView android:id=@+id/loadingStatus

[android-developers] Debugging on actual G1

2008-12-28 Thread chrispix
I am not sure what is wrong, but I can't seem to debug on the G1, I can debug fine on the emulator, it runs fine on emulator with an iso sd card loaded. It runs fine on the G1, but when I go to debug it says that it is waiting on the debugger. Any help or what messages need would be great..

[android-developers] How to create listview in a dialog

2008-12-28 Thread zcj0429
Hi: I'm now looking for a method to create listview in a dialog. The method I'm now using is create an adaptor called connAdapter, the code is: --- public class ConnAdapter extends BaseAdapter{ private

[android-developers] Clearing the WebView cache

2008-12-28 Thread Nick
Hello, In onCreate() I instantiate a new WebView. In onStop() I call clearCache(true) and destroy() on the WebView. This does not seem to be enough to clear the cache since I see files piling up in /data/data/ MYAPP/cache/webviewCache. What is the proper way to remove this data? Thank you, Nick

[android-developers] Re: How to create listview in a dialog

2008-12-28 Thread for android
YOu need to set the list in the dialogue box... You have extended the list activity for the bcjgrnd screen..hence the error.. and after the set the content view..get the list view and set the adapter..in your changeConnPref method. something list this ur_listView= (ListView)