[android-developers] Upload youtube videos by intent

2011-02-10 Thread NightGospel
ts.c.run(Unknown Source) 02-10 17:33:13.625: ERROR/AndroidRuntime(10558): 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

[android-developers] Contacts listview question

2010-07-26 Thread NightGospel
ng is that if I 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 Developer

[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 wrote: > Then go to the documenta

[android-developers] Reflection of class members

2010-07-23 Thread NightGospel
Hello all, If I have a class like below: class A{ private ArrayList 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 "An

[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 wrote: > I&#x

[android-developers] Re: Widget update problem

2010-07-21 Thread NightGospel
l appreciate it. :) NightGospel On Jul 21, 11:50 pm, DanH 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 wrote: > > > > > Hi all, > > > I wrote one wi

[android-developers] Re: Widget update problem

2010-07-21 Thread NightGospel
usage. So strange. :( NightGospel On Jul 21, 8:57 pm, Matty 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? >

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

[android-developers] Re: Removing applications programatically.

2010-06-29 Thread NightGospel
("package") for receiver. NightGospel On 6月30日, 上午3時40分, Nando Android 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

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

[android-developers] Re: Int to string

2010-06-11 Thread NightGospel
ethod to convert your int to string. NightGospel On 6月11日, 上午11時58分, Jason Hensler 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 va

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

2010-06-09 Thread NightGospel
out of patience and create one market 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 wrote: > Hi. I&#x

[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" wrote: > The "Developer Console" page of Android market not work on Chromium > browser. Some hyperlin

[android-developers] Re: Android finishActivity()

2010-06-02 Thread NightGospel
send broadcast here to tell A, you should // finish yourself finish(); return true; } return false; } } The above sample codes are what I mean. NightGospel On

[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 wrote: > hi kamiseq, > > so then how can i finish the Activity A from Activity B??? > > can't use finishActivity() > > regards, > Randika -- You

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

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

2010-05-31 Thread NightGospel
#x27;t call stopSelf() or stopService(), B will continue running in background. NightGospel > > On May 31, 11:37 am, NightGospel wrote: > > > > > Hi Archana, > > > This is simple. Just put your time-consuming tasks to a service and it > > will run in background

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

2010-05-31 Thread NightGospel
artActivityForResult(myIntent, 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 wro

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

2010-05-30 Thread NightGospel
/reference/android/app/Service.html NightGospel On 5月31日, 下午2時20分, Archana 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 in the list of

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

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

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