I have an android app which can send screen shots to share on Facebook. What I want is adding some stuffs like my app logo/icon on image and save that as a single image and share that on Facebook. (something like what heel climb racing does).
How can I combine Images? A sample code or tutorial would be grateful.
You can use the Canvas class to work with images.
Check this SO question for more details: combining two png files in android
Related
I need a example of how to add a 'X' number of pictures of the gallery into a component 'gallery' in ANDROID develop.
Please show me a simple example (it's for my personal knowledge).
Thanks a lot.
Here: http://www.androidinterview.com/android-gallery-view-example-displaying-a-list-of-images/, you can see an example of show images in a android gallery component using local images, if you want show images from device's gallery, then you can see this:
how to get the images from device in android java application
I want make an Android app with custom camera API, which can take pictures with some png files as frames(Like some web came apps in PCs). And also first I want to take a picture of ball(or something) which act as frame for the second photo that I am going to take. Anybody have an idea?
Most devices already have a camera application, which you can start for the result if that suits your requirement.
But if you have more extensive requirement android also allows you to directly control the camera. Directly controlling the camera is much more involved and you should access your requirement before deciding on either approach.
You can refere to the following develper guides to get details of both
http://developer.android.com/training/camera/photobasics.html
http://developer.android.com/training/camera/cameradirect.html
Once you get the Bitmap, you can use the canvas element to combine the two bitmaps.
I need to show a thumbnail of multiple users like in gmail does when there is multiple people in a thread.
The sample is as follows:
I'm looking at creating the first image in the listview.
Image Source: Gmail screenshot in Play store.
Wonder if this may help :
Render Two images in ImageView in Android?
http://androidattop.blogspot.in/2012/06/merge-multiple-images-into-one-image-in.html
Not sure if they can be really helpful, but something close to what your trying to achieve. You could probably even create a custom ImageView and use it instead of the standard ImageView
I want to implement functionality same like in Facebook album viz. first it show blur image then clear version of that with swipe effect but I am not getting any idea from where to start from.
EDIT: I will be getting these images from webserver.
Actually what happens is:
Facebook show its thumbnail image(which is already downloaded) if the large image is not loaded. So it is not intentionally blurred.
and downloads the original image in background. and then sets the large image to that ImageView.
Numerous examples are available to show Gallery in Android.
afaik the "blurred photo" displaying in Facebook app is not actually an android feature, but more of how the embedded WebView handles images. Facebook App is basically just an embedded webview that hopes to look and feel like a native android app.
For the swiping gesture to view the next photo, you can use this.
Try making a custom class extending Android Gallery
And then try applying a blur effete on both Left and Right imageviews.
I would like to make an app with a 360 degree product viewer in it.But I would like user to interact with some options along it.How can I achieve it any expertise on it.Thanks.
You can do it this way. Example:
http://jbk404.site50.net/360DegreeView/mobile/common.html
Just copy paste the Source code of the page and the car image sprite, then modify the variables according to your image. After that implement it in android using an Webview, taking it from the assert folder so it will be local and you will not need internet connection.
So if you want a 3D product viewer, you would need to get a hold of 3D models, then you would need to get to know openGL a little better.
Do you have models? If so, i'd suggest you start by getting those.