[android-developers] Re: app widget problem(sdk1.5)

2009-05-10 Thread davidyu
Thanks. On May 4, 6:37 am, Romain Guy wrote: > AutoCompleteTextView cannot be used in widgets. > > > > > > On Sat, May 2, 2009 at 10:07 AM,davidyu wrote: > > > public class SearchWidget extends AppWidgetProvider { > > @Override > >        public void

[android-developers] problem with AutoCompleteTextView

2009-05-09 Thread davidyu
I use SearchAdapter extends CursorAdapter implements Filterable I want to show two items in AutoCompleteTextView, just like Google Search, one is queryResult ,another is query numbers. I have get the cursor of google search by method runQueryOnBackgroundThread . But I don't know how to fill thos

[android-developers] Re: AutocompleteTextView

2009-05-04 Thread davidyu
Thanks . On May 4, 2:25 pm, Android Users wrote: > You can find samples in API Demos.. > > > > On Mon, May 4, 2009 at 11:29 AM, 余雷 wrote: > > Hi , all. Can any one give me a example or source code of using > > AutocompleteTextView, I met a lot problems of using this view. Thanks.- > > Hide quo

[android-developers] Download manager

2009-05-03 Thread davidyu
I want to access Download manager in my application, and set in manifest.xml However, I still get /AndroidRuntime(14300): Caused by: java.lang.SecurityException: Permission Denial: reading com.android.providers.downloads.DownloadProvider uri content://downloads/download fro

[android-developers] app widget problem(sdk1.5)

2009-05-03 Thread davidyu
public class SearchWidget extends AppWidgetProvider { @Override public void onUpdate(Context context, AppWidgetManager appWidgetManager, int[] appWidgetIds) { // TODO Auto-generated method stub // super.onUpdate(context, appWidgetMana