Skip to main content
Known Participant
Apr 13, 2015 10:17 AM UTC
Question

AIR MOBILE - background transparent?

Hi, is there a way to set the bg to alpha=0 for an android app?

I need to see the users background...

thx

This topic is closed to new replies. Start a new post to keep the conversation going.

2 replies

Apr 13, 2015 1:14 PM UTC

You can't. What you could do though is create a Native Extension to get the users current wallpaper and return that image from the Android Java side to AS3. You can use the WallpaperManager in Android to fetch the current wallpaper and would have to convert the Drawable object that the getDrawable() method returns into either an FREBitmapData object or FREByteArray object. The positioning and size may not be exact but you may be able to get some of that information through the WallpaperManager

WallpaperManager | Android Developers

Translate
chasblnAuthor
Known Participant
Apr 13, 2015 1:17 PM UTC

This could work

Translate