Quantcast
Channel: Adobe Community : Popular Discussions - AIR Development
Viewing all 24121 articles
Browse latest View live

iOS Error ITMS-90478 and ITMS-90062 when uploading with Application Loader

$
0
0

Hello,

 

when trying to upload the latest versions of my apps to iTunes with application loader, I see these errors:

 

Screen Shot 2015-07-28 at 10.16.55.png

I unzipped the ipa and verified that the actual version number is in fact 14.10.0, so I do not know why this error pops up. I tried other version numbers as well without success. I see this error, with the respective build numbers, for 3 of my 4 apps. Those 3 apps have 32 Bits architecture right now, which I am trying to update to 64 Bits with this build. The 4th app was 64 Bits from the start and did not show this error, though I am not sure if it's related to the error.

 

I compile with the Windows Air SDK (18.0.0.180), if that makes any difference. Any ideas why this error keeps popping up?

 

Thanks


AIR 20.0.0.233 URLMonitor broken with iOS 9 ?

$
0
0

Hi everyone,

 

I am currently working on an app using Adobe Air, and as I was about to publish it, I tried to update my Air version (19) to the last one, and re-test the entire app.

 

And by doing this I noticed that something is now wrong with the URLMonitor.

I am using it to test my connection, as following :

 

monitor = new URLMonitor(new URLRequest(http://www.adobe.com));

ListenerMgr.addListener(monitor, StatusEvent.STATUS, function (evt:StatusEvent):void {

   trace("Network status changed, connected ? " + monitor.available);

   _isHTTPConnected = monitor.available;

});

if (!monitor.running) {

   monitor.start();

}

 

That code always worked before the Air update, and is still working on Android 4.4.4, iOS 8 and all simulators, but when I launch it on an iOS 9 device (9.1, 9.2, ...), monitor.available is ALWAYS false.

 

Could you please tell me if this is a real issue or if I missed something ment to replace that monitor ?

 

Thank you!

Is it possible to play Youtube videos using VideoTexture?.

$
0
0

Not much more to add, I've been googling around and it seems like it's not meant to be used that way:

"Plays a media file or a live stream from Flash Media Server"

 

That means that it's not possible?.

Thanks.

Can't compile Adobe AIR for Android TV

$
0
0

Hello

 

We are trying to compile AIR with the flags of:

 

<android>

        <manifestAdditions><![CDATA[

<manifest android:installLocation="auto">

...

</manifest>

]]></manifestAdditions>

<supportsAndroidTV>true</supportsAndroidTV>

<banner>"path of the banner image (320x180 px, .png file)"</banner>

</android>

 

 

and getting:

 

C:\MediaSignageDepot\Solution\5.0\Products\SignagePlayer\Android\SignagePlayerAn

droidApp-app.xml(206): error 103: application.android.supportsAndroidTV is an un

expected element/attribute

 

Has anyone had success compiling these flags with latest Adobe AIR for Android TV?

 

we are uisng the swf-version 31 flag and namespace 20.0 to try and access this feature.

 

we are using AIR 20

 

Regards,

 

 

Sean - http://DigitalSignage.com

 

 

____________________________________________

MediaSignage.com, FREE Digital Signage for everyone!

5776-D Lindero Cyn Rd #182

Westlake Village, CA 91362

Phone: 1.877.DIG.SIGN (1-877-344-7446)

Fax: 1.818.337.0442

Live support: http://chat.digitalsignage.com

push notification on android problem

$
0
0

I am using the ANE from distriqt.com for push notifications which then send a local notification.  This is working great except after the app has been in the background for awhile.  It stops receiving the notifications.

 

 

The documentation at the android developer site states:

On the device, the system broadcasts the message to the specified Android application via Intent broadcast with proper permissions, so that only the targeted Android application gets the message. This wakes the Android application up. The Android application does not need to be running beforehand to receive the message.

 

 

Do I have a setting or option wrong or do I need a different ANE.  It seems that the device is disabiling the app after a period of time in the background.

I would hate to think a user has to open the app at regular intervals to be able to receive the notifications.

Detect double tap of a button

$
0
0

I am creating an app for very young children and want to keep them out of the settings screen within my game.

 

I was planning to do this by requiring a double tap on the settings button but not sure how to detect a double tap

 

The app is for iPad only.

How to scale my app to fit device dimensions?

$
0
0

My apps dimensions are 800x450.

 

My android devices dimensions are 540x960.

 

With this of course when I installed on device the app appeared non scaled inside a window on my mobile device.

 

I have the  XML set to the

 

Now I'll show you some of my code.

 

  public static var gameStage:Stage;
.... 

public function initApplication():void
  {   this._game = new MovieClip;   super.addChild(this._game);  }  private function initThreeBalls():void  {   gameStage = this._game.stage;   var starBackGround:Stars = new Stars; // Add a background large 1200 x 3000 texture
...
}

 

Here is some code I found here:

 

 

var appScale:Number = 1;
var appSize:Rectangle = guiSize.clone();
var appLeftOffset:Number = 0; // if device is wider than GUI's aspect ratio, height determines scale
if ((deviceSize.width/deviceSize.height) > (guiSize.width/guiSize.height))
{
appScale = deviceSize.height / guiSize.height; appSize.width = deviceSize.width / appScale;
appLeftOffset = Math.round((appSize.width - guiSize.width) / 2);
 } // if device is taller than GUI's aspect ratio, width determines scale
else { appScale = deviceSize.width / guiSize.width;
 appSize.height = deviceSize.height / appScale; appLeftOffset = 0;
 }

http://www.adobe.com/devnet/air/articles/multiple-screen-sizes.html

 

Wondering what elements I apply this code to?

 

It doesnt seem to work with Stage..

iOS In App Purchases restore transactions not working properly with Milkman Games ANE for Adobe AIR

$
0
0

I am experiencing the following problems with Milkman Games in-app-purchases ANE dor Adobe AIR:

 

PROBLEM 1

 

0) StoreKit is created and correctly returns all the product IDs via StoreKit.storeKit.loadProductDetails()

1) I purchase item A, the item is correctly purchased

2) I purchase item B, the item is correctly purchased

3) I uninstall and re-install the app

4) I restore transactions via StoreKit.storeKit.restoreTransactions()

5) Only item B is restored ( onPurchaseSuccess() is only triggered once for item B)

 

EXPECTED BEHAVIOUR: I would expect that restoreTransactions() would trigger onPurchaseSuccess() for each of the items previously restored.

 

PROBLEM 2

 

6) I close the app

7) When I restart the app, onPurchaseSuccess() for product B is fired without any of the app code calling it.

 

Is StoreKit attempting to restore transactions by default everytime StoreKit is created? (i.e. StoreKit.create(); )

 

Testing device: iPad2, iPhone4

Operating System: iOS 7 and iOS 6

Compiling for: AIR 3.8

 

Type of item purchased: all items tested are non-consumable

 

Did anyone ever experienced such a behaviour with iOS in-app-purchases in an AIR mobile app? Any ideas or pointer in the right direction are appreciated, thanks!


Problem in with big project with ANE in Air 22 (Air 21 works) on Android Devices

$
0
0

Hi together,

 

after posting my problem in the Flex User Forum I got the advice to post it another forum -> f.e. Andorid but I think this one fits more.

 

We have a huge mobile project using the Easy Push Native Extension from Milkman Games to send notifications.

 

Our IDE is Intellij Idea.

 

Using the Air 22 SDK in our project the app crashes when we use call the ANEs method to set up all the notification stuff (ane is supported...).

When we switch to Air 21 everything is fine.

 

When we build a small test project using AIR 22 and the ANE everything works fine.

 

Does anyone have an idea where the problem could be located?

 

The Log looks like this:

 

...

07-28 14:29:35.290    5976-5976/? I/air.com.company.project﹕ 7/28/2016 14:29:35.295 [INFO] com.company.project.model.proxies.EasyPushProxy Init OneSignal...

...

07-28 14:29:35.490    3047-3647/? I/ActivityManager﹕ filter receiver for action = com.google.android.c2dm.intent.REGISTRATION

07-28 14:29:35.500    3047-3072/? E/JavaBinder﹕ !!! FAILED BINDER TRANSACTION !!!

07-28 14:29:35.540    3047-3153/? W/InputDispatcher﹕ channel 'f8820b7 air.com.company.project/air.com.company.project.AppEntry (server)' ~ Consumer closed input channel or an error occurred.  events=0x9

07-28 14:29:35.540    3047-3153/? E/InputDispatcher﹕ channel 'f8820b7 air.com.company.project/air.com.company.project.AppEntry (server)' ~ Channel is unrecoverably broken and will be disposed!

07-28 14:29:35.540    3047-3235/? W/InputDispatcher﹕ Attempted to unregister already unregistered input channel 'f8820b7 air.com.company.project/air.com.company.project.AppEntry (server)'

07-28 14:29:35.540    2345-2345/? I/Zygote﹕ Process 5976 exited due to signal (11)

07-28 14:29:35.610    3452-3721/? I/HwSystemManager﹕ HoldService:uid:10109 pid:5976 died

07-28 14:29:35.610    3452-3721/? I/HwSystemManager﹕ HoldService:oldVersionKey:10109,5976

07-28 14:29:35.610    3047-3066/? E/HsmCoreServiceImpl﹕ onTransact in code is: 102

07-28 14:29:35.610    3047-3066/? I/MediaProcessHandler﹕ processOp opType: 1, uid: 10109, pid: 5976

07-28 14:29:35.610    3047-3066/? W/MediaProcessHandler﹕ remove target not exist, maybe the UI process: uid: 10109, pid: 5976

07-28 14:29:35.610    3452-4333/? I/HwSystemManager﹕ BgPowerManagerService:onProcessDied uid = 10109

 

Can anyone help us with the problem?

Lost Sounds in IOS

$
0
0

i have a problem, my app lost sounds when lock screen a few minute. And after a few a click button, sound play again. Can u help me? i code by as3 in flash builder.

Best way to package an AIR Application for Linux?

$
0
0

Hello all,

 

We are trying to figure out the best way to package our application for Linux users. Looks like Linux support was officially dropped over 5 years ago, so what kind of workarounds do we have by now?

 

Option 1- The windows version of our application was built with Flash CC using the "Application with runtime embedded (e.g. captive runtime) option, and it runs 95% fine on Linux using Wine on the exe file. The only issue is that the smoothing / antialiasing is turned off, which makes text pixelated. If this is a common known issue and there is a workaround, perhaps we can just use this approach?

 

Option 2- We could try to make a native linux installer using AIR SDK 2.6, but we had trouble even getting AIR installed on our linux distros. Biggest downside is, AIR 2.6 doesn't have the captive runtime option (afaik that option came with AIR 3.0), so the user will have to download AIR alongside the application. Which will get increasingly difficult as time goes by.

 

Option 3- We could possibly try to make our own "bundle", with a captive linux runtime, and a "launcher" akin to the exe file the windows version contains? Presumably, the exe file is basically just executing a single line batch file that runs the swf file using the captive runtime?

 

Does anyone here have experience with any of these methods? Or any other suggestions?

Air Android - app.xml manifest

$
0
0

Hi,

 

How to add these Android settings to an Air Andoid app.xml manifest?

 

<supports-screens android:                  android:largeScreens="true"                  android:xlargeScreens="true"/>

I tried it like this, but got an error:

 

  <android>    <manifestAdditions><![CDATA[        <manifest android:installLocation="auto"><uses-permission android:name="android.permission.INTERNET"/><uses-sdk android:minSdkVersion="8"/><supports-screens android:                  android:largeScreens="true"                  android:xlargeScreens="true"/>
 ]]>    </manifestAdditions>  </android>

  Thanks!

Getting Following Error When Try to RUN App On iOS Simulator

$
0
0

Getting Following Error When Try to RUN App On iOS Simulator

 

Error occurred while packaging the application:

 

 

 

 

[Fatal Error] :1:1: Content is not allowed in prolog.

java.io.IOException: PLIST generation failed due to SAX error:org.xml.sax.SAXParseException: Content is not allowed in prolog.

          at com.adobe.air.Plist.newFromString(Plist.java:351)

          at com.adobe.air.Plist.newFromFile(Plist.java:325)

          at com.adobe.air.ipa.IPAOutputStream.setSDKVersion(IPAOutputStream.java:1070)

          at com.adobe.air.ipa.IPAOutputStream.setPlatformSDKLocation(IPAOutputStream.java:971)

          at com.adobe.air.ipa.IPAPackager.setDeviceSDKDirectory(IPAPackager.java:187)

          at com.adobe.air.ADT.parseFileAndPathArguments(ADT.java:1423)

          at com.adobe.air.ADT.parseDescriptorAndFileset(ADT.java:1474)

          at com.adobe.air.ADT.parseInput(ADT.java:929)

          at com.adobe.air.ADT.parsePackage(ADT.java:672)

          at com.adobe.air.ADT.parseArgsAndGo(ADT.java:570)

          at com.adobe.air.ADT.run(ADT.java:419)

          at com.adobe.air.ADT.main(ADT.java:469)

/Users/apple/Documents/Adobe Flash Builder 4.7/FLV Player/bin-debug/AOT/Main-app.xml(220): error 103: application.iPhone.key is an unexpected element/attribute

/Users/apple/Documents/Adobe Flash Builder 4.7/FLV Player/bin-debug/AOT/Main-app.xml(221): error 103: application.iPhone.array is an unexpected element/attribute

/Users/apple/Documents/Adobe Flash Builder 4.7/FLV Player/bin-debug/AOT/Main-app.xml(283): error 103: application.iPhone is an unexpected element/attribute

render error at application startup

$
0
0

Sometimes (~25% of time?) when I start my AIR application on a Galaxy Tab 2 running Android 4.1.2, I get a screen that looks like this:

error.png

Exiting and reentering the application causes the application to render correctly sometimes, and sometimes not. The initial screen is a tabbed view, with a screen background image, a single button with a text and static graphic, so I don't see any reason why this should cause difficulties.

 

This is building with AIR 3.7 embedded.

 

Does anyone have ideas how I can get stable behavior?

AIR 3.9 - mobile app starling, pure as project and interstitial ads forces close

$
0
0

Hi there,

 

we have a pure as project in which we updatet the air version to 3.9.

The app uses starling and the admob extension - > http://www.adobe.com/devnet/air/articles/admob-ane-android.html

 

If an admob interstitial is shown the app crashes and starts again.

With AIR 3.8 there is no problem with this.

 

Perhaps it has also something to do with this bug:

https://bugbase.adobe.com/index.cfm?event=bug&id=3364803

 

The debugger shows nothing, the app only shows a black screen after closing the interstitial ad and restarts.

 

We also have interstitial ads in a project that is not pure as and we use AIR 3.9 in this app. No problem here.

We don't use starling in this non pure as project so perhaps the issue has something to do with starling. The strange thing is that it worked nicely with AIR 3.8.

 

Some ideas?


Android loading a packaged asset fails due to compression

$
0
0

Hi,

 

I've been trying to create a way to play a media file that is packaged with an AIR application from within a native extension. However I've come into a problem that seems to be related to the way the assets are getting packaged into the APK. I'm trying to access the files using the Android AssetManager something like:

 

     context.getAssets().openFd( "video/big_buck_bunny.mp4" );

 

However this commonly results in the error:

 

     java.io.FileNotFoundException: This file can not be opened as a file descriptor; it is probably compressed

 

I can list out all the assets in the AssetManager and can definitely confirm the asset is known and present. When I inspect the packaged APK, indeed the file is compressed and not Stored as it should be. eg the following is a file from unzip -v App.apk

 

5510872  Defl:N  5044897   9%  06-11-14 12:15  30431fa9  assets/video/big_buck_bunny.mp4

 

where you can see the Defl:N indicates it's compressed (by 9%). However some files will be Stored correctly:

 

  390668  Stored   390668   0%  11-15-13 10:06  2d380eae  assets/Default-568h@2x.png

    5015  Defl:N     4384  13%  03-25-13 21:24  2b6284ce  assets/Default.png

  211743  Defl:N   211329   0%  11-12-13 10:58  9384a8ae  assets/icons/icon512x512.png

    6536  Stored     6536   0%  11-12-13 10:58  ea5ca1e6  assets/icons/icon57x57.png

 

It seems very inconsistent with an AIR application. According to the documentation Android should not compress the following asset file types (from Package.cpp in the aapt source code):

 

".jpg", ".jpeg", ".png", ".gif", ".wav", ".mp2", ".mp3", ".ogg", ".aac", ".mpg", ".mpeg", ".mid", ".midi", ".smf", ".jet", ".rtttl", ".imy", ".xmf", ".mp4", ".m4a", ".m4v", ".3gp", ".3gpp", ".3g2", ".3gpp2", ".amr", ".awb", ".wma", ".wmv"

 

and indeed when I package the same assets in an android packaged application the files aren't compressed.

 

Of course I know I can work around this by reading the file out and writing it to a cache or temp location however this seems to be a bug in the way AIR is packaging Android applications and was wondering if anyone has encountered this or found a workaround.

 

Cheers,

Michael

Video encryption for offline playing

$
0
0

Hello!

I am developing a video player where downloaded video tutorials have to be played offline. The video files in mp4 format

I want to secure these video files. What is the best and economical way to encrypt these files per pc or per user

I am tracking the IP of the user's connection also some machine related information.

Can i use this information along with some encryption key to restrict the playing of the video file.

 

The users get these videos after paying for them. But once they get it, they can share it with others. I want to restrict that.

Please suggest me some ideas of how I can protect these videos from piracy.

 

Please help

Missing 64bit support

$
0
0

Hi!

 

since two days Im getting this message: Error  90086 missing 64 bit support ....

 

Im using Flash Professional CC 2015, and AIR SDK : 21.0.0.215 (I also tried with SDK 19) I

published IPAs to the store 3 days ago !!!! today this message is popping up.

 

I realy need to upload two IPAs to the store.

 

Please help

regards

Michael

Adobe Air + New iPad (iPad 3) retina display, any idea? any one?

$
0
0

Hi, I have tried countless amount of times to turn it on, I mean, how can I run my app on the new ipad at 2048x1536, it is always scaling up the app content times 2 and if I try to scale down the whole stage >> 1 (or / 2) of course all images looks blury and horrible, any idea? any one?

 

something very interesting to mention is that apps made in Adobe Air looks looks slightly better on iPad2 than iPad3, because the whole content of the air app is being scaled x 2, especially on vector content like Textfields fonts, etc... this is weird, it doesn't seem to happen on native apps.

 

any thoughts about this?

 

thanks.

Can't test my air mobile app on device running ios 9.3

$
0
0

After setting up the iOS publishing option and including the appropriate .p12 and provisioning profile, my app doesn't install on my iPad.

The publishing dialog completes without any errors and says that my application was successfully published, but doesn't show up on my device.

Also the app runs perfect in the simulator. I have even tried to install the output .ipa file via iTunes to no avail. It shows up on the device, loads the entire application, begins to install, and then the app icon disappears with no warning or error. Is there a known compatabilty issue with adobe air version 22 and iOS 9.3? After looking at the info.plylist file generated by air in comparison to the one created by Xcode, they seem to be formatted very differently one has 23 properties and the other has 48. Again the issue seems to be with the latest release of the iOS mobile operating system. I have no problem testing the app on an iphone4 running iOS 7.1

Viewing all 24121 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>