Android Question Bug report in live wallpaper

NeoTechni

Well-Known Member
Licensed User
A user typed this out by hand for me:

B4X:
Report type
crash
package name
com.omnicorp.lcarui.test
package version
246
package version name
2.0.19
installed by
com.android.vending
process name
com.omnicorp.lcarui.test
time
Sunday 19 April 2015
system app
false
SYSTEM
device
pecan
build id
FRG83
build type
user
model
LG-P350
product
pecan
SDK version
8
Release
2.2.2
incremental version
eng.kasamsetty.20110408.125533
codename
REL
board
pecan
Brand
LGE
CRASH
exception class name
java.lang.verifyError
Source file
main.java
Source class
com.omnicorp.lcarui.test.main
source method
initializeProcessGlobals
Line number
4552
Stack trace
java.lang.verifyError:com.omnicorp.lcarui.test.wallpaperservice
     at com.omnicorp.lcarui.test.main.initializeProcessGlobals(main.java:4552)
     at com.omnicorp.lcarui.test.main.afterFirstLayout(main.java:96)
     at com.omnicorp.lcarui.test.main.access$100(main.java:17)
     at com.omnicorp.lcarui.test.main$WaitForLayout.run(main.java:78)
     at android.os.Handler.handleCallback(handler.java:587)
     at android.os.Handler.dispatchMessage(handler.java:92)
     at android.os.Looper.loop(Looper.java:123)
     at android.app.ActivityThread.main(ActivityThread.java:4627)
     at java.lang.reflect.method.invokeNative(Native Method)
     at java.lang.reflect.method.invoke(method.java:521)
     at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:860)
     at com.android.internal.os.ZygoteInit.main(Zygoteinit.java:618)
     at dalvik.system.NativeStart.main(NativeMethod)
Here's the code for process globals

B4X:
Sub Process_Globals
	'These global variables will be declared once when the application starts.
	'These variables can be accessed from all modules.
	Dim lwm As LWManager,IsVisible As Boolean ',  ExDraw As ABExtDrawing
	Dim TempCurrentOffsetX As Int ,LastUpdate As Long,Delay As Int ,AllowPreview As Boolean 
	Dim msdWidth As Int, msdHeight As Int,msdY As Int, FramesPerSecond As Int ,OldPoint As Point ,AllowScrolling As Boolean ,OldY As Int, PreviewMode As Boolean  ,DoIncrement As Boolean ,isInPmode As Boolean 
	Dim SettingsLoaded As Boolean ,CurrentSection As Int=-1, CurrentMSD As String, Settings As Map ,CurrentMode As String ,LastSec As Int 
	Dim SamsungMode As Int ,SamsungCursorCount As Int, SamsungX As Int,SamsungY As Int ,SamsungX2 As Int,DDisrunning As Boolean ,SamsungTolerance As Int=100
	'Type Cursor(Loc As Point, Element As Int, State As Int )
	
	'Dim DebugString As StringBuilder, DebugPoints As Int, DebugDone As Boolean ,OldX As Int:OldX=-99999
	
	Dim LCARelements As List, PhysicalWidth As Int ,PhysicalHeight As Int, VirtualWidth As Int ,X2 As Int ,TOP As Int, BOTTOM As Int ,DoScale As Boolean, SSM As Boolean ,LastX As Int
	Dim MSDList As List,LCARGroups As List,GroupsEnabled As Boolean, NeedsRefresh As Boolean ,RefreshesLive As Boolean,CursorID As Int, CursorCount As Int'Cursors As List , 'Not Downloaded yet
	Dim Landscape As Boolean 
	
	Dim MediaControls As Boolean =True,WasFromMainmenu As Boolean ,OmegaUnlock As String ,UseXinstead As Int, UseWidthinstead As Int ,NeedsReset As Boolean ,Darken As Int , TimeOut As Int' ,MouseState As Boolean
	
	Dim ENTdata As List, ENTmode As Boolean, ENTbuttons As Int = 2, PCARframeID As Int = -1, LastColor As Int = -1, BridgePanels As Int = 5
End Sub
Any ideas? He says it only happens on his LG-P350 android version 2.2.2 (I'm thinking it's his version of Android... I've only tested on gingerbread onwards)
 

Erel

Administrator
Staff member
Licensed User
This most probably because of an API that is not available on Android 2.2. The problematic API can be anywhere in this code module.
 
Top