Blueforcer Well-Known Member Licensed User Longtime User Jun 10, 2019 #1 I want to call adb commands from my app. e.g: adb shell setprop debug.oculus.textureWidth 1536 adb shell setprop debug.oculus.textureHeight 1536 Click to expand... i tried to use it with following code, but it doesnt work. did i miss something? With USB adb it works perfectly Code: Copy Dim sb As StringBuilder sb.Initialize P.Shell("setprop",Array As String("debug.oculus.textureWidth","1536"), sb, Null) P.Shell("setprop",Array As String("debug.oculus.textureHeight","1536"), sb, Null) Log(sb.ToString)
I want to call adb commands from my app. e.g: adb shell setprop debug.oculus.textureWidth 1536 adb shell setprop debug.oculus.textureHeight 1536 Click to expand... i tried to use it with following code, but it doesnt work. did i miss something? With USB adb it works perfectly Code: Copy Dim sb As StringBuilder sb.Initialize P.Shell("setprop",Array As String("debug.oculus.textureWidth","1536"), sb, Null) P.Shell("setprop",Array As String("debug.oculus.textureHeight","1536"), sb, Null) Log(sb.ToString)
Erel B4X founder Staff member Licensed User Longtime User Jun 11, 2019 #2 Pass a StringBuilder for StdError. What are the values of the two outputs? Upvote 0