Is Angular2 compatible to run on Adobe AIR HTML Browser - apache-flex

I am working on a desktop application which is built using Adobe AIR 19.0,
I need to load a web application (built with angular2-rc.4.0) in HTML control of AIR window
While loading the application I am getting below error and page load does not complete:
SyntaxError: Parse error
http://localhost:5555/node_modules/zone.js/dist/zone.js?1469092721211 : 648
SyntaxError: Parse error
http://localhost:5555/node_modules/rxjs/bundles/Rx.js?1469092721211 : 242
SyntaxError: Parse error
http://localhost:5555/index.html : 89
User Agent of AIR browser is : Mozilla/5.0 (Windows; U; en-US) AppleWebKit/533.19.4 (KHTML, like Gecko) AdobeAIR/19.0
Any help in this regard will help, as I am newbie to Angualr2. However, angular2 application is working correctly on all browser except IE 9 or below.

Related

abcpdf7 causing dev web server to crash

This is my sample code from asp.net project
Doc abcpdfDoc = new Doc();
abcpdfDoc.MediaBox.String = "0 0 612 1008";
abcpdfDoc.Rect.String = abcpdfDoc.MediaBox.String;
abcpdfDoc.Page = abcpdfDoc.AddPage();
int docID
docID = abcpdfDoc.AddImageUrl(url_html.ToString()); //CAUSES webserver to crash
The code compiles with no warning/error. During debugging, I get a webserver crashed message - the following is the message
Problem signature:
Problem Event Name: APPCRASH
Application Name: WebDev.WebServer.EXE
Application Version: 9.0.30729.1
Application Timestamp: 488f1aa2
Fault Module Name: ieframe.dll
Fault Module Version: 9.0.8112.16457
Fault Module Timestamp: 50a2fe39
Exception Code: c0000005
Exception Offset: 000d135b
OS Version: 6.1.7601.2.1.0.256.48
Locale ID: 1033
Additional Information 1: 0a9e
Additional Information 2: 0a9e372d3b4ad19135b953a78882e789
Additional Information 3: 0a9e
Additional Information 4: 0a9e372d3b4ad19135b953a78882e789
I am using abpdf7, downloaded the trial edition and ran the msi in admin mode using command line msiexec /i on win 7 running 32b OS
The reason of crash is that the older version of the library does not work with IE 9.x, upgrading to latest version of library resolved the issue

Getting an XML error when launching WordPress Android App

org.xmlpull.v1.XmlPullParserException: unexpected type (position:END_DOCUMENT null#1:1 in java.io.InputStreamReader#xxxxxx)
How can I fix it on my end?

Application icons for Flex mobile app targeting Android and iOS

The Adobe doc Developing AIR applications for mobile devices lists quite a few icons to be declared in an application descriptor file.
But when I try Export Release Build with the following myApp-app.xml:
<icon>
<image16x16>assets/icons/16x16.png</image16x16>
<image29x29>assets/icons/29x29.png</image29x29>
<image32x32>assets/icons/32x32.png</image32x32>
<image36x36>assets/icons/36x36.png</image36x36>
<image48x48>assets/icons/48x48.png</image48x48>
<image57x57>assets/icons/57x57.png</image57x57>
<image72x72>assets/icons/72x72.png</image72x72>
<image114x114>assets/icons/114x114.png</image114x114>
<image128x128>assets/icons/128x128.png</image128x128>
<image512x512>assets/icons/512x512.png</image512x512>
<!--
<image50x50>assets/icons/50x50.png</image50x50>
<image58x58>assets/icons/58x58.png</image58x58>
<image100x100>assets/icons/100x100.png</image100x100>
<image144x144>assets/icons/144x144.png</image144x144>
<image1024x1024>assets/icons/1024x1024.png</image1024x1024>
-->
</icon>
I get the error message (regardless if deploying for Android or iOS) unless I comment the 5 lines as above:
error 103: application.icon.image50x50 is an unexpected element/attribute
error 103: application.icon.image58x58 is an unexpected element/attribute
error 103: application.icon.image100x100 is an unexpected element/attribute
error 103: application.icon.image1024x1024 is an unexpected element/attribute
error 103: application.icon.image144x144 is an unexpected element/attribute
My question is what to do here? Moving those 5 icons underneath <android>....</android> or <iphone>....</iphone> doesn't help either.
Using Flash Builder 4.7 beta under Windows 7 / 64 bit.
The solution is to update the version of AIR used within your SDK. Those new icon sizes are not supported in the version of AIR included in Adobe Flex 4.6 [or Apache Flex 4.8].
Instructions for updating the AIR SDK within Flex can be found here. Generically do this:
Download current SDK and unzip it
Copy and files and folders from your unzipped directory to the root of your Flex directory
Update the name of the Flex SDK in the “flex-sdk-description.xml” file.

dyld: symbol not found after upgrade to Xcode 4.5 from Xcode 4.3.2

my app was work fine when running in iOS 6 , but when i running it in iOS 5 or below, it shows lots kind of following message, but apps can still runs though.
2012-09-27 14:15:01.243 Demo[6090:10a03] Error loading /System/Library/Extensions/AppleHDA.kext/Contents/PlugIns/AppleHDAHALPlugIn.bundle/Contents/MacOS/AppleHDAHALPlugIn:
dlopen(/System/Library/Extensions/AppleHDA.kext/Contents/PlugIns/AppleHDAHALPlugIn.bundle/Contents/MacOS/AppleHDAHALPlugIn, 262): Symbol not found: ___CFObjCIsCollectable
Referenced from:
/System/Library/Frameworks/Security.framework/Versions/A/Security
Expected in:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator5.1.sdk/System/Library/Frameworks/CoreFoundation.framework/CoreFoundation
if i don't have the iPhoneSimulator 5.1 SDK, can i do something for that those error message when running at iOS 5.1 ?

Windows 2008 / IIS 7 Website works fine in 64bit mode does not work in 32bit mode

I am building web site on windows 2008 / iis7 that requires 32bit mode for reporting functionality. Everything working fine with app pool allow 32bit applications set to false, but when I set app pool to allow 32bit application set to true I get 404 error because the path being called is getting changed.
Below is clip from the IIS log:
uat set to false - Works fine 304 means that the request is cached
2012-07-09 18:29:56 xxx.xx.xxx.xx GET /Metron/images/flags/ae.png - 80
- xxx.xx.xxx.xxx Mozilla/4.0+(compatible;+MSIE+8.0;+Windows+NT+6.1;+WOW64;+Trident/4.0;+SLCC2;+.NET+CLR+2.0.50727;+.NET+CLR+3.5.30729;+.NET+CLR+3.0.30729;+.NET4.0C;+.NET4.0E;+InfoPath.2;+MS-RTC+LM+8)
304 0 0 109
uatext set to true - /Metron is removed from the path and browser
throws a 404 error. A 404 error means the request item has moved or
cannot be found. 2012-07-09 18:24:33 xxx.xx.xxx.xx GET
/images/flags/ae.png - 80 - xxx.xx.xxx.xxx
Mozilla/4.0+(compatible;+MSIE+8.0;+Windows+NT+6.1;+WOW64;+Trident/4.0;+SLCC2;+.NET+CLR+2.0.50727;+.NET+CLR+3.5.30729;+.NET+CLR+3.0.30729;+.NET4.0C;+.NET4.0E;+InfoPath.2;+MS-RTC+LM+8)
404 0 2 93.
It seems that even though the .NET framework you are trying to use is available, it is probably not properly bound to the IIS installation. Navigate to c:\Windows\Microsoft.NET\Framework\ then to the directory corresponding to the version of .NET you are trying to use. The install the framework by: aspnet_regiis.exe -i. See also: http://msdn.microsoft.com/en-us/library/k6h9cz8h(v=vs.80).aspx. See also this StackOverflow question: How do I fix 404.17 error on Win Server 2k8 and IIS7

Resources