D Dey Active Member Licensed User Longtime User Dec 27, 2016 #1 Hello everyone it is possible and how can I give this command adb shell wm density "240" && adb reboot thank you
Hello everyone it is possible and how can I give this command adb shell wm density "240" && adb reboot thank you
DonManfred Expert Licensed User Longtime User Dec 27, 2016 #2 Did you get any error using the adb command from windows commandline? You cannot use adb from within your app Upvote 0
Did you get any error using the adb command from windows commandline? You cannot use adb from within your app
D Dey Active Member Licensed User Longtime User Dec 27, 2016 #3 DonManfred said: Did you get any error using the adb command from windows commandline? You cannot use adb from within your app Click to expand... Thanks Don I badly explained myself It DEALLOCATES command works from adb this also works by B4A result = cmd.Shell ("wm density", Null, Sb, StdErr) I from the density I can not change it I made several attempts Dim value As String = QUOTE & "160" & QUOTE result = cmd.Shell ("wm density" & value, null, Sb, StdErr) Error: bad number java.lang.NumberFormatException: Invalid int "" 160 "" Upvote 0
DonManfred said: Did you get any error using the adb command from windows commandline? You cannot use adb from within your app Click to expand... Thanks Don I badly explained myself It DEALLOCATES command works from adb this also works by B4A result = cmd.Shell ("wm density", Null, Sb, StdErr) I from the density I can not change it I made several attempts Dim value As String = QUOTE & "160" & QUOTE result = cmd.Shell ("wm density" & value, null, Sb, StdErr) Error: bad number java.lang.NumberFormatException: Invalid int "" 160 ""
wonder Expert Licensed User Longtime User Dec 27, 2016 #4 Try removing the quotes... Dim value As String = "160" Upvote 0