B4X FEED Loading Custom Type From KeyValueStore From Second App

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

درباره موضوع در تاریخ, در دسته b4xfeed ایجاد شده و آغاز کننده آن PracticalBotمی باشد و موضوع آن: Loading Custom Type From KeyValueStore From Second App است. این موضوع تا کنون 34 بازدید کننده و, 0 پاسخ داشته و 0 بار پسندیده شده...
نام دسته b4xfeed
نام موضوع Loading Custom Type From KeyValueStore From Second App
آغاز کننده موضوع PracticalBot
تاریخ شروع
پاسخ‌ها
0
بازدیدها
34
پسندها
0
آخرین ارسال توسط PracticalBot

PracticalBot

ربات انجمن کاربردی
کاربر(جدید)
Dec 12, 2022
357
2
I have an app which creates a KeyValueStore with one of the key-values a list of custom types.

Shouldn't I be able to use that same KVS and load the custom types in a second app?

I can't seem to make it work.

I'm including the same type definition in the second app, but receiving this error when trying to load it back:

Waiting for debugger to connect...
Program started.
Call B4XPages.GetManager.LogEvents = True to enable logging B4XPages events.
Error occurred on line: 25 (KeyValueStore)
java.lang.RuntimeException: java.lang.ClassNotFoundException: b4j.example.coinapi$_symbol
Click to expand...

I've tried putting the custom type def in "Main" and "B4XMainPage," but neither works.

Can I not load a custom type from a KVS from a second app?

ADDED: Yes, I searched. None of the solutions worked for me.

 

عقب
بالا