B4X FEED Font not found on Android 6, works find on Android 8

اطلاعات موضوع

درباره موضوع در تاریخ, در دسته b4xfeed ایجاد شده و آغاز کننده آن practicalsoftمی باشد و موضوع آن: Font not found on Android 6, works find on Android 8 است. این موضوع تا کنون 101 بازدید کننده و, 0 پاسخ داشته و 0 بار پسندیده شده...
نام دسته b4xfeed
نام موضوع Font not found on Android 6, works find on Android 8
آغاز کننده موضوع practicalsoft
تاریخ شروع
پاسخ‌ها
0
بازدیدها
101
پسندها
0
آخرین ارسال توسط PracticalSoft
وضعیت
موضوع بسته شده است و نمی‌توان پاسخ جدیدی فرستاد.
Jun 6, 2020
11,593
4,507
In my previously mentioned quest to bring better emoji to my app's users, I'm using the JoyPixels font. There is a specific Android version of the font, called joypixels-android.ttf, which is in the files folder of my project. It's a large file - 22MB.

As part of the app startup, it's initialised along with other fonts, originally in a code module. SInce this error first appeared, I've tried moving it to Application_Resume as well, so the code I have there now says

B4X:

کد:
محتوای بلوک کدها در دسترس شما نیست. برای مشاهده بلوک کدها، وارد انجمن شوید یاثبت نام کنید
The font file loads perfectly on my main test device with Android 8, and I thought everything was fine, until I tried the latest build on my backup phone, which is Android 6.

Whether I try loading the font in the Main module, or the code module, I get a runtime exception:

B4X:

java.lang.RuntimeException: Font not found...


 

وضعیت
موضوع بسته شده است و نمی‌توان پاسخ جدیدی فرستاد.
عقب
بالا