Changement du nom du paquet

This commit is contained in:
Louis-Guillaume DUBOIS 2017-06-01 13:09:01 +02:00
parent 566f0311b9
commit fd21373eec
7 changed files with 14 additions and 31 deletions

View file

@ -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

View file

@ -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>

View file

@ -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">

View file

@ -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 =

View file

@ -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;

View file

@ -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;

View file

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