android - how to change image background via any file explorer -
i trying understand how change background image of application (not via eclipse) using file explorer in android(phone) , picking file.png saved background image in app
following comments above:
well, thing can think of (if understand correctly, want change background of application, via application - right?) set background theme.wallpaper. in other application, can set background differently , in base application, bg changed accordingly.
asuming - pick file explorer, navigate .jpg, .png etc. file , set device's background. if application uses theme.wallpaper
default application theme, changed, according background image you've set device.
in simpler terms: 1. problem - want change background of application (yapp short), want achieve choosing picture application (let's gallery). 2. solution - thing can think of set desired image background device itself. in yapp you'll have theme.wallpaper
set, use device's background
to put code, here's sample extraction androidmanifest
:
<activity android:name="mainactivity" android:theme="@style/theme.translucent"> </activity>
this applied activity. here's link reference.
cheers
Comments
Post a Comment