[android-developers] Re: App Widget fails to be added, "thanks" to customized platform

2011-08-31 Thread eagle
le the app widget without configuration activity works. On Sep 1, 12:51 am, Dianne Hackborn wrote: > On Tue, Aug 30, 2011 at 10:17 PM, eagle wrote: > > But the problem is that,  even I didn't use these private functions, > > it didn't work. > > The article you linked is pur

[android-developers] Re: App Widget fails to be added, "thanks" to customized platform

2011-08-30 Thread eagle
l randomly not work on different > devices and different versions of the platform. > > > > > > > > > > On Tue, Aug 30, 2011 at 5:45 PM, eagle wrote: > > Hi there, > > > I followed the instruction to allow my app to use the internal > > packag

[android-developers] App Widget fails to be added, "thanks" to customized platform

2011-08-30 Thread eagle
Hi there, I followed the instruction to allow my app to use the internal packages (links here: http://devmaze.wordpress.com/2011/01/18/using-com-android-internal-part-1-introduction/). Everything was ok, before i'm trying to start a configuration activity before an app widget is added. In this ca

[android-developers] Difference between ListAdapter and ArrayAdapter

2011-06-07 Thread eagle
Can anyone please explain me the difference between the ListAdapter and ArrayAdapter for using the ListView. What are the pros and Cons of both over each other ? Which is used on what scenarios ? -- You received this message because you are subscribed to the Google Groups "Android Developers" g

[android-developers] Re: Issue 2204: logcat service can not run while add parameters -n 2

2009-03-11 Thread eagle black
svc->onrestart.name = "onrestart"; list_init(&svc->onrestart.commands); list_add_tail(&service_list, &svc->slist); return svc; } the memcpy(svc->args, args + 2, sizeof(char*) * nargs); is used the struct svc->onrestart memory. so while the nargs

[android-developers] [RFC PATCH] fix the Issue 2204: logcat service can not run while add parameters -n 2

2009-03-11 Thread eagle black
Deer all: I think my patch can fix this problem. diff -uprN original/init.h now/init.h --- original/init.h 2009-03-11 14:27:20.0 +0800 +++ now/init.h 2009-03-11 14:29:32.0 +0800 @@ -136,14 +136,15 @@ struct service { struct socketinfo *sockets; struct svcenvinfo *en

[android-developers] Issue 2204: logcat service can not run while add parameters -n 2

2009-03-11 Thread eagle black
hi all, I found a bug at android platform. *Please describe the problem in as much detail as possible. Be sure to include:* *- Steps to reproduce the problem* 1 . modify init.hardware.rc (hardware is your platform hardware, such init.goldfish.rc) change service logcat /system/bin/logcat -r 1000