Flash Pro CS5.5 :: Use The "native" Android Menu On App?

Aug 25, 2011

develop apps for Android (creating .apk's using the bunddled Air).

I'd like to know how can I use the "native" Android menu on my app.

View 1 Replies


Similar Posts:


Android :: Flash Content Breaks WebView Boundings And Overlaps Native Layout Elements

Dec 11, 2010

I'm using a WebView to display a web page which contains some Flash content which basically works pretty well.
The big problem is, that the Flash content seems not to consider the WebView's boundings: The Flash content is displayed even if the WebView is too small to show the complete page and the Flash content is not inside the WebView's boundings. Moreover this Flash content overlays other (native) layout elements that are displayed next to the WebView.To me, it seems, that the Flash content is rendered in (special) z-Layer, that overlays all other layout elements.

Tested with: Android 2.2 and Flash 10.1.Is this a known bug in Adobes Flash player 10.1?

View 2 Replies

Android :: Get OnActivityResult To Run In An Adobe Air Native Extension?

Jan 7, 2012

I am writing an extension that will allow a Flex application to access Android's native image picker. I am able to launch the image picker activity without issue, but after it returns to the caller, which is an FREFunction object, onActivityResult is not called. Because of this, I am unable to figure out what image the user has chosen.

When I use the exact same contents of the FREFunction in a native Android app, The app works fine, and I am able to retrieve the URI of the chosen image in onActivityResult. How can I get onActivityResult to fire, or at least retrieve the information returned by the image picker activity?

View 1 Replies

Android :: Adobe Native Extensions - Voice Recognition

Dec 12, 2011

currently I am coding a android mobile app in Flex with the Flash Builder. I am tring to get the Voice Recognition of the Android Platform working but it seems to be complicated. I managed to write a Native Extension that at least displays the Android style voice recognition that asks for speech input. I found out that for the android system the speech input dialog represents an activity where you can wait for the activity's response and overwrite the onActivityResult function. And there is the problem. Since I have to call the Activity "Voice Recognition" in the FREContext the response of the Voice Recognition Activity gets lost.

[Code]...

View 1 Replies

Android :: Air Native Extension - Receive Broadcast In Flex Application?

Jan 31, 2012

I am developing application with Adobe Flex on AIR platform. Using native extension for Android, it is possible to send SMS from my Flex application. Would it also be possible to receive SMS with my application (receive Broadcast carrying information about incoming SMS)? More generally, is it possible to receive Android Broadcasts in my Flex application?

View 1 Replies

Actionscript 3 :: Adobe AIR 3 Native Extensions - Android Res Folder Not Included In The .ane File?

Nov 9, 2011

I am trying to develop an android extension for air, but I have a problem with resources.According to this : Official adobe doc - FREContext and this Extending AIR by Oliver Goldman We simply have to add the resources we need in the res file of the Native part, then they are added inside the .ane file and passed to the final apk. In order to access them though we have to use getResourceId( "drawable.background_image" ) instead of R.drawable.background_image

But when I generate my extension, the res file is actually not even included anywhere inside the .ane file and also not inside the final apk. And I have found not a single extension on the net using resources (not even in the adobe samples)For this test I simply use the basic Hello world Vibrate test, but I added a new png in the drawable folder.As you can see while unziping the .ane file, then going to META-INF/ANE/Android-ARM the res file is absent.As a result, the program crashes when I try to access my resource FREContext.getResourceId("drawable.ppy_accessory_manage.png")

PS, here is my batch to compile the ANE :

set adt_directory=C:Program FilesAdobeAdobe Flash Builder 4.6sdks4.6.0in
set root_directory=C:UsershugoAdobe Flash Builder 4.6
set library_directory=%root_directory%HelloANELibrary

[code]....

View 1 Replies

ActionScript 3.0 :: Can't Find This Blog Post - Air Android Music Player Made With Native Extension?

Nov 8, 2011

Recently I came across a long and details blog post or tutorial about creating a music player for air on android, but the audio management was with a native extension.I didn't bookmark it, I have searched quite a bit and I just cant find it again!!!It was only 2 or 3 weeks ago.

View 1 Replies

ActionScript 3.0 :: Android App In Flash CS5 Getting Menu To Pop Up?

Aug 8, 2011

how to get a menu to pop up in Flash CS5 when coding for an android app. Basically I have a nice, simple app that when you press the menu  button  on your phone I want a movie clip to pop up at the bottom of the  screen  that then acts as a menu for the app. When you press the menu  button  again the movie clip disappears. There is some code in the  sample files  in flash cs5 but it won't seem to work for me. Has anyone gotten this to work successfully for them.
 
This is the code that is in the sample file with flash
 
options_mc.visible = false;
function fl_ExitApplication(event:MouseEvent):void{    NativeApplication.nativeApplication.exit(0);}

[Code].....

This code is supposed to make the menu popup and when clicked you exit the app.
 
I want someting similar to hppen without the movie clip making the app exit. My movie clip has other little buttons that make different information appear as you click on each one.

View 1 Replies

Android - Mobile Use The Menu-stuff Provided Or Is It Better Not To Because The Iphone Does Not Have A Menu Button?

Sep 16, 2011

I would not have asked the question if I owned an iphone, but so far I only have an android phone for development.

The question is: Should I use the View.viewMenuItems that are provided by flex mobile? Or should I better embed the functionality in another way? I don't know what possibilities might exist on iphone to open the menu, because it has no hardware button "menu".

By the way: How could I open the menu in the Flash-Builder mobile device emulator - there are no buttons, too..

View 2 Replies

ActionScript 3 :: Adobe AIR Native Application Menu

Mar 8, 2011

I'm trying to add some menuItems to an AIR app application menu in the mac, I know that is possible to add to the standard one the application have instead of replace the whole menu, but I can't found any example on adding not replacing the whole the menu.

View 1 Replies

Android :: Integrating Flash Games In Menu / List?

Mar 27, 2011

Have 3 flash games that I would like to integrate in a menu / list in an android app. So when the user selects the game from the list, the game starts with android flash player. Is it best to do this with WebView or is there something better? I do not know where to place the flash games to get them in my compiled application.

View 1 Replies

Android :: Flash - How To Create Options Menu In Adobe AIR (not Java)

Oct 29, 2010

I would like to create an Options Menu in my Flash AIR application for Android. I've figured out already, that this ActionScript code could be used for capturing the hardware Menu button press event:

stage.addEventListener(KeyboardEvent.KEY_DOWN, _onKeyDown);
function onKeyDown(event:KeyboardEvent):void {
if(event.keyCode == Keyboard.MENU) {
event.preventDefault();
trace("Menu Pressed");
}}

But how do you create the actual menu? If you can't do it with AIR, then has anybody tried to recreate/mimic it manually already and could you please share the properties (colors, transparency, any gradients?) and transitions (sliding in/out) you've used? I've found some guidelines already, but any Flash-specific tips/properties (like which easing to use for sliding transitions?).

View 2 Replies

ActionScript 3.0 ::get Menu To Pop Up In Android App

Aug 4, 2011

how to get a menu to pop up in Flash CS5 when coding for an android app.

Basically I have a nice, simple app that when you press the menu button on your phone I want a movie clip to pop up at the bottom of the screen that then acts as a menu for the app. When you press the menu button again the movie clip disappears. There is some code in the sample files in flash cs5 but it won't seem to work for me.

View 0 Replies

Flash :: Air Android App Always Launches In Portrait Mode Irrespective Of The Way The Android Device Is Held?

Jan 25, 2011

i have an AIR android app which i am running on an android device ( samsung TAB ). i want the app to get laid out in landscape mode when the user starts the app holding the device in landscape ( same goes with portrait ).

but the AIR app always gets started in portrait mode irrespective of the way the device is held.

i tried the following ways use stage.deviceorientation (but when the app starts (after the applicationComplete notification ) the value is UNKNOWN) use stage resize event. (this gets triggered at start itself, a manual resize is not required - the values are based on portrait mode though - the width is 600 and height is 1024 (should have been otherway) )

i get correct values when i try changing the orientation of device, only at the startup i see problem with the required values.

View 1 Replies

Android :: Android Tablet Browser Flash Movie To Landscape When In Fullscreen Mode?

Oct 28, 2011

I have an as3 built osmf video player swf that we embed on a standard HTML page. When you touch the image the video automatically goes fullscreen and begins playing. Droid and Flash often break after changing back and forth between landscape and portrait while in fullscreen.(by break I mean freeze, where you can hear the video and use the controls, but everything is just a still frozen image, the redrawing fails).Can you lock the fullscreen orientation in html, javascript, or do you have to try to handle it inside the swf?

View 1 Replies

Android :: Capture Video And Stream It To Flash Server On Realtime In Android?

Mar 14, 2012

I working on a project where the client side need to capture video and audio from the camera, use some library (proberly ffmpeg) to convert from mp4 to flv and send it to flash server on realtime,in the other side the client need to get flv and convert it to video type of android on real time. Is it possible to do?

View 2 Replies

ActionScript 3.0 :: Handle Back, Menu And Home Button On Android?

Aug 15, 2011

I'm developing an Adobe Air 2.6 app for android tablets (using ActionScript 3.0 and Flash Builder 4.5).I want to know how can I handle user back key press.

View 1 Replies

Android :: Frame Rate Is Very Low For Android Game Developed By Flash CS5?

Dec 29, 2010

I am porting my flash games on android. I have ported 3 successfully. But the problem with all of them is they are giving very low frame rate near about 7-8. And I have observed 1 thing that frame rate always varies. Sometimes it goes upto 45 and again in next frame it comes to 3-4 and again goes to 15-16.

I am quite confused. Please let me know if anyone is having any idea about this.

View 1 Replies

Android :: Flash Inside Android WebView - How To Set Fullscreen Automatically

Apr 14, 2011

I am loading flash SWFs into an android WebView.I want the SWF to be instantly fullscreen and focused.The class name that handles flash is com.adobe.flashplayer.FlashPaintSurface .

Watching the log, when I fullscreen the flash manually, it calls com.adobe.flashplayer.FlashPaintSurface.toggleFullScreen()The first part of my question is, How can i call that method manually for my flash swf? Note that with a webview with a flash embedded, the only way i seem to be able to fullscreen it properly (to have flash's surfaceview fullscreen instead of the flash being displayed over top of the webview view) is by touching the screen with two fingers until an interface pops up at the top of the screen, and doesnt happen reliably.For focus, inside my webview class I call

@Override
protected boolean drawChild (Canvas canvas, View child, long drawingTime) {
if (child.getClass().getName().equals("com.adobe.flashplayer.FlashPaintSurface")) {

[code]...

This doesnt set the focus as I thought it would. Although i assume, if fullscreened properly, the flashpaintsurface should give itself focus. But if if the first part is not doable, i would wonder at least to not have to give focus to the SWF by clicking on it on startup.

View 1 Replies

Android :: Adobe Flash Application Is Not Working On Android Tablet

Dec 2, 2011

I gone thorough the adobe flash builder video tutorials and did the same thing to create an application for android device, but when i run the application it is showing Sorry dialog box saying that, The application Test1-debug(process air.Test1.debug) has stopped unexpectedly. Please try again. I tried many times but it is not working. Initially i thought no Adobe-AIR in my device, but it is there. I am using Reliance 3G Tab. I don't why it is not working, if anybody know this please reply me.

One more thing, i downloaded one APK (which is designed with adobe flash or flex) file from [URL]..and installed on my android device. When i run that application only blank screen is appearing, but in video they shown, it is working. Why it is happening like this?? Is any problem with my tablet ?? or application ?? or adobe AIR not installed properly on device ?? Like this i am getting too many doubts.

View 1 Replies

Flash :: Android - Playing SWF Files Locally From Android Webview

Feb 21, 2012

What is the right way to view .Swf files that plays .Flv videos in Android? The code that I am using right now to enable Flash support in web view is

[Code]....

For the HTML file, I'm using swfObject. The problem is that I can open up the SWF file just fine from third party apps like SWF Player from the market. In addition, I can load up the HTML page from the browser by calling it directly through file:///. However, when I load it up using my webview, I'm stuck with a blank screen.

View 1 Replies

Android :: Install Adobe Flash On The Android Emulator?

Sep 14, 2010

I want to use Adobe Flash in the development of Android applications. But how do I install flash on the emulator so that I can test my software with flash?

View 5 Replies

Android :: Choosing Flash / OpenGL / Other Animation For An Android App?

Jun 1, 2011

I need to add some animation to the UI of my application. Something similar to the Talking Tom application that is all the rage these days. I am a complete noob to animation, so had the following questions to zero in on a particular platform before I began with any development.

Out of Flash/Rendered Images/OpenGL which one would be the fastest to implement (assuming that I have a graphics designer to do the drawing)? If I was to go with flash, would I still be able to interact with the application or will it be more of a one-way play-and-stop kind of animation? I have looked over a lot of questions on SO about this issue and have not been able to make up my mind.

View 2 Replies

Android :: Android, Hook Mount As Flash Drive?

Nov 12, 2011

There are way for:On USB connect to PC (or other flash drive reader) - hook process and allow access only specified files and folder on android (custom store)?

View 1 Replies

Android :: Flash CS5 Android And Blackberry Development?

Feb 2, 2011

If I build a Android and Blackberry app with Flash/AIR, do i get access to the file system and database for both platforms?

My app will need to save downloaded images.

View 1 Replies

Android :: Test Flash On Android Device Via USB?

Sep 2, 2011

I am currently learning Actionscript 3.0, mainly to start developing mobile games for Android.Device central is really useful to emulate the Flash content running on devices, but I thought there was a way to test directly on the device itself via USB. Am I mistaken here, because I cannot for the life of me find any information on doing this.how to get the USB connection up, but the actual testing/debugging itself seems to be done exclusively in Flash Builder.

I am using Flash CS5, and I want to test my AS3 projects directly on my Nexus S via USB.The only guides I can find detail the publishing of Flash projects to Android, which is a fairly lengthy process. Surely there has to be a quicker way to preview content directly on your phone without having to go through the entire process of creating an APK for it?

View 1 Replies

Android :: Use Adove Flash On Android To Play Flash Video?

Apr 21, 2011

Is it possible to use Adove Flash, if it is installed, to play a flash video on Android?

View 1 Replies

Flash :: Professional - Add New Menu In Menubar And New Menu Item Inside The Help Menu

Feb 27, 2011

i want to add new Menu in flash IDE and i want to add inside the adobe flash menu. How i can add new menu in menubar and new menu item inside the help menu. is it possible to do this things if yes then which language i have to use for this. what is way to start development and what is the .MXP file and how to create this .MXP file.

View 1 Replies

Ios :: Using Flash Inside A Native App?

Apr 2, 2012

I'm working on a native Objective-C iOS app and I'm wondering if it is possible to embed an animation created in Flash into my app. The animation doesn't have to be interactive, all I need is a couple of animated screens (intro screen, loading screen). Is this posible?

View 2 Replies

ActionScript 3.0 :: Native Cursor Support In Flash Pro CS5?

Aug 17, 2011

I am running Flash Professional CS5 (11.0.2.489), updater reports I am  up to date.  The documentation seems to indicate that FP CS5 should  support native custom cursors, but it doesn't (Mouse.registerCursor method is undefined).
 
Should this be supported  in FP CS5?  Can I update flash.ui to include support?  Is it supported  in FPCS5.5?

View 10 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved