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

2008-12-09 Thread cindy
I used timer.schedule(timerTask,0,1000); then use timer.cancel() to stop the job. It works fine. But after I call timer.schedule(timerTask, 0,1000) again to start the same task, android crashed. Following is my timerTask code. So I guess Timer is not work in android: class updateTime extends

[android-developers] track boor isn't working on button with has only background image

2008-12-15 Thread cindy
? Thanks! Cindy --~--~-~--~~~---~--~~ 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 android

[android-developers] ImageButton response time is slow

2008-12-23 Thread cindy
I have an application using ImageButton. When I touch it, sometimes it doesn't response. Sometimes it response. The response time is slow. But using the G1 phone's dial function, when I touch the number, the response time is very fast. Does anyone know why? Thanks! Cindy

[android-developers] when user click back, which function is called

2009-01-04 Thread cindy
My application have several screens, when user clicks back button, it goes back to next screen. Which function will be called, when it is back? I used some static variable to remember global function. I found that sometime, the value of those variable has been changed. Do you experience the

[android-developers] Re: button response is slow on GPhone

2009-01-05 Thread cindy
Mark, Thank you for the reply. I found that if I use trackball, it always work for click. But the response from hand touch is really not very responsible. Have you tried to use G1? Have some other developer experience the same problem? Thanks! Cindy On Jan 5, 4:47 am, Mark Murphy mmur

[android-developers] Re: when user click back, which function is called

2009-01-05 Thread cindy
, 2009 at 10:17 AM, cindy ypu01...@yahoo.com wrote: My application have several screens, whenuserclicks backbutton, it goesbackto next screen. Whichfunctionwill becalled, when it is back? I used some static variable to remember globalfunction. I found that sometime, the value of those

[android-developers] Re: button response is slow on GPhone

2009-01-05 Thread cindy
function. But I think it would make UI very slow, since it needs to wait for response back. I put a prgressbar dialog, but it didn't show up at all. Any suggestions? Thanks! Cindy On Jan 5, 11:21 am, Mark Murphy mmur...@commonsware.com wrote: cindy wrote: Thank you for the reply. I found

[android-developers] How to use observer pattern in Andorid/ or other method to improve UI response

2009-01-06 Thread cindy
. If the application is to retrieve emails, how can I implement the similar functionality in android? Where can I find sample code? Thanks! Cindy --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post

[android-developers] where can I find the source code for G1 phone's contact application

2009-01-06 Thread cindy
G1 phone has a default application called contact. Where can I find the source code for that? Thanks! Cindy --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email

[android-developers] Re: where can I find the source code for G1 phone's contact application

2009-01-06 Thread cindy
In contact application, the round number will be focused by scroll track ball. For me it looks like imageButton, but it doesn't have rectangle around it. it also response to user's click very fast. Does any one know how it is implemented? On Jan 6, 10:54 pm, cindy ypu01...@yahoo.com wrote: G1

[android-developers] Re: How to use observer pattern in Andorid/ or other method to improve UI response

2009-01-08 Thread cindy
is back, update the UI. If the application is to retrieve emails, how can I implement the similar functionality in android? Where can I find sample code? Thanks! Cindy --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google

[android-developers] Re: track boor isn't working on button with has only background image

2009-01-08 Thread cindy
android:layout_height=wrap_content android:layout_alignParentLeft=true / Does any one have small experience? Thanks! Cindy --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google

[android-developers] application will crash when G1 changed to landscape display

2009-01-15 Thread cindy
When my application used keybload, the display will change to landscape. when I close the keyboard, and change the phone to regular display. sometimes, my application will crash. I tried some application from Android market, I found the same issue. Does anyone know why?

[android-developers] Re: application will crash when G1 changed to landscape display

2009-01-15 Thread cindy
to update android UI? Thanks! On Jan 15, 5:08 pm, Mark Murphy mmur...@commonsware.com wrote: cindy wrote: When my application used keybload, the display will change to landscape. when I close the keyboard, and change the phone to regular display. sometimes, my application will crash. What

[android-developers] Re: application will crash when G1 changed to landscape display

2009-01-16 Thread cindy
...@commonsware.com wrote: cindy wrote: Mark, thank you for the reply. I will look into debug. I guess it is caused by thread issue. my application has thread to update UI, at the same time phone itself is trying to update UI. In Swing UI, we should call InvokeLater()to update already relized UI

[android-developers] Re: touch hanging

2009-01-16 Thread cindy
I have same problem on G1. How about other developers using G1? On Jan 16, 12:27 am, Osman Ahmed Osman os...@osmanahmedosman.com wrote: Hello, This may not be the right avenue, but I'm not sure what is. The touch functionality on my screen will often stop working (ie the phone doesn't

[android-developers] why people claim the function onCreate public?

2009-01-16 Thread cindy
onCreate is defined as a protected function in Activity. But for all the sample code, in the class extends from Activity class, it has been declared as public function. @Override public void onCreate(Bundle icicle) { super.onCreate(icicle); ..} Is that uncommon?

[android-developers] how to remove the image displayed in ImageView

2009-01-22 Thread cindy
Hi How can we removed image displayed in Imageview? Thanks! Cindy --~--~-~--~~~---~--~~ 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] Re: how to remove the image displayed in ImageView

2009-01-22 Thread cindy
I could not find any API to remove the image displayed in ImageVIew. Help! On Jan 22, 11:16 am, cindy ypu01...@yahoo.com wrote: Hi How can we removed image displayed in Imageview? Thanks! Cindy --~--~-~--~~~---~--~~ You received this message because you

[android-developers] how to take small picture

2009-03-18 Thread cindy
Hi, Is there anyway to reduce the resolution of picture taken using camera? It takes long time to upload the image to server. Does anyone use any compression software for image ? Thanks! Cindy --~--~-~--~~~---~--~~ You received this message because you

[android-developers] Re: how to take small picture

2009-03-18 Thread cindy
When we use camera, is there any parameters we can config about the picture resolution? Thanks! April On Mar 18, 10:57 am, Streets Of Boston flyingdutc...@gmail.com wrote: Take a look at the Bitmap and BitmapFactory classes in the Android SDK On Mar 18, 1:52 pm, cindy ypu01...@yahoo.com

[android-developers] can we change the resolution of images taken by camera

2009-03-24 Thread cindy
The image size is about 1mg, which takes long time to transfer to server in 3G network. How can I reduce the resolution of image ? Is there any parameter we can set before taken picture? Thanks! Cindy --~--~-~--~~~---~--~~ You received this message because you

[android-developers] Can android take picture in portrait style

2009-04-14 Thread cindy
I am uisng 1.1. I found that I can only take picture in landscape mode. Has someone using landscape mode? Thanks! Cindy --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group

[android-developers] Re: Activity Issue on G1 phone

2009-01-23 Thread cindy
Then android's implementation has problem. For example, if my application needs to create account, of cause, the key board will open first. After user typed in user name and password, then he clickes the create button.Request sends to server in a thread. After that, he closes the keyboard, the

[android-developers] Re: Activity Issue on G1 phone

2009-01-23 Thread cindy
like this. The keyboard action could impact the rotation, but why changing rotation impacts the activity? In my case, the thread is destroyed, which will destroy all tasks in the thread. In worst case, the user will have to re-create their data from scratch. stanley On Jan 24, 1:47 am, cindy

[android-developers] Re: Activity Issue on G1 phone

2009-01-23 Thread cindy
the state of the thread when the activity is destroyed then open a new thread when the activity is resumed/recreated and restore the previous thread's state to the new one. -Original Message- From: cindy [mailto:ypu01...@yahoo.com] Sent: Friday, January 23, 2009 12:45 PM To: Android

[android-developers] Re: Activity Issue on G1 phone

2009-01-23 Thread cindy
Pretty hard to write. Does anyone know a better and simple way to implememnt it? Thanks! Cindy On Jan 23, 11:22 am, cindy ypu01...@yahoo.com wrote: Try that. If I send it again, in case case I will get error from server the user already exists. The request has sent to server. Problem

[android-developers] Re: Why Android?

2009-01-29 Thread cindy
Does someone has iphone development experience? Can you share your experience of developing iphone application? On Jan 29, 8:44 am, Jon Smith work.jonsm...@googlemail.com wrote: Thank you all very much for the information, It has all been of great benefit. If any one has any information to

[android-developers] how to add scroll bar to linearlayout

2009-01-29 Thread cindy
I have build a UI using linearlayout. It displays fine if phone is in vertical position. But when I switch my phone to horizontal position. Some content is not displayed. Is there anyway to add a scroll bar to linear layout? --~--~-~--~~~---~--~~ You received this

[android-developers] how to update list

2009-02-03 Thread cindy
I have a list. Which will first show 10 items, user would be able to do pagination with click pagination button. The list is extended from listActivity, and the list adapter is extends from BaseAdapter . But how to update UI when I get next 10 items back? Thanks! April

[android-developers] Re: how to update list

2009-02-03 Thread cindy
I implemented the async incoming data on a separate thread which adds the items to a ArrayList that is connected to the view through my custom adapter (inherits BaseAdapter). But when I modified the ArrayList, the application crashes. Have you have the same problem? On Feb 3, 5:03 pm, Emmanuel

[android-developers] Re: how to update list

2009-02-04 Thread cindy
I figure out the problem. You can't change any UI in the thread your create. Android require you to update UI in UI thread. On Feb 3, 11:27 pm, cindy ypu01...@yahoo.com wrote: I implemented the async incoming data on a separate thread which adds the items to a ArrayList that is connected

[android-developers] Does Camera API really works ?

2009-02-16 Thread cindy
I tried google's camera API sample code. I found there are 2 problems: 1 It only can take picture in Landscape orientation 2 After click the space key, the application crashes. WOw:) XML: LinearLayout xmlns:android=http://schemas.android.com/apk/res/ android android:layout_width=fill_parent

[android-developers] why imageview doesn't display the picture I take.

2009-02-20 Thread cindy
Here is my code. After I using the phone to take image, I save to a file. Then I want to use imageview to display the image. But it failed. I checked that the file is saved correctly in SD card. I use mImageView.setImageURI(mImgUri) to display image. anything wrong? public void save() {

[android-developers] How to add transparent button to screen

2009-02-21 Thread cindy
Hi all, When I use android's camera, the buttons are transparent. Does anyone knows how to do that? A lot of thanks! Cindy --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post

[android-developers] Re: How to add transparent button to screen

2009-02-22 Thread cindy
...@gmail.com wrote: Try using an image drawable or ninepatch drawable PNG with some alpha in it. This is an example that's already in the framework. Set this as the background of a FrameLayout: @android:drawable/gallery_thumb On Feb 22, 12:08 am, cindy ypu01...@yahoo.com wrote: Hi all

[android-developers] why I can't see google's nexus one from eclipse

2010-02-16 Thread cindy
I need to test my application on nexus one. Why I could not see the device (connected to my USB port, with USB enable) from eclispe? Thanks! Cindy -- 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] where can I download the driver for nexus one?

2010-02-17 Thread cindy
I need to test my application from eclipse, but I could not see the device ? I was told that I need to upgrade USB driver. Do you know here I could download the driver? what is the procedure to upgrade? -- You received this message because you are subscribed to the Google Groups Android

[android-developers] java code footprint

2010-02-24 Thread cindy
Since android is javabased application, will the same application has extremely footprint than written in c++ or even assembly language? 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] Re: Why I got the error Sorry, this video cannot be played

2009-07-29 Thread cindy
anyone know why? On Jul 26, 8:10 pm, cindy ypu01...@yahoo.com wrote: My code was working before. I don't why now i got the error. My application use g1 phone recording an 3gp video, Then I use following code try to play it, however I got an error Sorry this video cannot be played

[android-developers] Has ADC submission site opened?

2009-08-11 Thread cindy
ADC's submission site will open in August? Opened? --~--~-~--~~~---~--~~ 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

[android-developers] How to add margin through java code

2009-08-12 Thread cindy
,LayoutParams.WRAP_CONTENT)); newPost.setOnClickListener(new NewPost(b.getName (),b.getBlogId())); l22.addView(newPost); Thanks! CIndy --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android

[android-developers] Re: ADC 2 - can I update my app after the 1. round

2009-08-17 Thread cindy
Is the site opened ? Thanks! On Aug 17, 11:29 am, fhucho fhu...@gmail.com wrote: Hi, if I submit my app to ADC 2, can I then submit an updated version later, e.g. after the 1. round ended? Thanks --~--~-~--~~~---~--~~ You received this message because you

[android-developers] Re: adc2 submission site

2009-08-17 Thread cindy
I have question too. Google should update the ADC official site to tell us what happends. On Aug 16, 11:11 am, siuying siu.y...@gmail.com wrote: Glad to hear that I'm not the only one having this question! On 8月15日, 下午12時36分, sleith raysle...@gmail.com wrote: Hi, i've just purchased to be

[android-developers] How to submit to ADC 2

2009-08-26 Thread cindy
I never submit to Android market before. I don't want to make mistake on submitting my application. 1 Do I need to sign application.apk ? 2 If I can run the application, loaded from eclipse to my phone, there would not be problem for people who downloads from ADC. Is that correct?

[android-developers] How to listen to Back key

2009-08-27 Thread cindy
In current activity, when user click the back key, I don't what it back to the last activity. Can I add a listener to listen to back key in current activity? When user click back key, it actually back to the activity I want it to go. Thanks! Cindy

[android-developers] Re: How to submit to ADC 2

2009-08-27 Thread cindy
Can anyone answer the question? Thanks! On Aug 26, 2:36 pm, cindy ypu01...@yahoo.com wrote: I never submit to Android market before.  I don't want to make mistake on submitting my application. 1 Do I need to sign application.apk ? 2 If I can run the application, loaded from eclipse to my

[android-developers] Do you got any confirmation after ADC 2 submit?

2009-08-30 Thread cindy
Have you got any confirmation for ADC 2 submission? How to check the current status of my submission? Thanks! Cindy --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group

[android-developers] Re: Hmm... at last ADC2 is out of our way ... tell about your app and experience

2009-09-02 Thread cindy
I have submitted my application one day before the final date. Since Augest 31st is Monday, with a busy job at silicon valley, it would be too much pressure for me to do it on working day. Finally, our team did it. I have asked a lot of question here. Thanks for all the people replied to me.

[android-developers] how to send data to server while recording

2010-08-11 Thread cindy
for the help. Cindy -- 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 android-developers+unsubscr...@googlegroups.com

[android-developers] how to send data to server while recording

2010-08-12 Thread cindy
My application needs to send data to server while recording the audio data? Does anyone know how to do that? 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] Re: how to send data to server while recording

2010-08-13 Thread cindy
I don't know what to try? Do you know any clue? On Aug 12, 11:46 pm, Miguel Morales therevolti...@gmail.com wrote: What have you tried? On Thu, Aug 12, 2010 at 10:45 PM,cindyypu01...@yahoo.com wrote: My application needs to send data to server while recording theaudio data? Does

[android-developers] How to start a animation when activity starts

2010-08-21 Thread cindy
Hi Friend, I need to start a animation automatically for a activity without any user clicking. I know when activity is not ready, animation could not start. I used a thread to start it, however it is still not working. How could I know Activity is ready? Help is great appreciated. public void

[android-developers] Re: How to start a animation when activity starts

2010-08-21 Thread cindy
? On Aug 21, 1:05 pm, skink psk...@gmail.com wrote: On Aug 21, 8:48 pm, cindy ypu01...@yahoo.com wrote: Hi Friend, I need to start a animation automatically for a activity without any user clicking. I know when activity is not ready, animation could not start. I used a thread to start

[android-developers] Re: How to start a animation when activity starts

2010-08-23 Thread cindy
Correct way to do it: put into onWindowFocusChanged(boolean a) it works!! On Aug 21, 3:05 pm, cindy ypu01...@yahoo.com wrote: no it is not working: In android document, it says: It's important to note that the start() method called on the AnimationDrawable cannot be called during

[android-developers] when to use runonuithread()? why we need to use it?

2010-08-24 Thread cindy
When the user clicks some button, I can directly change the UI of my application, such as set the view or change layout without any problem. Why we need to call runOnUIThread() function? Thanks! Cindy -- You received this message because you are subscribed to the Google Groups Android

[android-developers] Re: when to use runonuithread()? why we need to use it?

2010-08-24 Thread cindy
If I get a result from setResult from other activities, I need to set the result to a textview. Do I still need to call runOnUIThread() ? On Aug 24, 11:50 am, TreKing treking...@gmail.com wrote: On Tue, Aug 24, 2010 at 1:36 PM, cindy ypu01...@yahoo.com wrote: When the user clicks some button

[android-developers] setselection() doesn't have visual effect

2010-08-31 Thread cindy
that? Thanks! Cindy -- 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 android-developers+unsubscr...@googlegroups.com For more

[android-developers] how to upgrade android 1.5 to 2.1

2010-09-07 Thread cindy
I need to create 2 version of code using 2 different compiler, 1,5 and 2.1. I don't want to duplicate code. How could I using the same project in eclipse to create 2 version of package? Thanks! April -- You received this message because you are subscribed to the Google Groups Android

[android-developers] build different version of android

2010-09-08 Thread cindy
My application needs to compile into different version, from 1.5 to 2.1. The development environment is eclipse. I don't want to have different source code or project for each version. How could I do it? Thanks! Cindy -- You received this message because you are subscribed to the Google Groups

[android-developers] Re: build different version of android

2010-09-08 Thread cindy
Don't get it. Anyone know the solution On Sep 8, 10:22 am, TreKing treking...@gmail.com wrote: On Wed, Sep 8, 2010 at 12:05 PM, cindy ypu01...@yahoo.com wrote: How could I do it? http://android-developers.blogspot.com/2009/04/backward-compatibility

[android-developers] how to set focus on the list

2010-09-08 Thread cindy
I display a list on screen, how could I set focus on one list item? It seems in touch mode, it is impossible to set focus. Am I correct? -- 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] Post variables to ASPX on server

2010-04-15 Thread Cindy
to it? I would greatly appreciate any help! Cindy -- 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 android-developers+unsubscr

[android-developers] Question on how to do animation

2010-06-28 Thread cindy
Hi friends, In my application, after user clicks one button, We will pop up a window. In that window, we need to do animation. user can use button to change animation. It seems very complicated. Does anyone have experience for that? any sample code? Thanks! April -- You received this message

[android-developers] How to make a imageview at right of linearlayout

2010-07-04 Thread cindy
android:layout_alignParentRight=true android:src=@drawable/logo_poweredby/ /LinearLayout Thanks! Cindy -- 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: How to make a imageview at right of linearlayout

2010-07-04 Thread cindy
android:layout_alignParentRight=true android:src=@drawable/logo_poweredby/ /LinearLayout On Jul 4, 2:09 pm, Mark Murphy mmur...@commonsware.com wrote: On Sun, Jul 4, 2010 at 4:55 PM, cindy ypu01...@yahoo.com wrote: In the linearlayout, I need to put the image

[android-developers] Re: How to make a imageview at right of linearlayout

2010-07-06 Thread cindy
2010/7/5 cindy ypu01...@yahoo.com Hi All, In the linearlayout, I need to put the image at right. I have tried a lot of method, none of them works. Can someone point out what is wrong? LinearLayout xmlns:android=http://schemas.android.com/apk/res/ android

[android-developers] how to set the focus color of one listitem

2010-07-07 Thread cindy
For my list, I want to change the default focus color. However, when I set listSelector, the area of linelayout change to that color.Not the single focused listitem. Anything wrong? LinearLayout android:id=@+id/list_panel android:layout_width=fill_parent

[android-developers] Re: How to make a imageview at right of linearlayout

2010-07-07 Thread cindy
good luck! 2010/7/7 cindy ypu01...@yahoo.com Have tried all those, none of them works. Does it mean we can't put a imageview to right? LinearLayout xmlns:android=http://schemas.android.com/apk/res/ android android:layout_width=fill_parent android:id

[android-developers] how to change the default color of list

2010-07-07 Thread cindy
android:drawable=@drawable/list_focus/ item android:state_focused=true android:drawable=@drawable/list_focus/ item android:drawable=@drawable/list_bg/ /selector Thanks! Cindy -- You received this message because you are subscribed to the Google Groups Android

[android-developers] how to start animation automatically

2010-07-07 Thread cindy
In my application, when activity is start, I want to automatically start animation without user click. I called anim_record.start() in onCreate function. But nothing happened. When and where should I start animation? -- You received this message because you are subscribed to the Google Groups

[android-developers] Re: how to change the default color of list

2010-07-08 Thread cindy
Does any one know how? On Jul 7, 9:31 pm, cindy ypu01...@yahoo.com wrote: Hi All, I want to change the default highlight color for list.But it doesn't work, the allow list area has set to the high-light color I want to set. Any thing wrong with my code? THe layout code is as follows

[android-developers] Re: how to start animation automatically

2010-07-08 Thread cindy
are doomed. Aside from that, I've encountered some buggy behaviour regarding the starting of AnimationRecordables within onCreate before. I suggest you try using a Handler to start the animation after a little delay. On Jul 8, 3:15 pm, cindy ypu01...@yahoo.com wrote: In my application, when

[android-developers] what is context?

2010-07-09 Thread cindy
A very silly question, What is Context? How to get it? Context.getSystemService(TELEPHONY_SERVICE) to get access to the TelephonyManager. Thanks! Cindy -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email

[android-developers] Re: what is context?

2010-07-09 Thread cindy
Thanks! On Jul 9, 11:12 am, Mark Murphy mmur...@commonsware.com wrote: On Fri, Jul 9, 2010 at 2:04 PM, cindy ypu01...@yahoo.com wrote: A very silly question, What is Context? It is a class. How to get it? Activity is a subclass of Context. Service is a subclass of Context

[android-developers] How to change list Item's focus color

2010-07-09 Thread cindy
Hi I have a list. I can set the back ground color , press color, and fosusing color in listbg.xml (selector). However the focus color doesn't work at all. The list item never get focus. Do I need to wrote code for focus? My code: listbg.xml ?xml version=1.0 encoding=utf-8? selector

[android-developers] how to get focus id for a list

2010-07-09 Thread cindy
Hi , For a ListView, how could I get the focus ID? It seems there is no API. Am I right? Thanks! Cindy -- 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] how to set focus on the list

2010-07-11 Thread cindy
Hi My application displays a list view. When it is first displayed, I want to set the focus to the first listitem. How could I do it? Thanks! Cindy -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email

[android-developers] how to make library for another application to use

2010-07-19 Thread cindy
Hi friend, I need to provide some SDK as third party library for other applications. We don't want to open our source code. How could make a jar file? Thanks! Cindy -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group

[android-developers] what is problem with my library project

2010-07-19 Thread cindy
Hi all, I have created a library project. When I use the library project in other project, it compiles. How ever, when I run the application, it always get the error The application has stopped unexpectly.. Have anyone has the same experinece? Thanks! Cindy -- You received this message

[android-developers] Re: what is problem with my library project

2010-07-19 Thread cindy
Thanks Mark. The exception show in DDMS is : java.lang.verificatin error. On Jul 19, 6:52 pm, Mark Murphy mmur...@commonsware.com wrote: On Mon, Jul 19, 2010 at 9:39 PM, cindy ypu01...@yahoo.com wrote: I have created a library project. When I use the library project in other project

[android-developers] why I can't see my phone

2010-07-20 Thread cindy
I am using my g1 phone and andorid 1.5. On my phone, I have enabled the USB debug. However my phone is not show when i use simulator. how to fix the problem? -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email

[android-developers] Re: why I can't see my phone

2010-07-21 Thread cindy
I found the answer. Need to install usb driver. On Jul 20, 9:43 pm, cindy ypu01...@yahoo.com wrote: I am using my g1 phone and andorid 1.5. On my phone, I have enabled the USB debug. However my phone is not show when i use simulator. how to fix the problem? -- You received this message

[android-developers] external jar problem --java.lang.verifyerror

2010-07-23 Thread cindy
. What might be the problem. I have struggled for days. Thank you for the help. Cindy -- 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] how to make a external jar for android applications

2010-07-31 Thread cindy
to compile. However, when I run the application, I always get java.lang.verifyError. has any one has done that before? I notified we have android.jar . So the method should work. Thank you for the help. Cindy -- You received this message because you are subscribed to the Google Groups Android

[android-developers] how to get which listitem is focused

2010-07-31 Thread cindy
I have a listActivity which I use ArrayAdapter insider it. When user scrolls the scroll ball, one listitem would be focused. How canI know itemlist is highlighted? It looks simple to me at first, however, it takes several days and still can't find answer. Thanks! April -- You received this

[android-developers] how to add library project to my project

2010-09-15 Thread cindy
When I right click the project in the eclipse, select “Properties”. In the property page, select Android. According to the document, you can add the library project through that page. But my problem is that, there is no library information on the page. It only lists project build target What

[android-developers] HttpURLConnection or HttpClient

2010-09-15 Thread cindy
Hi, I was told it was prefer to use Apache's library HttpClient, instead of java's Http URLConnection. Does any one know why? Thanks! Cindy -- 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: HttpURLConnection or HttpClient

2010-09-15 Thread cindy
Thanks for all the reply. On Sep 15, 3:39 pm, Filip Havlicek havlicek.fi...@gmail.com wrote: You can do that with URLConnection too of course, although it takes a little bit more effort to make it work. Best regards, Filip Havlicek 2010/9/16 Frank Weiss fewe...@gmail.com For simple

[android-developers] Re: HttpURLConnection or HttpClient

2010-09-15 Thread cindy
HttpUrlConnection has nothing of the sort. That said, you don't get to depart from using java.net entirely. You should still use it for dealing with URIs and URLs. But not for much more. On Sep 15, 2:41 pm, cindy ypu01...@yahoo.com wrote: Hi, I was told it was prefer to use Apache's library HttpClient

[android-developers] how to list files on SD card

2010-09-15 Thread cindy
Hi all, My application needs to do some clean up. I need to list the files such as ls voice*.amr, and then delete those files. How could I do it in Android? Thanks ! Cindy -- You received this message because you are subscribed to the Google Groups Android Developers group. To post

[android-developers] Re: how to list files on SD card

2010-09-16 Thread cindy
ANy example to use the api? I am confused. On Sep 15, 11:26 pm, Vinay S s.vinay@gmail.com wrote: Pl. look athttp://developer.android.com/reference/java/io/FilenameFilter.html On Sep 16, 8:40 am, cindy ypu01...@yahoo.com wrote: Hi all,  My application needs to do some clean up. I need

[android-developers] Re: how to list files on SD card

2010-09-16 Thread cindy
thank you all for the help. I got it. Cindy On Sep 16, 5:59 am, TreKing treking...@gmail.com wrote: On Thu, Sep 16, 2010 at 1:56 AM, cindy ypu01...@yahoo.com wrote: ANy example to use the api? I am confused. FilenameFilter has a single method accept(File dir, String filename) which returns

[android-developers] how to send data to server while recording

2010-09-21 Thread cindy
Hi all, My application needs to record audio and send audio data to server while recording. If User stops audio input, we will stop sending. How could I implement such feature in Android? Thanks! April -- You received this message because you are subscribed to the Google Groups Android

[android-developers] Re: Live video streaming

2010-09-21 Thread cindy
any sample code on android? On Sep 21, 1:13 pm, Indicator Veritatis mej1...@yahoo.com wrote: The first question is: do you need to just send the file, or do you need to send it in streaming mode? There is also progressive download' (seehttp://dowire.org/wiki/Streaming_vs_Progressive_Download).

[android-developers] tool to change ddx to java

2010-09-28 Thread cindy
Is there any tool we can convert ddx file to java? 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 To unsubscribe from this group, send email to

[android-developers] Re: tool to change ddx to java

2010-09-29 Thread cindy
if you have a odex file, you can use http://sourceforge.net/projects/dedexer/files/ to decompile it. Then you will get ddx file. On Sep 29, 4:10 am, Mark Murphy mmur...@commonsware.com wrote: On Tue, Sep 28, 2010 at 10:58 PM,cindyypu01...@yahoo.com wrote: Is there any tool we can convert ddx

[android-developers] Re: setselection() doesn't have visual effect

2010-10-06 Thread cindy
Answer to my question: ANdroid has touch mode. In Touch mode, there is no highlight. On Aug 31, 2:36 pm, cindy ypu01...@yahoo.com wrote: I have create a listview . When listview is created I used setSelection(0) to set it to first listitem. But there is no visual effect, the selected

[android-developers] Re: Live video streaming

2010-10-06 Thread cindy
get any clue? I still have no answer. On Sep 22, 12:14 am, Christina Loop chrisandroul...@gmail.com wrote: Thanks a lot for your reply. I need to send it in streaming mode. I read somewhere that rtp is not possible in android. And that I need to send it covered in rtsp. I don't know how this

[android-developers] Can we read and write file at the same time?

2010-10-06 Thread cindy
Hi all. In my application, I use MediaPlayer to record audio to a file. Can I read the file at the same time? Thanks! Cindy -- 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

  1   2   >