I got the similar problem as a post in stackoverflow forum with name
gridview in gallery
I can implement and successfullly run with gridview in gallery class.
yet gallery no longer fire the onfling function.
For the sake of writing something simliar to homescreen, displaying
thumbnail of apps
to be more specific
http://stackoverflow.com/questions/1986763/gridviews-inside-a-gallery
I got the same problem with him about touchscreen, not able to fling
the items(gridview) of the gallery.
In general cases, when u use the tracakball in gallery,
u can see orange rectangle rounding the
Below is my code fragment
CustomGallery is a class extending class Gallery to modify the fling
event..
onCreate()/
setContentView(R.layout.grid_gallery);
gal = (CustomGallery) findViewById(R.id.appsgallery);
also get some etra hooks, like Pre-execute and Post-
execute.
http://android-developers.blogspot.com/2009/05/painless-threading.html
Thanks and Regards,
Kumar Bibek
On Jan 3, 7:32 am, Molee leehc...@gmail.com wrote:
I used to implements the progress of downloading sth in a worker
thread
the better solution???
Whats the difference between thread and asynctask???
Any response is greatly appreciated.
Thanks,
Molee
On 1月3日, 上午1時10分, Kumar Bibek coomar@gmail.com wrote:
If the service is coupled to your UI, I think AsyncTask would be a
better solution. Look at the examples for the same
for content of email and note, by convention, you can put then into
column data1 directly
ContactsContract.DataColumns.data1
i found that there is no object in
ContactsContract.CommonDataKinds.Email
representing data1 hence i just put data1 directly and it works
I can successfully retrieve a FileInputStream with this uri
as follows
Uri myPerson = Uri.withAppendedPath
(ContactsContract.Contacts.CONTENT_VCARD_URI, iLookKey);
AssetFileDescriptor afd =this.getContentResolver
().openAssetFileDescriptor(myPerson, r);
FileInputStream
7 matches
Mail list logo