Android Question Remember the position of the emulator on the screen

Sergey_New

Well-Known Member
Licensed User
Longtime User
I find it convenient to place the emulator not in the center of the screen, but on its right side, so that both the program text and the emulator are visible. Can this be done?
 

aeric

Expert
Licensed User
Longtime User
It seems it is not reliable even if you changed the settings in emulator-user.ini as the values will reset on the next restart.
emulator-user.ini:
window.x = 100
window.y = 100

Just drag the emulator to the position you want every time you start it.
 
Upvote 0

aeric

Expert
Licensed User
Longtime User
Couldn't find where the emulator-user.ini file is located.
It is located inside AndroidSdk\B4AEmulator folder
e.g
C:\android\sdk\B4AEmulator\6in_Phone_Platform_35_google_apis

No use to edit this file because the values will be reset when the emulator exited.
Unless you automate to overwrite it with a script.
 
Upvote 0

aeric

Expert
Licensed User
Longtime User
I don't have AndroidSdk, B4AEmulator folders on my C:\ drive
How do you get the emulator?

Once you have downloaded the system image, you can create a B4A emulator using the AVD Manager.
After you created an AVD, you will have the folder inside your Android SDK folder.

If you get the emulator from other methods such as installing Android Studio, you may also have the emulator folder but may be in different folder structure.
 
Upvote 0

Sergey_New

Well-Known Member
Licensed User
Longtime User
If you get the emulator from other methods
Thanks for your help!
I installed the emulator from Genymotion and did nothing else.
I try to run Tools > Run AVD Manager and get a message on the screen "Path to sdkmanager.bat not set." I am using the latest SDK Manager. How do I set the path to sdkmanager.bat?
 
Upvote 0

DonManfred

Expert
Licensed User
Longtime User
How do I set the path to sdkmanager.bat?

Snap5.jpg
 
Upvote 0

Sergey_New

Well-Known Member
Licensed User
Longtime User
DonManfred, aeric thanks!
I have a different path, although I installed everything according to the instructions.
C:\Android\cmdline-tools\bin\sdkmanager.bat
I installed the suggested 4in_Phone_Platform_36_google and 6in_Phone_Platform_36_google.
The user.ini file is not there.
 
Upvote 0

aeric

Expert
Licensed User
Longtime User
I did the same with both of them.
If you have started an emulator (installed at least one system image) from AVD Manager then you must have the B4AEmulator folder.
Else you are doing it wrong.

B4AEmulator
 
Upvote 0

Sergey_New

Well-Known Member
Licensed User
Longtime User
There is a B4AEmulator folder, but there is no emulator-user.ini file in it or in its subfolders.
 
Upvote 0
Top