用戶登錄選項和多個client.bin
可以添加一個用戶,並為多個用戶傳遞輸入,還有多個client.bin? 如果是,怎麼樣?
没太明白你表达的是什么? 你是说在app里面设置多条线路,每条线路对应一个client.bin配置文件,由用户选择通过其中一条线路连接VPN? 这样是可以的,在UI上增加一个控件比如Spinner,对应的在代码这里作一个判断,解析对应的配置文件。当然,配置文件名不要相同。
sorry im posting my querry using google translate whic i think made it worst i want to add more multiple client.bin and an text input for user and password but i dont know how to
This repo is no username and password required, so you must do your own login system.
You can hard-code some configuration files in the app, just add your files to /assets/ folder, like client1.bin, client2.bin, client3.bin....and so on.
In the UI layer, add a Spinner , let user pick one of clientX.bin they want to connect the VPN.