Friday, June 22, 2012

[android-developers] Re: How to show my sdcard picture in the Camera ???

Hi Nobu , 

Thanks a lot for your advice .. you have mentioned like there is a way to make the screen in to a gif right .. May i know how to make a collection of pictures in to a gif image. because from my research i have found the solution for capturing the screenshots even out of app with the every second.. those screen shots will shows the user activity clearly .. so is possible to make those images into gif in android ??? 


My Research : want to make a video of user activity in mobile ... i want to record users each and every bit of movement. like (facebook app, email app, twiiterapp, other game app etc.).... 

On Friday, June 22, 2012 10:39:38 PM UTC+5:30, Nobu Games wrote:
Hi NobuGames,
 I think your third point is almost correct with my question . In the third point you have given valid point.. 
 But i need something different. like i should open the camera hardware with the intent .. but  i dont want to show the camera preview in my app. it should get run in the background. At the same time i should pass the some pictures to the camrera stream ..... is it possible ?????

Hi Rajesh,

please do not write personally to me and stick with this group so others can respond to you too.

Now to your problem. I am a kind of guy who tries to get to the bottom of a problem. And a lot of people who are trying to solve things are not completely aware of what they are actually trying to do or what they really want or need. They have a need or an idea and come up with solutions that introduce more problems than they solve. And on top of that, these solution ideas confuse other people when being asked for help.

I have the impression that you are trying to create some kind of app that creates videos and superimposes pictures on top of that video. That app is also able to take device screenshots and assembles pictures into GIF animations.

I noticed that you are taking bad advice of other users on this group here for granted and incorporate that advice into your own problem solution process. You were asking how to capture screen shots and take a video of the screen. Someone comes and responds:

use camera intent to capyure image and video

Which has nothing to do with the question. But nevertheless, you take this advice over into your own vocabulary and present it as a step towards your solution process in another thread of yours.

Get rid of all these ideas first. Take a step back and try to reconsider what you are trying to do. More importantly, instead of explaining half-baked ideas that are sometimes technically wrong and confusing you should try to make clear what the purpose of your question is.

And now to your question.
  1. Set up an android.hardware.Camera object (read the link I posted earlier)
  2. Add your own custom Camera.PreviewCallback to that Camera object by calling Camera.addCallbackBuffer and Camera.setPreviewCallbackWithBuffer
  3. Let your PreviewCallback pass over the camera preview frame over to your native code.
  4. Store the frames in your native code and do whatever you want to do with it (superimposing pictures, creating a video based on it... boundless possibilities).
  5. Reconsider. Maybe you just want to add "special effects" to a video. Then forget about the camera and just manipulate the video.

--
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+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

No comments:

Post a Comment