Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .idea/deploymentTargetSelector.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ peers running the same app
- **Scan for Devices:** Scan for devices supporting bluetooth low energy
- **Services and Charateristics:** Display available services and characteristics for the connected
device. Allow users to read ,write or observe values to the characteristics .
- **Server** A BLE Server with battery and enviromental sensing (illuminanace) and various services
- **Settings:** You can customize scan settings for the app to discover your device.

## :camera_flash: Screenshots
Expand Down Expand Up @@ -64,7 +65,7 @@ its functionalities
Open the project in android studio

3. **Build and Run**
Build and run on android device with api _29_ and above
Build and run on android device with API _29_ (Android 10) and above

### :curly_loop: Feedback and Support

Expand All @@ -89,4 +90,4 @@ an [issue](https://github.com/tuuhin/BTAndroidApp/issues/new)
Special thanks two most used open sourced bluetooth terminal apps.

- [Nordic Semiconductor android app](https://github.com/NordicSemiconductor/Android-nRF-Connect)
- [Simple Bluetooth termial](https://github.com/kai-morich/SimpleBluetoothTerminal)
- [Simple Bluetooth termial](https://github.com/kai-morich/SimpleBluetoothTerminal)
9 changes: 4 additions & 5 deletions app/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ android {
applicationId = "com.eva.bluetoothterminalapp"
minSdk = 29
targetSdk = 36
versionCode = 3
versionName = "1.1.1"
versionCode = 4
versionName = "1.2.0"

testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
vectorDrawables {
Expand Down Expand Up @@ -57,6 +57,7 @@ android {
buildTypes {

debug {
resValue("string", "app_name", "BluetoothTerminalApp (Debug)")
applicationIdSuffix = ".debug"
isMinifyEnabled = false
isShrinkResources = false
Expand All @@ -66,9 +67,7 @@ android {
isMinifyEnabled = true
isShrinkResources = true
multiDexEnabled = true
signingConfigs.findByName("release")?.let { config ->
signingConfig = config
}
signingConfig = signingConfigs.findByName("release")

proguardFiles(
getDefaultProguardFile("proguard-android-optimize.txt"),
Expand Down
5 changes: 4 additions & 1 deletion app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,15 @@
<uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" />
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />


<uses-feature android:name="android.hardware.bluetooth" />
<uses-feature
android:name="android.hardware.bluetooth_le"
android:required="false" />

<uses-feature
android:name="android.hardware.sensor.light"
android:required="false" />

<application
android:name=".BluetoothTerminalApp"
android:allowBackup="true"
Expand Down
Loading