[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 informat

[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 qual

[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.' o

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 wrote: > Can someone tell me if this is correct XML? Not sure about the two > intent-f

[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] How to get focus for a button?

2008-11-07 Thread april
I am using emulator. In onCreate() function, I used "button.requestFocus()" . But the button didn't get focus. Has someone tried to get focus for a component? thanks! April --~--~-~--~~~---~--~~ You received this message because you are subscribe

[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

[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: 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 cust

[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 subscribed

[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 yo

[android-developers] If delete R.java, how how can recover it?

2008-10-06 Thread april
I accidentally delete R.java, all the files can't compile. How can I let the system regenerate R.java. I am using eclipse. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this gro

[android-developers] Re: If delete R.java, how how can recover it?

2008-10-04 Thread april
I recovered. However I found that even I update the files in drawable, R.java doesn't updated. Have you found the same problem? On Oct 4, 1:26 pm, april <[EMAIL PROTECTED]> wrote: > I accidentally delete R.java, all the files can't compile. How can I > let the system r

[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; &

[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); out.write(

[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 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] 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 > Intent(MediaStore.Au

[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

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

2008-09-30 Thread april
?xml version="1.0" encoding="utf-8"?> http://schemas.android.com/apk/res/ android" android:orientation="vertical" android:layout_width="fill_parent" android:layout_height="fill_parent" > if you change layout_height, it will work --~--~-~--~~~---~--

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

2008-09-29 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, sen

[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

[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 Post

[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 "An

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

2008-09-23 Thread april
I have not upgraded to 0.9 yet. Any more suggestion? Thanks! On Sep 23, 5:15 am, Mark Murphy <[EMAIL PROTECTED]> wrote: > yangrunfeiandroid wrote: > > add in > > your androidmanifest.xml > > good luck for you > > Also, in the Android 0.9 SDK, it should be ACTION_VIEW instead of > VIEW_ACTION.

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

2008-09-22 Thread april
code to launch web 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-devel

[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", this.getRes

[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 are

[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 to the

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

2008-08-30 Thread april
ia applications I can find > 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 applicat

[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

[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

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

2008-08-28 Thread april
I am interested in " Having the service be in a whole 'nuther process", could you give me an example? Thanks! April On Aug 27, 5:13 am, Mark Murphy <[EMAIL PROTECTED]> wrote: > april wrote: > > I am doing a game, which needs to update server player's status.

[android-developers] question about service and thread

2008-08-26 Thread april
on 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&

[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 are

[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" g

[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] Re: Can Mediaplayer play local files?

2008-08-18 Thread april
Thank you for the answer. So Android handles Media files different from other files. If you want to open other type of files, you don't need to give path. Thanks! April On Aug 18, 3:27 am, hackbod <[EMAIL PROTECTED]> wrote: > One thing to look at: > > mp.setD

[android-developers] relative layout is not working at all?

2008-07-22 Thread april
I have copy the xml file given by google as relative layout example (http://code.google.com/android/devel/ui/xml.html) as my layout file. But all the component are shown in just one line! Does relative layout work? or there are some problems with following xml file? Thanks! http://schemas.a