Voice recognition support in mobile air application developed using Flash CS5.5
I want to develop an android application via Flash CS5.5 which takes the command based on voice or convert voice in to text. Voice recognition support is available in android SDK but it is not available in latest Air SDK.
I tried on Google to find out how to develop Voice recognition mobile application in Flash CS5.5 but did not find anything. There is some example/video which shows hack around native android code but this is for Flex not for the Flash.
Waiting response?
Thanks
RTY
Hi Rty,
I think you should use a native extension.
Have a look at this link:
http://extensionsforair.com/extensions/speech-recognition/
Similar Messages
-
Hi,
Is there anyone would could provide me a link or a simple guide on how to convert an AIR application I developed for the desktop to an .apk file so I could test it on an Android device? Without using Adobe Flash Builder Burrito...Thx.Hi nerostealth
These link should be able to help you:
http://blog.omarfouad.com/?p=334
http://blog.omarfouad.com/?p=365
regards Mike -
AIR apps developed using HTML+Javascript
Hi…
I am working on Adobe AIR.
And now I have 3 options to develop AIR applications 1)Flex
2) Flash 3) HTML+javascript.
But can you please explain me when do I exactly use Flex Or
HTML+JS Or Flash.
One of the reason I know is Flex used for Rich UI
applications
Is there any list of requirements for which one of the 3
option is most suitable to use.
And I have some more questions.
1) Can AIR applications(developed using HTML+Js) invoke a web
service running on a different server
2) Can AIR application(developed using HTML+Js) detect the
connectivity of USB drive (I have developed 1 application that can
detect the Network connectivity and periodically reports the status
I want the same in case of USB(plug & play) connectivity)
3) I have one AIR application that has one HTML form on click
of button I am posting the form Data to Java Servlet using
“air.sendToURL()” as shown
<script src="AIRAliases.js" />
<script>
function sendURL()
var url = "
http://localhost:8080/InvokingServlet/Registration";
var variables = new air.URLVariables();
variables.username = document.f1.username.value;
variables.password = document.f1.password.value;
var request = new air.URLRequest(url);
request.data = variables;
air.sendToURL(request);
alert("Data has been added to Remote DB...");
</script>
The data goes to Servlet and then Servlet thru Jdbc
Connectivity adds the data to database “MySQL” database
named “user”
If I read the data from database and print in Servlet it
displays that to “tomcat server window(log)” But I want
the data from Servlet to send back to HTML page where I can display
it on the same HTML page where user entered his details. So even if
I put the result into some Scope like session or request, but Can I
read that it in HTML+Javascript page .
[email protected]quote:
Originally posted by:
pravinpatil23
But can you please explain me when do I exactly use Flex Or
HTML+JS Or Flash.
This question gets asked about once a week. You
can find my latest answer
here
and a little searching will dig up more opinions.
quote:
Can AIR applications(developed using HTML+Js) invoke a web
service running on a different server
An AIR application isn't hosted on a server, so all web
servers are "foreign" to your AIR application. An AIR app does get
downloaded from a server, most of the time, but it doesn't maintain
some kind of special connection to that server.
Because of this, there are no cross-domain restrictions in
AIR like you have in a regular web browser.
quote:
Can AIR application(developed using HTML+Js) detect the
connectivity of USB drive
AIR does not allow low-level system access, and has very
little in the way of platform-specific capabilities. So, you'd have
to use a high-level, platform-agnostic way of checking for the
drive, such as by looking around to see what files are available.
Things like USB insert notifications are way outside the scope of
AIR.
quote:
I want the data from Servlet to send back to HTML page where
I can display it on the same HTML page where user entered his
details.
That question isn't on-topic here. Ask on a forum dealing
with JSP servlets. -
Mobile Media Application Development
I have been given 24 hours to conduct some preliminary research on the potential of a company wide mobile wide application development project.
We are looking to synchronise pictures taken on our agents phones with the head office server.
We use a variety of different phones and manufacturers.
Ideally we need one application that we can install which will transfer all images on the phone over WAP to a service we will write.
Can anyone tell me if it is possible to write an application which will sit on any phone and if it is feasible for it to access the file system of the mobile to grab the images?
Any help on this would be appreciated.Hi h3gg3m,
It's certainly possible to take photo's from within an application and have them sent to a server. An example of an application that takes the photographs can be found here http://developers.sun.com/techtopics/mobility/midp/articles/picture/index.html and there are numerous other examples of apps that will send data via http to a webserver (I just found this on a quick search http://www.kablog.org/).
As for taking the photos outside of the application (i.e. using the phone's native camera app) and having the application then upload them, this will be device specific as it requires an optional package (JSR75 - PIM and FileConnection) to be present and you've also then got the problem of navigating to wherever the device stores it's photos (if they're available to the app) etc. I'm afraid that I've never used that particular API so I'm not speaking from experience.
In short, the option that would be compatible with the most devices, if it suits your requirements, is to go for an all in one application that takes the photo, stores it, and uploads it via. an http POST to a standard web form. The only potential problem with this solution is that without the optional JSR75 package (access to the native file system), all photos would be stored in Java's record store (RMS) which could be fairly small on some devices (I think the spec says 8k minimum).
Hope this helps, -
Right way to code an AIR application that uses sqllite database
I am developing an AIR application that uses sqllite database.I want to know the correct way in which I should create the connections and SQLstatements according to MVC pattern.For example,whether i should have a single SQLStatement object for all my sql operations or I should use separate objects for insert,delete,select etc.I know how to open connection,execute statements and all,but i want to know the professional way of writing it.
Make a controller for connect to db and save the connection in global varible (in model). Use this connection variable whenever u wanna execute the sql statements. Create seperate dao's for each table. Queries should be executed under the daos. You can call the method under the dao for execute the query from controller and show the result in view.
-
AIR Intrinsic Classes-Tried and Proven Approach to building AIR applications in the Flash CS3 IDE
Hi everyone,
For all of you out there who would like to develop AIR
applications
from the Flash CS3 IDE but aren't sure how to get those pesky
intrinsic
classes working, I have a technique that you can work with to
create
your classes and make fully functional AIR applications.
First of all, those solutions out there that list
"intrinsic" functions
in their class definitions won't work. That keyword has been
taken out
and simply won't work. The "native" keyword also doesn't work
because
Flash will reject it. The solution is to do dynamic name
resolution at
runtime to get all the classes you need.
Here's a sample class that returns references to the "File",
"FileStream", and "FileMode" classes:
package com.adobe{
import flash.utils.*;
import flash.display.*;
public class AIR extends MovieClip {
public static function get File():Class {
try {
var classRef:*=getDefinitionByName('flash.filesystem.File');
} catch (err:ReferenceError) {
return (null);
}//catch
return (classRef);
}//get File
public static function get FileMode():Class {
try {
var
classRef:*=getDefinitionByName('flash.filesystem.FileMode');
} catch (err:ReferenceError) {
return (null);
}//catch
return (classRef);
}//get FileMode
public static function get FileStream():Class {
try {
var
classRef:*=getDefinitionByName('flash.filesystem.FileStream');
} catch (err:ReferenceError) {
return (null);
}//catch
return (classRef);
}//get FileStream
}//AIR class
}//com.adobe package
I've defined the package as com.adobe but you can call it
whatever you
like. You do, however, need to import "flash.utils.*" because
this
package contains the "getDefinitionByName" method. Here I'm
also
extending the MovieClip class so that I can use the extending
class
(shown next) as the main Document class in the Flash IDE.
Again, this is
entirely up to you. If you have another type of class that
will extend
this one, you can have this one extend Sprite, Math, or
whatever else
you need (or nothing if it's all the same to you).
Now, in the extending class, the Document class of the FLA,
here's the
class that extends and uses it:
package {
import com.adobe.AIR;
public class airtest extends AIR{
public function airtest() {
var field:TextField=new TextField();
field.autoSize='left';
this.addChild(field);
field.text="Fileobject="+File;
}//constructor
}//airtest class
}//package
Here I'm just showing that the class actually exists but not
doing much
with it.
If you run this in the Flash IDE, the text field will show
"File
object=null". This is because in the IDE, there really is no
File
object, it only exists when the SWF is running within the
Integrated
Runtime. However, when you run the SWF as an AIR application
(using the
adl.exe utility that comes with the SDK, for example), the
text field
will now show: "File object=[object File]". Using this
reference, you
can use all of the File methods directly (have a look here
for all of
them:
http://livedocs.adobe.com/labs/flex/3/langref/flash/filesystem/File.html).
For example, you can call:
var appResource:File=File.applicationResourceDirectory;
This particular method is static so you don't need an
instance. If you
do (such as when Flash tells you the property isn't static),
simply
create an instance like this:
var fileInstace:File=new File();
fileInstance.someMethod('abc'); //just an example...read the
reference
for actual function calls
Because the getter function in the AIR class returns a Class
reference,
it allows you to perform all of these actions directly as
though the
File class is part of the built in class structure (which in
the
runtime, it is!).
Using this technique, you can create references to literally
*ALL* of
the AIR classes and use them to build your AIR application.
The beauty
of this technique is its brevity. When you define the class
reference,
all of the methods and properties are automatically
associated with it
so you don't need reams of code to define each and every
item.
There's a bit more that can be done with this AIR class to
make it
friendlier and I'll be extending mine until all the AIR
classes are
available. If anyone's interested, feel free to drop me a
line or drop
by my site at
http://www.baynewmedia.com
where I'll be posting the
completed class. I may also make it into a component if
there's enough
interest. To all of you who knew all this already, I hope I
didn't waste
your time.
Happy coding,
PatrickWow, you're right. The content simply doesn't show up at all.
No
JavaScript or HTML parsing errors, apparently. But no IE7
content.
I'll definitely have to look into that. In the meantime, try
FireFox :)
I'm trying to develop a panel to output AIR applications from
within the
Flash IDE. GSkinner has one but I haven't been able to get it
to work
successfully. Mine has exported an AIR app already so that's
a step in
the right direction but JSFL is a tricky beast, especially
when trying
to integrate it using MMExecute strings.
But, if you can, create AIR applications by hand. I haven't
yet seen an
application that allows you to change every single option
like you can
when you update the application.xml file yourself. Also, it's
a great
fallback skill to have.
Let me know if you need some assistance with AIR exports.
Once you've
done it a couple of times, it becomes pretty straightforward.
Patrick
GWD wrote:
> P.S. I've clicked on your link a few times over the last
couple of days to
> check it out but all I get is a black page with a BNM
flash header and no way
> to navigate to any content. Using IE7 if that's any
help.
>
>
>
http://www.baynewmedia.com
Faster, easier, better...ActionScript development taken to
new heights.
Download the BNMAPI today. You'll wonder how you ever did
without it!
Available for ActionScript 2.0/3.0. -
Application developed using JDK1.2.2 not working with JRE1.3
I am supporting and application developed using JDK1.2.2, it uses JDBC drivers from oracle(classes12.zip) to connect to an Oracle 8i database. This application is not working with JRE1.3. Can someone suggest any possible methods to make it work with JRE1.3?
Thanks in advance,
Anoop.well, Now the problem is partly solved. I was having problems in displaying a frame(derived from JInternalFrame), later I discovered that for JRE1.3, I have to explicitly set the setVisible option to true.
I have a few more frames to correct. I hope after that it wil be alright..
Thanks for the quick response.
Anoop. -
IE11 compatibility of application developed using webdynpro java in NWDS7.01.12
Hi,
I have a webdynpro java application developed using NWDS 7.01.12 with jdk1.4. This portal application is not working when accessed using IE11 browser. The action on buttons and selection from a drop down list in this application is not responding in IE11. Its working well with mozila fire fox vrs 31. On click of action the following error is encountered:
SCRIPT438: Object doesn't support property or method 'attachEvent'
File: sapUrMapi_ie6.js, Line: 683, Column: 7
which points to the below piece of code:
function sapUrMapi_initLinkStatus() {
var oNodes = document.getElementsByTagName("A");
for (var n=0;n<oNodes.length;n++) {
if (oNodes[n].href.indexOf("javascript:void")>-1) {
oNodes[n].attachEvent("onmouseover",sapUrMapi_resetStatus);
oNodes[n].attachEvent("onfocus",sapUrMapi_resetStatus);
Also on selection from the combo box the below error is displayed.
SCRIPT438: Object doesn't support property or method 'createEventObject'
File: sapUrMapi_ie6.js, Line: 2193, Column: 2
Code:
oComboBoxSCEvent = document.createEventObject( oEvt);
The above mentioned errors are being pointed to sapUrMapi_ie6.js file.
Is there any solution to over come these issues other than setting "user agent string" value in the browser?
Can this be resolved with any changes in the application or is there any SAP provided solution?
Please help me to resolve this issue.
Similar issues are also pointed to popup_ie6.js files at "window.attachEvent("onload",sapPopup_init)" and
"window.document.attachEvent("onmousemove",resetMouseOver)".
Thankyou.Hi Karthika,
It is mentioned in Ervin's famous doc, that NWDS version must match that of RunTime System.
NWDI vs. NWDI content
I thought the NWDS must be updated via update sites, but surprisingly I could find the patch in service market place.
I do not know how to get the download link directly for you.
Perhaps you can spare a few seconds and navigate to
http://service.sap.com/swdc
Support Packages and Patches
A-Z Index
N
SAP NetWeaver
EHP1 for NetWeaver 7.0
Entry by Comopnent
Developer Studio
BR, Tom -
How to create a popup window to load HTML page in AIR application without using any mx or spark components?
I need to load the HTML page in popup in AIR application without using any of the <mx> or <spark> components. I need to open in the application itself not in the browser.(If we use navigateToURL() it will open in th browser)Can we achieve this? can somebody help me on this scenario..
-
Deploying applications developed using Jdeveloper in IBM Web Sphere
Hi
I want to deploy the applications developed using jdeveloper on IBM Web Sphere. Pl suggest me the procedure
Thanks
SatyaRefer
Websphere 5.1 and ADF/UIX
Websphere 5.1 and ADF/UIX -
Deployment of JSP application developed using Jdeveloper
Is it Possible to deploy/implement JSP Application developed using Jdeveloper and its Application Module, View object etc. , without using an Application Server, such has hosting at the ISP servers, but having Oracle as the back end ?
Either you or your ISP will have to have a java enabled application server.
-
Enterprise Application Development Using Oracle NoSQL Database
Hi,
I am following the below link given by Re Lai, to develop the Kvitter application using NoSQL database. But there is no link to sample code in the given below blog.
Application Development Using Oracle NoSQL Database
Please help me with the link for the Kvitter Application Code.
Thank you.
Regards
Anvesh RajuHi Anvesh
Here is the direct link to source code of the above sample program. The link is also posted under Demo/Sample Programs section.
HTH
Anuj -
Using Air 2.6 with Flash CS5
hey there all,
here is what i am doing so far to use Air 2.6 with Flash CS5. i counts seem to find any help online with this, hope this helps someone...
Setting Up Flash CS5
1. replace Program FIles\Adobe\Adobe Flash CS5\Common\Configuration\ActionScript 3.0\AIR2.0\airglobal.swc with the airglobal.swc in the AdobeAIRSDK\frameworks\libs\air folder of the AIR 2.6 SDK zip file (AdobeAIRSDK.zip)
This lets you compile with the new SDK and use all the new API for camera roll, microphone, etc.
2. replace Program Files\Adobe\Adobe Flash CS5\AIK2.0 with the AdobeAIRSDK folder in the zip file (AdobeAIRSDK.zip) you downloaded from Adobe.
now you can do a test movie in Flash CS5 and it will use the new ADL for testing in Flash (finally works with landscape!).
Publishing
for publishing, unfortunately you cant use the built-in publish for iOS. i wrote this batch file and use it (also you can write an ant task if you use FDT/Flash Builder). This is for windows 64bit...
"C:\Program Files (x86)\Java\jre6\bin\java" -jar C:\AdobeAIRSDK\lib\adt.jar -package -target ipa-ad-hoc -storetype pkcs12 -keystore [KEYFILE].p12 -storepass [KEY PASSWORD] -provisioning-profile [MOBILE PROVISION FILE].mobileprovision [IPA NAME].ipa [XML FILE NAME].xml [SWF FILE NAME].swf Icon_29.png Icon_48.png Icon_57.png Icon_72.png Icon_512.png Default-Landscape.png Default-Portrait.png Default-PortraitUpsideDown.png Default-PortraitLandscapeLeft.png Default-PortraitLandscapeRight.png
i have a 64bit system so i had to specify the 32 bit JRE and use the ADT jar for packaging. now i just double-click the batch file and it compiles for iOS.
Adjusting the app.xml File
the yourapp-app.xml file needs some tweaks from the CS5 packager to work in 2.6:
1. namespace has to change from
<application xmlns="http://ns.adobe.com/air/application/2.0">
to
<application xmlns="http://ns.adobe.com/air/application/2.6">
2. the version node needs to be renamed versionNumber
from
<version>.5.572<</version>
to
<versionNumber>0.5.572</versionNumber>
notice you need to include the leading zero if you arent using a whole number version
ok, thats what i have so far, hope this helps...hey there all, for those on Windows,
here is a compile script i put together for iOS using AIR 2.6. Copy and past this into a file named "compile ios.wsf". All you have to do is double-click and it will compile and paclage your app.
the script assumes you have a versionNumber like: 0.4.123 it takes and incrememnts the build number (the last 3 numbers only) by one. i will imrpove this later.
<?xml version="1.0" ?>
<job>
<script language="JScript">
This file assumes you are using a 3-segment version system.
It is not very inteligent, it just increments the last set of numbers in the
versionNumber in the XML file by 1. !!be aware that it is not yet smart enough
to update the second number!!
// these properties change depending on your project
var XML_FILE = "YourApp-app.xml";
var SWF_FILE = "YourApp.swf";
var IPA_FILE = "YourApp.ipa";
var TARGET = "ipa-ad-hoc";
var KEY_FILE = "dist.p12";
var KEY_PASSWORD = "PASSWORD";
var PROVISIONING_PROFILE = "YourApp.mobileprovision";
var ICONS = "Icon_29.png Icon_48.png Icon_57.png Icon_72.png Icon_512.png";
var SPLASH_SCREENS = "Default-Landscape.png Default-Portrait.png Default-PortraitUpsideDown.png Default-PortraitLandscapeLeft.png Default-PortraitLandscapeRight.png";
// the location of your JRE/JDK and Air SDK files
var JRE_BIN = "C:\\Progra~2\\Java\\jre6\\bin\\java";
var ADT_JAR = "C:\\AdobeAIRSDK\\lib\\adt.jar";
// this stuff shouldnt need to change
var objXML = new ActiveXObject( "Microsoft.XMLDOM" );
objXML.async = false;
objXML.load(XML_FILE);
var root = objXML.documentElement;
var versionNumberNode = root.selectSingleNode("versionNumber");
var versionNumberArray = versionNumberNode.text.split(".");
var buildNumber = parseInt(versionNumberArray[2]) + 1;
versionNumberNode.text = versionNumberArray[0] + "." + versionNumberArray[1] + "." + buildNumber;
objXML.save(XML_FILE);
var cShell = WScript.CreateObject("WScript.Shell");
var compileCommand = '"' + cShell.CurrentDirectory + '\\compile ios.bat"';
compileCommand = JRE_BIN + " -jar " + ADT_JAR + " -package -target " + TARGET + " -storetype pkcs12 -keystore " + KEY_FILE + " -storepass " + KEY_PASSWORD + " -provisioning-profile " + PROVISIONING_PROFILE + " " + IPA_FILE + " " + XML_FILE + " " + SWF_FILE + " " + ICONS + " " + SPLASH_SCREENS;
//WScript.Echo(compileCommand);
var runVal = cShell.run(compileCommand, 1, true);
</script>
</job>
i will see if there's time to do a shell script of OSX and an ANT script for Eclipse... -
Ok, how do I target Air 2.5 from Flash CS5?
How do I target Air 2.5 from Flash CS5?
I'd kill to have the enhanced css support...
Thanks!
-TedYou can post this on Flash's forum. You should get a good answer from there.
As I understand, there should be an update in MAX. Not sure how the update will get released. -
How do I target Air 2.5 from Flash CS5?
Ok, how do I target Air 2.5 from Flash CS5?
I'd kill to have the enhanced css support right now...
Thanks!
-Tedok, so i found the answer to my own question, for the moment gor here for the extension to do 2.5 in cs5:
http://labs.adobe.com/technologies/flashpro_extensionforair/
Maybe you are looking for
-
How do I connect to Airport express with my iMac?
I am trying to connect my iMac to my Airport Express.
-
Oracle Service Bus Installation
Greetings. We are migrating an Oracle Service Bus infrastructure to a new Hardware Infrastructure in a High Availability environment with two nodes, in the current environment there is one node. There isn't a hardware load balancer in the new infrast
-
Request in steps in deleting all the tables data in an user schema.
Hi Gurus, Could some one please provide me the steps involved in deleting all the tables data in an user(schema) thanks in advance
-
Why is the wi-fi so slow??
Why is the wi-fi so slow on the time capsule??? Brand new bought last week? help? running about 13 devices on more than one network. Help please..
-
CFGFWK-60814 ERROR: Installing Oracle SOA Suite 11gR1
Hello, I am new to Oracle SOA Suite and followed the instructions as per http://www.installationwiki.org/Installing_Oracle_SOA_Suite_11gR1 to install the same. Installing WLS, configuring schema, and installing SOA was successful; however, when I tri