[android-developers] Re: How to save both Image and Text with SQLiteDatabase? And how to binding this images to a simpleCursorAdapter?
Hi David There in Bookmarks [Android Browser] same thing has been done. You can refer that. You can find the code as well. Thanks, AJ On Apr 7, 1:13 pm, David android.and...@gmail.com wrote: Dear All, I want get both Image and Text from the sqLite database and show them on the ListView, at present, I can save the text with sqLite well, but failed to save the imges. Any sample code will be grateful. Best Regards, D.Y -- 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, visit this group at http://groups.google.com/group/android-developers?hl=en To unsubscribe, reply using remove me as the subject.
Re: [android-developers] Re: How to save both Image and Text with SQLiteDatabase? And how to binding this images to a simpleCursorAdapter?
Hi AJ, I just development the project with SDK 2.1, and I found the bookmark in android browser can match my requirement, but is there any source project can run on the emulator? The other question, if user click the item on the listview, the app will create a new Activity to show the details of this item, I hope user can use finger to slip right/left to review next/previous item page? Thanks in advance. Best Regards, D.Y -邮件原件- 发件人: android-developers@googlegroups.com [mailto:android-develop...@googlegroups.com] 代表 AJ 发送时间: 2010年4月7日 18:34 收件人: Android Developers 主题: [android-developers] Re: How to save both Image and Text with SQLiteDatabase? And how to binding this images to a simpleCursorAdapter? Hi David There in Bookmarks [Android Browser] same thing has been done. You can refer that. You can find the code as well. Thanks, AJ On Apr 7, 1:13 pm, David android.and...@gmail.com wrote: Dear All, I want get both Image and Text from the sqLite database and show them on the ListView, at present, I can save the text with sqLite well, but failed to save the imges. Any sample code will be grateful. Best Regards, D.Y -- 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, visit this group at http://groups.google.com/group/android-developers?hl=en To unsubscribe, reply using remove me as the subject. -- 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, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: How to save both Image and Text with SQLiteDatabase? And how to binding this images to a simpleCursorAdapter?
Hi David, Sorry I don't have any such project/source. You can check the following link. It may help you. http://groups.google.com/group/android-developers/browse_thread/thread/0ecad32a314c/8f17cf4ea95964e0?lnk=raot Thanks, AJ On Apr 7, 1:54 pm, David android.and...@gmail.com wrote: Hi AJ, I just development the project with SDK 2.1, and I found the bookmark in android browser can match my requirement, but is there any source project can run on the emulator? The other question, if user click the item on the listview, the app will create a new Activity to show the details of this item, I hope user can use finger to slip right/left to review next/previous item page? Thanks in advance. Best Regards, D.Y -邮件原件- 发件人: android-developers@googlegroups.com [mailto:android-develop...@googlegroups.com] 代表 AJ 发送时间: 2010年4月7日 18:34 收件人: Android Developers 主题: [android-developers] Re: How to save both Image and Text with SQLiteDatabase? And how to binding this images to a simpleCursorAdapter? Hi David There in Bookmarks [Android Browser] same thing has been done. You can refer that. You can find the code as well. Thanks, AJ On Apr 7, 1:13 pm, David android.and...@gmail.com wrote: Dear All, I want get both Image and Text from the sqLite database and show them on the ListView, at present, I can save the text with sqLite well, but failed to save the imges. Any sample code will be grateful. Best Regards, D.Y -- 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, visit this group athttp://groups.google.com/group/android-developers?hl=en To unsubscribe, reply using remove me as the subject. -- 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, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: How to save both Image and Text with SQLiteDatabase? And how to binding this images to a simpleCursorAdapter?
David, Why would you want to save the image in the sqLite database? I feel like you are using up an unnessary amount of valuable storage space on the device. Wouldn't a better solution be to save the image to the SD card and only save the location of the image to the database? --- Creator of My College Life http://mycollegelife.org On Apr 7, 9:02 am, AJ ajeet.invinci...@gmail.com wrote: Hi David, Sorry I don't have any such project/source. You can check the following link. It may help you. http://groups.google.com/group/android-developers/browse_thread/threa... Thanks, AJ On Apr 7, 1:54 pm, David android.and...@gmail.com wrote: Hi AJ, I just development the project with SDK 2.1, and I found the bookmark in android browser can match my requirement, but is there any source project can run on the emulator? The other question, if user click the item on the listview, the app will create a new Activity to show the details of this item, I hope user can use finger to slip right/left to review next/previous item page? Thanks in advance. Best Regards, D.Y -邮件原件- 发件人: android-developers@googlegroups.com [mailto:android-develop...@googlegroups.com] 代表 AJ 发送时间: 2010年4月7日 18:34 收件人: Android Developers 主题: [android-developers] Re: How to save both Image and Text with SQLiteDatabase? And how to binding this images to a simpleCursorAdapter? Hi David There in Bookmarks [Android Browser] same thing has been done. You can refer that. You can find the code as well. Thanks, AJ On Apr 7, 1:13 pm, David android.and...@gmail.com wrote: Dear All, I want get both Image and Text from the sqLite database and show them on the ListView, at present, I can save the text with sqLite well, but failed to save the imges. Any sample code will be grateful. Best Regards, D.Y -- 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, visit this group athttp://groups.google.com/group/android-developers?hl=en To unsubscribe, reply using remove me as the subject. -- 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, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Re: How to save both Image and Text with SQLiteDatabase? And how to binding this images to a simpleCursorAdapter?
Hi theSmith, Thanks for you advice, that's great. And AJ already provided a solution as the following link: http://groups.google.com/group/android-developers/browse_thread/thread/0eca3 333d32a314c/8f17cf4ea95964e0?lnk=raot Do you have sample project to debug and run? That will be helpful to study how to use the sqLite and how to custom simpleCursorAdapter. Thanks, Best Regards, D.Y -邮件原件- 发件人: android-developers@googlegroups.com [mailto:android-develop...@googlegroups.com] 代表 theSmith 发送时间: 2010年4月7日 21:43 收件人: Android Developers 主题: [android-developers] Re: How to save both Image and Text with SQLiteDatabase? And how to binding this images to a simpleCursorAdapter? David, Why would you want to save the image in the sqLite database? I feel like you are using up an unnessary amount of valuable storage space on the device. Wouldn't a better solution be to save the image to the SD card and only save the location of the image to the database? --- Creator of My College Life http://mycollegelife.org On Apr 7, 9:02 am, AJ ajeet.invinci...@gmail.com wrote: Hi David, Sorry I don't have any such project/source. You can check the following link. It may help you. http://groups.google.com/group/android-developers/browse_thread/threa... Thanks, AJ On Apr 7, 1:54 pm, David android.and...@gmail.com wrote: Hi AJ, I just development the project with SDK 2.1, and I found the bookmark in android browser can match my requirement, but is there any source project can run on the emulator? The other question, if user click the item on the listview, the app will create a new Activity to show the details of this item, I hope user can use finger to slip right/left to review next/previous item page? Thanks in advance. Best Regards, D.Y -邮件原件- 发件人: android-developers@googlegroups.com [mailto:android-develop...@googlegroups.com] 代表 AJ 发送时间: 2010年4月7日 18:34 收件人: Android Developers 主题: [android-developers] Re: How to save both Image and Text with SQLiteDatabase? And how to binding this images to a simpleCursorAdapter? Hi David There in Bookmarks [Android Browser] same thing has been done. You can refer that. You can find the code as well. Thanks, AJ On Apr 7, 1:13 pm, David android.and...@gmail.com wrote: Dear All, I want get both Image and Text from the sqLite database and show them on the ListView, at present, I can save the text with sqLite well, but failed to save the imges. Any sample code will be grateful. Best Regards, D.Y -- 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, visit this group athttp://groups.google.com/group/android-developers?hl=en To unsubscribe, reply using remove me as the subject. -- 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, visit this group at http://groups.google.com/group/android-developers?hl=en -- 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, visit this group at http://groups.google.com/group/android-developers?hl=en