Need guidance in developing AIR Application based on flex 4.0.0.10396 sdk beta.
Hi Friends,
I need to develop a desktop mail client for web based RIA developed in extjs. The air application has to communicate with a flex application hidden inside the web app and get the SMTP Details and send mail using the socket connection.
Till date i have found few plugins and i am testing out each one of them.
1) byteArray SmtpMailer for socket mailing which has login authentication, attachment support.
2) suiggly with halo rich text editor for spell check enabled mail composer.
3) flash network localConnection for communication between web flex hidden inside extjs ria app and air app, The flex application and extjs application communicate using FABridge.js.
4) updateFramework for frequently updating the air app with new features.
Drawbacks i face:
1) ByteArray SmtpMailer works fine but i am unable to find a plugin for SSL encryption support which is required for connecting with gmail SMTP server.
2) The flex web application size grows upto 1.8MB(approx) with all SDK librarys which are part of 4.0.0.10396 SDK, which is thrice as big as the extjs RIA app.
3) The updateFramework for updating a air application throws errors, which is diffcult to troubleshoot or understand by novice like me.
Ok, just figured this out. The cert I created was somehow malformed. I simply created a new one with the Flash IDE which worked fine. Any other method of creating the cert that I tried failed, including the keytool command line utility.
Similar Messages
-
Need guidance to develop the Universe & Reports
Hi Friends,
I am new to Business Object and given with the assignment of migrating the existing Oracle On Demand reports to Business Objects.
I am provided with the sample reports and there query and asked to develop Universe and subsequent reports based on it as its present in Oracle On Demand. There is no relationship document for the data source, probably based on the query need to identify the relationships among the tables and develop the universe and on top of it the reports needs to be developed.
I require guidance from the experts out there what steps I need to start with to execute this assignment successfully. What should be the question to the report end user to understand there requirement where to start with Universe development or any other the things which helps me to execute this in right path.
Please share your best practices and knowledge.
ThanksHi Arian,
Please find the below documents for your help.
Best Practices while creating a Universe.
Official Product Tutorials – SAP BusinessObjects Information Design Tool
For more help...
Official Product Tutorials – SAP BI Suite
Official Product Tutorials – SAP BusinessObjects Web Intelligence
http://help.sap.com/businessobject/product_guides/boexir4/en/xi4_bip_admin_en.pdf
Hope it helps!
Thanks,
Shardendu -
Need help in developing mobile application?
Hi all,
I am learning how to develop mobile applications in Jdeveloper environment. I have been searching a lot in google but unable to come to a conclusion on the way in which I could get this.
Kindly post some links where I can get some documents on this and I need to develop a mobile application which should be able to render in almost all the mobile platfoms so far I have gone through
the links where the applications can be rendered only in some selected mobiles like blackberry. so Kindly help me in searching for the best possible options.
Thanks,
Phanindra.Hi,
Check following will useful
http://www.oracle.com/technetwork/developer-tools/adf/overview/adf-mobile-096323.html
http://st-curriculum.oracle.com/obe/jdev/obe11jdev/ps1/mobile/mobile.htm -
Developing AIR application using actionscript only
How to create an AIR application using only actionscript(without mxml)?
There are many ways to do this. As long as you can compile the Actionscript code to a SWF file, you can then package it into an AIR file.
If you ask how to do this in Flex Builder, at least in 4.0, when you create a desktop app. project. In the last dialog, there is a row says
main application file, change the default file extension .mxml to .as, then FB automatically create the project with an actionscript package.
Then you can start to code in actionscript without using Flex.
Hope this answers your question.
-ted -
Install error in Air application created in Flex builder
Hi all,
When I export the release version of an AIR project, and
attempt to
run the resulting AIR file, I get the error "The application
could not
be installed because the AIR file is damaged. Try obtaining a
new AIR
file from the publisher." This happens every time, with every
project.
I even created a new project, and tried exporting that
project without
adding any of my own code to it and still the same error. The
export
process does not generate any errors.
I ' ve adobe cs3 and Flash Player 10. Adobe flex_sdk_3 and
airsdk also installed.But .air file was can't install
Thanks in Advance,hello tzeng,
The air file was created by using Flex Builder 3 .One xml
file and mxml file were used. The project export release the .air
file (installer package ). When i install the .air file that error
has occured.
Thanks for reply, -
Error in air application created by flex builder
Hi all,
When I export the release version of an AIR project, and
attempt to
run the resulting AIR file, I get the error "The application
could not
be installed because the AIR file is damaged. Try obtaining a
new AIR
file from the publisher." This happens every time, with every
project.
I even created a new project, and tried exporting that
project without
adding any of my own code to it and still the same error. The
export
process does not generate any errors.
I ' ve adobe cs3 and Flash Player 10. Adobe flex_sdk_3 and
airsdk also installed.But .air file was can't install
Thanks in advance,hello tzeng,
The air file was created by using Flex Builder 3 .One xml
file and mxml file were used. The project export release the .air
file (installer package ). When i install the .air file that error
has occured.
Thanks for reply, -
Error when trying to install any air application from my flex builder project
I have a serious problem, I am unable to install any exported air file created in my AppTest project. I just keep getting an error saying: "Sorry, an error has occurred. The application could not be installed because the AIR file is damaged. Try obtaining a new AIR file from the application author."
I am using FlexBuilder 3 to build and export my app release build. If anyone can help me I would greatly appreciate it.
AdamI'd try un-then-reinstalling and making sure any overlay that you're applying (update of SDKs, etc.) are done correctly.
-
Help me out in developing LC application
I am beginner to this technology , and It will be great if somebody can drive me on how to complete a livecycle application.
I have read much about this LC and, I know, we have LC Designer or LC Workebench designer perspective to design our forms and process perspective to create workflow.
I have LC installed in my machine and now, i would like to develop an application based on the below use case.Kindly help me out to reach this objective.
Summary of Use case:
An employee fills up (online or offline whichever is suitable for him/her) and sends an Expense Reimbursement Form to his/her Head of Department (HOD) for approval. Employee can also use Adobe Livecycle Workspace to fill up the said form. HOD has rights to approve or reject the said form. In case of rejection, employee will be notified through email. If HOD approves the form, it then redirects to Accounts Department for reimbursement. After the operations of Accounts Department like valuation of expense etc., the form then redirects to Administration Department for further processing like cheque no. entry etc. Finally, employee will be notified through email to collect his/her cheque from concerned department.
Looking forward for valuable suggestions and guidance on how to develop this application(a kind of step by step walkthrough).
Thanks,
Vinod Chattergee.SThere is an end-to-end tutorial that is available at http://www.adobe.com/go/learn_lc_firstApplication_82 that steps you through creating an application. The scenario in the tutorial shows you how to create a form design and a process where users interact with it in Workspace ES. You will also need to download the assets require to step through the tutorial located at http://www.adobe.com/go/learn_lc_firstApplicationZip_82. Go to the provided URLs to get the most updated versions.or
To start this tutorial, it is recommended that you install a JBoss Turnkey installation of LiveCycle ES Update1 (server) and Workbench ES. I presume you have done this, but if you require more information, please let me know and I'll provide more information.
Hope that helps!
...Gil -
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. -
Adobe Air Application only works using Super Administrator account on Windows XP
Good day
i really need some help. I developed air application that uses remote service, sql lite etc. It is working on my computer WIndows XP sp2. To test, i even created a guest account and it works fine. But when i deployed it to our client, the application doest work. Only the login page appears. I ask the it personnel there and ask if there are any restriction on the account of the user and said there is none because they are using Domain account. But when the super administrator is logged in, it works
Your help will greatly apprciatedYour help me, I iwill greatly apprciated
HELP MALAYSIA
Date: Thu, 21 Oct 2010 20:54:19 -0600
From: [email protected]
To: [email protected]
Subject: Adobe Air Application only works using Super Administrator account on Windows XP
Good day
i really need some help. I developed air application that uses remote service, sql lite etc. It is working on my computer WIndows XP sp2. To test, i even created a guest account and it works fine. But when i deployed it to our client, the application doest work. Only the login page appears. I ask the it personnel there and ask if there are any restriction on the account of the user and said there is none because they are using Domain account. But when the super administrator is logged in, it works
Your help will greatly apprciated
> -
AIR application installation error (Windows)
Hi,
We’ve bumped into troubles while developing AIR
application. The problem is in installation AIR application under
Windows by a user without administrator privileges. When installing
application user selects installation folder he has permission to
write to. And after installation begins it ends with error #0: Some
error occurred...
In the installation troubleshooting it is written that
installation of AIR application *may* require administrator
privileges when installing to a location user has no rights to
write to but we do.
Is there any way to install AIR application by an
unprivileged user?My understanding is you can do elevated installation on
Vista, but not on XP.
-ted -
Hi
I would like to develop AIR application that will work in KIOSK mode.
I have to use Native methods, so application will be released as Native Installer (.exe file).
Problem begins with updating application.
Imagine I have 20 kiosk running in low privileged rights /security reasons/.
I would like to update my application, so I have new .exe installation file.
But instalation requires admin right on machine with kiosk mode.
So I can't update it automaticly.
Does anyone know how to solve this issue?
Many thanks.Hello Chris,
Thanks for a reply but it was not about update mechanism.
I am using http://code.google.com/p/nativeapplicationupdater/ which works like a charm.
But when the downloaded update file runs there is an installer.
The (adobe air) installer requires permissions + OS admin rights + user agree to replace the old version.
[so there are 2 popups I don't want]
Is there any way to make it automaticly / silent way ?
Maybe some coniguration in Windows / Adobe AIR runtime ? -
Auto launch of Air application
We are using Adobe Air as the UI front end to headless
application. We need to install the Air application but not have it
launch immediately. Is this possible?There is a button to check for not launching it automatically
when you install it. -
CS4 or FLEX Builder for AIR Application?
Hello,
I have installed CS4 and Flex builder 3. I would like to develop some desktop applications, which is the best editor to develop AIR application?
Thank youI faced a similar choice recently: Flash or Flex for developing CS4 panels.
John Nack advised me to use Flex Builder. He was right. For a desktop AIR application or something like CS4 panels, the Flex Builder IDE is more powerful and helpful. If you're a developer familiar with other programming tool IDEs, like Microsoft Visual Studio, various Java IDEs, etc. then you will find the Flx Builder IDE to be more intuitive.
Flash is a good choice for developing animated SWF panels that are driving things like Flash movies. If you use Flash, you'll have to deal with the Timeline. With Flex Builder, you don't.
They both provide access to Action Script. But they expose functionality differently. Also, Flex Builder provides some data visualization tools, etc. that are not part of Flash.
Mitch -
Hi all,
I have an AIR application built from flex components; I want
it so that when I run the AIR application, it starts in the center
of the user's screen. Do I do this in xxx-app.xml, or in the main
Application window that starts up? Could someone show me how to do
either of these? Thanks!You would need to do this in the applicationComplete event
handler for the WindowedApplication.
You can use the Screen class to get the dimensions of the
screen and use those to compute the x and y for the window.
private function center():void{
this.nativeWindow.x = (Screen.mainScreen.bounds.width -
this.nativeWindow.width)/2;
this.nativeWindow.y = (Screen.mainScreen.bounds.height -
this.nativeWindow.height)/2;
Maybe you are looking for
-
How to create pop-up window to search for items
Hi, I want to create a pop-up window were the user will be able to search for an item and select it. How can I use a pop-up window in a portlet? Is there any api in the pdk for creating pop-up windows? Thanks
-
Problem connecting Macbook to HP w19 display
Does anyone know a way to get my new Macbook to display on my old HP w19 19-inch widescreen LCD printer? I can only find Windows drivers. When I plug the monitor in, I get "Attention: Input Not Supported" message on the HP display. I've tried all the
-
Query security settings for users
Hi again. I'm looking for a way of querying security settings for a user. ie I understand that company/division etc security is implemented through responsibilities. In which case, is there a way to retrieve those exclusions per user? (eg User 1 cant
-
Hi i am using primiere pro cc, i want to connect my sony led tv as a reference monitor,can u tell me how to connect this?plzzz urgent requirement.............
-
Downloading Hardware & Software After Installing Microsoft 7
Hello! A virus attacked my OS, so I wiped the old one (Microsoft 7 Home Premium) and installed Microsoft 7 Ultimate (64-Bit). After this, I had no drivers, hardware, software, nothing for the wireless connection, it's all gone. If possible I'd like t