B4X FEED [B4X] B4XPages - Converting to B4XPages

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

درباره موضوع در تاریخ, در دسته b4xfeed ایجاد شده و آغاز کننده آن practicalsoftمی باشد و موضوع آن: [B4X] B4XPages - Converting to B4XPages است. این موضوع تا کنون 75 بازدید کننده و, 0 پاسخ داشته و 0 بار پسندیده شده...
نام دسته b4xfeed
نام موضوع [B4X] B4XPages - Converting to B4XPages
آغاز کننده موضوع practicalsoft
تاریخ شروع
پاسخ‌ها
0
بازدیدها
75
پسندها
0
آخرین ارسال توسط PracticalSoft
وضعیت
موضوع بسته شده است و نمی‌توان پاسخ جدیدی فرستاد.
Jun 6, 2020
11,576
4,480
I'm opening this thread to collect tricks and caveats I'm coming across while converting my projects to B4XPages

CallSub from Service
Looks like a service that is started at boot may execute before the Main activity is created.
This was not a problem with CallSub, since it just won't be executed
B4X:

CallSub(Main, "PopulateCLV")
Using B4XPages, a direct call to the MainPage sub will result in an exception.
I added some check before actually calling it
B4X:

کد:
محتوای بلوک کدها در دسترس شما نیست. برای مشاهده بلوک کدها، وارد انجمن شوید یاثبت نام کنید
Activity Attributes in the Manifest file
Since there's only one Activity in the B4XPages framework, and I was using the B4XPreferences dialog in a secondary activity, I had to change manifest from
B4X:

SetActivityAttribute(Dash, android:windowSoftInputMode, adjustResize|stateHidden)
to
B4X:

SetActivityAttribute(Main...


 

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