I'm building a flex mobile application that streams the device's live video to flash media server.I can't run such an application on the flash buider's emulator because it doesn't emulate the camera and i don't have an android device to test my work on it.I wonder if using the NetConnection and NetStream classes with the device's camera will work as in a regular flex web application.I really need an advice from someone who tested those two classes(NetConnection and NetStream) with flex mobile.Any pointers or advices will be appreciated.
Thanks in Advance.
NetConnection and NetStream with Adobe AIR for Mobiles works exactly as how it works with a regular web application.
However, some things have to be considered. Your mobile application should be developed on a "Landscape" mode. Since there is a bug with adobe such that the video stream gets rotated when you are sending the video stream from your front camera.
Bug Report
However, i am not recommending you to stop developing the application. This will be a good challenge though.
Related
I am making a website using adobe flash and action script. but I heard a lot about flash vulnerabilities.
Is it secure to make a website using adobe flash, comparably to ordinary tools like wordpress and joomla?
In theory Flash is secure, but I would recommend not using it.
The reasons Flash has many vulnerabilities is not because of the websites using it, but the clients not updating their Flash clients. Your site depends on the client for security which is almost always a bad idea.
There also is a second reason not to use Flash and that is compatibility. Flash won't work on iPhones, Android Phones, Windows Phones and it won't take long before all browsers will block it (Firefox already does that!).
And the third argument is that it just is not necessary to use Flash anymore. You can use HTML, CSS3 and maybe a bit of JavaScript to be able to do anything Flash once was unique in.
Flash make your page to load very slow.
If site is created only in flash? not only a part of it(like header logo and other) the user will wait while all flash will load and this take times and very expensive traffic if is used mobile device to connect PC to internet (usb 4G modem, or mobile built in modem ).
we have developed video confernce using flex builder 4.6 which works perfectly on desktop browsers. we just added the video box from flex in the browser and everything else is plain html and javascript code. when we open our site on any tablet or latwst mobiles the flex component is unable to connect to wowza server. I want to know what additionally I have to do for flex component to work on tablet browsers without doing lot of changes in code such as not using transcoders to convert live video and audio to one of those html5 supported format.
Your subject line does not seem to relate to your actual question; but I'll try to address your points.
is adobe air replaces flex on mobile browsers?
Adobe AIR is a way to build native applications for iOS, Android, and Blackberry devices. It is not a tool for delivering Flash content through a browser.
Adobe did create a mobile browser plugin for Flash. That is available on Blackberry devices; and was available for Android devices. On Android it is no longer being updated or maintained.
when we open our site on any tablet or latwst mobiles the flex
component is unable to connect to wowza server.
What is the error you receive?
I want to know what additionally I have to do for flex component to
work on tablet browsers
On iOS, or Windows Phone, there is nothing you can do.
On most Android devices, you'll have to manually install the Adobe Flash Player.
On current Blackberry devices, it should just work.
I have an old flex web application which now needs to access the camera and gps on a smartphone.
I see there are external libraries to do some of the work for you but what need is native flex support for accessing the phone's GPS and camera from the mobile browser.
The application can be recompiled to any version of flex from 3 to 4.6 if necessary.
To clarify further: The SWF file is embedded in a web page which is then displayed on a tablet/phone (android, ios, etc). I want to be able to read the current GPS coordinates from the hardware GPS and be able to take a picture with the onboard camera.
If this is 100% impossible, I can call a JavaScript function to read the photo and GPS from a third party component, this component would need to be all encompassing as far as mobile devices are and be compatible with the flex externalinterface setup.
Thanks for you help in advance.
Pete
You can pretty much forget about using flash on mobile and desktop for that matter, its a dead end technology now.
Sadly there are very very few mobile devices that will give you browser access to the camera yet. There are a few, but iOS for example has not yet implemented the standard. So you are not going to be able to readily access the camera for at least another year or so. It depends on when Apple, Google and Microsoft get their act together.
As for GPS all the mobile browsers that anyone uses supports the geolocation specification so you can know where the user is.
http://professionalaspnet.com/archive/2012/05/25/A-Study-Using-The-HTML5-Geolocation-API.aspx
I'm looking for a barcode reader using a webcam for my shopping guide website with a redirection after scan to my search engine.
I found a lot of things for mobile apps, but nothing working good for the desktop web browsers.
This flex component doesn't work on my apple display webcam : http://www.renaun.com/flex2/BarcodeReader/BarcodeReader.html and I really need a tool who works with many desktop cams. (like the mac app http://www.delicious-monster.com/)
Wich technology can I use for that or do you have a little script to do that?
Thank you for your feedbacks :)
Have a look on the following:
Flex barcode components
It may help.
Ive tried asking on the blackberry forums with no luck... Maybe there are some Blackberry/Adobe experts here...
Im just about to start a project using Adobe AIR/flex for the Blackberry Playbook, I have a few questions:
If I develop an application for the playbook, will the same application be able to run on a desktop? If so will there be any differences?
What is the difference between the desktop and mobile libraries? Can I only access a subset of the SDK on the mobile device compared to the desktop?
Can I create a playbook application that can call methods to a JAVA back end, located on my server?
Thanks
Phil
What’s different about developing a
mobile application versus a web or
desktop application? While many
existing Flex concepts and patterns
carry over directly to mobile
development, developers will need to
take into account the differences in
interaction patterns, screen real
estate, and performance
characteristics of mobile devices
compared to desktop computers. As a
result, we recommend using the new
mobile features in Flex to craft UIs
specific to mobile devices, while
sharing underlying model and data
access code with your desktop or web
application. Additionally, we
recommend certain best practices when
developing mobile applications with
Flex, such as using ActionScript and
FXG rather than MXML for creating item
renderers and skins.
Taken from http://labs.adobe.com/technologies/flex/mobile/faq.html#differences
As per my usual qualifying statement: I haven't tried this. Since this is of some interest to me and I've got a bit of free time I'll give making a hero app and running it as a desktop app versus as a mobile app a shot and post back here once I have it working or find a wall.
The runtime: Adobe AIR 2.5 on mobile
devices The initial versions of the
mobile development features in "Hero"
and "Burrito" are targeted at creating
standalone installed applications
using the Adobe AIR runtime for mobile
devices. By focusing on AIR, Flex can
take full advantage of the integration
AIR provides with each mobile
platform, such as the ability to
handle hardware back and menu buttons
and to access local storage.
Running on AIR Finally, it's important
to realize that in addition to all the
mobile Flex components listed above,
you can also directly take advantage
of all the APIs that are available in
AIR on mobile devices—geolocation,
accelerometer, camera integration, and
so forth. While some of these features
are not exposed as Flex components,
they are easy to access directly using
ActionScript. For more information on
developing using the APIs provided by
AIR on mobile devices, see AIR mobile
docs.
http://www.adobe.com/devnet/flex/articles/mobile_development_hero_burrito.html
Basically it's looking like the answer to all the questions is positive.
Yes and likely yes. (as they re-iterate throughout anything I've found on the topic the controls in Hero were made specifically for touch, taking into consideration the fat finger vs the mouse pointer, my guess is it will render slightly differently on the desktop and it's best to actually develop the UIs separately, although the web-services/model can be combined into a shared library/project)
You should have access to everything provided to the desktop (plus info from GPS/accelerometer etc., but obviously wouldn't get those on desktop), but don't have nearly as good a processor so what will work on the desktop may not on a lower performance computing device, but for low resource consumption tasks this shouldn't be a worry.
Yes this is a core feature of Flex, I don't see how it would be possible to make a (useful) RIA without web services. For confirmation on this one look no further than Adobe TV: http://tv.adobe.com/watch/adc-presents/flex-mobile-part-1-beginning-a-mobile-application/ <-- that app is using a web service (doesn't really matter to Flex what the underlying server technology is so long as it can make HTTP requests against it, RemoteObject/AMFService should serve your purpose)
If I develop an application for the
playbook, will the same application be
able to run on a desktop? If so will
there be any differences?
Depends. the Air file for both desktop and Playbook is exactly the same, however for Playbook development, RIM has provided an Air library so that Flex developers can take advantage of the hardware further than just the normal Air capabilities. With that said, if your application is dependent on that extra library, it will not work on desktop.
What is the difference between the
desktop and mobile libraries? Can I
only access a subset of the SDK on the
mobile device compared to the desktop?
Desktop and mobile libraries? Do you mean the Playbook Air Library or something else? See above for the latter. Comment on this if you can clarify.
Can I create a playbook application
that can call methods to a JAVA back
end, located on my server?
Yes, you can, as long as you have internet connectivity on the Playbook.