Skip to main content
Known Participant
April 13, 2015
Question

AIR MOBILE - background transparent?

  • April 13, 2015
  • 1 reply
  • 363 views

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 has been closed for replies.

1 reply

April 13, 2015

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

chasblnAuthor
Known Participant
April 13, 2015

This could work