For about 3 weeks, I have a new version of my app in the play store, compiled with
b4a 7.01. I get 2 errors from the app store.
It seems to happen on some celphones, not all.
18.06.17 Moto G, 1GB, Android 6.0
java.lang.RuntimeException:
at android.app.ActivityThread.handleServiceArgs(ActivityThread.java:3045)
at android.app.ActivityThread.-wrap17(ActivityThread.java:0)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1452)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:148)
at android.app.ActivityThread.main(ActivityThread.java:5443)
at java.lang.reflect.Method.invoke(Native Method:0)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:728)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:618)
Caused by: java.lang.RuntimeException:
at anywheresoftware.b4a.BA.raiseEvent2(BA.java:223)
at anywheresoftware.b4a.BA.raiseEvent(BA.java:166)
at jk.rt_calendar.pushservice.handleStart(pushservice.java:105)
at jk.rt_calendar.pushservice.access$000(pushservice.java:8)
at jk.rt_calendar.pushservice$1.run(pushservice.java:70)
at anywheresoftware.b4a.objects.ServiceHelper$StarterHelper.onStartCommand(ServiceHelper.java:105)
at jk.rt_calendar.pushservice.onStartCommand(pushservice.java:68)
at android.app.ActivityThread.handleServiceArgs(ActivityThread.java:3028)
25.06.17 Samsung Galaxy A5, Android 5, 2GB Memory
java.lang.OutOfMemoryError: OutOfMemoryError thrown while
trying to throw OutOfMemoryError; no stack available
How it reported it should happen here, when I click on a listitem
and make the listitem "bigger" and show some invisible imageviews.
Sub expandListItem (Index As Int,Value As Long)
Dim pnl As Panel
Dim en As CalEntry
Dim hei As Long
Dim col As Int
Dim i As Int
Dim bu3 As ImageView
pnl = CLV1.GetPanel(Index)
If gl_indexOld<> -1 Then
shrinkListItem (gl_indexOld )
End If
gl_indexOld = Index
Dim en As CalEntry
Value = CLV1.GetValue(Index)
en.Initialize
en = CalEntries.Get(Value-1)
hei = ItemHeight
pnl=CreateListItem2(en.Title ,en.Description,en.Description2, pScreenWidth, hei,en)
bu3=pnl.GetView(3) 'more
bu3.Visible=False
For i=4 To 8
Dim bu As ImageView
bu=pnl.GetView(i)
bu.Visible=True
Next
CLV1.ReplaceAt(Index,pnl,hei,Value)
col = en.pbackcolor
pnl.Color=col
End Sub