[android-developers] Widget bug, is there a work around?

2009-05-22 Thread zl25drexel
Dear google guys, the widget framework (or the Home app) has a pretty bad bug: - install ApiDemo - long press screen/widget/ApiDemo - *CHANGE ORIENTATION* - then without changing orientation back, click ok to create the widget the widget will not show up, did some debugging it looks like the wid

[android-developers] How to cancle a dialog when touch it?

2009-05-22 Thread hencechen...@gmail.com
i have my code Dialog dlg=new Dialog(android01.this); dlg.setContentView(R.layout.error); dlg.show(); MotionEvent event = null; if(dlg.onTouchEvent(event))

[android-developers] Re: How can i get the string from edittext?

2009-05-22 Thread hencechen...@gmail.com
Thank you very much On May 21, 2:42 am, NyquilDotOrg wrote: > try: > > if (tv1.getText().toString().equals("admin") && tv2.getText().toString > ().equals("admin")) > > jer > > On May 20, 2:21 am, "hencechen...@gmail.com" > wrote: > > > > > here is my code,it seems to return false all the ti

[android-developers] Re: How to play video file in android.

2009-05-22 Thread chen hence
i just remembered there was no way to play awmv file on g1? 2009/5/22 Marco Nelissen > On Thu, May 21, 2009 at 8:57 PM, Priya wrote: > >> >> Hi, >> >> here is my code for playing video through url >> >> public class sample extends Activity { >> >> >>private String _videoPath; >>priv

[android-developers] Re: How to redirect audio to bluetooth headset?

2009-05-22 Thread jianwei
Dave, thanks very much. I've got it. : ) On 5月23日, 上午2时32分, Dave Sparks wrote: > With an A2DPheadset, all app processor audio can be routed to theheadset. > > I thought I gave a pretty good summary of the differences between SCO > and A2DP. If you need more detail, there is a lot of information

[android-developers] AsyncTask posting mulitple parameters

2009-05-22 Thread avrono
This maybe a silly question, but I was wondering how to pass multiple parameters to AsyncTask I have somthing like : private class DownloadTask extends AsyncTask < ArrayList, int [], Cursor, void, void> { protected ArrayList doInBackground(ArrayList lst, int [] _thread_keys, Cursor

[android-developers] How should I call an application from another application?

2009-05-22 Thread iou200...@gmail.com
As the subject ,I want to know How should I call an application from another application?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-d

[android-developers] Re: How run a apk in the app

2009-05-22 Thread iou200...@gmail.com
I want to know ,too. On May 6, 9:11 pm, ainilife wrote: > hi all: >     i want to download aapkfile from my server and run this > application in my app. is this possible? if it can , please post some > sample code. thank you all. --~--~-~--~~~---~--~~ You received

[android-developers] Re: Find whether any audio is currently playing

2009-05-22 Thread iDeveloper
Thanks. And how do I stop the audio from playing if isMusicActive() returns true? Do I have to use the MediaPlayer instance? But the instance won't be in memory any longer as the activity has been exited once and a new instance of the activity created in order to come back. Thanks again.

[android-developers] Re: How to redirect audio to bluetooth headset?

2009-05-22 Thread schwiz
Jianwei it should work with android firmware 1.5 and above On May 22, 4:38 am, jianwei wrote: > Sorry for my poor english. May be you didn't understand my purpose. > I'm a application developer for android platform, and i didn't know > much about bluetooth. Our application will play some audioes

[android-developers] Computer Tips, Download Freeware, Music

2009-05-22 Thread DonyChandra
http://free-belajaronline.blogspot.com/2009/05/amazon-adds-physical-data-transfer.html Amazon adds physical data transfer option to AWS http://free-belajaronline.blogspot.com/2009/05/deskpins-adds-always-on-top-thumbtack.html DeskPins adds an "always on top" thumbtack to any ... http://free-belaja

[android-developers] VERY URGENT : The app not working fine on 1.5G emulator (target name: Google APIs) which is working fine on 1.0 emulator

2009-05-22 Thread manoj
Hi I have written a location based app. The app finds a route between two coordinates. Its working fine on 1.0 emulator as well as on 1.0 supported devices. Now I tried to run the same app on 1.5G (Google APIs ) emulator. Its not working. It is not showing the route. and got the following log me

[android-developers] will maps application work on sdk 1.5 supported devices?

2009-05-22 Thread manoj
Hi, can any one please explain in detail why 1.5, 1.5G emulators are given? Can't the maps applications work on 1.5 emulator/supported devices ? The added advantage of 1.5G emulator is for running the maps kind of applications. Is it true? And are there any two separate devices available for 1

[android-developers] Re: AsyncTask posting mulitple parameters

2009-05-22 Thread Romain Guy
Just use the type Object for the parameters and you can then pass whatever you want. On Fri, May 22, 2009 at 9:24 PM, avrono wrote: > > This maybe a silly question, but I was wondering how to pass multiple > parameters to AsyncTask > > I have somthing like : > > private class DownloadTask extend

[android-developers] Sharing youtube videos on youtube playlist within application

2009-05-22 Thread Zi Yong Chua
Hi guys, I am looking at creating a shared playlist of youtube videos for my app and is wondering if there is an api for me to do that. I check on the stock youtube.apk and there is an activity where the users can select from a list of videos added on his/her playlist. Does anyone has any clue ho

[android-developers] whats wrong with my EditText to int

2009-05-22 Thread hencechen...@gmail.com
here is my code,and it always goes to Exception. EditText et1=(EditText) findViewById(R.id.content); EditText et2=(EditText) findViewById(R.id.money); String con=et1.getText().toString();

[android-developers] Re: whats wrong with my EditText to int

2009-05-22 Thread Jack Ha (T-Mobile USA)
Can you provide the logcat output that shows the stack trace? What value did you enter for the et2 field? -- Jack Ha Open Source Development Center ・T・ ・ ・Mobile・ stick together The views, opinions and statements in this email are those of the author solely in their individual capacity, and do

[android-developers] Re: Main and three binder threads are running after application close

2009-05-22 Thread olko
Well, this is what I observe when I press the "back" button: In the main activity: - onPause() is called - onStop() is called - on Destroy() is called In the remote service: - onUnbind() is called (I unbind in onDestroy() of the main activity) - onDestroy() is called After that in the debugger

<    1   2