Browse Source

Changement du nom du paquet

master
Louis-Guillaume DUBOIS 9 years ago
parent
commit
fd21373eec
  1. 18
      .google/packaging.yaml
  2. 2
      .idea/modules.xml
  3. 5
      Application/src/main/AndroidManifest.xml
  4. 13
      Application/src/main/java/fr/centralesupelec/students/clientble/BluetoothLeService.java
  5. 3
      Application/src/main/java/fr/centralesupelec/students/clientble/DeviceControlActivity.java
  6. 2
      Application/src/main/java/fr/centralesupelec/students/clientble/DeviceScanActivity.java
  7. 2
      Application/src/main/java/fr/centralesupelec/students/clientble/SampleGattAttributes.java

18
.google/packaging.yaml

@ -1,18 +0,0 @@
# GOOGLE SAMPLE PACKAGING DATA
#
# This file is used by Google as part of our samples packaging process.
# End users may safely ignore this file. It has no relevance to other systems.
---
status: PUBLISHED
technologies: [Android]
categories: [Connectivity]
languages: [Java]
solutions: [Mobile]
github: android-BluetoothLeGatt
level: ADVANCED
icon: screenshots/icon-web.png
apiRefs:
- android:android.app.Service
- android:android.bluetooth.BluetoothGattService
license: apache2

2
.idea/modules.xml

@ -3,7 +3,7 @@
<component name="ProjectModuleManager">
<modules>
<module fileurl="file://$PROJECT_DIR$/Application/Application.iml" filepath="$PROJECT_DIR$/Application/Application.iml" />
<module fileurl="file://$PROJECT_DIR$/android-BluetoothLeGatt.iml" filepath="$PROJECT_DIR$/android-BluetoothLeGatt.iml" />
<module fileurl="file://$PROJECT_DIR$/ClientBLE.iml" filepath="$PROJECT_DIR$/ClientBLE.iml" />
</modules>
</component>
</project>

5
Application/src/main/AndroidManifest.xml

@ -1,6 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
Copyright 2013 The Android Open Source Project
Copyright 2017 Louis-Guillaume Dubois
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
@ -15,10 +16,8 @@
limitations under the License.
-->
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.example.android.bluetoothlegatt"
package="fr.centralesupelec.students.clientble"
android:versionCode="1"
android:versionName="1.0">

13
Application/src/main/java/com/example/android/bluetoothlegatt/BluetoothLeService.java → Application/src/main/java/fr/centralesupelec/students/clientble/BluetoothLeService.java

@ -1,5 +1,6 @@
/*
* Copyright (C) 2013 The Android Open Source Project
* Copyright (C) 2017 Louis-Guillaume Dubois
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@ -14,7 +15,7 @@
* limitations under the License.
*/
package com.example.android.bluetoothlegatt;
package fr.centralesupelec.students.clientble;
import android.app.Service;
import android.bluetooth.BluetoothAdapter;
@ -53,15 +54,15 @@ public class BluetoothLeService extends Service {
private static final int STATE_CONNECTED = 2;
public final static String ACTION_GATT_CONNECTED =
"com.example.bluetooth.le.ACTION_GATT_CONNECTED";
"fr.cenralesupelec.students.clientble.ACTION_GATT_CONNECTED";
public final static String ACTION_GATT_DISCONNECTED =
"com.example.bluetooth.le.ACTION_GATT_DISCONNECTED";
"fr.centralesupelec.students.clientble.ACTION_GATT_DISCONNECTED";
public final static String ACTION_GATT_SERVICES_DISCOVERED =
"com.example.bluetooth.le.ACTION_GATT_SERVICES_DISCOVERED";
"fr.centralesupelec.students.clientble.ACTION_GATT_SERVICES_DISCOVERED";
public final static String ACTION_DATA_AVAILABLE =
"com.example.bluetooth.le.ACTION_DATA_AVAILABLE";
"fr.centralesupelec.students.clientble.ACTION_DATA_AVAILABLE";
public final static String EXTRA_DATA =
"com.example.bluetooth.le.EXTRA_DATA";
"fr.centralesupelec.students.clientble.EXTRA_DATA";
/* TODO
public final static UUID UUID_HEART_RATE_MEASUREMENT =

3
Application/src/main/java/com/example/android/bluetoothlegatt/DeviceControlActivity.java → Application/src/main/java/fr/centralesupelec/students/clientble/DeviceControlActivity.java

@ -1,5 +1,6 @@
/*
* Copyright (C) 2013 The Android Open Source Project
* Copyright (C) 2017 Louis-Guillaume Dubois
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@ -14,7 +15,7 @@
* limitations under the License.
*/
package com.example.android.bluetoothlegatt;
package fr.centralesupelec.students.clientble;
import android.app.Activity;
import android.bluetooth.BluetoothGattCharacteristic;

2
Application/src/main/java/com/example/android/bluetoothlegatt/DeviceScanActivity.java → Application/src/main/java/fr/centralesupelec/students/clientble/DeviceScanActivity.java

@ -15,7 +15,7 @@
* limitations under the License.
*/
package com.example.android.bluetoothlegatt;
package fr.centralesupelec.students.clientble;
import android.Manifest;
import android.app.Activity;

2
Application/src/main/java/com/example/android/bluetoothlegatt/SampleGattAttributes.java → Application/src/main/java/fr/centralesupelec/students/clientble/SampleGattAttributes.java

@ -15,7 +15,7 @@
* limitations under the License.
*/
package com.example.android.bluetoothlegatt;
package fr.centralesupelec.students.clientble;
import java.util.HashMap;
Loading…
Cancel
Save