1.02
anywheresoftware.b4a.objects.WallpaperInternalService.LWManager
LWManager
Manages the wallpaper events and the timer.
A tutorial is available <link>here|http://www.basic4ppc.com/forum/basic4android-getting-started-tutorials/12605-android-live-wallpaper-tutorial.html</link>.
process
SizeChanged (Engine As LWEngine)
Touch (Engine As LWEngine, Action As Int, X As Float, Y As Float)
VisibilityChanged (Engine As LWEngine, Visible As Boolean)
EngineDestroyed (Engine As LWEngine)
Tick (Engine As LWEngine)
OffsetChanged (Engine As LWEngine)
Initialize
Initializes the object.
EventName - Sets the Subs that will handle the events.
TouchEventsEnabled - Whether the wallpaper should raise the Touch event when the user touches the screen.
void
EventName
java.lang.String
TouchEventsEnabled
boolean
ba
anywheresoftware.b4a.BA
StopTicking
Stops the internal timer.
void
StartTicking
Starts the internal timer.
IntervalMs - Interval in milliseconds.
void
IntervalMs
int
anywheresoftware.b4a.objects.WallpaperInternalService.LWEngine
LWEngine
Represents a wallpaper instance.
A tutorial is available <link>here|http://www.basic4ppc.com/forum/basic4android-getting-started-tutorials/12605-android-live-wallpaper-tutorial.html</link>.
process
RefreshAll
Refreshes the complete screen.
void
Refresh
Refreshes the given region.
void
DirtyRect
android.graphics.Rect
IsInitialized
Tests whether this object is initialized.
boolean
CurrentOffsetY
int
Returns the current vertical offset related to the full wallpaper height.
CurrentOffsetX
int
Returns the current horizontal offset related to the full wallpaper width.
FullWallpaperWidth
int
Returns the full wallpaper width. A wallpaper can be made of several screens.
IsVisible
boolean
Tests whether this wallpaper is visible.
ScreenHeight
int
Returns the screen height.
Canvas
anywheresoftware.b4a.objects.drawable.CanvasWrapper
Returns the canvas which is used to draw on the wallpaper.
Changes will not be visible till you call Refresh or RefreshAll.
IsPreview
boolean
Tests whether this wallpaper is running in "preview mode".
FullWallpaperHeight
int
Returns the full wallpaper height.
ScreenWidth
int
Returns the screen width.
Rect
A convenient Rect object which you can use. This object is not used internally.
anywheresoftware.b4a.objects.drawable.CanvasWrapper.RectWrapper
Tag
Gets or sets the Tag value. This is a place holder which can used to store additional data.
java.lang.Object
1.01