Google+ share image using URL like Facebook - android

I'm currently looking for a way to share in Google+ using URL from web and not from local storage. Problem is that I've used UniversalImageLoader to cache my image and I don't have the image file of the images I wanted to post on my share. I wanted it to be as simple the way facebook done their sharing but using the setContentUrl(Uri.parse(IMG_URL)) will give me the way I wanted it minus the image URL below the post.
Other workarounds I'm thinking is to download the image using the URL, store it somewhere on the device then share it using the setStream(Uri.parse(IMG_URI)) but only problem is that I will need to wait more compared to sharing using URL.
Now is there's any way I can achieve a faster image sharing on Google+? Or if ever is there's a way I can convert the cached file back into image so that I can share it using Stream?

Related

How to Share Images from Browser to Android Native Apps?

I'm looking for ways to share images from web browser in android. Either by pasting a link to load target image(not as a thumbnail on the left that usual comes from meta), or directly sending the image through share.
I've used Chrome's Web Share API but it only gives options to share title, text and url. If there is an image in this url as a meta, it's loading as a thumbnail on the left. But I need to share the actual image directly. Please help.

How to store images in android other than sdcard and database

I am working on one android application,in that I have to download images from web and I am showing in listview using imageloader.Next time if I am not connected to internet I have to show saved images.So that If I want to save downloaded images where I have to store.I have two ways one way I have to store in sdcard and another one is in database.Is there any alternative way to store images.Image sizes are very small
Try it with Cache? Best way to do this:
http://www.androidhive.info/2014/05/android-working-with-volley-library-1/
Volley gives you a NetworkImageView, this is a "normal" ImageView, but you can give it a URL and volley will do all the rest for you (download, or load from cache, if already loaded).

Test URL for simulating upload and download multimedia (like steaming media, video, images)

I am having an app requirements like whatsapp application. The thing is that webservices are not ready and it will take time. Meanwhile I want the test URL which use JSON format to upload and download the videos and images.
I know the sample URL's for JSON simulation
http://www.jsontest.com/
http://www.mocky.io/
For HTTP GET and POST simulation
http://httpbin.org/
Like this I want it for images and video in the form of JSON upload/download.
You don't need a webservice to test download from android, just a server container like tomcat installed on your computer and place files you want to download on tomcats directory.
But you will need one for uploading to receive (even if it does nothing).
You may use the following websites to download an image from
http://dummyimage.com/
Or this website
https://placehold.it/
You may also use the following website for video downloads
http://www.sample-videos.com/index.php#sample-mp4-video

Gallery of pictures from distant site - Android

I need to add gallery to my android app. I used gallery in standard way, when pictures are in my folder, but now I need to show pictures when I have just pictures URLs(pictures are on some distant server). How can I achieve that ?
Is the server yours?
You might need to make an API to get the images from the server served to you.

how to view all images in android's built- in gallery from a php page

I am developing an application to display all the images in android's built-in gallery in to a php page. I posted the uri (content://media/extrenal/images/media) of the gallery images to the php page. I was not able to recreate images by using webView's function loadUrl().
Should I need to upload the whole gallery to another directory and display the images?
Or passing the bitmap itself will do?
Please suggest me an idea to solve the problem.
I think you should make an ashynchronous connection of your application with an php application on the server, which will tell the android app to upload the requested image, and when the java app receives the upload command, make the app upload the picture to the server, and make the server php app display the image uploaded. I know this is a bit complicated, but this is the only thing that is comparatively easier than doing socket transports and other things. Good luck :)

Categories

Resources