Share My Creation Corona Virus Information with B4XTable

Very simple app with B4XTable to show Corona virus distribution by country
ic_launcher.png
Download from Google Play
1.png
 

Attachments

  • 1.png
    1.png
    42 KB · Views: 3,423
  • ic_launcher.png
    ic_launcher.png
    36.8 KB · Views: 279

KZero

Active Member
Licensed User
Longtime User
Not working on Samsung Galaxy S10+
crashing on start
 

Erel

B4X founder
Staff member
Licensed User
Longtime User
You have set targetSdkVersion to 29, right? This is a mistake. It should be 28 for now.

Anyway, the error will be solved if you compile your app with the latest version of B4A.

The error is:

b4xtable$ResumableSub_DesignerCreateViewresume (java line: 1317)
java.lang.NoSuchFieldException: No field mColorStateList in class Landroid/graphics/drawable/GradientDrawable$GradientState; (declaration of 'android.graphics.drawable.GradientDrawable$GradientState' appears in /system/framework/framework.jar)
at java.lang.Class.getDeclaredField(Native Method)
at anywheresoftware.b4a.objects.B4XViewWrapper.getColor(B4XViewWrapper.java:388)
at b4a.example3.customlistview._designercreateview(customlistview.java:305)
at java.lang.reflect.Method.invoke(Native Method)
at anywheresoftware.b4a.BA.raiseEvent2(BA.java:196)
at anywheresoftware.b4a.objects.CustomViewWrapper.AfterDesignerScript(CustomViewWrapper.java:67)
at anywheresoftware.b4a.keywords.LayoutBuilder.loadLayout(LayoutBuilder.java:162)
at anywheresoftware.b4a.objects.PanelWrapper.LoadLayout(PanelWrapper.java:134)
at anywheresoftware.b4a.objects.B4XViewWrapper.LoadLayout(B4XViewWrapper.java:292)
at tjsapps.corona.virus.b4xtable$ResumableSub_DesignerCreateView.resume(b4xtable.java:1317)
at anywheresoftware.b4a.keywords.Common$13.run(Common.java:1705)
at android.os.Handler.handleCallback(Handler.java:883)
at android.os.Handler.dispatchMessage(Handler.java:100)
at android.os.Looper.loop(Looper.java:214)
at android.app.ActivityThread.main(ActivityThread.java:7356)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:492)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:930)
b4xtable$ResumableSub_DesignerCreateViewresume (java line: 1317)
java.lang.NoSuchFieldException: No field mColorStateList in class Landroid/graphics/drawable/GradientDrawable$GradientState; (declaration of 'android.graphics.drawable.GradientDrawable$GradientState' appears in /system/framework/framework.jar)
at java.lang.Class.getDeclaredField(Native Method)
at anywheresoftware.b4a.objects.B4XViewWrapper.getColor(B4XViewWrapper.java:388)
at b4a.example3.customlistview._designercreateview(customlistview.java:305)
at java.lang.reflect.Method.invoke(Native Method)
at anywheresoftware.b4a.BA.raiseEvent2(BA.java:196)
at anywheresoftware.b4a.objects.CustomViewWrapper.AfterDesignerScript(CustomViewWrapper.java:67)
at anywheresoftware.b4a.keywords.LayoutBuilder.loadLayout(LayoutBuilder.java:162)
at anywheresoftware.b4a.objects.PanelWrapper.LoadLayout(PanelWrapper.java:134)
at anywheresoftware.b4a.objects.B4XViewWrapper.LoadLayout(B4XViewWrapper.java:292)
at tjsapps.corona.virus.b4xtable$ResumableSub_DesignerCreateView.resume(b4xtable.java:1317)
at anywheresoftware.b4a.keywords.Common$13.run(Common.java:1705)
at android.os.Handler.handleCallback(Handler.java:883)
at android.os.Handler.dispatchMessage(Handler.java:100)
at android.os.Looper.loop(Looper.java:214)
at android.app.ActivityThread.main(ActivityThread.java:7356)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:492)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:930)
** Service (coronavirus) Destroy **
 

amidgeha

Active Member
Licensed User
Longtime User
It has been suspended from Google Play (against policy -Sensitive Events). Do not try to write an app related to Corona Virus, the corona related search terms were removed for search engine.
 

imbault

Well-Known Member
Licensed User
Longtime User
Agree with Beja,

It would be very nice to share your code

Patrick
 
Top