use image from gallery

All your problems with Audio, Video and Images.

use image from gallery

Postby sukumori » Thu Apr 08, 2010 10:42 pm

Hii all,
i am very new in android application development. I need to make an android app, so need your help .
Can anybody please tell, how to get the image from the gallery of the phone and use it to do some animations in it??
Eagerly waiting for ur responses:)
Any kind of help is apppreciated,
Thankyou so much:)
sukumori
Freshman
Freshman
 
Posts: 7
Joined: Thu Apr 08, 2010 10:33 pm

Top

Postby vik » Fri Apr 09, 2010 6:43 am

User avatar
vik
Senior Developer
Senior Developer
 
Posts: 141
Joined: Wed Sep 09, 2009 7:32 am

Using Image from gallery

Postby naveen » Fri Apr 09, 2010 6:49 am

Hi sukomori ..
Welcome to the World of Android!!
I am also New to android Application Development.
I am working on Camera Application Development.

Just wanted to ask if u have read some books on android or started off with tutorials straight away.?
and whats ur project ?

May be if it is related to Camera .. we can collaborate!!

Naveen
naveen
Developer
Developer
 
Posts: 43
Joined: Fri Mar 26, 2010 10:06 am

Postby sukumori » Fri Apr 09, 2010 7:49 am

Thanx Vik and naveen ,
had already visited the link vik had provided.....bt i was wondering, how can i use the image that i get from that gallery . Is it possible to select the image, that i view from that gallery, and USE it as an bitmap to do certain animation like stretching it, or editing the image..or something else.....?IF yes, how to do that?

@ naveen: I have read some parts in the books, and some parts in the tutorial and have gone through some of tHe discussion forums fr learning android. I think, you have understood what i want to do now. For now, i don't want to use any camera stuff, as i don't hav more time to submit the project(as its my school project.) How ever, the concept of using camera for getting image , (and then animate the obtained image )can also be implemented later, in my project.
Really hoping for more help.....WAITING.....
Any kind of help is apppreciated,
Thankyou so much:)
sukumori
Freshman
Freshman
 
Posts: 7
Joined: Thu Apr 08, 2010 10:33 pm

Postby vik » Fri Apr 09, 2010 9:00 am

yeah you can start gallery activity with Intent.ACTION_PICK with startActivityForResult, whenever you will pick any image from gallery it will be returned as a result and you can process that image as you want
User avatar
vik
Senior Developer
Senior Developer
 
Posts: 141
Joined: Wed Sep 09, 2009 7:32 am

Postby sukumori » Fri Apr 09, 2010 9:49 pm

Thanx vik,
well ,i tried to use the code of making the gallery, (the one you gave me at first), there the code was properly compiled, but while running, it was forced to close.
There i had images in the res/drawables.
then, i tried to make sdcard, in my emulator and pushed some images in it frm my pc (to check if that is creating the problem), but still it didn't worked.
Does any one have any idea, what might be the problem .

Waiting fr the reply..
Any kind of help is apppreciated,
Thankyou so much:)
sukumori
Freshman
Freshman
 
Posts: 7
Joined: Thu Apr 08, 2010 10:33 pm

Top

Postby sukumori » Fri Apr 09, 2010 9:54 pm

and also i tried to run the HELLO VIEWS tutorial from the android developers site....but it is giving the error message : Installation error: INSTALL_FAILED_INSUFFICIENT_STORAGE
- simpleanim] Please check logcat output for more details.
- simpleanim] Launch canceled!


Does anyone has solution for this problem...well i googled all, bt cudn't find hte suitable solution.
Please helppppp!!! :cry: :cry: :cry:
Any kind of help is apppreciated,
Thankyou so much:)
sukumori
Freshman
Freshman
 
Posts: 7
Joined: Thu Apr 08, 2010 10:33 pm

SdCARD to database

Postby prerna » Wed Apr 14, 2010 10:59 pm

Hi,
is there a way that I access images either sdcard or phone memory and store them in my database. The images here are chosen by the uses. hence i cannot hardcode the name

Prerna
prerna
prerna
Junior Developer
Junior Developer
 
Posts: 10
Joined: Thu Mar 04, 2010 12:54 am

Postby sukumori » Thu Apr 15, 2010 6:09 pm

Hii Prerna,

I also had same concept to implement in my project, except from making the database.
U can ckeck the following link fr the codes to get image frm the sdcard of emulator of phone, and select the image.

Web Page Name

Hope this will help you., bt the concept of data base isn't included here.
regards
Any kind of help is apppreciated,
Thankyou so much:)
sukumori
Freshman
Freshman
 
Posts: 7
Joined: Thu Apr 08, 2010 10:33 pm

Postby prerna » Thu Apr 15, 2010 6:48 pm

thanks a lot,..I had been just struggling for a long time with this concept..
prerna
prerna
Junior Developer
Junior Developer
 
Posts: 10
Joined: Thu Mar 04, 2010 12:54 am

Top

Return to Multimedia Problems

Who is online

Users browsing this forum: MSNbot Media and 27 guests