Android :: Streaming Using Front Camera Using Adobe Flex?
Jul 19, 2011I wanted to open front camera of the Motorola XOOM and try to live streaming using the front camera.
View 1 RepliesI wanted to open front camera of the Motorola XOOM and try to live streaming using the front camera.
View 1 RepliesThere are samples to show how to access front camera of android devices using android sdk.
View 1 RepliesRecently I went thru the code for accessing the camera using flash ActionScript3 and I have tested the code in iMac machine, iPhone and Android.Now based on this, I am developing an application for Android which includes the accessibility of the front camera. Now my Problem is I dont know how to access the front camera? We should use some other code or should we specify which camera should be accessed? First of all, can we access the front camera thru flash?
View 1 RepliesI'm using Adobe Air 2.5 and would like to switch between the front and back camera on an Android device.
View 2 RepliesI have created a live stream using Amazon Web Services and Adobe Flash Media Server 4.5.AWS provides me with both a .f4m and .m3u8 file, to use in and tags, respectively.The .f4m loads fine on my desktop browser, and the .m3u8 file loads fine on my iOS device. However, my Android devices will not load either file.What code/solutions are there to get this to play on Android devices?
<object width="600" height="409">
<param name="movie" value="http://fpdownload.adobe.com/strobe/FlashMediaPlayback_101.swf"></param>
[code].....
I have created a live stream using Amazon Web Services and Adobe Flash Media Server 4.5.AWS provides me with both a .f4m and .m3u8 file, to use in <object><embed> and <video> tags, respectively.The .f4m loads fine on my desktop browser, and the .m3u8 file loads fine on my iOS device. However, my Android devices will not load either file. What code/solutions are there to get this to play on Android devices?[code]
View 4 Repliesis it possible to record Audio on iOS and Android with Adobe Flex Mobile? I can't find anything about that feature on Adobe's website.
View 1 RepliesI have a project that uses video for a chat application, I can get it to work in the flex emulator but when I deploy it to the device the button that initiates the video doesn't change and video never starts. My devices all have 2 cameras except my computer but specifiying Camera.getCamera([1]) didn't change anything except mess up my emulator and cause a NullPointerException. Camera.getCamera([0]) works just the same as not having the ID. I have tried messing with different values quality and nothing makes a difference
private function publishVideo():void{
_publishingVideo = true;
_ns = new NetStream(_nc);
[code]......
I have a flex mobile application that I am working on that I am having issues with selecting an image from roll/taking a picture. My application is not tabbed, however one part of it contains a Tabbed View Navigator with tabs across the bottom. Within one of those tabs, I have the ability to upload an image to a webservice that I have created. However, when I select an image or take the picture, it pops back out to the initial splash screen and the application restarts. If I use the component standalone (outside of the tabbed view navigator) it selects the image and uploads without any problem.
[Code]...
i know when you are developing for desktop when you use get camera you can pick which camera you want to use in the flash file, im developing for ios and wondered how i would get camera the front camera working on an app.
View 2 RepliesI'm new in the mobile app development and I'm trying to do a simple online radio app using flash builder 4.5, but every time I try to play audio from a remote site (stream) it just not work. I've done different test, and when I use a local audio files everything works flawlessly.
[Code]...
I am going to develop an application which will be cross platform and it will be released for IOS and Android. My App will be using network connectivity and communicate with the server and it has to be fast, reliable and responsive. So my Question is: If i choose Adobe Flex to build that app for IOS and Android, So will there be any performance issues? If no then why people use xcode or android sdk? What are the disadvantages of using Adobe Flex over xCode and Andoid SDK?
View 4 RepliesI'm trying to start develop an Adobe Air app for Android.
I have Adobe Flash Builder 4.5 standard and when I choose new project I see two options:
Flex mobile project ActionScript mobile project
What are the differents between these two options?
i am implementing one application related to android in adobe flex, .apk is generated and now while installing the .apk file in emulator, emulator is showing one pop up to install adobe air, while again installing on adobe air , it is showing that no mobile device is connected to you system. so how can i install adobe air in emulator to test the application made in adobe flex?
View 2 RepliesI have an application built with Adobe AIR for Android. The apk is 108MB, larger than the 50MB limit imposed by Google.
View 1 RepliesIm currently working on a piece for my final year project that takes a webcam and has an old movie effect over it in as3. I have this all working but what I need to know asap though is, Is there a way that i could put a black box layer over it that when the user walks in front of the camera that the black box would disapear. The code I have in the actions panel for the webcam is:
[Code]...
Adobe AIR is pretty heavy. So is it necessary to be installed on my phone? Are there any alternatives to it..something lightweight.
View 2 RepliesI need to delete all the application data directories on the exit of an application:
/data/data/air.<appID>/cache/.AIR
/data/data/air.<appID>/cache/webviewCache
/data/data/air.<appID>/databases
But I get each time the "directory not found error"
This is from my application descriptor:
<id>test01</id>
<filename>test01</filename>
<name>test01</name>
I know also this is not a best practice, but for security reasons I need to delete all the stagewebview cache and autofill form data.
I can't find this information online or in the documentation, does anyone know what versions of Android and iOS the AIR 3.0 captive runtime is compatible with? I'm assuming there is some restriction there, but short of actually compiling a program and trying it on iPhone for example, which I don't have, how can I tell which OS versions are supported?
I know that you can compile an Adobe AIR 2.7(?) application to target say Android 2.2, but what about the captive runtime with AIR 3.0? Also I don't see anywhere to find out the iOS version restriction with AIR, as you have to pay $100 to Apple to even get the SDK which would allow me to make an iOS project in the first place.
I gone thorough the adobe flash builder video tutorials and did the same thing to create an application for android device, but when i run the application it is showing Sorry dialog box saying that, The application Test1-debug(process air.Test1.debug) has stopped unexpectedly. Please try again. I tried many times but it is not working. Initially i thought no Adobe-AIR in my device, but it is there. I am using Reliance 3G Tab. I don't why it is not working, if anybody know this please reply me.
One more thing, i downloaded one APK (which is designed with adobe flash or flex) file from [URL]..and installed on my android device. When i run that application only blank screen is appearing, but in video they shown, it is working. Why it is happening like this?? Is any problem with my tablet ?? or application ?? or adobe AIR not installed properly on device ?? Like this i am getting too many doubts.
I want to use Adobe Flash in the development of Android applications. But how do I install flash on the emulator so that I can test my software with flash?
View 5 RepliesAs of Flash 10.1, they have added the ability to add bytes into the NetStream object via the appendBytes method URL...The main reason for this addition is that Adobe is finally supporting HTTP streaming of video. This is great, but it seems that you need to use the Adobe Media Streaming Server (URL...) to create the correct video chunks from your existing video to allow for smooth streaming.I have tried to do a hacked version of HTTP streaming in the past where I swap out the NetStream objects (URL...), but there is always a momentary pause between the chunks. With the new appendBytes, I tried to do a quick mock up with the two sections of video from the preceding site, but even then, the skip still remains.Does anyone know how the two consecutive .FLV files needs to be formated in order for the appendBytes method on the NetStream object to create a nice smooth video without a noticeable skip between the segments?
View 6 RepliesSo I'm having this issue where I need an event to fire at the very beginning of my application
public function Main() {
this.addEventListener(Event.ACTIVATE, onInit);
}
I've also tried Event.ADDED_TO_STAGE, but both seem to not be firing onInit at the right time... they fire too early. For example, on testing for IPhone it's firing when I still see the Default.png icon... I want it to fire when that "loading" phase is over.
I currently have a network camera that streams video as a .swf (and also as a motion JPEG as well...) and I want to be able to embed the stream inside of either a Flash or Air project that I'm creating myself. The only examples i've been able to find though, require the .swf to be saved as a resource of the project; clearly, this is undesirable for a live stream.
Another option is to utilize the motion JPEG. I have some generated code (shown below), but unfortunately only the first image is displayed when viewed via adobe air (if I were to view it in a HTML browser, the image would automatically update, effectively showing the stream:
<SCRIPT LANGUAGE="JavaScript">
function displayImage( )
{
// Set the BaseURL to the URL of your camera
[Code].....
I've been doing some research about accessing an android camera in flash and I came across cameraUI but from what i understand this works only in AIR and not in flash player. Is it possible to access the camera of an android device in flash player (on a web page rather than on an app)?
View 1 RepliesI'm trying to use the camera in an Android app using the 1.5 API. I want the camera to flash for every picture. However, when I looked at the API for camera.parameters, thesetFlashMode() method is only supported for 2.0 and higher. Yet my Cliq XT, which runs 1.5, has a flash that I can set in the menu - I take this to mean there is a way to do this for the 1.5 API, though I was unable to find it.
View 2 RepliesIs it possible to create a new folder in the Android gallery (Camera Roll) to save my created images in the Air mobile application?
View 1 RepliesHow i can use IP Camera with FMS for live video streaming.
View 2 RepliesWhen stop streaming, i close NetStream, close NetConnection, clear video, and remove any event listoner on camera. After these actions, the camera is still in used.
View 2 RepliesI am using progressive streaming with VideoDisplay, the HTTP URL provided gets buffered completely even if I have configured it to start playing the video when the buffering reaches 20%, the trace message shows that the playing started(using mozilla /Flashbug+Firebug), but it doesnot show the video till the buffercounter reaches 100% How can I get the video stream to play at the 20% of stream.Code Segment where the check takes place
var loadedPct:uint = Math.round(100 * (event.bytesLoaded / event.bytesTotal));
trace('waiting...');
mainVideoCanvas.addChild(LoadingImage);
VidLoadingLabel2.text = loadedPct.toString();
[code].....