I want to modify the settings GUI of a live wallpaper. I want it to
include a button, which links another app on AM. I know how to link
another app on AM, I can do it with the code below,but how can I
include a button like that in the live wallpaper settings GUI? I know
it can be done, because I have seen wallpapers with buttons like that.
String urlString="market://search?q=pname:astral.effects";
try {
URL url = new URL(urlString);
} catch (MalformedURLException e) {
e.printStackTrace();
}
Intent i = new Intent(Intent.ACTION_VIEW, Uri.parse(urlString));
startActivity(i);
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en