tag:blogger.com,1999:blog-8822648894031364992.post4569748431894804207..comments2023-10-18T00:36:26.664-07:00Comments on Android Hub 4 you : the free android programming tutorial: SqLite Example in Android | Add Image from Gallery and Camera into SqLite Database | ADD Image in SqLite | Delete Image In SqLiteManish Srivastavahttp://www.blogger.com/profile/11466093233081762431noreply@blogger.comBlogger229125tag:blogger.com,1999:blog-8822648894031364992.post-39662611828447157282016-10-03T15:24:36.641-07:002016-10-03T15:24:36.641-07:00Please solve it...Please solve it...Anonymoushttps://www.blogger.com/profile/16871014323067358068noreply@blogger.comtag:blogger.com,1999:blog-8822648894031364992.post-32366397637203848502016-10-03T15:21:13.514-07:002016-10-03T15:21:13.514-07:00Null pointer exception in ContactImageAdapter clas...Null pointer exception in ContactImageAdapter class at line number 53 i.e. ByteArrayInputStream imageStream = new ByteArrayInputStream(outImage);<br />Anonymoushttps://www.blogger.com/profile/16871014323067358068noreply@blogger.comtag:blogger.com,1999:blog-8822648894031364992.post-30124305991805758242016-08-26T01:09:01.373-07:002016-08-26T01:09:01.373-07:00Hi sir,
i Copied the code from above and am runnin...Hi sir,<br />i Copied the code from above and am running it on my android studio to my tab.<br />whenever i try to take a picture from the camera it goes to camera take picture and as i select the image the app crashes.<br />but if i use the gallery option everything works fine.<br />but its not showing in list view too.<br />Can u Please help<br /><br />bhavanahttps://www.blogger.com/profile/07821012363455127742noreply@blogger.comtag:blogger.com,1999:blog-8822648894031364992.post-1346924755452651692016-07-13T01:14:27.366-07:002016-07-13T01:14:27.366-07:00Hello!! Manish.
Nice Post.!!!
Can you please share...Hello!! Manish.<br />Nice Post.!!!<br />Can you please share the source code of this.<br />My id: ajinkya2394@gmail.com<br />Anonymoushttps://www.blogger.com/profile/06935017057511607646noreply@blogger.comtag:blogger.com,1999:blog-8822648894031364992.post-47803161721210075742016-07-08T12:13:09.141-07:002016-07-08T12:13:09.141-07:00Sir when i select Img from gallary of more then 1...Sir when i select Img from gallary of more then 1mb then it wont getting workAnonymoushttps://www.blogger.com/profile/02121004691366748895noreply@blogger.comtag:blogger.com,1999:blog-8822648894031364992.post-24413499746650745472016-05-01T23:51:38.087-07:002016-05-01T23:51:38.087-07:00A lot of issue with camera and gallery, you have t...A lot of issue with camera and gallery, you have to check your log cat and research on Google.<br /><br />Thanks,<br />ManishManish Srivastavahttps://www.blogger.com/profile/11466093233081762431noreply@blogger.comtag:blogger.com,1999:blog-8822648894031364992.post-73874455704479693382016-04-30T03:41:23.831-07:002016-04-30T03:41:23.831-07:00Hi Manish, I used genymotion emulator and I had pr...Hi Manish, I used genymotion emulator and I had problem when I take image from a camera, do you have a solution, please.Thanks.Anonymoushttps://www.blogger.com/profile/08753021325790709644noreply@blogger.comtag:blogger.com,1999:blog-8822648894031364992.post-3519236539534293552016-04-29T15:21:13.429-07:002016-04-29T15:21:13.429-07:00Hi Manish, I used the genymotion emulator and I ha...Hi Manish, I used the genymotion emulator and I had a problem when I take image from camera. Please, do you have a solution.ThanksAnonymoushttps://www.blogger.com/profile/08753021325790709644noreply@blogger.comtag:blogger.com,1999:blog-8822648894031364992.post-11403534375099548392016-04-03T21:46:10.702-07:002016-04-03T21:46:10.702-07:00hi need to save directly the pictures taken from c...hi need to save directly the pictures taken from camera to sqlite database and there should be a preview too.So how will be the code.Can u pls help me solve thisakhil kailashttps://www.blogger.com/profile/12446689263235148076noreply@blogger.comtag:blogger.com,1999:blog-8822648894031364992.post-31505035552712861932016-03-15T22:20:07.651-07:002016-03-15T22:20:07.651-07:00Hi Ajay, Thanks for your nice comments. For your g...Hi Ajay, Thanks for your nice comments. For your gallery issue your logcat is not saying any thing. There may be 2 possible reason-<br /><br />1)May be you need "Read external storage" permission in your manifest file.<br />2)Inside onActivity Result your data=null.<br /><br />Try below code-<br />1)Inside your manifest-<br />uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" <br /><br />2)Inside your Activity-<br />/**<br /> * open gallery method<br /> */<br /> <br /> public void mTakeImageFromGallery(){<br /> Intent intent = new Intent(Intent.ACTION_PICK,android.provider.MediaStore.Images.Media.EXTERNAL_CONTENT_URI);<br /> intent.setType("image/*");<br /> startActivityForResult(Intent.createChooser(intent, "Select File"), PICK_FROM_GALLERY);<br /> }<br /><br /><br />3)onActivityResult-<br /><br /> if (resultCode == RESULT_OK)<br /> {<br /> Uri imageUri = data.getData();<br /> try {<br /> Bitmap bitmap = MediaStore.Images.Media.getBitmap(this.getContentResolver(), imageUri);<br /> userImage.setImageBitmap(bitmap);<br /> } catch (FileNotFoundException e) {<br /> // TODO Auto-generated catch block<br /> e.printStackTrace();<br /> } catch (IOException e) {<br /> // TODO Auto-generated catch block<br /> e.printStackTrace();<br /> }<br /> }Manish Srivastavahttps://www.blogger.com/profile/11466093233081762431noreply@blogger.comtag:blogger.com,1999:blog-8822648894031364992.post-79733425689203148642016-03-15T20:23:49.874-07:002016-03-15T20:23:49.874-07:00Wasim, At least read the blog before asking questi...Wasim, At least read the blog before asking question! He has already provided the download link. Search for 9) DOWNLOAD ZIP CODEShagun Shttps://www.blogger.com/profile/12085682093916435506noreply@blogger.comtag:blogger.com,1999:blog-8822648894031364992.post-76496273492067915912016-01-25T04:14:18.633-08:002016-01-25T04:14:18.633-08:00hiii sir
I am wasim sayyad i am new in android pr...hiii sir <br />I am wasim sayyad i am new in android programming <br />This is nice post ,it help me allot ,but can You send mi new latest zip file with gradle Functionality and also sir if you can add crop functionality in code<br />my email id is- wasims831@gmail.com <br />sir plz help me!!!!Anonymoushttps://www.blogger.com/profile/09441170874508761254noreply@blogger.comtag:blogger.com,1999:blog-8822648894031364992.post-34874732147233704392016-01-21T19:28:49.511-08:002016-01-21T19:28:49.511-08:00sir, can i have the source code of this project.
H...sir, can i have the source code of this project.<br />Here is my email address = cabingasvijay@gmail.com<br /><br />thank you sir. Great work!Anonymoushttps://www.blogger.com/profile/00423892358631888818noreply@blogger.comtag:blogger.com,1999:blog-8822648894031364992.post-10001782359070147532016-01-15T10:42:00.900-08:002016-01-15T10:42:00.900-08:00send link of source code...
send link of source code...<br />Rahul Yadavhttps://www.blogger.com/profile/04113145029018226957noreply@blogger.comtag:blogger.com,1999:blog-8822648894031364992.post-32467752845473642662015-12-20T21:32:56.895-08:002015-12-20T21:32:56.895-08:00So why you need sqlite? just pass your image to ne...So why you need sqlite? just pass your image to next activity and display in detail. use below code-<br />http://www.androidhub4you.com/2014/09/android-camera-onactivityresult-intent.html<br /><br />pass the file path to next screen and display the image.Manish Srivastavahttps://www.blogger.com/profile/11466093233081762431noreply@blogger.comtag:blogger.com,1999:blog-8822648894031364992.post-80118166945799722292015-12-19T22:55:17.845-08:002015-12-19T22:55:17.845-08:00Sir,
I tried your code, and there is no error at ...Sir,<br /><br />I tried your code, and there is no error at all.<br />But what if I want to view only a single image that I pick up from gallery which is the current one instead of view it on listview<br /><br />How can I do that? thanks MhdHidirhttps://www.blogger.com/profile/11629555341985713834noreply@blogger.comtag:blogger.com,1999:blog-8822648894031364992.post-71077502278242534462015-10-30T10:12:18.431-07:002015-10-30T10:12:18.431-07:00Have you done with view pager? If yes then just pa...Have you done with view pager? If yes then just pass the data from sqlite, simple.Manish Srivastavahttps://www.blogger.com/profile/11466093233081762431noreply@blogger.comtag:blogger.com,1999:blog-8822648894031364992.post-5768383761586708482015-10-30T00:24:30.564-07:002015-10-30T00:24:30.564-07:00Like same above example but I wand to display all...Like same above example but I wand to display all images in ViewPager -adapter(for Image slider)<br />how can I make it?uday patelhttps://www.blogger.com/profile/09425654872146844362noreply@blogger.comtag:blogger.com,1999:blog-8822648894031364992.post-63683328914086041982015-10-26T01:58:51.231-07:002015-10-26T01:58:51.231-07:00I AM GETTING ERROR SOMETOMES FROM GALLERY AND SOME...I AM GETTING ERROR SOMETOMES FROM GALLERY AND SOMETIME FROM CAMERA,,AAP SUDDENLYGET STOPSunny Sudanhttps://www.blogger.com/profile/06596697701938565549noreply@blogger.comtag:blogger.com,1999:blog-8822648894031364992.post-14789532815131506392015-08-30T23:16:31.397-07:002015-08-30T23:16:31.397-07:00Hi Manish , i got this error when i'm trrying...Hi Manish , i got this error when i'm trrying this code. " gallery has stopped" .. why? but camera its work <br />Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-8822648894031364992.post-54130576045764502222015-08-23T03:34:54.671-07:002015-08-23T03:34:54.671-07:00Hey! I tried running your code. The camera part wo...Hey! I tried running your code. The camera part works fine. But when I select an image from the gallery, it doesnt appear in the list view. Can you please help me figure out the problem? I am new to android.Anonymoushttps://www.blogger.com/profile/01222372441368542848noreply@blogger.comtag:blogger.com,1999:blog-8822648894031364992.post-14045393967574046042015-08-22T02:22:32.249-07:002015-08-22T02:22:32.249-07:00@Aman search On my blog for nullpointer exception ...@Aman search On my blog for nullpointer exception in camera and you will find a new way to implement camera and gallery.Manish Srivastavahttps://www.blogger.com/profile/11466093233081762431noreply@blogger.comtag:blogger.com,1999:blog-8822648894031364992.post-15777562382303792032015-08-22T02:13:06.742-07:002015-08-22T02:13:06.742-07:00Hi,
I downloaded the project from github, but ther...Hi,<br />I downloaded the project from github, but there is a problem. when i use my camera, it won't take any action. It works fine when i'm using gallery option.<br />Can you please help me???<br /><br />Thanks in advanceAnonymoushttps://www.blogger.com/profile/16712711385996975451noreply@blogger.comtag:blogger.com,1999:blog-8822648894031364992.post-37929797834797520892015-08-22T01:55:28.167-07:002015-08-22T01:55:28.167-07:00I think yu r ryt #manish, dats not d wat to commen...I think yu r ryt #manish, dats not d wat to comment. yu've to be polite Anonymoushttps://www.blogger.com/profile/16712711385996975451noreply@blogger.comtag:blogger.com,1999:blog-8822648894031364992.post-38591206605255230522015-08-12T17:42:20.612-07:002015-08-12T17:42:20.612-07:00i successfully update the image and the database i...i successfully update the image and the database into base64 but back in the main form when i click the updated images it will not open the display form and show the error "FAILED BINDER TRANSACTION" may i know what causing the error? thank for your tymAnonymoushttps://www.blogger.com/profile/00542175714162322328noreply@blogger.com