[android-developers] Upload youtube videos by intent

2011-02-10 Thread NightGospel
): at java.lang.Thread.run(Thread.java:1096) Cheers, NightGospel -- 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] Contacts listview question

2010-07-26 Thread NightGospel
update the starred column value manually, the favorites can't refresh immediately until you execute this app next time. Any ideas or suggestions are appreciated. NightGospel -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group

[android-developers] Reflection of class members

2010-07-23 Thread NightGospel
Hello all, If I have a class like below: class A{ private ArrayListB mList; } How do I to invoke the methods of mList member? Such as add, remove, clear and so forth. Thanks in advance. NightGospel -- You received this message because you are subscribed to the Google Groups Android

[android-developers] Re: hi

2010-07-23 Thread NightGospel
I agree with Frank to read the android official documentation first. After finishing it, you will be familiar with android main concepts and android application design guidelines. It's much helpful. NightGospel On 7月23日, 上午7時01分, Frank Weiss fewe...@gmail.com wrote: Then go

[android-developers] Widget update problem

2010-07-21 Thread NightGospel
Hi all, I wrote one widget that updates per 5-seconds and I found that if it's run for a period of time, com.android.acore will occupy almost 100% cpu. Could somebody give me suggestions or help? Thanks in advance. NightGospel -- You received this message because you are subscribed

[android-developers] Re: Widget update problem

2010-07-21 Thread NightGospel
strange. :( NightGospel On Jul 21, 8:57 pm, Matty busbus...@gmail.com wrote: How are you delaying 5 seconds, and what operation are you doing once that 5 seconds is complete?  Could it be taking more than 5 seconds, thus slowly building up the number of processes that are running? On Jul 21, 5:32

[android-developers] Re: Widget update problem

2010-07-21 Thread NightGospel
it. :) NightGospel On Jul 21, 11:50 pm, DanH danhi...@ieee.org wrote: Stupid question:  Are you sure you're just updating the widget and not stacking one widget on another on another...? On Jul 21, 4:32 am, NightGospel wutie...@gmail.com wrote: Hi all, I wrote one widget that updates per 5-seconds

[android-developers] Re: Widget update problem

2010-07-21 Thread NightGospel
Hello Paul, You're right. As you said, I traced RemoteViews.java file and found that it maintains mActions arraylist to fill with actions to be updated. Other suggestions are also appreciated. I learned much! Thank you all. :) NightGospel On 7月22日, 上午5時05分, Paul Turchenko paul.turche

[android-developers] Re: Removing applications programatically.

2010-06-29 Thread NightGospel
. NightGospel On 6月30日, 上午3時40分, Nando Android nando.andr...@gmail.com wrote: Is it possible to remove an application programatically? If so, shall I look at the package manager for that or is there an example some place? When a package is installed, I believe there is a broadcast message

[android-developers] Re: Int to string

2010-06-11 Thread NightGospel
to convert your int to string. NightGospel On 6月11日, 上午11時58分, Jason Hensler jasonehens...@gmail.com wrote: It seems like in my code that my app is crashing because it is a int and not a string. This is my code: I am assuming that tmp has a value.. For debugging what is the best way to check

[android-developers] ANR discussion

2010-06-11 Thread NightGospel
){} } } public void setStartFlag(boolean b) { shouldStart = b;} } } The above is the way I usually do and it's as the same as running one background service. Does anyone be able to provide your solution? I think my method is not very smart. :( NightGospel -- You received

[android-developers] Re: How global is the app market?

2010-06-09 Thread NightGospel
to play. Their android market has many very qulified and full-idea softwares I've never seen. But one drawback is that many of them are Simplified-Chinese only. :( Their forum: http://hiapk.com/bbs/ NightGospel On 6月10日, 上午2時27分, Neilz neilhorn...@gmail.com wrote: Hi. I'm UK based and I'm

[android-developers] Re: Developer Console page of Market not work correctly on Chromium browser

2010-06-03 Thread NightGospel
Hi Alger, How about this? http://www.google.com/support/forum/p/Android+Market?hl=en You can post a question there. NightGospel On 6月3日, 下午5時02分, Alger, Lin addr...@gmail.com wrote: The Developer Console page of Android market not work on Chromium browser. Some hyperlink item on this page

[android-developers] Re: Android finishActivity()

2010-06-02 Thread NightGospel
Hi Mike, How about sending a broadcast to A when pushing back button in B ? NightGospel On 6月2日, 下午5時03分, mike hasitharand...@gmail.com wrote: hi kamiseq, so then how can i finish the Activity A from Activity B??? can't use finishActivity() regards, Randika -- You received

[android-developers] Re: Android finishActivity()

2010-06-02 Thread NightGospel
to tell A, you should // finish yourself finish(); return true; } return false; } } The above sample codes are what I mean. NightGospel On 6月2日, 下午7時07分, mike

[android-developers] Re: How do I programatically push my app to run in background?

2010-06-01 Thread NightGospel
(), B will continue running in background. NightGospel On May 31, 11:37 am, NightGospel wutie...@gmail.com wrote: Hi Archana, This is simple. Just put your time-consuming tasks to a service and it will run in background and be destroyed until system shutdown or you stop the service

[android-developers] Re: How to send date from service to activity

2010-06-01 Thread NightGospel
Hi Karteek, You should try to register one callback method from activity to service. Then service can call this method to trigger event. The following page has sample codes to reference: http://developer.android.com/guide/developing/tools/aidl.html NightGospel On 6月1日, 下午4時24分, Karteek N kartee

[android-developers] Re: How do I programatically push my app to run in background?

2010-05-31 Thread NightGospel
/reference/android/app/Service.html NightGospel On 5月31日, 下午2時20分, Archana archana.14n...@gmail.com wrote: Hi, How can we programatically push our app to run in background? I am doing one browser app. and when I am directly launching my application and clicking back key . It will show

[android-developers] Re: how can i pass the values of one activity to another

2010-05-31 Thread NightGospel
, 0); in two.java: Intent intent = getIntent(); URL url = new URL(intent.getStringExtra(url)); Please refer to http://developer.android.com/reference/android/content/Intent.html to get more information. NightGospel On 5月31日, 下午3時58分, Dixit Wadhwani dixitwadhw...@gmail.com wrote: * one.java

[android-developers] Re: Device Seeding Program for Top Android Market Developers

2010-05-30 Thread NightGospel
Hi all, Does this program still continue? Because I have one app achived the threshold (over 5000 downloads and average rating is 3.5 up) two weeks ago, I hope I can be one of the receivers. :) NightGospel -- You received this message because you are subscribed to the Google Groups Android

[android-developers] About application UI layout problem

2010-05-27 Thread NightGospel
. NightGospel -- 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 options

[android-developers] Re: How to install an app programaticaly on Android

2010-05-27 Thread NightGospel
Hi Nando, Yes, you can do it...but you must satisfy the following conditions: 1) Push this application into system/app folder. 2) Be sure that this apk without copy protection. I've written one application installer for my company and it works well. NightGospel On 5月25日, 上午5時13分, Nando Android