boten Active Member Licensed User Longtime User Apr 20, 2012 #1 In many live wallpapers there is a second line of description when the list of available LWPs is displayed. Is it possible to do that when using the LWP lib? (perhaps some option in the XML file?)
In many live wallpapers there is a second line of description when the list of available LWPs is displayed. Is it possible to do that when using the LWP lib? (perhaps some option in the XML file?)
Erel B4X founder Staff member Licensed User Longtime User Apr 22, 2012 #2 Try: B4X: <wallpaper xmlns:android="http://schemas.android.com/apk/res/android" android:thumbnail="@drawable/icon" android:description="this is the description" /> Upvote 0
Try: B4X: <wallpaper xmlns:android="http://schemas.android.com/apk/res/android" android:thumbnail="@drawable/icon" android:description="this is the description" />
boten Active Member Licensed User Longtime User Apr 22, 2012 #3 Tried to modify the AndroidManifest.xml as you suggested: B4X: <service android:label="MyLabel" android:description="this is the description" <----- this line added android:name="anywheresoftware.b4a.objects.WallpaperInternalService" android:permission="android.permission.BIND_WALLPAPER"> <intent-filter> <action android:name="android.service.wallpaper.WallpaperService" /> </intent-filter> <meta-data android:name="android.service.wallpaper" android:resource="@xml/wallpaper" /> </service> but got the error: AndroidManifest.xml:34: error: Error: String types not allowed (at 'description' with value 'this is the description'). Upvote 0
Tried to modify the AndroidManifest.xml as you suggested: B4X: <service android:label="MyLabel" android:description="this is the description" <----- this line added android:name="anywheresoftware.b4a.objects.WallpaperInternalService" android:permission="android.permission.BIND_WALLPAPER"> <intent-filter> <action android:name="android.service.wallpaper.WallpaperService" /> </intent-filter> <meta-data android:name="android.service.wallpaper" android:resource="@xml/wallpaper" /> </service> but got the error: AndroidManifest.xml:34: error: Error: String types not allowed (at 'description' with value 'this is the description').
Erel B4X founder Staff member Licensed User Longtime User Apr 22, 2012 #4 You will need to add an additional XML file for the string resource: String Resources | Android Developers Upvote 0
You will need to add an additional XML file for the string resource: String Resources | Android Developers