I am creating an application which streams a live feed of the blackberry screen from a blackberry device to a web browser. This should allow a user to view the screen of the blackberry from the browser. Could someone suggest a stepwise method to do this?
Check this method, public static void screenshot(Bitmap bitmap).
Documentation says that it takes a screenshot of the entire screen and saves it into a Bitmap, if supported by IT policy and/or application control. If the method works then it is possible to broadcast the screencast of a device by:
Continuously taking screenshot (maintaining feasible interval) and
Sending them to some server/destination (image compression can be applied before sending).
Multipart Post/ Image Upload Issue - The following links may be
helpful.
BlackBerry Multipart POST Demo - Github
HTTP POST Multipart file upload in JavaME - Nokia Developer
Upload Image in BlackBerry - StackOverflow
Posting Data via Http from Blackberry
Related
Currently I am using
https://github.com/youtube/yt-direct-lite-iOS
by Ibrahim Ulukaya. I have been successful in uploading videos to youtube. What I want to know is that if it is possible to check the upload progress using the same library ?
Thanks in advance.
p.s. I do not want to check the bytes sent on network as there might be background traffic from my application as well.
Regards.
I have a phonegap application which is initialized from a remote URL. I want to take a picture and display it in the app. Per the documentation, I am using FILE_URI as the destination type:
Note: The image quality of pictures taken using the camera on newer
devices is quite good, and images from the Photo Album will not be
downscaled to a lower quality, even if a quality parameter is
specified. Encoding such images using Base64 has caused memory issues
on many newer devices. Therefore, using FILE_URI as the
'Camera.destinationType' is highly recommended.
In my success callback, I try to set the src attribute of an img to the file:// URI returned by phonegap, and I get the standard browser error, "Not allowed to load local resource".
Is there a way to configure a phonegap iOS app to allow access to local files from a remote page?
I'm trying to share a link of a video that I uploaded in my website host. But the post doesn't show my video and a thumbnail image. I want my post to look like this image bellow:
http://i.stack.imgur.com/UcbTG.png
is there anyway to post my video like that?
I'm using facebook SDK 3.1.1, ARC, Cocos2d 2.0, IOS 5.1;
Yes, if you supply the correct Open Graph Tags as per https://developers.facebook.com/docs/opengraphprotocol/#audiovideo your video can embed in the News Feed post.
To accomplish the actual Sharing, you should use the Feed Dialog which is customizable and will work on desktop and mobile devices.
I am writing a web app in HTML5 that is supposed to run on iPads.
I would like to upload images from the iPad directly to a S3 bucket.
If that is not possible, I can settle for uploading to my server and then I'll store it on S3 myself.
I've seen on the net that the preferred tool is SWFUpload, but I fear it wont work on iPads.
Unfortunately you're out of luck. Apple block file uploads in iOS Safari. The browser doesn't have access to the iOS file system or photos.
https://apple.stackexchange.com/questions/4104/is-it-possible-to-upload-files-to-a-website-from-safari-on-iphone
You'll see if you go to Facebook's Mobile Web app http://m.facebook.com and try to post a photo, they tell users to email the photo to a custom email address.
If you want photo uploads you'll have to find another route to upload or use an iOS application.
I know how to launch a youtube video within an iOS web view, but how can I download that video to save on my iPad app? Is it possible? Do I need to use some call with a NSURLConnection object and then save the received data into the proper file format?
One specific point I am unsure about is what the url to request the file would be. When viewing a video on youtube, the downloadable videos are triggered with a button, so it's not evident to me what the url would be.
You would need to download an iOS-compatible version of the video, possibly using the same technique employed by the Safari FlashToHTML5 plugin.
Youtube DOES offer video download links:
http://lifehacker.com/#!5152236/youtube-offers-official-downloads-and-purchases-for-videos
.. make sure you do not violate their TOS.
In general, when downloading large files, you might consider implementing resumable file downloads, especially because connectivity on a mobile device is transient.
On top of that, make sure that you're on a wifi network when downloading (or resuming a download), using Reachability. Note that excessive bandwidth usage over cellular networks is a reason for app rejection.