mirror of
https://github.com/servo/servo.git
synced 2025-08-09 23:45:35 +01:00
WebBluetooth Android support
This commit is contained in:
parent
5f702d6e7f
commit
ccc66d0c32
6 changed files with 50 additions and 24 deletions
|
@ -8,9 +8,12 @@
|
|||
<uses-sdk android:minSdkVersion="18" />
|
||||
|
||||
<uses-feature android:glEsVersion="0x00020000" android:required="true"></uses-feature>
|
||||
<uses-feature android:name="android.hardware.bluetooth_le" android:required="true"/>
|
||||
<uses-permission android:name="android.permission.INTERNET" />
|
||||
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
|
||||
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
|
||||
<uses-permission android:name="android.permission.BLUETOOTH" />
|
||||
<uses-permission android:name="android.permission.BLUETOOTH_ADMIN"/>
|
||||
|
||||
<application android:label="Servo" android:icon="@mipmap/servo">
|
||||
<activity android:name="com.mozilla.servo.MainActivity"
|
||||
|
|
|
@ -13,6 +13,7 @@ public class MainActivity extends android.app.NativeActivity {
|
|||
private static final String LOGTAG="servo_wrapper";
|
||||
static {
|
||||
Log.i(LOGTAG, "Loading the NativeActivity");
|
||||
System.loadLibrary("main");
|
||||
}
|
||||
|
||||
private void set_url(String url) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue