[android-developers] Re: java.util.Timer NOT make sense in Activity?

2008-12-09 Thread april
Could you please give us a sample code? Thanks! Cindy On Dec 9, 2:38 pm, Dianne Hackborn [EMAIL PROTECTED] wrote: Don't use the alarm manager for this kind of thing. The best thing is to use Handler with delayed messages. And Timer works fine, the problem is that a Timer runs in a

[android-developers] why I can't launch web browser from Android?

2008-09-22 Thread april
browser before. How do you fix the problem? Thanks April --~--~-~--~~~---~--~~ 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

[android-developers] PostMethod is removed from 1.0?

2008-09-28 Thread april
, passWord) int statusCode=client.executeMethod(method); I migrated HttpClient to DedaultHttpClient. But what is the new method for PostMethod? THanks! APril --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android

[android-developers] Re: PostMethod is removed from 1.0?

2008-09-28 Thread april
Thanks! April On Sep 28, 12:46 pm, Mark Murphy [EMAIL PROTECTED] wrote: april wrote: After I upgraded to 1.0, I found PostMethod is removed. Following is my old code HttpClient client = new HttpClient(); PostMethod method = new PostMethod(Constants.serverUrl +function

[android-developers] Launch browser issue. Is this a bug for 1.0?

2008-09-29 Thread april
url=http://www.google.com;; Intent i = new Intent(Intent.ACTION_VIEW,Uri.parse(url)); startActivity(i); If I changed url=http://127.0.0.1:4343/a.html;, I will get error the application is stopped unexpectly. Is this a bug? --~--~-~--~~~---~--~~ You received this

[android-developers] Is collapse /expand list not working in 1.0?

2008-09-30 Thread april
created when user click the list. Is it a bug for 1.0? has anyone the same experience? Thanks! April --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android

[android-developers] Re: Alignment issue related to ListView

2008-09-30 Thread april
?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 ListView android:id=@id/android:list android:layout_width=fill_parent

[android-developers] how to disable the back key for the phone

2008-09-30 Thread april
My application needs to send several request to server. I don't want user to click back key of the phone during sending process. Is there any way I can block it ? If application is doing something, user click back, what is the life cycle of activity it would be? Thanks! April

[android-developers] Re: SoundRecordingDemo in v1.0

2008-10-01 Thread april
How do you test the code without real phone? Can you record from emulator? what is the format of sound? Thank! On Oct 1, 9:25 am, Guillaume Perrot [EMAIL PROTECTED] wrote: Eventually I used a hidden default intent to capture a sound and retrieve the audio file: new

[android-developers] Re: Is it possible to embed links into a textview?

2008-10-01 Thread april
yes, When you create the textview in XML. You need to set a flag: android:autoLink=all. You can use b ,,,/b, just like html page. On Oct 1, 2:56 pm, David [EMAIL PROTECTED] wrote: This is a similar problem to my other one. I want the links to be database rows, not to other pages. Also I

[android-developers] how can I know the default directory for file output?

2008-10-04 Thread april
How can I get the directory of the file? If I need to read it back from media player? FileOutputStream fos=null; OutputStream out=null; try { fos=mActivity.openFileOutput(fName,mActivity.MODE_WORLD_WRITEABLE ); out =(OutputStream)(fos);

[android-developers] Re: how can I know the default directory for file output?

2008-10-04 Thread april
Thanks! On Oct 4, 12:10 pm, Mark Murphy [EMAIL PROTECTED] wrote: april wrote: How can I get the directory of the file? If I need to read it back from media player? FileOutputStream fos=null; OutputStream out=null; try { fos=mActivity.openFileOutput(fName

[android-developers] Android developer Challenge 2

2008-10-23 Thread april
When the ADC 2 will be launched? does anyone have any idea? I can buy a phone, but I really don't want to sign contract with TMobile? will Google give any promotion for ADC2 developer? Thanks! April --~--~-~--~~~---~--~~ You received this message because you

[android-developers] Relative layout

2008-10-23 Thread april
I need to create a relative layout using java instead of XML. In the layout, there are 3 buttons, one on the left, the other 2 will be right. Does some one have sample code on that? Thanks! --~--~-~--~~~---~--~~ You received this message because you are

[android-developers] Re: Paging a ListView

2008-10-25 Thread april
Does your list have expand functionality(WHen user click the item, the item will expand to 2 row. I found expand is not working after I upgrade to 1.0. Do you have same problem? Thanks On Oct 24, 9:58 pm, Casey Link [EMAIL PROTECTED] wrote: Hello, I've implemented a ListView with a custom

[android-developers] Audio recorder format

2008-10-28 Thread april
In AudioEncorder class (http://code.google.com/android/reference/ android/media/MediaRecorder.AudioEncoder.html#DEFAULT) there are 2 attribute, DEFAULT and AMR_NB. What is DEFAULT? What is the bandwidth for DEFAULT and AMR_NB? Thanks! April

[android-developers] Re: Audio recorder format

2008-10-28 Thread april
So there is no body doing Audio related coding on Android? On Oct 28, 10:41 am, april [EMAIL PROTECTED] wrote: In AudioEncorder class (http://code.google.com/android/reference/ android/media/MediaRecorder.AudioEncoder.html#DEFAULT) there are 2 attribute, DEFAULT and AMR_NB. What is DEFAULT

[android-developers] Speech Recognition API

2008-08-18 Thread april
I hvae used speech recognition API in older SDK.But I found they were not available in new SDK. Does anyone know the API change? Do you know the new API which can provide same functionality? --~--~-~--~~~---~--~~ You received this message because you are subscribed

[android-developers] Can MediaRecoder record audio in wave format?

2008-08-22 Thread april
How to set the MediaRecorder to record in specified format? such as wav format. In emulator, how can we test record functionality without hardware? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers

[android-developers] Does anyone has the slide bar code used in music player ?

2008-08-23 Thread april
In music players, there always a sliding bar with a moving small ball to indicate how long is the music and how many minutes music has been played? Is there any sample code for that? Thanks! April --~--~-~--~~~---~--~~ You received this message because you

[android-developers] question about service and thread

2008-08-26 Thread april
of the Application Model overview. Should I using thread in the service to send data to server? What is the best way to do that? Thanks! April --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group

[android-developers] Re: question about service and thread

2008-08-28 Thread april
Thanks. I found a useful tutorial to share with friends here: http://developerlife.com/tutorials/?p=290 April On Aug 26, 11:16 pm, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: you need to create handler = new android.os.Handler() attached to the current thread and use this function called

[android-developers] Where to download icons?

2008-08-29 Thread april
! April --~--~-~--~~~---~--~~ 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 email to [EMAIL PROTECTED

[android-developers] Re: Where to download icons?

2008-08-30 Thread april
for Android. Thanks Ericwww.hdmp4.com On Aug 30, 10:21 am, april [EMAIL PROTECTED] wrote: I am developing a multimedia application. I found the most difficult things is to create nice icons for the application. It took me a lot of time just for an ugly icon:) I have to give up

[android-developers] about border of a panel or layout

2008-08-30 Thread april
In the Android Challenge 1 winning applications, I saw some nice panels with nice border and curve in the corners. Are they using Standard Layout ? How do you do it? Thanks! April --~--~-~--~~~---~--~~ You received this message because you are subscribed

[android-developers] question about tabhost

2008-08-30 Thread april
Does anyone has sample code on tab host? When user click on a new tab, the application needs to save current tab info into database. Then it needs to retrieve information for new tab. Thanks! April --~--~-~--~~~---~--~~ You received this message because you

[android-developers] Bug on onTabChanged(String tabId) ?

2008-08-31 Thread april
When I clciked on the first Tab, the tabId passed into onTabChanged is always null. Anyone faced same problem? Known bug? or It is my code's problem? Code: TabHost.TabSpec tab1 = tabs.newTabSpec(text); tab1.setContent(R.id.text_input); tab1.setIndicator(text,

[android-developers] NDK NewsReader

2012-03-12 Thread April Randolph
Setting up my NDK environment and running into privilege and/or permission errors. Implementing a marakana example and when I use the this command: C:\mklink /D C:\Develop Folder\Android C:\Users\April\workspaceAndroid\NDKDemoM C I get a 'The syntax of the command is incorrect.' or 'You do

Re: [android-developers] correct XML?

2012-03-04 Thread April Randolph
Yes this looks right. These should be mapped from the AndroidManifest.xml but is there a reason that you have and intent for the Main_Activity? April Randolph On Thu, Mar 1, 2012 at 10:00 AM, bob b...@coolfone.comze.com wrote: Can someone tell me if this is correct XML? Not sure about the two

[android-developers] Screen Recorder - Screen capture app for recording your device's screen to video

2015-12-01 Thread April Nice
This application makes screen recording easy and even fun. That makes it very convenient to create tutorial, promotional video, comment about your game and gameplay or record video chat. It uses official APIs added in Android 5.0+ so it requires no rooting. # No watermarks # Provide record

[android-developers] Gradle sync failed

2017-01-14 Thread April Potter
I downloaded Android 2.2 on my windows 7 which is a x86(32 bit) system and this is the error i keep getting Please help 5:08:02 AM Gradle sync failed: CreateProcess error=216, This version of %1 is not compatible with the version of Windows you're running. Check your computer's system