ii
This commit is contained in:
parent
753e560577
commit
378cab2697
|
@ -37,7 +37,7 @@
|
|||
<ConfirmationsSetting value="0" id="Add" />
|
||||
<ConfirmationsSetting value="0" id="Remove" />
|
||||
</component>
|
||||
<component name="ProjectRootManager" version="2" languageLevel="JDK_1_7" assert-keyword="true" jdk-15="true" project-jdk-name="1.8" project-jdk-type="JavaSDK">
|
||||
<component name="ProjectRootManager" version="2" languageLevel="JDK_1_8" assert-keyword="true" jdk-15="true" project-jdk-name="1.8" project-jdk-type="JavaSDK">
|
||||
<output url="file://$PROJECT_DIR$/build/classes" />
|
||||
</component>
|
||||
<component name="ProjectType">
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
-->
|
||||
|
||||
<manifest
|
||||
package="com.example.android.bluetoothchat"
|
||||
package="org.surfsite.iconsole"
|
||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:versionCode="1"
|
||||
android:versionName="1.0">
|
||||
|
@ -33,7 +33,7 @@
|
|||
android:theme="@style/AppTheme">
|
||||
|
||||
<activity
|
||||
android:name="org.surfsite.iconsole.MainActivity"
|
||||
android:name=".MainActivity"
|
||||
android:configChanges="orientation|keyboardHidden"
|
||||
android:label="@string/app_name">
|
||||
<intent-filter>
|
||||
|
@ -43,7 +43,7 @@
|
|||
</activity>
|
||||
|
||||
<activity
|
||||
android:name="org.surfsite.iconsole.DeviceListActivity"
|
||||
android:name=".DeviceListActivity"
|
||||
android:configChanges="orientation|keyboardHidden"
|
||||
android:label="@string/select_device"
|
||||
android:theme="@android:style/Theme.Holo.Dialog"/>
|
||||
|
|
|
@ -42,7 +42,7 @@ import android.widget.ListView;
|
|||
import android.widget.TextView;
|
||||
import android.widget.Toast;
|
||||
|
||||
import com.example.android.bluetoothchat.R;
|
||||
import org.surfsite.iconsole.R;
|
||||
import org.surfsite.iconsole.common.logger.Log;
|
||||
|
||||
import java.util.Locale;
|
||||
|
|
|
@ -32,7 +32,7 @@ import android.widget.Button;
|
|||
import android.widget.ListView;
|
||||
import android.widget.TextView;
|
||||
|
||||
import com.example.android.bluetoothchat.R;
|
||||
import org.surfsite.iconsole.R;
|
||||
import org.surfsite.iconsole.common.logger.Log;
|
||||
|
||||
import java.util.Set;
|
||||
|
|
|
@ -23,7 +23,7 @@ import android.view.Menu;
|
|||
import android.view.MenuItem;
|
||||
import android.widget.ViewAnimator;
|
||||
|
||||
import com.example.android.bluetoothchat.R;
|
||||
import org.surfsite.iconsole.R;
|
||||
import org.surfsite.iconsole.common.activities.SampleActivityBase;
|
||||
import org.surfsite.iconsole.common.logger.Log;
|
||||
import org.surfsite.iconsole.common.logger.LogFragment;
|
||||
|
|
|
@ -16,18 +16,12 @@
|
|||
-->
|
||||
|
||||
<resources>
|
||||
<string name="app_name">BluetoothChat</string>
|
||||
<string name="app_name">iConsole</string>
|
||||
<string name="intro_message">
|
||||
<![CDATA[
|
||||
|
||||
|
||||
This application allows two Android devices to carry out two-way text chat over
|
||||
Bluetooth. It demonstrates all the fundamental Bluetooth API capabilites, such as:
|
||||
(1) Scanning for other Bluetooth devices
|
||||
(2) Querying the local Bluetooth adapter for paired Bluetooth devices
|
||||
(3) Establishing RFCOMM channels/sockets
|
||||
(4) Connecting to a remote device
|
||||
(5) Transfering data over Bluetooth
|
||||
This application connects to an iConsole+ mount unit for fitness devices.
|
||||
|
||||
|
||||
]]>
|
||||
|
|
29
build.gradle
29
build.gradle
|
@ -1,14 +1,23 @@
|
|||
// Top-level build file where you can add configuration options common to all sub-projects/modules.
|
||||
|
||||
buildscript {
|
||||
repositories {
|
||||
jcenter()
|
||||
}
|
||||
dependencies {
|
||||
classpath 'com.android.tools.build:gradle:2.3.1'
|
||||
|
||||
// NOTE: Do not place your application dependencies here; they belong
|
||||
// in the individual module build.gradle files
|
||||
}
|
||||
}
|
||||
|
||||
allprojects {
|
||||
repositories {
|
||||
jcenter()
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
task clean(type: Delete) {
|
||||
delete rootProject.buildDir
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue