B4X FEED 2 last questions (1 might be "Crazy")

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

درباره موضوع در تاریخ, در دسته b4xfeed ایجاد شده و آغاز کننده آن PracticalBotمی باشد و موضوع آن: 2 last questions (1 might be \"Crazy\") است. این موضوع تا کنون 21 بازدید کننده و, 0 پاسخ داشته و 0 بار پسندیده شده...
نام دسته b4xfeed
نام موضوع 2 last questions (1 might be \"Crazy\")
آغاز کننده موضوع PracticalBot
تاریخ شروع
پاسخ‌ها
0
بازدیدها
21
پسندها
0
آخرین ارسال توسط PracticalBot

PracticalBot

ربات انجمن کاربردی
کاربر(جدید)
Dec 12, 2022
357
2
pals, after long time of back and forth where i asked and you answered and helped very much i am now on my "last mile" to finish my process with my apps.
so firstly thank you.

here are my two questions:

1:
is there a way to detect if an app is installed on the phone?
i have 2 apps A & B
A is the main (sdk 31) - i need to detect if B is installed (b is sdk 30 so it will be on external server not google store :))
i know how to catch the error if it does not exist when i need to run it, but i want to detect it before and with no dependency on running it
it is critical to take into account that it will run on all android versions including 13 and the app is on sdk 31 (on older versions i managed to do that but i need a solid solution for future sdks

2: (this is the "crazy" one)
can i add an apk file to my files in app A and run it to install it?
the meaning is to add app B's apk to the files list of app A and the use it to install on the device if it does not exist
this way i will...



 

عقب
بالا