Open gunaNeelamegam opened 2 weeks ago
I didn't see anything in Flet that allows calling android APIs, so this doesn't seem like it would be feasible at this point in time.
But, they referred we can able to compile and include the .so file. I tried with different approach I think we need to dynamically load the custom java class right now in the blesk it's static for using the custom java classes.
https://flet.dev/docs/publish/android/
On Sat, 5 Oct, 2024, 11:50 pm David Lechner, @.***> wrote:
I didn't see anything in Flet that allows calling android APIs, so this doesn't seem like it would be feasible at this point in time.
— Reply to this email directly, view it on GitHub https://github.com/hbldh/bleak/issues/1643#issuecomment-2395171731, or unsubscribe https://github.com/notifications/unsubscribe-auth/AY5UXUGZD4NZHV74E4UDTNDZ2A7JBAVCNFSM6AAAAABPALPXZWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGOJVGE3TCNZTGE . You are receiving this because you authored the thread.Message ID: @.***>
Ok, so Flet is using Python4Android. So it seems like it should just work then.
condition env is not exists.
Are you saying that the P4A_BOOTSTRAP
environment variable is not set?
Not only that we need use the java custom classes based on project package right now it's static.
On Sun, 6 Oct, 2024, 6:46 pm David Lechner, @.***> wrote:
Ok, so Flet is using Python4Android. So it seems like it should just work then.
condition env is not exists.
Are you saying that the P4A_BOOTSTRAP environment variable is not set?
— Reply to this email directly, view it on GitHub https://github.com/hbldh/bleak/issues/1643#issuecomment-2395466133, or unsubscribe https://github.com/notifications/unsubscribe-auth/AY5UXUA63AJ7YVCOLE4S2RLZ2FEMNAVCNFSM6AAAAABPALPXZWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGOJVGQ3DMMJTGM . You are receiving this because you authored the thread.Message ID: @.***>
Cannot able to you bleak with flet.
While import based platform in
bleak/__init__.py
condition env is not exists.While build with flet the env is not exist. Need's to remove make as generic.