[android-developers] how can i know if im connected

2008-05-12 Thread mystic-d
hey Does someone know how can i know if im connected to the internet (through the WIFI connection and not GPRS or anything elese) ? Thanks ! --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To

[android-developers] How can I achieve to change the other theme in run time and set spinner selector location

2008-05-12 Thread Bill.Tsao
Dear all: 1. About replace a theme to another: My code: if(theme_style==0) { theme_style=1; setTheme(android.R.style.Theme_Light); } else (theme_style==2) { theme_style=0; setTheme(android.R.style.Theme_Dark); } 2. spinner selector location issue: Mycode: myselector.xml:

[android-developers] How to setup the frame rate of animaiton

2008-05-12 Thread white
I can't find relative control or attribute to setup it. or it is decided by system loading?? --~--~-~--~~~---~--~~ 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: Thoughts on $10,000 competition iPhone apps battling Android apps please

2008-05-12 Thread [EMAIL PROTECTED]
In that time frame, I would do a comparison of exsting apps and promising unknows for common user tasks. Not unlike the benchmarks people used to have for processor speeds, except focused on specific user tasks or life functions. Announce what you are going to do. Buy the software so incumbants

[android-developers] Re: ProgressDialog's dismiss() method throwing IllegalArgumentException

2008-05-12 Thread goro
Hi, I am experiencing exactly the same issue as Mihai Fonoage. Have you solved it? On 20 Mrz., 13:57, vitvikt [EMAIL PROTECTED] wrote: Hi! I also have problem in my project width dismiss() for ProgressDialog. For explain my problem I used Snake as exaple. I writeed onProgressClick() and

[android-developers] New activity / extends

2008-05-12 Thread Mugen
Hi, I'm a french developer who's trying to set up an application with android for a project at school. I never developed in Java before, but I got severals knowledges about Object Oriented programation. But today I'm stuck which, I think, will be simple to resolve for many of you. In fact, I'm

[android-developers] Re: :Help with Context

2008-05-12 Thread Dorothy
Hi, Read http://code.google.com/android/reference/android/content/Context.html to learn more about the context class, especially its subclasses: http://code.google.com/android/reference/android/app/Activity.html and http://code.google.com/android/reference/android/app/Service.html I didn't

[android-developers] Re: :Help with Context

2008-05-12 Thread radhika.sathyanarayana
Hi Dorothy, Thanks for ur help. Hope I can solve my problems. If not I think I can hope to get all of ur help as am a very beginner for java and android. Regards Radhika -Original Message- From: android-developers@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Dorothy

[android-developers] Re: New activity / extends

2008-05-12 Thread Mark Murphy
I'm a french developer who's trying to set up an application with android for a project at school. I never developed in Java before, but I got severals knowledges about Object Oriented programation. I strongly recommend you teach yourself Java before attempting to teach yourself Android

[android-developers] Programatic download, install, remove apk??? Who know???

2008-05-12 Thread Wesley Sagittarius
Anyone know how to download apk, auto install apk, auto remove apk using coding??? any example??? Thanks... wesley sagittarius. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to

[android-developers] Response to alert dialog button programatically

2008-05-12 Thread sasuke
I have an alert dialog like this : new AlertDialog.Builder(mContext) .setTitle(Testing) .setMessage(Buy this thing?) .setPositiveButton(R.string.yes, yesListener) .setNegativeButton(R.string.no, noListener) .show();

[android-developers] Horizontal Zoomslider widget possible

2008-05-12 Thread joesonic
Is it possible to change the ZoomSlider widget to a horizontal style? thanks in advance --~--~-~--~~~---~--~~ 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: Programatic download, install, remove apk??? Who know???

2008-05-12 Thread tu
My solution is for sub-apk. see http://code.google.com/p/rcpandroid/ 2008/5/12 Wesley Sagittarius [EMAIL PROTECTED]: Anyone know how to download apk, auto install apk, auto remove apk using coding??? any example??? Thanks... wesley sagittarius.

[android-developers] Re: Android and Web Services

2008-05-12 Thread Dorothy
Hi all, I used Httpclient and tried with postMethod.setRequestEntity(StringRequestEntity); and then sended the post message to the test server. But the problem is that it took 15 mins to send the post message to the server! Without the body, it's almost immediate. Anyone can help? Thanks a

[android-developers] Default GPS location provider not in file explorer

2008-05-12 Thread woody
Hey does anyone know why my android emulator does not have have a gps folder in Data/misc/ folder? --~--~-~--~~~---~--~~ 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: Android and Web Services

2008-05-12 Thread Dorothy
Thanks a lot for your answer, Mark. I have tried with curl to post the same message to the server as you suggested, the response is very rapid. The body of the message is xml. My code in Android don't take a long time to generate the xml code at all. But once I add a message body, even a tiny

[android-developers] Re: :Help with Context

2008-05-12 Thread Dorothy
Let's learn together. :) Regards, D --~--~-~--~~~---~--~~ 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,

[android-developers] addProximityAlert method in LocationManager

2008-05-12 Thread newbie11
I have a question about the addProximityAlert method in LocationManager. If one invokes the method does it later send the intents on an INTERRUPT basis (e.g. when it enters the proximity radius) OR does it POLL at specific intervals to see if the device is in the radius. E.g. is it interrupt or

[android-developers] Re: Android UDP Server

2008-05-12 Thread kobica
Has anyone else had any success with sending UDP or TCP to the emulator? Yes. TCP. 2 Emulators on the same machine: http://groups.google.com/group/android-developers/browse_thread/thread/55cf8d2cbc524b87 HTH, Kobi. --~--~-~--~~~---~--~~ You received this

[android-developers] Re: Alternative for intent.getExtra()?

2008-05-12 Thread Megha Joshi
Hi, You can use Intent.getExtras(), instead of intent.getExtra(). The method getExtras() returns a map of all the extras data. You can use it just like any other map and search for keys like locaiton. So, Location loc = intent.getExtra(location) would become Location loc =

[android-developers] Re: how can i know if im connected

2008-05-12 Thread bloodcarter
Hi mystic-d, This may help http://code.google.com/android/reference/android/content/Intent.html#DATA_CONNECTION_STATE_CHANGED_ACTION So you can listen for intents to know when you're connected, connecting or disconnected. Alternatively, you can periodically ping the network. Vlad On May 12,

[android-developers] Re: A Bitmap/Drawable from GTalk avatar?

2008-05-12 Thread Megha Joshi
Hi Edouard, None of the features that you are looking for are available in the current release of the SDK. These are being worked on and will be available in a future release. Thanks, Megha On Mon, May 12, 2008 at 12:50 AM, elDoudou [EMAIL PROTECTED] wrote: Hello there. I'm trying to

[android-developers] Re: spawning a dialog from the NotificationManager

2008-05-12 Thread Megha Joshi
The appIntent and contentIntent intent arguments provided to the NotificationManager constructor, can only be used to start a Activity. You can make an Activity with android:theme=android:style/Theme.Dialog, to make an activity that looks like a dialog. Once that is done, you can use the various

[android-developers] How to get Column type of a table?

2008-05-12 Thread [EMAIL PROTECTED]
The Cursor class only provides getColumnNames(), it dose not have getColumnType() method. Is there any class provide similar funcationality as ResultSetMetadata? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups

[android-developers] META-INF from imported jars

2008-05-12 Thread William Enck
I've been playing around with a simple IMAP client for Android using the Sun javamail API. After overcoming java.awt.datatransfer dependency limitations of the activation.jar (as described by http://davanum.wordpress.com/2007/12/22/android-send-email-via-gmail-actually-via-smtp/) , I

[android-developers] Re: Does Activiy ca released and gc after calling finish()?

2008-05-12 Thread Megha Joshi
Hi, There are some bugs where all references on Activity were not released, which is the reason they are not garbage collected. These bugs have been fixed now, so with a future SDK release this will no longer be an issue. Thanks, Megha On Mon, May 12, 2008 at 1:10 AM, koji [EMAIL PROTECTED]

[android-developers] Re: addProximityAlert method in LocationManager

2008-05-12 Thread Megha Joshi
On Mon, May 12, 2008 at 10:03 AM, newbie11 [EMAIL PROTECTED] wrote: I have a question about the addProximityAlert method in LocationManager. If one invokes the method does it later send the intents on an INTERRUPT basis (e.g. when it enters the proximity radius) OR does it POLL at specific

[android-developers] Re: addProximityAlert method in LocationManager

2008-05-12 Thread newbie11
Thank you Megha for taking the time to answer. When you use addProximityAlert(), the location manager service sends a message to check if the device is in proximity of the given location. This message is sent, after traveling a specific amount of distance every time, until the the required

[android-developers] Re: addProximityAlert method in LocationManager

2008-05-12 Thread Megha Joshi
On Mon, May 12, 2008 at 2:50 PM, newbie11 [EMAIL PROTECTED] wrote: Thank you Megha for taking the time to answer. When you use addProximityAlert(), the location manager service sends a message to check if the device is in proximity of the given location. This message is sent, after

[android-developers] file system monitoring?

2008-05-12 Thread MannyNS
Is there a way to subscribe to (all) file system notifications from Android? I know there is android.os.FileObserver, but unless one instance is created and linked for every single folder on the phone, it is useless. Is there anything like SHChangeNotifyRegister? How did Android creators fulfill

[android-developers] Re: How to preserve view's animation result?

2008-05-12 Thread Anthony
Somebody help me? On May 9, 11:16 am, Anthony [EMAIL PROTECTED] wrote: Hi All, I have see this thread as below, but not same as my question:http://groups.google.com/group/android-developers/browse_thread/threa... In my scenario, there are several views, I want to make them run animation

[android-developers] Re: New to Programing and Android

2008-05-12 Thread Steve Oldmeadow
My suggestion is start with Java ME. You will learn about Java and developing for resource constrained devices - both of which are essential knowledge for Android development. After 6 months of 2 hours per day Java ME you will be ready for Android which will hopefully, by that time, have stable

[android-developers] Re: Programatic download, install, remove apk??? Who know???

2008-05-12 Thread tu
read doc/StartGuide.pdf first, then go through demos directory. RCPAndroid is the Main-apk project. RCPAndroid.apk is the compiled apk. There are some batch files in tool directory for generating keypairs, ciphering and packing bundle. 2008/5/13 Wesley [EMAIL PROTECTED]: is a great project...

[android-developers] Re: New to Programing and Android

2008-05-12 Thread bloodcarter
Hi BZ, Start with basic Java and Eclipse. Watch tutorial here http://www.youtube.com/AndroidDevelopers Also try this book http://www.anddev.org/andbook/ And of course search this group. It has zillion of useful info. Vlad On May 13, 5:35 am, tryingtolearn [EMAIL PROTECTED] wrote: Hi