Skip to content

Commit

Permalink
latest drop from Feitian bR500 GitHub repo: https://github.com/Feitia…
Browse files Browse the repository at this point in the history
  • Loading branch information
grundyoso committed Nov 10, 2016
1 parent a218dbe commit 178cf24
Show file tree
Hide file tree
Showing 37 changed files with 986 additions and 787 deletions.
Binary file not shown.
Binary file not shown.
Binary file not shown.
8 changes: 4 additions & 4 deletions bR500/Readme.txt
@@ -1,5 +1,5 @@
2016/2/3
publish first android version of bR500
Notice:
2016/2/3
publish first android version of bR500

Notice:
The max package length is 262bytes
18 changes: 9 additions & 9 deletions bR500/Sample code/.classpath
@@ -1,9 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpathentry kind="con" path="com.android.ide.eclipse.adt.ANDROID_FRAMEWORK"/>
<classpathentry exported="true" kind="con" path="com.android.ide.eclipse.adt.LIBRARIES"/>
<classpathentry exported="true" kind="con" path="com.android.ide.eclipse.adt.DEPENDENCIES"/>
<classpathentry kind="src" path="src"/>
<classpathentry kind="src" path="gen"/>
<classpathentry kind="output" path="bin/classes"/>
</classpath>
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpathentry kind="con" path="com.android.ide.eclipse.adt.ANDROID_FRAMEWORK"/>
<classpathentry exported="true" kind="con" path="com.android.ide.eclipse.adt.LIBRARIES"/>
<classpathentry exported="true" kind="con" path="com.android.ide.eclipse.adt.DEPENDENCIES"/>
<classpathentry kind="src" path="src"/>
<classpathentry kind="src" path="gen"/>
<classpathentry kind="output" path="bin/classes"/>
</classpath>
66 changes: 33 additions & 33 deletions bR500/Sample code/.project
@@ -1,33 +1,33 @@
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>FtBtDemo</name>
<comment></comment>
<projects>
</projects>
<buildSpec>
<buildCommand>
<name>com.android.ide.eclipse.adt.ResourceManagerBuilder</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>com.android.ide.eclipse.adt.PreCompilerBuilder</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>org.eclipse.jdt.core.javabuilder</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>com.android.ide.eclipse.adt.ApkBuilder</name>
<arguments>
</arguments>
</buildCommand>
</buildSpec>
<natures>
<nature>com.android.ide.eclipse.adt.AndroidNature</nature>
<nature>org.eclipse.jdt.core.javanature</nature>
</natures>
</projectDescription>
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>FtBtDemo</name>
<comment></comment>
<projects>
</projects>
<buildSpec>
<buildCommand>
<name>com.android.ide.eclipse.adt.ResourceManagerBuilder</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>com.android.ide.eclipse.adt.PreCompilerBuilder</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>org.eclipse.jdt.core.javabuilder</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>com.android.ide.eclipse.adt.ApkBuilder</name>
<arguments>
</arguments>
</buildCommand>
</buildSpec>
<natures>
<nature>com.android.ide.eclipse.adt.AndroidNature</nature>
<nature>org.eclipse.jdt.core.javanature</nature>
</natures>
</projectDescription>
4 changes: 2 additions & 2 deletions bR500/Sample code/.settings/org.eclipse.core.resources.prefs
@@ -1,2 +1,2 @@
eclipse.preferences.version=1
encoding//src/com/example/ftbtdemo/BlueTooth.java=UTF-8
eclipse.preferences.version=1
encoding//src/com/example/ftbtdemo/BlueTooth.java=UTF-8
8 changes: 4 additions & 4 deletions bR500/Sample code/.settings/org.eclipse.jdt.core.prefs
@@ -1,4 +1,4 @@
eclipse.preferences.version=1
org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.6
org.eclipse.jdt.core.compiler.compliance=1.6
org.eclipse.jdt.core.compiler.source=1.6
eclipse.preferences.version=1
org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.6
org.eclipse.jdt.core.compiler.compliance=1.6
org.eclipse.jdt.core.compiler.source=1.6
68 changes: 30 additions & 38 deletions bR500/Sample code/AndroidManifest.xml
@@ -1,39 +1,31 @@
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.example.ftbtdemo"
android:versionCode="1"
android:versionName="1.0" >

<uses-sdk
android:minSdkVersion="18"
android:targetSdkVersion="21" />

<uses-feature android:name="android.hardware.bluetooth_le" android:required="true"/>
<uses-permission android:name="android.permission.BLUETOOTH"/>
<uses-permission android:name="android.permission.BLUETOOTH_ADMIN"/>

<application
android:icon="@drawable/ft_home_logo"
android:label="@string/app_name"
android:theme="@style/AppTheme" >

<activity
android:name=".BlueTooth"
android:label="@string/title_activity_ft_bt_demo" >
<intent-filter>
<action android:name="android.intent.action.MAIN" />

<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
<receiver android:name=".BlueToothReceiver">
<intent-filter>
<action android:name="android.bluetooth.device.action.ACL_CONNECTED"></action>
<action android:name="android.bluetooth.device.action.ACL_DISCONNECTED"></action>
<action android:name="android.bluetooth.device.action.FOUND"></action>
<action android:name="android.bluetooth.device.action.ACL_DISCONNECT_REQUESTED"></action>
</intent-filter>
</receiver>

</application>

<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.example.ftbtdemo"
android:versionCode="1"
android:versionName="1.0" >

<uses-sdk
android:minSdkVersion="18"
android:targetSdkVersion="21" />

<uses-feature android:name="android.hardware.bluetooth_le" android:required="true"/>
<uses-permission android:name="android.permission.BLUETOOTH"/>
<uses-permission android:name="android.permission.BLUETOOTH_ADMIN"/>

<application
android:icon="@drawable/ft_home_logo"
android:label="@string/app_name"
android:theme="@style/AppTheme" >

<activity
android:name=".BlueTooth"
android:label="@string/title_activity_ft_bt_demo" >
<intent-filter>
<action android:name="android.intent.action.MAIN" />

<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>

</application>

</manifest>
Binary file not shown.
Binary file not shown.

0 comments on commit 178cf24

Please sign in to comment.