Comments on: ( Air + Android ) – Air http://en.nicoptere.net/?p=1719 giving something back to the Flash community Sun, 08 Feb 2015 13:47:19 +0000 hourly 1 http://wordpress.org/?v=3.8.1 By: Pavel http://en.nicoptere.net/?p=1719&cpage=1#comment-8593 Wed, 13 Jul 2011 11:04:04 +0000 http://en.nicoptere.net/?p=1719#comment-8593 Try Gestouch for better gestures (Flash).. and give some feedback please=)
https://github.com/fljot/Gestouch

]]>
By: Mathieu Gosselin http://en.nicoptere.net/?p=1719&cpage=1#comment-7077 Sun, 26 Jun 2011 10:20:56 +0000 http://en.nicoptere.net/?p=1719#comment-7077 The best bet to save images to your phone is using the cameraroll class. It will compress it automatically in jpeg and put it in the right folder automatically.
Simply:

var cameraRoll : CameraRoll = new CameraRoll();	
cameraRoll.addBitmapData(bitmapData);
]]>
By: nicoptere http://en.nicoptere.net/?p=1719&cpage=1#comment-6933 Fri, 24 Jun 2011 13:37:29 +0000 http://en.nicoptere.net/?p=1719#comment-6933 thanks guys :)

@george yep I’ve seen that , I should give it a try before losing my sanity trying to make OpenGL work :)

@tarwin one thing at a time, Haxe still seems too hairy for now.
and yes I guess NativeExtensiont or NativeProcess could do the trick
I’ll spare a couple of bottles for the next time :)

@Daniel in FD4 there is an Android template and pretty much everything is automated (*.bat files)

]]>
By: Daniel http://en.nicoptere.net/?p=1719&cpage=1#comment-6884 Thu, 23 Jun 2011 17:05:00 +0000 http://en.nicoptere.net/?p=1719#comment-6884 Quick question, why are you using Flashdevelop4 instead of 3?

]]>
By: Tarwin http://en.nicoptere.net/?p=1719&cpage=1#comment-6871 Thu, 23 Jun 2011 11:41:59 +0000 http://en.nicoptere.net/?p=1719#comment-6871 Awe – you gave up on the haxe? You can get some sweet native performance there too (on iOS too)!

I think the main problem with the JPEG Encoder is that it runs in the same thread AND is pretty slow anyway. I know there are some optimized versions, maybe one that uses Alchemy opcodes, but I think it’s only available as an SWC.

You could also look at “simply” creating a NativeExtension for Air Android (is that possible) that does the encoding and sends some kind of signal when it’s done …

Keep it up you crazy bastard! I need wine for my children!

]]>
By: Nicolas Gans http://en.nicoptere.net/?p=1719&cpage=1#comment-6860 Thu, 23 Jun 2011 08:28:11 +0000 http://en.nicoptere.net/?p=1719#comment-6860 The link to the Android version is broken…
edit nicoptere: true, fixed, thanks :)

]]>
By: George Profenza http://en.nicoptere.net/?p=1719&cpage=1#comment-6827 Wed, 22 Jun 2011 19:38:10 +0000 http://en.nicoptere.net/?p=1719#comment-6827 Nice detailed post :)

If it makes it easier to doodle, might want to give Processing a go ;)
Version 1.5 has an ‘Android Mode’ which is nice. (http://www.creativeapplications.net/android/mobile-app-development-processing-android-tutorial/)

]]>
By: Philippe http://en.nicoptere.net/?p=1719&cpage=1#comment-6824 Wed, 22 Jun 2011 19:11:06 +0000 http://en.nicoptere.net/?p=1719#comment-6824 As a matter of fact, with latest FD4 you should let FD’s setup download the latest Flex SDK and you shouldn’t need to download the pretty huge Android SDK – unless you’re going to try coding in Java of course, which is a good idea too.

]]>
By: Nicolas Gans http://en.nicoptere.net/?p=1719&cpage=1#comment-6823 Wed, 22 Jun 2011 18:33:59 +0000 http://en.nicoptere.net/?p=1719#comment-6823 To the question : “why using a VM inside a VM when one could just skip the second VM”
My answer would be : “because you can do cross-platform apps easily !”
The whole benefit of AIR for mobile is to target multiple platforms…
If you want to make Android only devs, go Java and native Android SDK !

Nice post BTW, I’m sure it’s the beginning of great things… and thanks for the mention ;)

]]>