[android-developers] Re: switch between activity issue

2011-01-18 Thread tstanly
://www.kbeanie.com On Tue, Jan 18, 2011 at 12:22 PM, tstanly tsai.sta...@gmail.com wrote: sorry let me explan detailed, now I have four activities, called A, B, C and D, the calling sequence is, A-B-A-C-A-D-A-B-(loop repeatedly) you can think A is main program, after finishing B

[android-developers] Re: switch between activity issue

2011-01-18 Thread tstanly
://www.kbeanie.com On Tue, Jan 18, 2011 at 2:20 PM, tstanly tsai.sta...@gmail.com wrote: ok, because I am test for utility, A, B, C, D is mentioned before, A is main program, B doing for voice test, C doing for backlight, D doing for gsensor, and my device will connect to wifi ap

[android-developers] Re: switch between activity issue

2011-01-18 Thread tstanly
and from /dev/log/system logcat has many following message in the end == D/WifiService( 1080): ACTION_BATTERY_CHANGED pluggedType: 0 == On 1月18日, 下午5時36分, tstanly tsai.sta...@gmail.com wrote: actually the logcat different every time

[android-developers] Re: switch between activity issue

2011-01-17 Thread tstanly
sorry let me explan detailed, now I have four activities, called A, B, C and D, the calling sequence is, A-B-A-C-A-D-A-B-(loop repeatedly) you can think A is main program, after finishing B,C,D activity, it must return to A (using StartActivityForResult), this scenario will repeat for

[android-developers] Re: change permission to /data/data/package name/databases

2011-01-16 Thread tstanly
beacuse I want to change a database file in /data/data/package/ databases I need permission for apps to copy .db file from a folder to /data/data/Native app package/databases, so I need to change permission, is somebody have suggestion? thanks On 1月14日, 上午2時12分, TreKing treking...@gmail.com

[android-developers] long HOME KEY press in android 1.6

2010-04-30 Thread tstanly
hi all, normally, when we press long key on HOME KEY, there will show the recently used app list, now if I want to let this long press behavior do nothing, is it possiable? thanks! -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to

[android-developers] query button on phone

2010-04-29 Thread tstanly
hi all, I want to change the behavior of query button on phone, so I find the keyevent: http://developer.android.com/intl/zh-TW/reference/android/view/KeyEvent.html but can't find the query key? is possiable to change behavior of query button from application code? thanks -- You received

[android-developers] can change the search/query key behavior?

2010-04-29 Thread tstanly
hi all, I want to change the search/query key on phone by application code, so I use the keyevent, the code is: === public boolean onKeyDown(int keyCode, KeyEvent event) { if (keyCode == KeyEvent.KEYCODE_SEARCH) { //do what you want

[android-developers] detect click on mapview

2010-03-05 Thread tstanly
hi all, I have a mapview on my application, and now I want to get the longtitude/latitude when user click on mapview, there are two ways to detect click on mapview, that's onTouchEvent and dispatchTouchEvent, however onTouchEvent will not be work, and dispatchTouchEvent work but still have two

[android-developers] about dispatchTouchEvent issue

2010-03-02 Thread tstanly
hi all, I used dispatchTouchEvent on mapview, the code is bellow: === public boolean dispatchTouchEvent(MotionEvent ev) { // TODO Auto-generated method stub //test Projection p=mMapView01.getProjection(); GeoPoint

[android-developers] rtsp error (Youtube's rtsp stream)

2010-01-17 Thread tstanly
hi all, I was tried for rtsp stream for a long time, finally I could success to play the rtsp stream from mobile Youtube website, http://m.youtube.com/ my approach is to copy the stream link and paste it in my code, then, there are sometimes success to work(play) on Android and sometimes will

[android-developers] Re: can write youtube api on android?

2010-01-12 Thread tstanly
thanks for your help, finally I found that I didn't add activation.jar and servelet.jar(from tomcat), at first I thought it didn't need to add. thanks On 1月12日, 上午6時44分, Kumar Bibek coomar@gmail.com wrote: Hey, As far as I can remeber, you need to add the following the dependencies.

[android-developers] change the imageview dynamically in the listview

2010-01-12 Thread tstanly
hi all, I was defined a new adapter for my listview, every rows content in the listview will include three information, that's image(imageview), title(text) and time information(text), then the three information was retrieve from server at the program beginning, and then use adapter to fill

[android-developers] set imageView

2010-01-12 Thread tstanly
hi all, I have a imageView1 and imageView2, then i want to set imageView1 to imageView2, but use the following API will not do this, such as: setBackgroundResource(int resource id) setBackgroundDrawable(drawable d) setImageBitmap(Bitmap b) setImageDrawable(drawable d) .etc so how can I do?

[android-developers] Re: Process in Android

2010-01-12 Thread tstanly
when you leave to b from a, if you want to close a activity, then you can write the code in the onDestroy such as: onDestroy(){ a.this.finish(); } On 1月13日, 上午11時08分, Android Developer kavithasuni...@gmail.com wrote: Hi, I have an application which has one activity. The application is

[android-developers] Error int the eclipse when import Gdata jar

2010-01-10 Thread tstanly
hi all, I was developed for youtube application, so I was import so many jar files in the eclipse, but the eclipse always shows the error, [2010-01-11 10:10:02 - demo] warning: Ignoring InnerClasses attribute for an anonymous inner class that doesn't come with an associated EnclosingMethod

[android-developers] Re: can write youtube api on android?

2010-01-07 Thread tstanly
thanks for your reply, however, I try the same code and same libs in the Android project and java project (within Eclipse), and the Android project will get the above problems that I mentioned for, but int the java project there will not get the problem, it's work normally! thanks On 1月7日,

[android-developers] can write youtube api on android?

2010-01-06 Thread tstanly
hi all, I use the youtube api and other libs such as gdata_client... http://code.google.com/intl/zh-TW/apis/youtube/getting_started.html but I always get the verify error: == E/dalvikvm( 749): Could not find class 'com.google.gdata.data.media.MediaStream Source',

[android-developers] about TTS issue

2009-12-27 Thread tstanly
hi all, I have some questions about TTS(text-to-speech) lib, 1) does sdk 1.5 support for TTS? I download TTS application from market, but can't work 2) I develope the TTS app use third party TTS lib, http://code.google.com/p/eyes-free/downloads/list but according the tutorial, the app can't work

[android-developers] longtitude/latitude problem in the mapview

2009-12-13 Thread tstanly
hi guys, I have a problem about get the longtitude and latitude from the mapview, now I want to get the longtitude/lattitude when user click/touch on the mapview, actually says that program can knows the information when user click on the mapview, is it possiable? thanks!! -- You received

[android-developers] animation between two activities

2009-12-02 Thread tstanly
hi all, I design a rotate animation when activity 1 ends, and then start activity 2. so my code is: ===when activity 1 ends function=== rotate_animation(); //first call up the animation Intent i=new Intent(); i.setClass(activity1.this,activity2.class); startActivity(i);

[android-developers] how to get domain name

2009-11-26 Thread tstanly
hi all, I use webview to address the url link, but I want to know how to get the url's domain name? such as when I link to http://www.yahoo.com, then I can get the yahoo domain name, so how to do that? thanks -- You received this message because you are subscribed to the Google Groups Android

[android-developers] Re: how to get domain name

2009-11-26 Thread tstanly
sorry, or can I get the url's title? that means the website titile content in the http header tag On 11月27日, 上午10時49分, tstanly tsai.sta...@gmail.com wrote: hi all, I use webview to address the url link, but I want to know how to get the url's domain name? such as when I link tohttp

[android-developers] gallery problem

2009-11-23 Thread tstanly
hi all, I used the gallery widget for photo shows, when I put the photos in the photo directory, there will be some black photos on the gallery when gallery shows, so, did somebody have the same experience? thanks -- You received this message because you are subscribed to the Google Groups

[android-developers] detect whether the network is connect

2009-11-18 Thread tstanly
hi all, how can I check whether the network is connect or not in my application? eg: I have three connect type, wifi, 3G and ethernet, I want to detect whether the connection is setup or not by the application, if not, it will pop up a dialog to mention user that there are not connect yet. but

[android-developers] get the package/class name by code

2009-11-15 Thread tstanly
hi guys, how can I use sdk to get the package/class name of a specific apk file, eg: I have a test.apk, and I want to know the package name and class name by API when I write a android program thanks! -- You received this message because you are subscribed to the Google Groups Android

[android-developers] Re: get the package/class name by code

2009-11-15 Thread tstanly
10時26分, tstanly tsai.sta...@gmail.com wrote: hi guys, how can I use sdk to get the package/class name of a specific apk file, eg: I have a test.apk, and I want to know the package name and class name by API when I write a android program thanks! -- You received this message because you

[android-developers] add layout in other apk program

2009-11-10 Thread tstanly
hi guys, I have write a a.apk already, and there are a button in the a.apk that can trigger for b.apk, however b.apk is a freeware apk downloaded from the internet, now, I want to add a layout in the b.apk, such as left side is b.apk main program region, and right side is my new add layout

[android-developers] multi-apk in one activity issue

2009-11-10 Thread tstanly
hi guys, I write a a.apk, in a.apk, the left side are some buttons, and right side have a layout region, now, I want to trigger b.apk from the button of a.apk left side region, when user click the buttons of a.apk left region then the b.apk can show up in the right side layout of a.apk, that's

[android-developers] call for the other apk file

2009-11-01 Thread tstanly
hi guys, Now, I have two apk in /data/app which are a.apk and b.apk, and I want to invoke b.apk from a.apk, so in the a.apk, I used the Intent object to achive: code=== Intent intent=new Intent(android.intent.action.MAIN); intent.setClassName(com.android.b,

[android-developers] Re: call for the other apk file

2009-11-01 Thread tstanly
, 2009 at 6:55 PM, tstanly tsai.sta...@gmail.com wrote: hi guys, Now, I have two apk in /data/app which are a.apk and b.apk, and I want to invoke b.apk from a.apk, so in the a.apk, I used the Intent object to achive: code===        Intent intent=new Intent

[android-developers] how to invoke a APK file

2009-10-28 Thread tstanly
hi guys, if I wnat to invoke b.apk from a.apk (such as click a button on a.apk) and if I don't know the package name and class name(entry point) about b.apk, can it still to do that?? thanks --~--~-~--~~~---~--~~ You received this message because you are

[android-developers] youtube API

2009-10-20 Thread tstanly
hi all, is there have youtube API or lib (like jar file) in the Android? I hope that can write a app like youtube on the htc mobile phone, such that I can search video, and return the video information (snapshot,video length,shard author..etc) can somebody give me some suggestion? thanks!

[android-developers] some questions about IBinder.transact

2009-10-14 Thread tstanly
hi guys, I have some questions about IBinder.transact, in the: http://developer.android.com/intl/zh-TW/reference/android/os/IBinder.html the document about transact method, there are four parameters for transact are code, data, reply and flags, code is the action to perform.This should be a

[android-developers] GeoCoder.getFromLocationName return NULL

2009-10-11 Thread tstanly
hi all, I used GeoCoder.getFromLocationName for resoved address to GeoPoint, it will return true in the emulator,but null on my machine. the simple code I post bellow.. is anyboy knows about this issue? thanks! == Geocoder mGeocoder = new Geocoder

[android-developers] GeoCoder.getFromLocationName always return null??

2009-10-05 Thread tstanly
hi all, I used GeoCoder.getFromLocationName for resoved address to GeoPoint, it will return true in the emulator,but null on my machine. the simple code I post bellow.. is anyboy knows about this issue? thanks! == Geocoder mGeocoder = new Geocoder

[android-developers] map overlay issue

2009-09-27 Thread tstanly
hi all, I used overlay to mark two point on the mapview, but I only want to removed one point at a time, but the mapview.getoverlay().clear() will remove two marks for mapview, so how can I do for remove one mark only? thanks --~--~-~--~~~---~--~~ You received

[android-developers] Re: Android 1.6 SDK is here!

2009-09-21 Thread tstanly
is any update for stream of media issue in sdk 1.6?? thanks On 9月16日, 上午6時22分, Xavier Ducrohet x...@android.com wrote: http://android-developers.blogspot.com/2009/09/android-16-sdk-is-here... Enjoy! -- Xavier Ducrohet Android Developer Tools Engineer Google Inc.

[android-developers] about webview.clearCache

2009-09-21 Thread tstanly
hi all, I had a problem about webview.clearCache method, what's the main function about clearCache? is a essential steps for using webview? I used for it in my app when user load his webview everytime, but there are errors some times, like app had not permission to touch cache in the sqlite, so

[android-developers] clear issue on Mapview

2009-09-21 Thread tstanly
hi all, I have a mapview, and I draw two point on the same mapview, using mapview.getoverlay().add(point1); mapview.getoverlay().add(point2); and now I want to clear point1, I just can find: mapview.getoverlay().clear() method to clear mapview, but this action will clear point1 and point2, but

[android-developers] Re: sqlite can't show chinese words issue

2009-09-11 Thread tstanly
terminal, adb, the shell session, and the sqlite3 command. On Thu, Sep 10, 2009 at 7:47 PM, tstanly tsai.sta...@gmail.com wrote: hi guys, I'm sorry about ask this question again, I know that sqlite store format is UTF-8, so I will describe the whole process that I used sqlite. first I

[android-developers] request data from mobile youtube

2009-09-11 Thread tstanly
hi all, is possiable request data from the mobile youtube website, (http://m.youtube.com) such as scrennshot of movie,address of movie,description of movie...etc. like youtube on the g1 phone. thanks. --~--~-~--~~~---~--~~ You received this message because you

[android-developers] sqlite can't show chinese words

2009-09-10 Thread tstanly
hi all, I found that sqlite can't store chinese words and will shows random code in the application when retrieve data. can somebody give some help? thanks! --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android

[android-developers] Re: sqlite can't show chinese words

2009-09-10 Thread tstanly
Japanese correctly,maybe you just test under eclipse, did you? -Original Message- From: android-developers@googlegroups.com [mailto:android-develop...@googlegroups.com] On Behalf Of tstanly Sent: Thursday, September 10, 2009 3:44 PM To: Android Developers Subject: [android

[android-developers] Re: Couldn't get connection factory client

2009-09-10 Thread tstanly
I had met before, it's key issue. you may use different keystore to export signed apk. On 9月10日, 下午3時12分, Raja Nagendra Kumar nagendra.r...@tejasoft.com wrote: Hi, Map api of Google, is an excellent abstraction, however the error messages could be improved more. For the above erorr message

[android-developers] Re: sqlite can't show chinese words

2009-09-10 Thread tstanly
characters fine. (I believe the internal encoding it uses is UTF-8, but this should be invisible to the Java level.) I would suggest looking at your code around it to make sure there aren't any encoding problems or such. 2009/9/10 tstanly tsai.sta...@gmail.com under eclipse,the shell shows

[android-developers] sqlite can't show chinese words issue

2009-09-10 Thread tstanly
hi guys, I'm sorry about ask this question again, I know that sqlite store format is UTF-8, so I will describe the whole process that I used sqlite. first I create a table named map by shell mode in the emulator, # sqlite create table map ( id INTEGER PRIMARY KEY,chinese_word TEXT NOT NULL,

[android-developers] Re: SQLlite issue

2009-09-09 Thread tstanly
() ); } } class Importer { } } On Wed, Sep 9, 2009 at 11:02 AM, tstanly tsai.sta...@gmail.com wrote: hello, I have a question about the SQLlite, is it possiable import existed database or tables in the Android SQLlite? or can Android SQLite link to external database

[android-developers] Re: A question about mediaplayer could not play rtsp?

2009-09-09 Thread tstanly
this issue was still un-solute for a long time. the only possiable answer I know, is the stream must be a progressive stream. so you can try a stream server that can support progressive. On 9月9日, 下午4時29分, yjshi shiyaju...@gmail.com wrote: I create a mplayer to play the rtsp on the emulator

[android-developers] Re: A question about mediaplayer could not play rtsp?

2009-09-09 Thread tstanly
I try for many before, the emulator always fail, and plz try this rtsp stream, I was success for this stream before, and now I still success to play this stream,but only for this address. that's why someone mention it's a stream server issue. rtsp://video2.americafree.tv/AFTVHorrorH26496.sdp

[android-developers] insert large volume data into sql database

2009-09-08 Thread tstanly
hi all, I have a large volume data that must insert into sql, the tables contains about ten columns and at least one thousand rows, the values of each rows are string and different, so is there a conveniance way to insert String data? I think the for loop is not a good method to solve... because

[android-developers] SQLlite issue

2009-09-08 Thread tstanly
hello, I have a question about the SQLlite, is it possiable import existed database or tables in the Android SQLlite? or can Android SQLite link to external database via Internet? I search for this topic in this group,and someone mention that Android not support for JDBC connection. so can

[android-developers] check the mounted device

2009-09-07 Thread tstanly
hi all, I use the code to check whether the mouted device is exist, but always get false..I can't understand? I try unmount it (just insert the device but not use mount in console mode) and mount device (use mount command in console mode) status but get the same result. thanks!

[android-developers] gps with gmap, and routing information issue

2009-09-07 Thread tstanly
hi all, I used google map to do gps location service, and then I want to use it to do routing schedule function, eg: google map knows user location(longtitudlatitude),and user can input his destination, then via the routing schedule function, google map will display the routing information, just

[android-developers] detect usb device

2009-09-06 Thread tstanly
hi all, does sdk provides methods to detect whether a usb device plug in ? if it's a android porting problem, I am so sorry... thanks! --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To

[android-developers] Re: detect usb device

2009-09-06 Thread tstanly
in their individual capacity, and do not necessarily represent those of T-Mobile USA, Inc. On Sep 6, 10:05 pm, tstanly tsai.sta...@gmail.com wrote: hi all, does sdk provides methods to detect whether a usb device plug in ? if it's a android porting problem, I am so sorry... thanks!- 隱藏被引用文

[android-developers] setImageBitmap issue

2009-09-04 Thread tstanly
hi all, I want to play photos like slide show, and I use setImageBitmap,timer and timer task to do, but when I enter into my app, it always show the final photo, not begin from fist to sceond,thirduntil final photo. I need some help, thanks

[android-developers] can webkit to handle page redirect problem

2009-09-03 Thread tstanly
hi all, I use webkit to implement a small-scale web browser, but some page have redirect problem, for example, use webkit link to http://xxx..com will redirect to http://oo.ooo.oo.com so whe webkit will load twice, is there possiable to solve this problem? thanks!

[android-developers] Re: Circular Gallery

2009-09-03 Thread tstanly
hi Jasmine, can you share how to do slide shows effect on gallery? circulr showing just like you say, because I'm find for this topic... thanks On 9月3日, 上午11時57分, Jasmine techi.j...@gmail.com wrote: Hello Everyone, I have just now started working on Android,,, Can anyone tell me how to

[android-developers] how to make a little time stop between two works

2009-09-03 Thread tstanly
hi all, I have two work now,named wok1 and work2, and work2 will to do after work1 finish, now I want to make a time period stop between work1 and work2, that is,when work1 finish, and pause one miniute then start work2, how can I do for that? thanks!

[android-developers] about tabhost problem

2009-09-02 Thread tstanly
hi all, I have a tab host and three tabs, each tabs have a own listview, the three listview shows different file directory in different tabs, and there is a problem is, for example, in the tab1, I click the item of listview1 and into the dirrectory1, and then I choose the tab 2, want to move to

[android-developers] Re: how to use shell command in Android app

2009-08-30 Thread tstanly
to use the appropriate Java APIs to do the same thing. On Fri, Aug 28, 2009 at 2:54 AM, tstanly tsai.sta...@gmail.com wrote: hi all, I want to use command like ls,mkdir,cd,./..etc, in the app, somebody says use Runtime class, Runtime.getRuntime().exec(ls); but there is nothing

[android-developers] Re: Activity stack: A B C - press BACK - go to A

2009-08-30 Thread tstanly
can possiable to verify whether B is exist or not? if B exist,so the apps can call finish() to close B, if not,don't call B.finish() (will be error because B is not exist) thanks! On 8月31日, 上午4時11分, Jonas Petersson jonas.peters...@xms.se wrote: fhucho wrote: my activity stack is ABC, in

[android-developers] how to use shell command in Android app

2009-08-28 Thread tstanly
hi all, I want to use command like ls,mkdir,cd,./..etc, in the app, somebody says use Runtime class, Runtime.getRuntime().exec(ls); but there is nothing happen.. I also use logcat to observe, but have the same result. so could app use (linux) command? thanks!

[android-developers] why padding can't use

2009-08-24 Thread tstanly
hi all, because my layout have a listview and tab widget, so I must set padding for seperating they, but when I use the android:padding=10px in the layout of xml file, there is nothing happen in the emulator screen, so how can I do for the padding?? thanks!!

[android-developers] Re: error msg after run a thread

2009-08-20 Thread tstanly
thanks for reply, so how can I do for change thread's control to change my UI? thanks! On 8月20日, 下午1時03分, star double doublestar...@gmail.com wrote: My god, you must change your UI in main thread but not your new thread , it is android's rule . 2009/8/20 tstanly tsai.sta...@gmail.com

[android-developers] how can change controll to main thread from new other thread?

2009-08-20 Thread tstanly
hi all, I was define a new thread for a task, but when task is complete, I must to refresh my listview, however I will get the error for just can use main thread to change view, so, any idea for it?? thanks!! --~--~-~--~~~---~--~~ You received this message

[android-developers] Re: how can change controll to main thread from new other thread?

2009-08-20 Thread tstanly
. } }); On Thu, Aug 20, 2009 at 1:12 PM, tstanly tsai.sta...@gmail.com wrote: hi all, I was define a new thread for a task, but when task is complete, I must to refresh my listview, however I will get the error for just can use main thread to change view, so, any idea

[android-developers] Re: how can change controll to main thread from new other thread?

2009-08-20 Thread tstanly
change components in the ui thread. } }); On Thu, Aug 20, 2009 at 1:12 PM, tstanly tsai.sta...@gmail.com wrote: hi all, I was define a new thread for a task, but when task is complete, I must to refresh my listview, however I will get the error for just can use main thread to change

[android-developers] when I click the listview item,and the hint light can focus

2009-08-19 Thread tstanly
hi all, I have a listview and contains several items, now, I want to do is when user click the item, then the hint light(that means a response color on the item can let user knows he had already click) can still focus on the item? how can I do for that?? thanks!!!

[android-developers] Re: MapActivity in android 1.5

2009-08-19 Thread tstanly
if you want to put color on the mapview, you must use the overlay class search for overlay in the map API On 8月19日, 下午2時16分, Honest honestsucc...@gmail.com wrote: Hello, I want to display my two point on maps. I saw many example but they are using MapActivity when i used MapActivity in my

[android-developers] error msg after run a thread

2009-08-19 Thread tstanly
hi all, I write a thread, and do show() after thread complete, but I always get the error msg bellow, and this show() function is ok, because I put it on other location of program, and it works fine. plz help me! thanks! error msg===

[android-developers] about Runtime.getRuntime().exec

2009-08-19 Thread tstanly
hi all, I am use the command: Runtime.getRuntime().exec(chmod 777 /data); but still not to change the file mode? why fail? thanks --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To

[android-developers] question about tabhost

2009-08-10 Thread tstanly
hi all, I have a questions for setting tab widget, if I set three tab initial, then how can I remove one of three tab? because form the reference, http://www.104.com.tw/area/army/search.cfm#go there only have the clearalltabs() method. thanks

[android-developers] Re: question about tabhost

2009-08-10 Thread tstanly
, 下午4時21分, tstanly tsai.sta...@gmail.com wrote: hi all, I have a questions for setting tab widget, if I set three tab initial, then how can I remove one of three tab? because form the reference,http://www.104.com.tw/area/army/search.cfm#go there only have the clearalltabs() method. thanks

[android-developers] questions about tabHost

2009-08-10 Thread tstanly
hi all, I have two questions for setting tab widget, if I set three tab initial, then how can I remove one of three tab? because form the reference, http://developer.android.com/reference/android/widget/TabHost.html#setCurrentTabByTag(java.lang.String) there only have the clearalltabs()

[android-developers] can ListActivity and Tab widget can use in one activity?

2009-08-09 Thread tstanly
hi all, my activity have to use List and Tab widget, one is left side,the other is right side, I means layout, but use List must to extends ListActivity, and use Tab widget must to extends TabActivity? is it possible?? thanks!! --~--~-~--~~~---~--~~ You

[android-developers] Re: can ListActivity and Tab widget can use in one activity?

2009-08-09 Thread tstanly
sorry, I was ignore about that... thanks anyway On 8月10日, 上午11時12分, Dianne Hackborn hack...@android.com wrote: You don't need to use ListActivity; just put a ListView in your layout and work with it directly. On Sun, Aug 9, 2009 at 6:38 PM, tstanly tsai.sta...@gmail.com wrote: hi

[android-developers] can execute my app automatilly when android is up?

2009-08-06 Thread tstanly
hi all, I want to change the start point of my machine, that is,when start on Android, it can run my app instead of home firstly, if it possiable? thanks! --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android

[android-developers] Re: can execute my app automatilly when android is up?

2009-08-06 Thread tstanly
/reference/android/content/Intent.html#AC... On 6 Aug., 08:43, tstanly tsai.sta...@gmail.com wrote: hi all, I want to change the start point of my machine, that is,when start on Android, it can run my app instead of home firstly, if it possiable? thanks!- 隱藏被引用文字 - - 顯示被引用文字

[android-developers] Re: how to use commons-net-2.0 lib in the emulator

2009-08-05 Thread tstanly
I finally solved, it's a eclipse problem. On 8月5日, 下午1時55分, tstanly tsai.sta...@gmail.com wrote: thanks for your reply, but even I push the lib in the /system/framework, but still can't work, when import org.apache.commons.net.ftp.FTP; it still have errors? how can I solve thank you

[android-developers] Re: how can close other activity?

2009-08-05 Thread tstanly
wrote: i really do not understand wat u intend to say, all i can help is if u use the Activity public function finish(), the activity closes. use it when u need to close the activity, wisely. hope it helps. On Wed, Aug 5, 2009 at 9:09 AM, tstanly tsai.sta...@gmail.com wrote: hi all

[android-developers] how can close other activity?

2009-08-04 Thread tstanly
hi all, for example,I have three activity now, a, b and c, a is start point of activity lifecycle, and can go to b or c, and then assume go to b from a and close a, and then go to c from b but will not close b, and this time, I want to check whether b is start(create) or not, if b start, I

[android-developers] how to use commons-net-2.0 lib in the emulator

2009-08-04 Thread tstanly
hi all, I want to import the org.apache.commons.net.ftp.FTP, but there is no libs for it, so I download the commons-net-2.0 lib from apache website, I try to push this lib into /system/framework/ but I can't because the directory is a read-only filesystem, and I try to chang mode for directory,

[android-developers] Re: how to use commons-net-2.0 lib in the emulator

2009-08-04 Thread tstanly
thanks for your reply, but even I push the lib in the /system/framework, but still can't work, when import org.apache.commons.net.ftp.FTP; it still have errors? how can I solve thank you On 8月5日, 下午1時21分, zhao lifeng zhaolifeng...@gmail.com wrote: Hi tsai: adb remount best

[android-developers] is possible can link to android market server?

2009-08-03 Thread tstanly
hi all, is possible link to market server? I want to write a customize app that can link to market server, and also can get the available apk list, finally install in my machine. just like the g1 mobile phone. can somebody give a hint? thanks!

[android-developers] the mediaplayer with mediacontroller issue

2009-07-27 Thread tstanly
hi all, this question I have post for twice, but nobody answer, Is someone success use mediaplayer with mediacontroller?? or is there have a alternative tools or methods to play music, and have the mediacontroller workly? thanks --~--~-~--~~~---~--~~ You

[android-developers] Re: is possible mapview and list exist in same activity

2009-07-26 Thread tstanly
thank you for your reply, so I want to ask the next question, that's how to put list with the mapview?? I just think it must extends ListActivity, is there another methods? thanks so much!! On Jul 26, 3:02 am, HeHe cnm...@gmail.com wrote: afail, you could combine a mapview and listview (or

[android-developers] my zoom controls can't put in everywhere???

2009-07-26 Thread tstanly
hi all, i add a zoomcontrols in my view, not in the webview or mapview, but when i click the zoom in/out, the view can't in/out? thanks my code is: == mZoomControls1=(mZoomControls1)findViewById(r.id.zc); mZoomControls1.show(); /* zoom

[android-developers] Re: my zoom controls can't put in everywhere???

2009-07-26 Thread tstanly
or it just can use in the mapview and webview? On 7月27日, 上午1時15分, tstanly tsai.sta...@gmail.com wrote: hi all, i add a zoomcontrols in my view, not in the webview or mapview, but when i click the zoom in/out, the view can't in/out? thanks my code

[android-developers] about close Location Manager service

2009-07-26 Thread tstanly
hi all, it' so strange about close gps location manager, the gps signal dosen't stop. my code is: ==code=== public class g extends MapActivity{ private LocationManager mLocationManager01; @Override protected void onCreate(Bundle savedInstanceState) {

[android-developers] Re: about close Location Manager service

2009-07-26 Thread tstanly
sorry, I found that is the driver issue. On 7月27日, 上午11時22分, tstanly tsai.sta...@gmail.com wrote: hi all, it' so strange about close gps location manager, the gps signal dosen't stop. my code is: ==code=== public class g extends MapActivity{    private LocationManager

[android-developers] what coomand can go back to home screen or destop

2009-07-24 Thread tstanly
hi all, what's command can back to home screen or destop screen? eg: a.java have a button can link to b.java, and b have a button can back to home/destop, is by finish()? should a.this.finish() or b.this.finish()? or both needed? if it can work possible? thank you!

[android-developers] Re: videoview can't play mp4 smoothly

2009-07-24 Thread tstanly
and profile. You can look into the AudioHarwareALSA.cpp (...\open_src\external\libaudio) or similar codec lib level file. There you need to change your MAX_BUFFER_SIZE, sample rate etc. BR, Chand On Fri, Jul 24, 2009 at 12:33 AM, tstanly tsai.sta...@gmail.com wrote: thanks for your

[android-developers] videoview can't play mp4 smoothly

2009-07-23 Thread tstanly
hi all, this question i have post once, but nobody can answer me I have used videoview to play mp4 formate movie, but when start to play it, the videoview can't play smoothly, that means there have a little lag, but in the: http://developer.android.com/guide/appendix/media-formats.html

[android-developers] Re: videoview can't play mp4 smoothly

2009-07-23 Thread tstanly
On Thu, Jul 23, 2009 at 5:14 PM, tstanly tsai.sta...@gmail.com wrote: hi all, this question i have post once, but nobody can answer me I have used videoview to play mp4 formate movie, but when start to play it, the videoview can't play smoothly, that means there have a little lag

[android-developers] Re: videoview can't play mp4 smoothly

2009-07-23 Thread tstanly
video? What is the bitrate? What is the encoding? On Thu, Jul 23, 2009 at 1:14 AM, tstanly tsai.sta...@gmail.com wrote: hi all, this question i have post once, but nobody can answer me I have used videoview to play mp4 formate movie, but when start to play it, the videoview

[android-developers] Re: videoview can't play mp4 smoothly

2009-07-23 Thread tstanly
I chaeck the formate, h.264 encoding 30 fps On 7月24日, 上午9時40分, tstanly tsai.sta...@gmail.com wrote: did you think this problem is a format issue? because i download a freeware named aPlayer it play the same video well,and smoothly.. so that i think it's a code issue. On 7月24日, 上午12時54分

[android-developers] Re: videoview can't play mp4 smoothly

2009-07-23 Thread tstanly
sorry about not mention clear before, and I think is a buffer issue?? is possible get the mp4(/data/t.mp4) to buffer, and then begin to start?? thanks On 7月24日, 上午11時50分, Marco Nelissen marc...@android.com wrote: 2009/7/23 tstanly tsai.sta...@gmail.com did you think this problem

[android-developers] about ZoomControls widget issue

2009-07-23 Thread tstanly
hi all, i add a zoomcontrols in my view, not in the webview or mapview, but when i click the zoom in/out, the view can't in/out? thanks my code is: == mZoomControls1=(mZoomControls1)findViewById(r.id.zc); mZoomControls1.show(); /* zoom

  1   2   >