Android :: Flash: Access The Webcam Inside An Webpage?
Mar 14, 2012
I have a very stupid question: can android (I use samsung galaxy S2 mobile) can access teh webcam ?In my flash application, I got a flash security alert that allows to autorize or deny the access to webcam.
When I run this flash, it never shows this security alert and then It does not access the webcam. I do tests for instance with the website [URL]: works fine on my PC, works fine on my galaxy s2, but since it never shows me the autorization dialog, I cannot stream my webcam.
I have to install a multi-webcam setup that will be live streamed and accessible via a web browser.I'm looking into the quickest and most efficient solution, the less time and hassle it takes to implement, the better. That means buying hardware and/or software is not that much of an issue (as long as it's not 1000$+ flash server software).
The requirements / basic setup:The web server will be directly connected the cams (via ethernet / WiFi).The stream should be viewable by the max possible audience so no ActiveX / VLC-style object embedding. Flash would be ideal (even if it's a paid solution).Bandwidth is not an issue, max 2-3 clients at a time, most of the time only one.
I am loading flash SWFs into an android WebView.I want the SWF to be instantly fullscreen and focused.The class name that handles flash is com.adobe.flashplayer.FlashPaintSurface .
Watching the log, when I fullscreen the flash manually, it calls com.adobe.flashplayer.FlashPaintSurface.toggleFullScreen()The first part of my question is, How can i call that method manually for my flash swf? Note that with a webview with a flash embedded, the only way i seem to be able to fullscreen it properly (to have flash's surfaceview fullscreen instead of the flash being displayed over top of the webview view) is by touching the screen with two fingers until an interface pops up at the top of the screen, and doesnt happen reliably.For focus, inside my webview class I call
@Override protected boolean drawChild (Canvas canvas, View child, long drawingTime) { if (child.getClass().getName().equals("com.adobe.flashplayer.FlashPaintSurface")) {
[code]...
This doesnt set the focus as I thought it would. Although i assume, if fullscreened properly, the flashpaintsurface should give itself focus. But if if the first part is not doable, i would wonder at least to not have to give focus to the SWF by clicking on it on startup.
I'm trying to embed some flash code, and I'm using swfobject. When I put it in the parent div, it asks the users for permission on the webcam/audio. However, when I put the flash code into a lower-level div, it doesn't prompt for permission to use the webcam, or anyting. I.E.I can put the flash into container, but not inside.
I'm trying to play with live web cam using asp.net with C#. I want to access/stream web cam content using flash then send the captured streams using Real-time Transport Protocol.
I need to implement a webcam for a web chat system. Im trying to avoid that the video data goes through the webserver... it should go directly from client to client (as if they were using with skype).
I can access local webcam using Flash app but I wanna use as public so anyone can access via local network to be able to open the viewer, but this script only uses a local cam to the computer
I need sendStatusResponse to be fired everytime to let the server know the stream has started, however if the user has clicked on the remember checkbox this function is never fired.
Is there a way I can prevent them from clicking remember, or is there a better event to use so that I can store a timestamp of when the stream ACTUALLY started.
Is it possible to use Air on android and access the compass? I saw there is some acceleration support[URL]..If it is NOT accessible, would it be possible to do some communication between a native android-app listening for compass update and an air application?
We're building a kiosk app that will have a fairly wide deployment. The app is in Flash running in a browser and requires the use of the webcam. As it stands, each kiosk will show the usual Flash "do you want to allow the use of your camera/microphone" dialog, which I suppose a local admin could click through, choose "remember," etc.
Given that this is a kiosk app, where we have access to the machines themselves (or at least to people who do), is there a way to pre-seed the whitelist so the dialog does not appear?
my application uses a webView to display flash webpage. And there is a inner button which direct other url. I want to click the button then go to the system browser. But it doesn't work in Android 3.2 tablet.So I override the shouldOverrideUrlLoading method, :
@Override public boolean shouldOverrideUrlLoading(WebView view, String url) { // TODO Auto-generated method stub
I have a parent swf called Main.swf that loads a child Registration.swf via a regular loader class then adds it to the stage. This child has a webcam function that captures an image but before that happens it prompts the user for permission to allow the webcam to be turned on. The problem I'm having is that in my IDE the prompt works like a charm and continues through to capturing image data. When I plop the files on a live server it fails. A friend recommended that it's most likely an issue with how I'm requesting permission from the child, so instead I'm calling an event to the parent telling IT to prompt and still no luck. Having the same issues. Note: The parent .swf was published as Player 9 and the child is in Player 10. I had to do it this way because each package has dependencies that require it.
I am using Asp.net/C# to build an application , i have a requirement wherein i need to access webcam from my page and capture images of users.So i am trying to achieve this by creating flash file .
I have Firefox, Firebug, Flashbug and *.fla + *.as files of flash widged. Is it possible to debug it with tracing trough as code with variable watch etc? How to? EDIT I HAVE flasbug and can see trace command output. But I need to do step by step debugging as other debuggers do, and also as Flash Professional can do with standalone flash movies.
how to download the html of a webpage inside of flash? This is pretty common in most languages, in C# you can use Webclient, java HTTPURLConnection, PHP has CURL.
I need an application to test the accelerometer values on my mobile phone. I need the values on my system so that I can manipulate that info for something else.
If I write an Android application, the values will be inside the Mobile phone, which is not what I want.
I have written an app in Flash, n tested in Adobe Device Central. Only catch is that instead of simulator, I need to test it on my mobile. How do i do this?
I�m building an iPad 2 app with Flash with ActionScript 3 (Adobe CS5.5), what I want to do is to wrap my two sections of the video (h264) inside the final app? I do not want to stream the video or load it external, "I need it to be included in the app locally" (inside the final package)!I need it to be in one application, to upload to the iTunes Store/Google market�
PS like to do the same with Android, the package (apk) no stream video.
I have a service that uses computer webcam via Flash. Now I'd like to develop an Android optimized version of the service using HTML5 + Flash and then use some HTML5 wrapper to get an app.
I wonder if it's possible to use the same ability of Flash that provides an access to user's phone camera (frontal) on the Android (tablet pcs, smart phones). I know Android supports Flash since 2.2, but I failed to find any information on hardware access.
From a Flash object, I would like to be able to detect the presence of a webcam that the user might grant access to, without actually asking the user whether they want to grant access. This is to streamline a large application that has extra features if a webcam exists — if there is a webcam, the application will present several dialogs that lead up to the normal cam-security prompt, but if the user doesn't have the hardware, I want to skip over them altogether. Requesting access to the cam before those dialogs won't make sense to the user.
It appears not to be possible to call Camera.getCamera() without the security prompt happening. Is there a workaround? (For instance, could I, perhaps, call getCamera in a hidden Flash object and inspect its return value, or does it block until the user acknowledges the security prompt?)
For an internal project we would like to play with building a video conferencing system.We are able to decide the browser that the user has to use and can install plugins. The only requirement is that the browser and plugins must be free and work over Linux and Mac.(Don't care about Windows)What is the best way to do access the webcam and mic stream from a user for sending to a server? Ideally I would like to do this plugin free but I can see no implementation of the devices tag in HTML5 in any browser yet, unless someone knows different.If its flash/silverlight, any quick examples of capture and sending to a server?lso any examples of streaming video from a server to a client would be useful, so we can stick it all together. This I know we can do in HTML5 so this would be a preference.
The client connection part is all I would need as we are building the server, this is the internal challenge.Basically I'm looking for good examples and best practices for sending and receiving this information.Edit: As I have discovered from some groups the device tag is no where near completion. So answers will have to be flash/silverlight (does that work on linux??).
how to get pass where you dont have to allow or deny its auto allow access to webcam. ctionscript Code: var myCam:Camera = Camera.get();output_vid.attachVideo(myCam);
I am running my swf file through a browser on the local machine (i.e. C Drive). I want to have a link to download the Adobe Reader however when I click on the link that is setup with navigateToURL(), I get a Flash Player Security Error stating that it is unsafe to acess the Internet and to update the player options allowing it to happen. I have went to the player options and put the URL's in there that I am trying to get to with no success.
I have created a Flash-based image gallery using a template purchased from Activeden.net and have successfully published this on a dedicated html page that contains nothing but the SWF file. I would now like to learn how to add an SWF movie to an existing web page. In other words, the movie would run within a rectangular space in a position of my choice surrounded by loads of other stuff.
My first attempts to add a Flash movie to an ASP.NET aspx page were only partially successful. The movie runs within its allocated space but I can only see the bottom third. The rest is cut off by the upper edge of the rectangle (which is big enough to take the whole movie).
What are the options (or is it possible at all) for a web page (running on a remote server, not localhost) to access a data stream (not video) coming in via the USB port of the local computer?
Ideally this would work cross-platform (Windows, Unix, Mac anyway) and the local computer would not have to download/install anything to make it work (beyond what you can reasonably expect a computer to have)
An embedded Java applet seems the only way, but I'm wondering if there's any other technologies that could do it. If the restriction is lifted so that the user can install something (basic for non-techies, not setting up a local server running node.js for example) does that make more things possible (Flash?)
I'm trying to make an old fashioned 2D sidescroller game similar to the old Mario games, and i'm stuck with a lil problem: I want to add coins that can be collected by the player. I've made a coin class that unloads the coins when the player touches them:
PHP Code: packageimport flash.display.MovieClip; import flash.events.Event;public class Coin extends MovieClipvar character:MovieClip; public function Coin() this.addEventL
I am currently trying to use the new approach of using FlexGlobals to access an ArrayCollection that I have on the Default view of a mobile application I am developing. Below is the code that makes up the creation and population of that array on the Default view which happens as soon as the app is initiated:
private var ids:ArrayCollection = new ArrayCollection(); private function loop():void { var index:int;
[Code].....
I could only assume that the ArrayCollection I had created in my default view has no value once I navigate away from it. this as there seems to be next to no documentation on how to do these types of things with FlexGlobals?