I want to connect to Picasa and upload a picture (let's assume I already have a reference to the image).
How can I do? If possible let's the user choose user and pass to login.
I tried some example but they fails or give error.
If someone already tested some example can link it?
you have to see this open source project you can find some useful resources
Related
I have been thinking about developing my own custom Viber sticker but I can't get to any good source to give me some information about this.
Does anyone know how to do this? Or is it possible at all? If yes, please let me know what do I need to do so.
Thanks.
When you send/recieve a sticker, it doesnt really send it, just opens the image from the local store from your phone.
What I did on my Android is download a stickers set that I dont like.
Connect the phone to the computer and open the vyber folder, and search for the folder containing the set I downloaded.
Then I uploaded my custom stickers to this folder using the same names to overwrite the files.
Since vyber doesnt send the stickers, when you send the custom sticker people dont see your stikers, they see the original files on their phones. So I repeat the process on the phones of my boyfriend and my sister.
I can only use the stickers with them, but it is better than nothing.
Also you can just have a folder in your gallery and send them as image files is not the same, but it works.
I'm creating a site that allows users to upload images from their mobile phones, through their browser. Before adding this feature to my site, I'm testing it out with a rails scaffold. To accomplish image upload, I'm using Paperclip 4.1. Image uploading is working flawlessly on my laptop, but it isn't working on my Android. When I click "Choose file" on my droid, I am able to select an image from my galley (among many other options), but when I click "Update" I get two errors:
Avatar content type is invalid
Avatar is invalid
The content type is a jpg, which I know is valid because I can upload jpgs on my laptop. I don't understand what the other error means. Here is the validation I'm using (got it from paperclip's quick start guide on GitHub):
validates_attachment_content_type :avatar, :content_type => /\Aimage\/.*\Z/
Is this a flaw of paperclip, or am I doing something wrong? Please let me know if you need more of my code.
I ended up using CarrierWave instead, which was able to handle image uploads through mobile and desktop.
As posted in a previous question, that possibly is pointing me in the right direction,
I need to intercept the event of the user downloading a file (from the browser, form the email..) so that I can propmpt the user and save the file in a folder defined in my app.
And, viceversa I need to be able to intercept the event of the user uploading a file into a webpage, so that I can offer him to select the file from the folder defined in my app.
If somebody could point me in the right direction I would really be grateful!
If there is any open source solution already available that would be very useful as well.
I found this link: Intercepting links from the browser to open my Android app
You can intercept the link like explained in the answer. Once you've got the link, it is up to you how to handle it through code. If you want to download it with your own applications to a folder you desire, you can use following codes:
Download a File In Android From Remote Server
How to download file/image from url to your device
I hope these will help you.
I would like to be able to create an Android app that adds additional photo albums to the default android photo gallery. The content of these albums would be remote, similar to how the Picasa albums are handled. I have looked into the media scanner and it seems to not handle remote content and I have not been able to find any reference for the gallery itself or any other means of providing additional photo albums.
I have done some searching on the android developers site, here and general Googling and have come up short... does anyone have any suggestions about how this can be accomplished?
Thanks in advance.
If you are talking about the android stock gallery, this is what ive found out:
The android albums are not actually albums, but folders.
You justo need to create a folder with the name you want the album to show and there must be at least one picture in it.
Hope it helps!
Can someone please point me in the right direction. I have been googling for ages and I'm not getting great results.
I want my app to allow the user to download a file from the USB/SDcard. Specifically an image, which then later gets used in my app.
I can't seem to find anything, been searching for open file dialogs and nothing..
So:
1) User inserts USB device/SDCard.
2) User gets file browser dialog.
3) User finds image from USB/SDCard
4) App grabs image and stores it for later use.
Thanks :)
I think what you are looking for is how to work with external storage in Android. there is a very good tutorial from android site: http://developer.android.com/guide/topics/data/data-storage.html#filesExternal. hope this helps.
To browse for images on the SDCard this thread is very helpful:
How to pick an image from gallery (SD Card) for my app?
I would suggest using the Android Gallery interface for images as it is much easier for the user than browsing files.