How To Download images & Store in SDcard in Blackberry?
Open http-connection to the image resource.
Open InputStream instance over this connection
Use BlackBerry FileConnections
API to create file
Read the image to the stream and write this stream to
the file
Related
I am developing iOS mobile app with webview which allow user to attach image or capture image from Local storage.
Is there anyways to upload/capture image from local storage instead of App Gallery?
Thank you in advance for support.
I am trying to transfer the photo image data accessed from the Photos framework to my external accessory. I am able to transfer the data. However, I am not able to open the file correctly.
I access the data of the image using the NSData in the PHImagemanager.
I am transferring the image to an external device (SD card using the External accessory protocol). The transfer takes place successfully. I can see the ASCII contents of the original file and the transferred file and they both look the same. But I cannot open the file.
I was thinking that do I have to do some processing on the data I receive through NSData to open the image successfully?
I am using image picker to upload image from camera roll. Can I do same for PDF or any other doc format? If no, then what would be the alternative method to use PDF as an attachment?
I also tried to do the same but failed.
At last I integrated Dropbox with my app and then uploaded the PDF and Doc files. Dropbox integration would be an easy and handy option.
Here is the link for Dropbox
https://www.dropbox.com/developers-v1/core/sdks/ios
Google drive is also an alternate that you can use to upload the documents but it is hard to integrate.
Here is the link for Google Drive
https://developers.google.com/drive/ios/quickstart
Hope it saves your time!
All the best
I have integrated google drive to my iOS , desktop(window) and web application using google drive api . when i upload pics or video less than 4Mb , it uploads to my default drive folder, but when i try to upload more than that it gives me exception. what is the best solution for that?
I need to learn how to buffer audio stream from a remote server in Blackberry.
There is a sample buffered playback app with Blackberry api but can you tell what url may I use to test the application?
You can use any audio file (i.e. mp3) served up by a webserver. So either copy an mp3 file onto your own webserver or find a link to an mp3 file out on the internet.