[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 wrote: > actually the logcat different every time, but there are some same >

[android-developers] Re: switch between activity issue

2011-01-18 Thread tstanly
hints > > Kumar Bibekhttp://techdroid.kbeanie.comhttp://www.kbeanie.com > > > > > > > > On Tue, Jan 18, 2011 at 2:20 PM, tstanly wrote: > > ok, because I am test for utility, > > A, B, C, D is mentioned before, > > A is main program, B doing for voice test,

[android-developers] Re: switch between activity issue

2011-01-18 Thread tstanly
the logcat say? > > > Kumar Bibek > >http://techdroid.kbeanie.com > >http://www.kbeanie.com > > > On Tue, Jan 18, 2011 at 12:22 PM, tstanly wrote: > > >> sorry let me explan detailed, > > >> now I have four activities, called A, B, C and D, > >> th

[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//databases

2011-01-16 Thread tstanly
beacuse I want to change a database file in /data/data// databases I need permission for apps to copy .db file from a folder to /data/data//databases, so I need to change permission, is somebody have suggestion? thanks On 1月14日, 上午2時12分, TreKing wrote: > On Thu, Jan 13, 2011 at 2:53 AM, stanly

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

2010-04-29 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 t

[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] 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 t

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

[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 g=p.fromPixels((int)ev.get

[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 not.

[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 wrote: > Hi, > > I have an application which has one activity. The application is > launched. When i say ba

[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] 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 ervery

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

2010-01-12 Thread tstanly
. > gdata-media.jar > mail.jar > activation.jar > google.collect.jar > > Kumar Bibekhttp://tech-droid.blogspot.com > > On Jan 8, 7:09 am,tstanly wrote: > > > > > thanks for your reply, > > however, > > I try the same code and same libs in the Andr

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

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

2010-01-07 Thread tstanly
, 上午1時49分, Kumar Bibek wrote: > You can report it in the Issue List of YouTube. I guess, you are > missing out some dependencies for youtube api. > > You can check the youtube docs to find out more. > > Thanks and Regards, > Kumar Bibek > > http://tech-droid.blogspot.c

[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', refe

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

[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] 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 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] 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 "Andro

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

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

2009-11-18 Thread tstanly
finally I find that it's a gps driver issue. On 11月17日, 上午2時57分, Hong wrote: > can u be more specific?  what driver issue?  i seem to have the same > problem. > > thanks > > > > On Mon, Jul 27, 2009 at 12:49 AM, tstanly wrote: > > > sorry, > > > I

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

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

2009-11-15 Thread tstanly
On 11月16日, 上午10時26分, tstanly 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

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

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

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

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

2009-11-01 Thread tstanly
> > > On Sun, Nov 1, 2009 at 6:55 PM, tstanly 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: > > =

[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", "t

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

[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-04 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 t

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

[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, s

[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 wrote: > http://android-developers.blogspot.com/2009/09/android-16-sdk-is-here... > > Enjoy! > -- > Xavier Ducrohet > Android Developer Tools Engineer > Google Inc. --~--~-~--~~--

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

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

2009-09-11 Thread tstanly
adb, the shell session, and the sqlite3 > command. > > > > > > On Thu, Sep 10, 2009 at 7:47 PM, tstanly wrote: > > > hi guys, > > > I'm sorry about ask this question again, > > I know that sqlite store format is UTF-8, > > so I will describe t

[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: sqlite can't show chinese words

2009-09-10 Thread tstanly
ine. (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 > > > > > > > > >

[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 wrote: > Hi, > > Map api of Google, is an excellent abstraction, however the error > messages could be improved more. > > For the above erorr message in the subject and t

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

2009-09-10 Thread tstanly
t; 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 Dev

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

2009-09-09 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 D

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

[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 wrote: > I create a "mplayer" to play the rtsp on the emulator . when the > "

[android-developers] Re: SQLlite issue

2009-09-09 Thread tstanly
) throws IOException > { > _bos.write( END_TABLE.getBytes() ); > } > > public void startRow() throws IOException > { > _bos.write( START_ROW.getBytes() ); >

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

[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... becaus

[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(longtitud&latitude),and user can input his destination, then via the "routing schedule" function, google map will display the routing information,

[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] Re: detect usb device

2009-09-06 Thread tstanly
of the > author solely in their individual capacity, and do not necessarily > represent those of T-Mobile USA, Inc. > > On Sep 6, 10:05 pm, tstanly wrote: > > > > > hi all, > > > does sdk provides methods to detect whether a usb device plug in ? > > if it&

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

[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 code==

[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] Re: Circular Gallery

2009-09-02 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 wrote: > Hello Everyone, > > I have just now started working on Android,,, > Can anyone tell me how to make gallery wid

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

2009-09-02 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] 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: 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" wrote: > fhucho wrote: > > my activity stack is ABC, in activity C I press ba

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

2009-08-30 Thread tstanly
> efficient to use the appropriate Java APIs to do the same thing. > > > > > > On Fri, Aug 28, 2009 at 2:54 AM, tstanly wrote: > > > hi all, > > > I want to use command like "ls","mkdir","cd","./"..etc, in the app, > >

[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: 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 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] Re: how can change controll to main thread from new other thread?

2009-08-20 Thread tstanly
thank you for your suggestion, it works!! On 8月20日, 下午4時35分, Saurav Mukherjee wrote: > use a Handler object... > > Handler uiHandler=new Handler(); > > then inside ur funcion: > uiHandler.post(new Runnable(){ > void run(){ > > > > > } > }); > On Th

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

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

2009-08-19 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 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 > > >

[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] 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=== E/Android

[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 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 sdk which is 1.5.

[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] 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() method.

[android-developers] Re: question about tabhost

2009-08-10 Thread tstanly
t? thanks!! On 8月10日, 下午4時21分, tstanly 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 onl

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

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

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

2009-08-06 Thread tstanly
t.html#CA... > > 2. You can register your app to be executed on startup, additional to > "home". There is a matching "broadcast action" decribed > here:http://developer.android.com/reference/android/content/Intent.html#AC... > > On 6 Aug., 08:43, tstanly

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

2009-08-05 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: how can close other activity?

2009-08-05 Thread tstanly
ch On 8月5日, 下午2時37分, Saurav Mukherjee 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 We

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

2009-08-04 Thread tstanly
I finally solved, it's a eclipse problem. On 8月5日, 下午1時55分, tstanly 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

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

2009-08-04 Thread tstanly
> > > > On Wed, Aug 5, 2009 at 11:43 AM, tstanly wrote: > > > 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

[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] 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 want

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

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

[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) { mLocation

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

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

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

2009-07-26 Thread tstanly
her sort of > views) in a map activity. > > as for how-to, you should do some experiment. > > On Jul 23, 10:34 pm,tstanly wrote: > > > > > hi all, > > > for now i have a list, > > using extends listactivity, > > and now i want to addmapviewon the s

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

2009-07-24 Thread tstanly
le. 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 wrot

[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] is possible mapview and list exist in same activity

2009-07-23 Thread tstanly
hi all, for now i have a list, using extends listactivity, and now i want to add mapview on the same activity using framelayout probably, but if i want to use the mapview, the activity must extends mapactivity, one must extends mapactivity,the other must extends list activity, if it possible

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

[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 wrote: > 2009/7/23 tstanly > > > > > did you think this problem is a "format&

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

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

2009-07-23 Thread tstanly
x27;s the resolution of your video? What is > the bitrate? What is the encoding? > > > > On Thu, Jul 23, 2009 at 1:14 AM, tstanly wrote: > > > hi all, > > > this question i have post once, > > but nobody can answer me > > > I have used videoview

  1   2   >