- Jun 6, 2020
- 11,517
- 4,383
Hi all,
within a B4XPages framework (from @Erel) app I need to share some (app) global constants. For example:
B4X:
MY GOAL
I need to access them within all B4A and B4i components (modules, services, instanced classes). So I need a single and reliable point of access within both platform (Android and iOS).
WITHIN ANDROID
Within B4A app I can use "Starter" service to set the above public constants.
CROSS-PLATFORM ?
How I can set this within a cross platform application in order to refer to a single point of access for the above constants (so I can call "Starter.WSNodeURL " within B4A and B4i without code changes between the two platforms ?
Can I create a "Starter" code module within B4i and reference them like I do within B4A with "Starter.WSNodeURL" ?
B4X:
within a B4XPages framework (from @Erel) app I need to share some (app) global constants. For example:
B4X:
کد:
محتوای بلوک کدها در دسترس شما نیست. برای مشاهده بلوک کدها، وارد انجمن شوید یاثبت نام کنید
I need to access them within all B4A and B4i components (modules, services, instanced classes). So I need a single and reliable point of access within both platform (Android and iOS).
WITHIN ANDROID
Within B4A app I can use "Starter" service to set the above public constants.
CROSS-PLATFORM ?
How I can set this within a cross platform application in order to refer to a single point of access for the above constants (so I can call "Starter.WSNodeURL " within B4A and B4i without code changes between the two platforms ?
Can I create a "Starter" code module within B4i and reference them like I do within B4A with "Starter.WSNodeURL" ?
B4X:
کد:
محتوای بلوک کدها در دسترس شما نیست. برای مشاهده بلوک کدها، وارد انجمن شوید یاثبت نام کنید
برای دیدن لینک ها باید ثبت نام کنید
برای دیدن لینک ها باید ثبت نام کنید