AIR 3.0 Application Built in HTML/Javascript VERY SLOW on Windows 7 and XP
Hello AIR Team,
The commercial AIR application I'm developing for a client (using HTML/CSS/Javascript) is VERY SLOW on my Windows 7 (64 bit) and Windows XP machines running on the Adobe AIR 3.0 runtime. I notice the poor performance in all aspects of the application, but especially on mouse events (mouseover, mouseout, click).
However, it runs very well on my Mac OS X 10.6.8 test machine AND from within Dreamweaver CS5.5 on my Windows 7 machine.
Chris Campbell from Adobe posted in another topic on this forum that he has notified the Adobe Webkit Team about this issue, but I'm anxious to know WHEN the Adobe AIR Team will release an AIR update/patch to resolve these performance issues.
Any ETA on the update/patch?
~Oscar
This performance issue is tracked in adobe bugbase: https://bugbase.adobe.com/index.cfm?event=bug&id=2958614
It is appreciated that anyone affected by this issue could leave vote notes about how the fix is important for you and your business.
Thanks,
Jian
Adobe Flash Runtime team
Similar Messages
-
Hi,
We have an application built using HTMl 5 and Javascript running on IPad2, iOS5.1 Safari 5.1.
When a file url is clicked instead of asking for Save or Open or Cancel options, the file gets opened on IPad by default.
Is this default behaviour which cannot be changed or can it be configured to ask user preference?
When we try to download a file(.pvw file -> a model file) in the above application, safari throws "Download failed" error.
Please suggest what needs to be done.
Regards,
PramodSafari on an iPad in general does not allow downloading of files. That's a safety precaution in the iOS SDK to keep unauthorized content off of iOS devices. Safari will open from the web site file types that it can handle, but direct downloading isn't normal behavior, and I don't believe the behavior can be changed, though you can try asking in the developer forum, either here or the one to which you have access as a member of Apple's iOS developer program.
Regards. -
AIR HTML/JavaScript becomes Slower / Sleep with time
Hi,
This strange behavior is observed on the 2 applications I tryed.
I've developped WikiDrop (http://wikidrop.encausse.net) a really basic TextEditor for DropBox.
- Build with Air 2.6
- Use HTML/JS API
- Used on Windows Vista
The application is launch for a long time waiting on a given computer.
Strange Behaviors:
- After couple of hours, displaying the main window seems to "wake up" webkit like if it was sleeping. It hang a little bit, or si slow.
- When editig few lines of text the TextArea seems to be "slow" it's not fluid like it could be on Chrome.
=> I do not setup complexe event handler.
=> I do not have listener or keystroke on TextArea.
Question:
- Is there known memory leaks with HTML/JS API ?
- Is there a Sleep/WakeUp mechanism on Adobe AIR ?
- Is there setup/parameters to improve performances ?
- Is there known issues about TextArea ? And workaround ?
- May be conflicting application ? (I know Vista is bad)
I've seens on this forum question about edition on large text file or many images but my use is really basic: only few lines of text. I got the same kind of issues with a little chat application. Text type in textarea for chat was sooo slow.
Best Regards,
JpHi,
Thank you for reporting this. The internal bug number for the issue is #2740755. The issue is currently under review and will be investigated by one of AIR team members.
Regards,
Catalin -
HTML-DB OAE Javascript to close current window and open a new window
Hi everybody,
We work with 1.6.
What we want is to close the current window and open a new window with the URL mentionned in the window.open('http://www.cf.qc/pls/portal/PORTAL.....,'newwindow').
The new window opening fires only once although we call it many times.
Our javascript is:
function closeTest()
{ alert('closeTest');
if('&REQUEST.'=='QUITTER2'){
w = window.self;
w.opener = w;
w.close();
window.open('http://www.cf.qc/pls/portal/PORTAL.home','newwindow','toolbar=yes,location=yes,directories=yes,status=yes,menubar=yes,scrollbars=yes,resizable=yes');
We call it on our application attributes :
OnLoad="closeTest()"
Thanks. Bye.Try this on for size:
I have included two functions.
windowRebuild() - opens a new window, maximizes it based on the screen size, removes all toolbars, and then closes the old window.
myLocation(appName, pageName) - builds a url referencing an HTMLDB application, specfic to what server you are currently on. Very useful when you have an application on 3 different servers(dev, test, prod servers), you wouldn't want the server name hardcoded if you plan to export the app to another server.
Also, you need to be careful when using &APP_ID. I am not completely certain how that is resolved at runtime, but I've found it only works when the javascript is in the HTML Header of a page and not stored in the template of the page.
<script language="JavaScript1.1" type="text/javascript">
This functions is for internal application use.
Examples of myLocation:
url = myLocation('&APP_ID.', 'APP_PUBLIC_PAGE');
url = myLocation('MY_APP_ALIAS', 'MY_PAGE_ALIAS');
url = myLocation('184', '10');
function myLocation(myApp, myPage){
var myHost = location.host;
var newURL;
newURL = 'http://'+myHost+'/pls/htmldb/f?p='+myApp.toString()+':'+myPage.toString();
return newURL;
/* Function windowRebuild()
* This function will open a new window and close the old window.
* This function will also maximize the new window and remove all toolbars.
function windowRebuild(){
if(window.name != 'myAppWin'){
var url = myLocation('&APP_ID.', 'PAGE_ALIAS');
var myWin = window.open(url,'myAppWin','toolbar=0,scrollbars=1,menubar=0,status=1,resizable=1,location=0');
window.opener = 'x';
window.close();
if(window.name == 'myAppWin'){
window.moveTo(0,0);
window.resizeTo(screen.availWidth,screen.availHeight);
</script>Let me know if that works or you need some more explanation.
Chris -
Javascript to open popup window and disable parent window
Hello,
Can anyone please help me the javascript issue.
I have a button which opens up a pop window and when this popup window is opened i want to disable the parent window and enable it when i close the popup window.
can anyone please help me with a possible approach.
Thanks,
Orton
Edited by: orton607 on Aug 25, 2010 2:19 PMjari,
I have a problem with this modal window approach and I have noticed. The thing is I am able to open up a popup window which is a simple data entry form. In this form i have the button Create which calls a javascript function and then an pl/sql insert process.
Below is the javascript function for the button create
function createNew()
doSubmit('CREATE');
alert('Successfully inserted the record. Click OK to close popup window and to \n view details of the new inserted record please select the table on parent window.');
window.close();//close the popup window
window.opener.doSubmit('REFRESH');
//call doSubmit function on the parent window to cause the page to refresh.
}The problem, i have is when i open up a popup window in this window when I click on the create button, its again opening up a new empty window. i don't understand what might be the problem.
can you please help me out with this one.
thanks,
orton
Edited by: orton607 on Aug 25, 2010 4:19 PM -
I have been using a 2012 Mac pro to do HD video editing. I bought a new portable Macbook Air only to find that Maverick no longer has "open files in a new window" which I use all the time in the very large folders of video clips and royalty-free music. I asked at the Apple Store how I could get this back on the Macbook Air and they said it couldn't be done so I thought I would re-format the HD and install 10.7 on it and was notified by the Macbook Air I can't put 10.7 on that computer. Apple use to give this as an option but now they have gone more to the attitude of "Do it our way or go to ****!" In anger I went out and bought a Dell Laptop and Pinnacle Studio 17 which I have been learning to use. I have been an Apple/Mac user since 1979 and would still rather do my video editing on a Mac. Is there any way that I can force the Macbook Air to let me load in OSX 10.7 where there is still the option to "open files in a new window" or is there a way to add this to Maverick? The experts at the Madison, WI Couldn't give me any help on this.
Choose Preferences from the Finder menu, click on the General tab, and uncheck the box to open folders in a new tab.
(117195) -
Oracle 9i - my application report writer performing reports very slow..
Hi,
To tune the performance, where to find the pfile? location?
What kind of tuning should be done & how?
Please advice...
rgd
frzHi,
Use the Documentation forum to report broken links or general feedback about Oracle documentation.
For better/faster response, please post your question in the Database forum.
Database
http://forums.oracle.com/forums/category.jspa?categoryID=18
Regards,
Hussein -
Kapsel Fiori Client (FC): self-built iOS FC shows very slow UI performance
Hi Experts,
I have used KapselSDK to build our own FC using:
SMP3.0 KapselSDK SP07_PL00
Cordova 3.6.3
Xcode 6.2
OS X 10.10.2 Yosemite
Enterprise distribution certificate for deplyment
.ipa for iPhone4S, 5 (tested)
ipd also inside Airwatch (tested)
App config:
SMP proxy is not used.
The issue:
We use FC to launch the Fiori Launchpad where there are some Fiori apps. The problem is that after type usr pwd, it took very long time to see the Launchpad UI. Tried the standard FC from Apple Store, and it worked very fast.
Does anyone have any idea? I see some info about the slow UI performance for Android devices which can be solved using crosswalk, but my understanding is that crosswalk is not for iOS.
Thanks.
DongHave you tired testing the same URL through Mobile Safari to see if it is slow also?
We have had reports of slowness on iOS and we are researching. The details are iOS uses HTTP pipelining when the connection is slow. This means iOS bundles several requests (2-3 to our observations) together but the ICM does only response to one of them and ignores the others. After a timeout of about 1 minute (transparent to the FLP) the Safari automatically repeats the ignored requests. It may happen that this happens a second time, but not a third time – then the requests are not repeated anymore. Seems to happen in Mobile Safari Browser more often than Fiori Client and doesn't happen in Mobile Chrome on same device.
Thanks,
Kevin Bates
SAP AGS -
Planning application url is always opened in the same window?
hi all,
we hava a problem about sts's planning application url.
no matter what url is entered,all the planning application url is always opened in the same window.and the old opened url is covered by the new url.
Is there any solution about this? Can this url be opened in seprate window?
Thank you!
Best Regards,
maHello
I would like to know one thing before answring the question how did you link with an url with the label based menu.
Did you used the opendocument syntax or what did you used.
Another method is why donf you use the URL button and map according to your requirement. place the url button on the menu item and change the properties to tranperancy to 0%.
Thanks
Santhosh V
Edited by: Santhosh Vudarla on Nov 19, 2010 12:05 PM -
Macbook air mid 2009 very slow
Hello,
I recently bought a Macbook Aid mid 2009 with 2 GB ram, 120GB Sata and 1.86GHZ Core2Duo.
I'm running on OS X 10.9.3 since I bought it.
The laptop is loading very slow many times and I noticed 'kerner_task' taking alot of CPU and RAM.
I'm wondering if my laptop is not good enough for OS X 10.9.3 (this is my first Mac).
Ia there anything I can do?
Thank youYours is the first computer I've heard about on these forums that is attempting to run Mavericks with only 2GB of RAM.
Indeed that is acceptable per the Mavericks requirements:
http://support.apple.com/kb/HT5842
... but as you may know, Apple has not sold computers with as little as 2GB RAM for quite a while.
I suggest therefore you make sure you remove any applications that may be overtaxing your machine. Examples are browsers other than Safari, Mac cleaning products (such as Mac Keeper), or any other non-Apple app that has some startup process running (such as Outlook). -
How can I run a .bat file from an html/javascript adobe air installation package?
I write an html/javascript code which works completely true
but when I made the installation package by air-sdk
it dosent work properly
my code is:
<html>
<head>
<title>Hello World</title>
<script type="text/javascript">
function appLoad() {
air.trace("Hello World");
</script>
</head>
<body onLoad="appLoad()">
<h1>Hello World</h1>
<br />
<button onclick="window.open('file:///C:/Windows/notepad.exe')"> Launch notepad </button>
<button onclick="window.open('file:///D:/opennotepad.bat')"> Launch batnote </button>
</body>
</html>
Chapter 5: Creating your first HTML-based AIR application with the AIR SDKSeems to be security violation. You can't execute bat or cmd
-
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. -
Bug in navigateToURL? (AIR HTML/JavaScript) window name parameter not working
Hi,
I have to popup the default browser from a HTML/JavaScript application.
All links on the Air page should be opened in the same tab in the same browser window that was opened by the first click on a link.
The code I use is
var urlString = "http://www.adobe.com";
var request = new air.URLRequest(urlString);
air.navigateToURL(request, "myNewWindow");
The myNewWindow parameter does not seem to be taken into account: a new tab is opened on every click.
I created a new Air application in Aptana and added the following straightforward code to it:
<html>
<head>
<title>navigateToURLTest</title>
<script type="text/javascript" src="lib/air/AIRAliases.js"></script>
</head>
<body>
<a href="http://www.google.com"
onclick="javascript:air.navigateToURL(new air.URLRequest('http://www.adobe.com'), 'AirTestWindow');return false;">New Tab</a>
<br />
<a href="http://www.adobe.com"
onclick="javascript:air.navigateToURL(new air.URLRequest('http://www.adobe.com'), 'AirTestWindow');return false;">Same Tab</a>
</body>
</html>
Same problem.
Does anyone have any idea?
ThanksIs there really nobody who can answer or at least try to reproduce this?
It's just creating a new Air HTML/Javascript application with one link with a named window target! -
Convert HTML/javascript AIR app to flex-based AIR app?
Hi all,
I've already built an AIR app using HTML/javascript that I
would like to monetize.
I would like to use O2app's E-Commerce framework, which right
now only supports Flex-created AIR apps.
My question: Is there a simple way to "convert" an
HTML/javascript AIR app to Flex 3 format? I'd rather not have to
rebuild the app from scratch in Flex 3 if I don't have to. :)
Thanks,
AlHi,
There's no simple way to convert an HTML AIR app to flex.
But it is possible to create HTML Root windows from a Flex
AIR App. By root window, I mean the same kind of window that is
launched when you launch an HTML AIR App.
For more info, look at the HTMLLoader.createRootWindow()
call. (This will be available from a Flex AIR app as well) -
AIR HTML+JavaScript app vs. hardware accelerated composing
I'm developing an HTML application for mobiles and desktops. The application is optimized for WebKit based environment. To improve a rendering speed I'm using hardware accelerated layers (something like -webkit-transform: translateZ(0); etc...).
This works great on my iOS devices (using PhoneGap aka Cordova to package a "native" app).
On Windows and OS X I'm using Adobe AIR 3.5 to package a captive runtime HTML/JavaScript based application. I have found this to be the best solution (for now) even though I have tried many others (Cordova for Windows 7 / OS X, TideSDK, ...).
The point is that the HTML rendering in Adobe AIR seems not to be hardware accelerated. Does anyone of you have experience with this? Is here any possibility to enable hardware accelerated layers in AIR HTML rendering?
Thanks a lotThanks a lot, actually I tried AIR SDK 3.6 yesterday and it seems it still doesn't support an acceleration. In a browser it works just fine even in fullscreen (zoomed page). It seems that the best way to achieve my goal will be using Cordova wrappers for OS X and Win Desktop. But as an AIR developer I really want to use AIR SDK So I will do some more tests..
Thanks,
Pavel
Maybe you are looking for
-
Oracle Thesaurus and its usage
Hi, I am new to using Oracle Text index and usage of Oracle thesaurus. My question may be too naive. Can someone please help with letting me know how to create the thesaurus,add phrases to it and linking it to the created Oracle text index. How can t
-
How to prevent invitations from being sent automatically by Siri/iCloud/iCal?
I have recently discovered, through a series of embarrassing events, that when I use Siri to schedule an appointment with someone, that person automatically receives an email from iCloud inviting them to my appointment. I do not even get a prompt ask
-
Ok so i got the board and the crucial RAM with a new enermax 450W power supply. I am running the 1MB A64 3400+ CG on this board. I am using the Seagate cheetah 15.3K SCSI drive with a LSI 21320 SCSI controller (http://www.lsilogic.com/products/ultra3
-
Share files between Mac and Windows in same iMac with boot camp
Hello, I am new in using Mac and recently I buy a IMac 24" model. I used to use PC a long time with a lot of old document. I want to install Windows XP with boot camp. But I also want to share my documents, music, video files between Mac and Windows
-
Howdy All, Every time I import a set of photos into Iphoto, the import function locks up at the end of the import, thus requiring me to force quit the program (when I just simply try to quit, i get a window telling me the import process is still goin