diff --git a/sample_app/res/layout/activity_main.xml b/sample_app/res/layout/activity_main.xml index e1754f2..995149d 100644 --- a/sample_app/res/layout/activity_main.xml +++ b/sample_app/res/layout/activity_main.xml @@ -20,7 +20,7 @@ android:layout_column="0" android:layout_gravity="center_horizontal" android:layout_row="0" - android:text="Bluetooth LE:" + android:text="@string/label_bluetooth_le_status" android:textSize="12sp" android:textStyle="bold" /> @@ -41,7 +41,7 @@ android:layout_column="0" android:layout_gravity="left" android:layout_row="1" - android:text="Bluetooth:" + android:text="@string/label_bluetooth_status" android:textSize="12sp" android:textStyle="bold" /> diff --git a/sample_app/res/layout/list_item_view_device_info.xml b/sample_app/res/layout/list_item_view_device_info.xml index 04ddfe7..1ae0aac 100644 --- a/sample_app/res/layout/list_item_view_device_info.xml +++ b/sample_app/res/layout/list_item_view_device_info.xml @@ -16,7 +16,7 @@ style="@style/GridLayoutTitleTextView" android:layout_width="wrap_content" android:layout_height="wrap_content" - android:text="Device Name:" /> + android:text="@string/label_device_name" /> + android:text="@string/label_device_address" /> + android:text="@string/label_device_class" /> + android:text="@string/label_bonding_state" /> + android:text="@string/label_company_id" /> + android:text="@string/label_advertisement" /> + android:text="@string/label_uuid" /> + android:text="@string/label_major" /> + android:text="@string/label_minor" /> + android:text="@string/label_tx_power" /> + android:text="@string/label_first_timestamp" /> + android:text="@string/label_first_rssi" /> + android:text="@string/label_last_timestamp" /> + android:text="@string/label_last_rssi" /> + android:text="@string/label_running_average_rssi" /> Bluetooth LE Scanner Connected Disconnected + Invalid Device Data! No data Not supported Off On Supported + unknown Unknown characteristic Unknown device Unknown service @@ -27,33 +29,43 @@ Stop Share - - - - Data: - Device address: - Distance: - MAC: - Major: - Minor: - RSSI: - State: - TX Power: - UUID: - This is a sample application using the Bluetooth LE Library.\n\nGithub: https://github.com/alt236/Bluetooth-LE-Library---Android\n\nCopyright: Alexandros Schillings + Bluetooth LE Scan Results (%s) Bluetooth LE Device GATT Results (%s, %s) Please find attached the scan results. Please select your email client: + + + This is a sample application using the Bluetooth LE Library.\n\nGithub: https://github.com/alt236/Bluetooth-LE-Library---Android\n\nCopyright: Alexandros Schillings + Device Info iBeacon Data Raw Ad Records - Scan Record RSSI Info - Device Info - Invalid Device Data! - unknown - As String: + Scan Record + Advertisement: As Array: + As String: + Bluetooth LE: + Bluetooth: + Bonding State: + Company ID: + Data: Desc: + Device address: + Device Class: + Device Name: + Distance: + First RSSI: + First Timestamp: + Last RSSI: + Last Timestamp: + MAC: + Major: + Minor: + RSSI: + Running Average RSSI: + State: + TX Power: + UUID: \ No newline at end of file