Android Question [SOLVED] Adaptive icons vs B4A-Bridge

T201016

Active Member
Licensed User
Longtime User
Hello,
I have a properly established connection of IDE with the WiFi network:

1. Windows 11 | B4A version 13.00 | B4A-Bridge: connected | Open JDK-19.0.2 | \bin\javac.exe | android-34
2. B4A-BRIDGE version 2.67 downloaded from the Play Store

a) Android 13 Xiaomi,
b) network type - access point,
c) aircraft mode (disabled),
d) wifi (enabled),
e) portable hotspot on the device (enabled),
f) internet connection (not available),
g) random hardware addresses (enabled),
h) IDE B4A -BRIDGE: Phone Manufacturer and Phone Model - (combined).
i) The compiled "adaptive icons.zip" project has adaptive icons.

Installing unknown applications:
a) B4A-Bridge.apk (has access).

Application rights:
a) B4A-Bridge.apk (has access to notifications).

Intelligent dam:
a) Hotspot: network type - private.

Control of the B4A.exe program:
a) outgoing internet traffic (allow),
b) incoming internet traffic (allow),
c) access to the network (allow).


I have a question,
or the inability to install APK with the help of B4A-Bridge
Is it not sometimes related to the adaptation of icons?

I made several compilation attempts both on the attached project
"Adaptive icons" and on an empty project. Each time the APK installation does not reach the device.

I looked at the resources of our forum in this area, and I tried on various solutions, they don't work for me
Despite the correct connection, the phone - Hotspot - PC.

I need a standard method of adaptation of icons, Can someone share?
I would be graceful about the B4A icons, which I could use in my projects.
 

Attachments

  • Adaptive Icons.zip
    463.4 KB · Views: 20
Last edited:
Solution
Thank you @Erel
So I came to the starting point :( .
I found two ways to circumvent:
1. You can change the Timeout value in the tool area - IDE options.

2. Seeing a more effective bypass from the first,
Although the problem will appear in the form of a message when B4A-Bridge is disconnected:
"No device has been found. Please use B4A-Bridge to connect the device or start the emulator."
- somewhat a bit annoying message.


Perform:
- Go to C: \ Windows \ System32
- copy roundll32.exe (explanation: https://superuser.com/Questions/381103/is-there-a-windows-exe-that-dies-naes-nothing)
- Delete / Rename ADB.EXE with <Android SDK> \ Platform-Tools
- paste Rundll32.exe and change its name to adb.exe

IDE will call a...

Brian Dean

Well-Known Member
Licensed User
Longtime User
I downloaded your project and installed it on my Phone (Pixel 4a) using B4A Bridge without making any changes to the package. It installed perfectly. Whatever problem you are having does not seem to be connected with adaptive icons.
 

Attachments

  • Screenshot.jpg
    Screenshot.jpg
    35.6 KB · Views: 22
Upvote 0

T201016

Active Member
Licensed User
Longtime User
I downloaded your project and installed it on my Phone (Pixel 4a) using B4A Bridge without making any changes to the package. It installed perfectly. Whatever problem you are having does not seem to be connected with adaptive icons.
Thanks @Brian Dean for checking. So I have to go further in the settings and permissions for the B4A-Bridge application. There are two methods on the forum that for my Android 13 apparently do not work.
 
Upvote 0

T201016

Active Member
Licensed User
Longtime User
Thank you @Erel
So I came to the starting point :( .
I found two ways to circumvent:
1. You can change the Timeout value in the tool area - IDE options.

2. Seeing a more effective bypass from the first,
Although the problem will appear in the form of a message when B4A-Bridge is disconnected:
"No device has been found. Please use B4A-Bridge to connect the device or start the emulator."
- somewhat a bit annoying message.


Perform:
- Go to C: \ Windows \ System32
- copy roundll32.exe (explanation: https://superuser.com/Questions/381103/is-there-a-windows-exe-that-dies-naes-nothing)
- Delete / Rename ADB.EXE with <Android SDK> \ Platform-Tools
- paste Rundll32.exe and change its name to adb.exe

IDE will call a new ADB.EXE program that does nothing. This will allow you to use B4A-Bridge without ADB.
 
Last edited:
Upvote 0
Solution
Top