Image viewer

Tutorials with advanced 'difficulty' and more Lines of Code.

Re: Image viewer

Postby Beneesh » Wed Sep 08, 2010 12:26 pm

U better search google ....for gallery code..dude..
Beneesh
Developer
Developer
 
Posts: 26
Joined: Tue Apr 06, 2010 8:18 am
Location: Kerala,India

Top

Re: Image viewer

Postby Dhr » Wed Sep 08, 2010 12:43 pm

ok buddy.
thanks for information.

hey r u getting the answers of my two questions that i asked u earlier?
User avatar
Dhr
Junior Developer
Junior Developer
 
Posts: 24
Joined: Thu Aug 19, 2010 11:59 am
Location: Ahd, Gujarat, India

Re: Image viewer

Postby Beneesh » Wed Sep 08, 2010 12:53 pm

actually we did implemented image viewr and a gallery its not that difficult..just search gallery code...don't try to copy paste......
Beneesh
Developer
Developer
 
Posts: 26
Joined: Tue Apr 06, 2010 8:18 am
Location: Kerala,India

Re: Image viewer

Postby Dhr » Wed Sep 08, 2010 12:59 pm

hey buddy,

I am not doing copy paste of your code. I tried to understand it but I didnt get it.
User avatar
Dhr
Junior Developer
Junior Developer
 
Posts: 24
Joined: Thu Aug 19, 2010 11:59 am
Location: Ahd, Gujarat, India

Re: Image viewer

Postby Beneesh » Wed Sep 08, 2010 1:14 pm

Beneesh
Developer
Developer
 
Posts: 26
Joined: Tue Apr 06, 2010 8:18 am
Location: Kerala,India

Re: Image viewer

Postby Beneesh » Wed Sep 08, 2010 1:15 pm

or this one..lot of samples r there........
http://www.androidpeople.com/android-gallery-example/
Beneesh
Developer
Developer
 
Posts: 26
Joined: Tue Apr 06, 2010 8:18 am
Location: Kerala,India

Top

Re: Image viewer

Postby Dhr » Wed Sep 08, 2010 1:41 pm

Hello Beneesh,

Thanks for this.
But can you tell me that in my coding what I have to put instead of gallary.path?
It is a path of the folder in which the images are situated?

I have other two questions:
1). what are the possibility that the real camera raw format photos not only in their JPEG previews?
2). what approach is used to speed up thumbnails creation and preview of big photos?
User avatar
Dhr
Junior Developer
Junior Developer
 
Posts: 24
Joined: Thu Aug 19, 2010 11:59 am
Location: Ahd, Gujarat, India

Re: Image viewer

Postby opy001 » Thu Sep 30, 2010 9:55 pm

Hey Beneesh, I am having the hardest time with the stupid imageview lol. In my app I am pulling the image paths from a DB in my app that links the images to items. It works great in the emulator but on my phone it just crashes due to file size. I still dont have it 100% but I think your code here is helping me understand alot. I am starting out bare bones and slowly adding some of your code in a bit at a time to see what it does and figure out whats going on. Hopefully I can get it so I can view a decent size image and even attach images from the camera. I'll see if it works on the phone in a bit. Thanks for the great code (even though I dont understand half of it lol). I am still learning so any tips would be nice.

Edit: I am able to view larger images on my phone now without it crashing! Now to fix the little glitch when i zoom out lol. It only shows the top left corner till I hit another button, then it refreshes.
opy001
Experienced Developer
Experienced Developer
 
Posts: 57
Joined: Sun Jul 11, 2010 5:24 am

Re: Image viewer

Postby Beneesh » Fri Oct 01, 2010 4:43 am

Please check the above given links ....we developed the code from those examples.
Beneesh
Developer
Developer
 
Posts: 26
Joined: Tue Apr 06, 2010 8:18 am
Location: Kerala,India

Re: Image viewer

Postby opy001 » Thu Oct 07, 2010 3:32 pm

Just curious but did you leave this out of your "zoom out" section on purpose?

Syntax: [ Download ] [ Hide ]
Using java Syntax Highlighting
  1. int width = ImageViewer.resizedBitmap.getWidth();
  2. int height = ImageViewer.resizedBitmap.getHeight();
Parsed in 0.031 seconds, using GeSHi 1.0.8.4


Not sure how the above links relate to this tut since they are on galleries and your is on the image viewer but one of those galleries helped me in combination with some of the tuts by plusminus. I have the gallery somewhat working and it shows images when selected but my problem is it does not show my small images in the gallery view, only in the imageview when the grey rectangle (supposed to be the smaller image) is selected. I am racking my brain trying to figure out how to figure this out but truthfully after creating a custom content provider for my image DB and getting it to work my brain is fried lol.

Edit: after looking at it I dont think I am pulling the the image path from the uri in the gallery view section. Another day on this and I should have it. Thanks again for the great tut!

Edit of my edit: I got it. I had to put a new cursor to pull the actual path instead of using the Uri since my table stores the actual path. I now have a working gallery that will load the converted images. Now it shouldnt crash on my phone.
opy001
Experienced Developer
Experienced Developer
 
Posts: 57
Joined: Sun Jul 11, 2010 5:24 am

Re: Image viewer

Postby blacklisttom07 » Wed Jun 29, 2011 8:06 am

I am a newer here.
Glad to meet u.
Is anyone online?
blacklisttom07
Freshman
Freshman
 
Posts: 6
Joined: Wed Jun 29, 2011 7:39 am

Top
Previous

Return to Advanced Tutorials

Who is online

Users browsing this forum: No registered users and 3 guests