[android-developers] Re: How to get id of array in spinner

2009-05-12 Thread Daehoon Jeon
I tried but,, it was not working,,, Someone on the internet said spinner doesn't support setOnItemClickListener(new OnItemClickListener() Is it true ? if it's true how do we set OnItemClickListener? --~--~-~--~~~---~--~~ You received this message because you are

[android-developers] Catch LED stop event - Possible?

2009-05-12 Thread code_android_festival_way
Hello guys. I have started a LED notification from the NotificationsManager. Is it possible to catch the event when the user pulls down the status bar and kills my notification? Regards --~--~-~--~~~---~--~~ You received this message because you are subscribed to

[android-developers] change button name when clicked

2009-05-12 Thread N V
Hi to all.. Can anyone tell me how can i change the button name when click on that button...? button.setText(click) ; is not working... Thank You N V --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android

[android-developers] java.awt

2009-05-12 Thread bra...@gmail.com
I am sure this has been asked before but I havent seen a decent response. Why is it we cant reference java.awt within our android projects. Or I guess a better question is why was a lib that is so vital to so many other libs left out of android? I have managed to get the JAI source code

[android-developers] Re: Voice Recognition in Sample API not working

2009-05-12 Thread bra...@gmail.com
I found the same thing - ended up having to install it on my actual phone. The emulator is lacking in a great deal of functionality in my opinion. All in all I have been way underwhelmed by the cupcake sdk. On May 8, 8:07 pm, Joshua j...@joshuacyr.com wrote: Not sure what I am missing (using

[android-developers] Re: change button name when clicked

2009-05-12 Thread Mark Murphy
Can anyone tell me how can i change the button name when click on that button...? button.setText(click) ; is not working... setText() should work fine. Bear in mind the text change will not take effect until after you return from the OnClickListener's onClick() callback. -- Mark

[android-developers] Can SlidingDrawer stop sliding and just stay there with motionevents?

2009-05-12 Thread quill
Hi guys, What I want to carry out is that the handle of the SlidingDrawer will be dragged by my finger, and when My finger leaves the screen, the handle of the SlidingDrawer will be just stop there and don't slide to top or bottom.Sorry, my english seems not good :)

[android-developers] Re: java.awt

2009-05-12 Thread Mark Murphy
Why is it we cant reference java.awt within our android projects. Because it is not there. Android supports a subset of JavaSE. Or I guess a better question is why was a lib that is so vital to so many other libs left out of android? AWT, on the whole, is useless to Android, because it is

[android-developers] Re: java.awt

2009-05-12 Thread bra...@gmail.com
I have actually tried the methods you mentioned however after getting 10 levels deep in files I needed to port I looked for a better way. I guess that easy way doesnt exist. Ahh well back to grabbing source I guess. Thanks for the response. On May 12, 2:53 am, Mark Murphy

[android-developers] want some help regarding application merging statement written on developer.android.com

2009-05-12 Thread Asif k
Hi all, I the android site, in the application fundamentals, it is written that, A central feature of Android is that one application can make use of elements of other applications (provided those applications permit it). For example, if your application needs to display a scrolling list of

[android-developers] Fwd: Learn how to earn $$ on net + today's jobs

2009-05-12 Thread meh.altaf
http://www.apnapaisa.tk - Win latest mobile phone!!!http://apnaapaisa.blogspot.com/2009/05/win-cellphone.html - www.oprah.com/kfc - Oprah KFC Coupons Freehttp://apnaapaisa.blogspot.com/2009/05/wwwoprahcomkfc-oprah-kfc-coupons-free.html - Share Your File Earn Dollars From

[android-developers] Re: How to get id of array in spinner

2009-05-12 Thread Daehoon Jeon
It had exception error, something wrong with code, but i can't find out. Is there anyone help me? thank you private Spinner s; s = (Spinner) findViewById(R.id.dailylog_type); ArrayAdapter adapter = ArrayAdapter.createFromResource( this, R.array.planets_type,

[android-developers] Re: java.awt

2009-05-12 Thread bra...@gmail.com
By the way - Love your book Mark. The very first android resource I purchased. On May 12, 2:56 am, bra...@gmail.com peacoc...@gmail.com wrote: I have actually tried the methods you mentioned however after getting 10 levels deep in files I needed to port I looked for a better way. I guess that

[android-developers] Learn how to earn $$$ on net + today's jobs

2009-05-12 Thread meh.altaf
http://www.apnapaisa.tk - Win latest mobile phone!!!http://apnaapaisa.blogspot.com/2009/05/win-cellphone.html - www.oprah.com/kfc - Oprah KFC Coupons Freehttp://apnaapaisa.blogspot.com/2009/05/wwwoprahcomkfc-oprah-kfc-coupons-free.html - Share Your File Earn Dollars From

[android-developers] Re: How to get id of array in spinner

2009-05-12 Thread Android Users
try setOnItemSelected() method. worked for me.. --~--~-~--~~~---~--~~ 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

[android-developers] Re: How to get id of array in spinner

2009-05-12 Thread Android Users
What is the exception you are getting? You can directly use the position parameter in the onItemSelected rather than trying to get the position explicitly. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android

[android-developers] Re: How to get id of array in spinner

2009-05-12 Thread Daehoon Jeon
would you mind show me an simple example about using setOnItemSelected() method with position parameter? --~--~-~--~~~---~--~~ 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: How can I get active apn name?

2009-05-12 Thread biAji
Thanks a lot !! That's exactly what I want to know . You are so great! On May 9, 1:30 am, mbaroukh mike.baro...@gmail.com wrote: yes. I need to do this to retrieve currentapnproxy. Her is how I did it : Cursor mCursor = getContentResolver().query(Uri.parse(content:// telephony/carriers),

[android-developers] Re: Installing the USB driver for HTC Magic on Vista

2009-05-12 Thread MrChaz
It just appears as a usb drive. You have to ok the dialog on the phone which asks if you want to mount the drive too. On May 9, 5:21 pm, notthegingeron...@googlemail.com notthegingeron...@googlemail.com wrote: Hi Guys, Does anyone know how to install the usb driver for the HTC magic?

[android-developers] Re: How to get id of array in spinner

2009-05-12 Thread Android Users
The code you have posted is fine. just instead of int pos = s.getSelectedItemPosition(); you can use, int pos = position; Think that should work. May be i confused you with the method name in my previous post.[?] i meant setOnItemSelectedListener(selectListener) only...

[android-developers] Extending over Apache License 2.0

2009-05-12 Thread info+farm
Dear all, I am going to create an application via improving an existing code which has Apache License 2.0. In the license, it is implied that I need to attach Notice and License files for the previous code while distributing my new application. Where is the best place to put these files, before

[android-developers] Re: Getting the ID of a ListView row item from a button click

2009-05-12 Thread e-satis
Because I was planing on adding something afterward in it. On Apr 21, 11:48 pm, Marco Nelissen marc...@android.com wrote: Why are you wrapping each checkbox in its own linearlayout? On Tue, Apr 7, 2009 at 10:35 AM, e-satis info.ksam...@googlemail.comwrote: Hello, Each row of my view

[android-developers] Re: Geocoder not returning result

2009-05-12 Thread Android Users
I have tried it both on emulator and device. But no luck. [?] The result is an empty list. [?] I have posted one more query related to device. Just have a look if that is causing any problem in geocoding. http://groups.google.com/group/android-developers/browse_thread/thread/b1e7a5d6c75cf03a Any

[android-developers] Re: want some help regarding application merging statement written on developer.android.com

2009-05-12 Thread Jeff Sharkey
That summary is a bit generic, but you're probably looking for Intents. The example they are talking about is probably describing a PICK intent with a mime-type of image/*. On most Android devices, this would launch the Camera app, let the user pick a photo, and return the picked photo to you.

[android-developers] How can I determine the intent

2009-05-12 Thread arnouf
Hi all, I would like to know how can I determine the value to put in an ACTION tag in AndroidManifest We have some defined intent at http://developer.android.com/reference/android/content/Intent.html...It's ok. I tried to do some stuff with receiver. I found an example SMS_RECEIVED. This

[android-developers] Attaching event handlers to activities

2009-05-12 Thread Raja Nagendra Kumar
Hi, Which is the way to attach the custom event handlers for the activities, in case they support one, when the activity is started using Intent and startActivity() methods. Does intent has a special way to take up the handler callback references. Basically, I wish to handle call end activity

[android-developers] Re: How to get id of array in spinner

2009-05-12 Thread Daehoon Jeon
Oh,, I just found the problem. I have already change s.getSelectedItemPosition() to position... but it still didn't work. It wasn't a spinner problem. The problem was that the way I called class. Thank you for help. --~--~-~--~~~---~--~~ You received this message

[android-developers] Re: playing audio file using intent

2009-05-12 Thread jagtap.jj
the problem has been solved I just used intent.setDataAndType(mUri, audio/*); instead of using separately intent.setData(uri); intent.setType (audio/*); --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android

[android-developers] Logical Sequence in Video Capturing

2009-05-12 Thread mobilek...@googlemail.com
Hi, Can anyone describe the logical sequence of implementing video recording facility? I've followed the steps as outlined from the diagram here: http://developer.android.com/reference/android/media/MediaRecorder.html; and ended up with an out-of-memory exception. Thanks!

[android-developers] how to speciyfy multiple dns servers for emulator

2009-05-12 Thread a druid
Hi, I found following documentation with 'emulator -help' -dns-server servers use this DNS server(s) in the emulated system so how do I specify multiple servers? Comma separated, blank separated, colon separated, repeating the switch multiple times? thanks in advance P.S.

[android-developers] dialog is getting dismissed when I am flipping the device

2009-05-12 Thread Sudha
hi I have created a dialogue to accept the name and password. d = new Dialog(ctx); d.setContentView(R.layout.login); Button upload_button = (Button)d.findViewById(R.id.send_button); upload_button.setOnClickListener(new View.OnClickListener() {}

[android-developers] Re: Can the Content of SlidingDrawer be a ViewGroup ???

2009-05-12 Thread JITU
Hi, Can anybody tell, how can we place the sliding drawer at top of the window Thanks. On May 5, 6:11 pm, allstars allstars@gmail.com wrote: also i would like to ask is it possible to make HandleView lies on top of ContentView so far i think Handle cannot reside 'inside'

[android-developers] can i display a form to fill in preferences

2009-05-12 Thread zeeshan
Hi , i am trying to display a form (user name and pass) on each preference field to use them later in my App. EditTextPreference is the way to enter something but i think this is only for one field; what if i need 2 or 3 edittext field in a form? any solution?

[android-developers] Pass a javascript function to java using the webview addJavascripInterface

2009-05-12 Thread Juan Francisco Gato Luis
I made a webview.addjavascriptinterface(geo, geo); to access the geo class from javascript, and, in the html-javascript I write: - function successCallback(p){ document.write(helo); } geo.getCurrentPosition(successCallback); --- but this is not working, maybe someone made

[android-developers] Re: SlidingDrawer

2009-05-12 Thread JITU
Hi All, I am able to do that.. But i can not place the SlidingDrawer at the top. It is coming bottom/right. Please help me in this regards... Thanks On May 12, 9:51 am, JITU meet2...@gmail.com wrote: Hi All, I am new to android.I need some help regarding Slidingdrawer which is

[android-developers] Re: Playing shoutcast mp3 stream in background crashes in 1.5

2009-05-12 Thread ogi.andr...@gmail.com
Using startService() didn't change the situation. I believe the real trouble is that AudioTrack gets into an endless loop, and I need to figure out some way to restart it. This won't make my application play consistently, but it'll be enough to prevent the reboot of the whole device. I've tried

[android-developers] Re: Extending over Apache License 2.0

2009-05-12 Thread Zero
the best solution would be to ask the original author of the source you're using how he/she would like to have that. you may also check out OI About, http://openintents.googlecode.com/files/AboutApp-1.0.0.apk which is a comfortable about screen for all kinds of apps and allows easy handling of

[android-developers] apk manual install problem Failure [-12]

2009-05-12 Thread Sukitha Udugamasooriya
I have developed a small application on eclipse (SDK 1.5r1). When I run the project it worked fine. Then I exported the signed application. (Lunar.apk) Then I sent the Lunar.apk file to my friend to install on his machine. when he try to install it manually on the emulator the cmd prompt says

[android-developers] Re: dialog is getting dismissed when I am flipping the device

2009-05-12 Thread Sudha
is it a bug or desired behavior ? --~--~-~--~~~---~--~~ 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

[android-developers] Running two applications in the same process

2009-05-12 Thread Asif k
Hi all, I want to run two different android applications in the single process to access the resources. For that purpose, I had made following two changes in the manifest file of both the application , I had override two attributes and 1) android:sharedUserId= hii.hello under manifest tag

[android-developers] Dailouge box disappears after flipping the device

2009-05-12 Thread manohar
I have created a dialogue to accept the name and password. d = new Dialog(ctx); d.setContentView(R.layout.login); Button upload_button = (Button)d.findViewById (R.id.send_button); upload_button.setOnClickListener(new View.OnClickListener() {}

[android-developers] Re: dialog is getting dismissed when I am flipping the device

2009-05-12 Thread Android Users
Flipping the device would recreate the activity. So the dialog is getting dismissed. Override the method onConfigurationChanged(). and for the activity, set the configChanges parameter to keyboardHidden|Orientation in the manifest file. doing this, will not recreate the activity.

[android-developers] Re: Dailouge box disappears after flipping the device

2009-05-12 Thread Android Users
Repeated post.[?] Flipping the device would recreate the activity. So the dialog is getting dismissed. Override the method onConfigurationChanged(). and for the activity, set the configChangesparameter to keyboardHidden|Orientation in the manifest file. doing this, will not recreate the activity.

[android-developers] Re: Running two applications in the same process

2009-05-12 Thread Neil
To answer the first question, read the manual: http://developer.android.com/guide/topics/manifest/application-element.html#proc By setting this attribute to a process name that's shared with another application, you can arrange for components of both applications to run in the same process —

[android-developers] Re: How can I determine the intent

2009-05-12 Thread Peli
Try Google Code Search: http://www.google.com/codesearch?q=android.provider.Telephony.SMS_RECEIVED Peli www.openintents.org On May 12, 10:51 am, arnouf arnaud.far...@gmail.com wrote: Hi all, I would like to know how  can I determine the value to put in an ACTION tag in AndroidManifest

[android-developers] Back button press programmatically

2009-05-12 Thread Raja Nagendra Kumar
Hi, Are there api to support go to back Programmatically .. i.e same effect as the back button of the phone. Regards, Raja Nagendra Kumar, C.T.O www.tejasoft.com --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups

[android-developers] Re: Running two applications in the same process

2009-05-12 Thread Ask
Hello Neil, the same thing I had done. I had given the same android:sharedUserId= hii.hello in the manifest of the both the application as well as same android:process = guide.android in both the manifests. But could not get the expected result. Is the anything more to be done to run

[android-developers] Re: Animated window transitions in Android 1.5

2009-05-12 Thread poncz
How do you set an animation for an activity in SDK 1.5? 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@googlegroups.com To

[android-developers] Re: how to speciyfy multiple dns servers for emulator

2009-05-12 Thread David Turner
comma separated. Try -help-dns-server for more details On Tue, May 12, 2009 at 11:43 AM, a druid klausf...@gmail.com wrote: Hi, I found following documentation with 'emulator -help' -dns-server servers use this DNS server(s) in the emulated system so how do I specify multiple

[android-developers] Re: v1.1 included with v1.5 isn't identical to old v1.1?!

2009-05-12 Thread David Turner
As far as I know, the 1.1 system image available in the 1.5 SDK is the same one than the one that came with the 1.1 SDK On the other hand, the tools that come with the SDK have evolved. The Dalvik conversion happens at built time, before anything is run on the 1.1. system in the emulator. Do you

[android-developers] Re: v1.1 included with v1.5 isn't identical to old v1.1?!

2009-05-12 Thread Keith Wiley
No, that's my problem. The dx portion of the SDK is extremely unhelpful. There are no details at all in the error message. The Eclipse Console view notifies me of the dalvik conversion error 2 but it gives no useful information, such as the class file it is converting or a description of the

[android-developers] Re: v1.1 included with v1.5 isn't identical to old v1.1?!

2009-05-12 Thread Vingo Cheng
just download the old sdk and old ADT. reinstall your eclipse on another folder - Original Message - From: David Turner To: android-developers@googlegroups.com Sent: Tuesday, May 12, 2009 10:24 PM Subject: [android-developers] Re: v1.1 included with v1.5 isn't identical to

[android-developers] How to prevent a webview to be reloaded when the screen orientation changes ?

2009-05-12 Thread Ovuca
Hello, I have set an activity containing a webview which loads a page from the network. Each time the orientation of the screen changes the oncreate(...) method is called and the webview reloads its content again. Is there a way to avoid the webview to reload the web page ? Thank u, BC

[android-developers] How to use ActivityGroup?

2009-05-12 Thread Bullo#88
Hi, anyone can point me to a tutorial about ActivityGroup or give me some hints on how to use it? I looked at the documentation but I wasn't able to understand how it works... --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google

[android-developers] Re: How to prevent a webview to be reloaded when the screen orientation changes ?

2009-05-12 Thread Sylvain Wallez
Ovuca wrote: Hello, I have set an activity containing a webview which loads a page from the network. Each time the orientation of the screen changes the oncreate(...) method is called and the webview reloads its content again. Is there a way to avoid the webview to reload the web page ?

[android-developers] Re: Dailouge box disappears after flipping the device

2009-05-12 Thread Evan Charlton
Please do not do it this way. Dialogs should be shown using managed dialogs. Please consult the documentation, or see this link for an example: http://www.androidcompetencycenter.com/tag/activity-managed-dialogs/ Evan Charlton On Tue, May 12, 2009 at 8:16 AM, Android Users

[android-developers] Re: How to use ActivityGroup?

2009-05-12 Thread Bullo#88
Thanks for the quick reply! One last question: Suppose I have 3 classes: A (extends ActivityGroup) B and C (both extending Activity). I have no problem starting B or C from A, but how do I go back from B to C and how do I start C from B? I think I'm doing something wrong with the

[android-developers] Re: How to use ActivityGroup?

2009-05-12 Thread Bullo#88
but how do I go back from B to C Sorry, what I meant was: how do I go back from B to A? On May 12, 5:46 pm, Bullo#88 bulonce...@gmail.com wrote: Thanks for the quick reply! One last question: Suppose I have 3 classes: A (extends ActivityGroup) B and C (both extending Activity). I have

[android-developers] Re: v1.1 included with v1.5 isn't identical to old v1.1?!

2009-05-12 Thread Keith Wiley
I think the problem is in the software update section, which grabs files off the web. The SDK isn't the problem. I have the old SDK, but the software update only finds the newest version, 0.9 or something like that. I need 0.8. On May 12, 8:01 am, Vingo Cheng vingo...@gmail.com wrote: just

[android-developers] Re: Animated window transitions in Android 1.5

2009-05-12 Thread Dianne Hackborn
You generally don't -- let the system use its standard one. On Tue, May 12, 2009 at 7:07 AM, poncz oded.po...@labpixies.com wrote: How do you set an animation for an activity in SDK 1.5? Thanks, -- Dianne Hackborn Android framework engineer hack...@android.com Note: please don't send

[android-developers] Re: v1.1 included with v1.5 isn't identical to old v1.1?!

2009-05-12 Thread Peli
With 1.5 installed, I can no longer build my project, even when I target v1.1. I get a Dalvik conversion failure type 2. I sometimes get this for my projects as well. My solution 1) Make sure you delete all generated .java files in the src directory, like R.java (or Manifest.java, or AIDL

[android-developers] Re: Running two applications in the same process

2009-05-12 Thread Dianne Hackborn
Your friends: adb logcat adb shell ps adb shell dumpsys activity On Tue, May 12, 2009 at 6:39 AM, Ask asifk1...@gmail.com wrote: Hello Neil, the same thing I had done. I had given the same android:sharedUserId= hii.hello in the manifest of the both the application as well as same

[android-developers] Re: Bluetooth and Serial Port Profile

2009-05-12 Thread Alin Radut
On May 12, 7:00 am, Zach Hobbs ho...@helloandroid.com wrote: Did you change anything when you built the SDK?  If not, then the classes will still not be visible. Hint: classes or methods with @hide in the comment block above the code are not visible in the jar built for the SDK. I removed

[android-developers] Re: v1.1 included with v1.5 isn't identical to old v1.1?!

2009-05-12 Thread Keith Wiley
Nah, it's nothing like that. I have already wiped the project totally completely clean. I deleted the entire project from Eclipse, deleted all 'dot' files from the source directory, deleted all code files that weren't of my own creation (R.java for example), basically wiped the entire source

[android-developers] Re: How to enforce the soft keyboard

2009-05-12 Thread Teo
Is there a way to make it disappear from code? On May 12, 4:18 am, Dianne Hackborn hack...@android.com wrote: The user always has the option to dismiss it. On Sun, May 10, 2009 at 10:48 AM, Joerg Pleumann joerg.pleum...@gmail.comwrote: Hello, is there a way to enforce the soft

[android-developers] Re: How to enforce the soft keyboard

2009-05-12 Thread Romain Guy
InputMethodManager inputManager = (InputMethodManager) getContext().getSystemService(Context.INPUT_METHOD_SERVICE); Then call one of the hide*() methods on inputManager. On Tue, May 12, 2009 at 10:18 AM, Teo teomina...@gmail.com wrote: Is there a way to make it disappear from code? On May

[android-developers] Re: conversion to dalvik format failed with error 1

2009-05-12 Thread jtaylor
I uninstalled/re-installed it and I Still have the same errors upon creation of a project. [2009-05-12 13:23:50 - Lucayan] no classfiles specified [2009-05-12 13:23:50 - Lucayan] Conversion to Dalvik format failed with error 1 - juan On May 11, 9:09 am, Thomas Lee aztho...@gmail.com wrote:

[android-developers] Re: Playing recorded sounds in Android 1.5

2009-05-12 Thread Marco Nelissen
You can pass the path around all you want inside your app, but try using a FileDescriptor with MediaPlayer.setDataSource(). You won't have to change the permissions on the file that way (your app can still access the file however it wants, since it owns the file), but it will ensure there are no

[android-developers] Re: java.awt

2009-05-12 Thread Mark Murphy
By the way - Love your book Mark. The very first android resource I purchased. Thanks! -- Mark Murphy (a Commons Guy) http://commonsware.com _The Busy Coder's Guide to Android Development_ Version 2.0 Available! --~--~-~--~~~---~--~~ You received this

[android-developers] Re: Back button press programmatically

2009-05-12 Thread Marco Nelissen
Just call finish() in your activity? On Tue, May 12, 2009 at 6:35 AM, Raja Nagendra Kumar nagendra.r...@tejasoft.com wrote: Hi, Are there api to support go to back Programmatically .. i.e same effect as the back button of the phone. Regards, Raja Nagendra Kumar, C.T.O www.tejasoft.com

[android-developers] Re: Attaching event handlers to activities

2009-05-12 Thread Mark Murphy
Which is the way to attach the custom event handlers for the activities, in case they support one, when the activity is started using Intent and startActivity() methods. If they are your own activities, the only event handlers are the standard callbacks (onCreate(), onPause(), etc.). If they

[android-developers] Re: can i display a form to fill in preferences

2009-05-12 Thread Mark Murphy
i am trying to display a form (user name and pass) on each preference field to use them later in my App. EditTextPreference is the way to enter something but i think this is only for one field; what if i need 2 or 3 edittext field in a form? Use two or three EditTextPreferences in your

[android-developers] Re: Pass a javascript function to java using the webview addJavascripInterface

2009-05-12 Thread Mark Murphy
I made a webview.addjavascriptinterface(geo, geo); to access the geo class from javascript, and, in the html-javascript I write: - function successCallback(p){ document.write(helo); } geo.getCurrentPosition(successCallback); --- but this is not working, maybe

[android-developers] Re: Back button press programmatically

2009-05-12 Thread Mark Murphy
Are there api to support go to back Programmatically .. i.e same effect as the back button of the phone. Calling finish() in your activity has the same general effect as pressing the back button. -- Mark Murphy (a Commons Guy) http://commonsware.com _The Busy Coder's Guide to Android

[android-developers] Re: Bluetooth and Serial Port Profile

2009-05-12 Thread Zach Hobbs
Another note: You don't really have to flash the image with the @hide gone, that class will be accessible by any APK. You just need to have it visible in your development environment. -Zach On May 12, 1:05 pm, Alin Radut alin.claudiu.ra...@gmail.com wrote: On May 12, 7:00 am, Zach Hobbs

[android-developers] Re: Dalvik conversion error 2 (not annotations)

2009-05-12 Thread Dan Bornstein
On May 11, 6:14 pm, Keith Wiley kbwi...@gmail.com wrote: On May 11, 5:58 pm, Dan Bornstein danf...@android.com wrote: How are you invoking it? From the commandline, dx should emit a Eclipse does it all automatically when it builds. description of any problem to the console. From the

[android-developers] Re: Web service calling from andriod

2009-05-12 Thread Dave Bordoley
Android doesn't implement J2ME (with the exception of some OpenGL classes) hence the NoClassDefFoundError. You could look at porting kSoap to use Androids Apache HTTPClient or implement your own SOAP client. Dave On Mon, May 11, 2009 at 7:16 AM, RS.Giridaran rsgirida...@gmail.com wrote: Hi

[android-developers] Re: Projection Question

2009-05-12 Thread Hamy
I don't know, sadly - but I would really like to. I have done some reading, and apparently the projection is not very accurate. I have not tested this myself yet, so I do not know if that is true or not. Thanks, Hamy On Apr 12, 12:51 pm, Albert Hernández albert.hernan...@gmail.com wrote: Don't

[android-developers] Re: debug application - gdb

2009-05-12 Thread Tim Jowers
man gdb Basically the gnu debugger connects to a running application. I think you can also launch the app with gdb. How does this relate to Android dev? Dunno. Perhaps you should run strace (linux, truss on others) on the emulator to see what it is doing if that is what you are after. You debug

[android-developers] Where can I found the SMS that is just arrived?

2009-05-12 Thread Yoon
Hello folks, Currently I have some curious where I can find the sms that is just arrived. Means, I have a code like below, but can't get the latest one in the onReceive method. I can get the SMS contents that is just arrived from pdu in below code, but can't find it in content://sms/inbox. it

[android-developers] Asynchronous ListView

2009-05-12 Thread NEOAKIRA
Hello, How do we make a Asynchronous ListView like in Android Market application where items loading during scrolling ? please Thx --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post

[android-developers] Re: Unable to display Chinese characters in LogCat

2009-05-12 Thread westmeadboy
I'm just using the eclipse plugin (in Vista). I can't see anywhere to configure any encoding (other than for files being edited). On May 12, 5:59 am, Dianne Hackborn hack...@android.com wrote: Are you sure your terminal handles UTF-8?  I am pretty sure logcat just propagates the characters

[android-developers] Re: Web service calling from andriod

2009-05-12 Thread Tim Jowers
As I'm sure you know, the package you are using is not on the Android. You can either compile it into your product if the license for ksoap allows you or use another soap client technology. I've used one from apache before on other java projects. Probably your webservice container does create a

[android-developers] Re: Programatically selection of 3G network connection in G1?

2009-05-12 Thread John
I think you should be able to determine which network to use with the ConnectivityManager class. You can set a network type preference (TYPE_MOBILE or TYPE_WIFI). That class also lets you get information about all, or each network. John On May 11, 8:02 pm, Joseph Teo josephteo2...@gmail.com

[android-developers] need help on editText + IME

2009-05-12 Thread KOKC
Hi all, Can someone post a working example of how to use the new IME for editText box? How do I make the soft keyboard show only the number (0 to 9) + the . symbol? Thanks! --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google

[android-developers] Cant get Latitude and Longitude without Internet Connection

2009-05-12 Thread Eddy Leo
Hi all, I am having problem in getting the latitude and longitude on my phone.. Case: i created an application that only display the Toast that display the latitude and longitude once i request it to. using the LocationManager.NETWORK_PROVIDER, instead of gps. And when I try it on my G1,

[android-developers] Re: Threaded horizontal scrolling text

2009-05-12 Thread Pat
Anyone got any suggestions for this? On May 9, 9:26 pm, Pat conway.patr...@gmail.com wrote: Hi, Its been a while since I've done any coding, I'm new to android, and unfortunately my first job is rather tricky. My program need to display horizontallyscrollingtextand images, but it need to

[android-developers] A window does not automatiacally resize when an IME is shown

2009-05-12 Thread freelancer303
Hi, I am using the following attributes for an activity and expect a window to resize automatically to occupy space available above IME: android:windowSoftInputMode=adjustResize android:theme=@android:style/Theme.NoTitleBar.Fullscreen When IME is opened the window does not resize and the bottom

[android-developers] Sending Email from my application in emulator

2009-05-12 Thread swathi
I have tried with the following code ,but i got an error messageNO applications can perform this action. Intent sendIntent = new Intent(Intent.ACTION_SEND); sendIntent.putExtra(Intent.EXTRA_EMAIL, mailto); sendIntent.putExtra(Intent.EXTRA_SUBJECT, subject.getText().toString());

[android-developers] [Video Camera] Abnormal thumbnail generated after ending video recording.

2009-05-12 Thread Atheina
I met a weird problem when I was testing my video recorder. Also, it only happens when video settings are as following: 1. H.263 codec. 2. 320x240 resolution. Let's say, when I am recording a area with White color (or similar to White), the generated thumbnail will have several corrupted

[android-developers] What is the query that need to be done when trying to get Incomming and Outgoing calls ?

2009-05-12 Thread tom
HI I am using the getContentResolverquery function : public final Cursor query (Uri uri, String[] projection, String selection, String[] selectionArgs, String sortOrder) Query the given URI, returning a Cursor over the result set. Parameters uri The URI, using the content:// scheme, for the

[android-developers] getRuntime().exec(su do seomthing) fails (exit code)

2009-05-12 Thread toto
hi I work on rooted unlocked G1, latest JS firmware ADP1.5 I wrote some application that perform some root actions in the /system of course, when messing up /system requires to remount that partition but that's not my issue. the code is fairly simple (attached at bottom of this message). however

[android-developers] Need help in accessing messages in inbox

2009-05-12 Thread Hamaney
Hi guys, I'm trying to access the messages and print them into the LogCat, I used a code that implement what I need using the list adapter, so I tried to apply the same concept to print the messages on the LogCat Here is my code: import android.app.ListActivity; import

[android-developers] Re: How read /data directory ?

2009-05-12 Thread Francesco Pace
Thanks Dianne. But, in my java application, I have to copy total internal memory on my sdcard, how I do it? Precisely, I want read my contact data, my sms data and my calendar data (events) and copy all on sdcard. Can you help me? 2009/5/11 Dianne Hackborn hack...@android.com Correct,

[android-developers] Gallery usage without using styleable

2009-05-12 Thread lilbyrdie
Hello, I'm trying to find the correct new way to do image Gallery items, previously (as also documented here: http://developer.android.com/guide/tutorials/views/hello-gallery.html and here http://developer.android.com/reference/android/widget/Gallery.html) the correct way was to apply

[android-developers] Where can I found the SMS that is just arrived?

2009-05-12 Thread Yoon
Hello folks, Currently I have some curious where I can find the sms that is just arrived. Means, I have a code like below, but can't get the latest one in the onReceive method. I can get the SMS contents that is just arrived from pdu in below code, but can't find it in content://sms/inbox. it

[android-developers] Is there any SIM Card contacts API, the same as i get from the PhonBook Content Provider.

2009-05-12 Thread tom
Is there any SIM Card contacts API, the same as i get from the PhonBook Content Provider ??? --~--~-~--~~~---~--~~ 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: Does Camera API really works ?

2009-05-12 Thread indra
Does 1.5 have support for camera in portrait? Please post the code sample. Regards, Indra On Mar 16, 7:35 am, Iliyan Malchev malc...@google.com wrote: Can you attach the logcat output?  Source code would also be helpful. On Thu, Mar 12, 2009 at 9:18 AM, crowcasso crowca...@gmail.com wrote:

[android-developers] Re: Hide the virtual keyboard

2009-05-12 Thread stsandr...@googlemail.com
Hi, I have a similar problem. I want that no softkeyboard appears, when I tap on one of my textedit fields, because I've created some buttons to do the input. I've tryed out some code like this: InputMethodManager in = (InputMethodManager)getSystemService (Context.INPUT_METHOD_SERVICE);

[android-developers] Re: Update: new ADT Eclipse plugin 0.9.1 available

2009-05-12 Thread jesse
Hi Raphael, Is the source code available for the 0.9.1 plugin? I was looking at the platform/development project, and it looks like it's still calling itself 0.9.0. I also tried building it and it doesn't seem to have the latest features/change. Does there need need to be another automated

  1   2   >