branch develop updated (0384e65 -> 645b125)
This is an automated email from the git hooks/post-receive script. New change to branch develop in repository wlo. See http://git.codelutin.com/wlo.git from 0384e65 update gitignore new 645b125 remove unuseful code The 1 revisions listed above as "new" are entirely new to this repository and will be described in separate emails. The revisions listed as "adds" were already present in the repository and have only been added to this reference. Detailed log of new commits: commit 645b125c3cdd4f4f24eb1197f113d28270c96592 Author: Kevin Morin <morin@codelutin.com> Date: Tue Dec 23 14:01:24 2014 +0100 remove unuseful code Summary of changes: pom.xml | 4 ++-- .../fr/ifremer/wlo/BigFinCommunicationService.java | 21 +-------------------- .../java/fr/ifremer/wlo/DeviceListActivity.java | 15 --------------- 3 files changed, 3 insertions(+), 37 deletions(-) -- To stop receiving notification emails like this one, please contact codelutin.com SCM administrator <admin+scm@codelutin.com>.
This is an automated email from the git hooks/post-receive script. New commit to branch develop in repository wlo. See http://git.codelutin.com/wlo.git commit 645b125c3cdd4f4f24eb1197f113d28270c96592 Author: Kevin Morin <morin@codelutin.com> Date: Tue Dec 23 14:01:24 2014 +0100 remove unuseful code --- pom.xml | 4 ++-- .../fr/ifremer/wlo/BigFinCommunicationService.java | 21 +-------------------- .../java/fr/ifremer/wlo/DeviceListActivity.java | 15 --------------- 3 files changed, 3 insertions(+), 37 deletions(-) diff --git a/pom.xml b/pom.xml index a784551..7219cbb 100644 --- a/pom.xml +++ b/pom.xml @@ -217,7 +217,7 @@ <dependency> <groupId>fr.ifremer.tutti</groupId> <artifactId>tutti-ichtyometer</artifactId> - <version>3.11-SNAPSHOT</version> + <version>3.10</version> </dependency> </dependencies> @@ -390,7 +390,7 @@ </executions> </plugin> <plugin> - <groupId>com.jayway.maven.plugins.android.generation2</groupId> + <groupId>com.simpligility.maven.plugins</groupId> <artifactId>android-maven-plugin</artifactId> <inherited>true</inherited> <configuration> diff --git a/src/main/java/fr/ifremer/wlo/BigFinCommunicationService.java b/src/main/java/fr/ifremer/wlo/BigFinCommunicationService.java index 6066873..df83a97 100644 --- a/src/main/java/fr/ifremer/wlo/BigFinCommunicationService.java +++ b/src/main/java/fr/ifremer/wlo/BigFinCommunicationService.java @@ -562,19 +562,13 @@ public class BigFinCommunicationService extends Service { } public void run() { - byte[] buffer = new byte[1024]; - int bytes; - // Keep listening to the InputStream while connected while (!stop) { try { - // Read from the InputStream -// bytes = mmInStream.read(buffer); -// Log.d(TAG, "received " + new String(buffer, 0, bytes)); String result = ""; - // wait until got a @ + // wait until got a # boolean complete = false; while (!complete) { @@ -595,19 +589,6 @@ public class BigFinCommunicationService extends Service { } } -//// int atSignIndex = result.indexOf('@'); -//// result = result.substring(0, atSignIndex); -// -// int lastComma = result.lastIndexOf(','); -// result = result.substring(0, lastComma); -// -// lastComma = result.lastIndexOf(',') + 1; -// String record = result.substring(0, lastComma); -// -// String crc = result.substring(lastComma); -// -// BigFinFeedReaderRecord readerRecord = new BigFinFeedReaderRecord(record, crc); - FeedReaderRecordSupport readerRecord = null; if (!stop) { diff --git a/src/main/java/fr/ifremer/wlo/DeviceListActivity.java b/src/main/java/fr/ifremer/wlo/DeviceListActivity.java index db0b7c7..a011bfb 100644 --- a/src/main/java/fr/ifremer/wlo/DeviceListActivity.java +++ b/src/main/java/fr/ifremer/wlo/DeviceListActivity.java @@ -185,19 +185,6 @@ public class DeviceListActivity extends ListActivity implements ServiceConnectio } }; - protected void sendDataToDevice(String data) { - Message message = Message.obtain(null, BigFinCommunicationService.MESSAGE_SEND_DATA); - Bundle bundle = new Bundle(); - bundle.putString(BigFinCommunicationService.DATA_TO_SEND, data); - message.setData(bundle); - try { - mServiceMessenger.send(message); - - } catch (RemoteException e) { - Log.e(TAG, "Error while sending data to the service"); - } - } - // The Handler that gets information back from the BluetoothChatService class IncomingHandler extends Handler { @@ -209,8 +196,6 @@ public class DeviceListActivity extends ListActivity implements ServiceConnectio case BigFinCommunicationService.MESSAGE_STATE_CHANGE: switch (msg.arg1) { case BigFinCommunicationService.STATE_CONNECTED: - sendDataToDevice("a"); - sendDataToDevice("b"); dialog.dismiss(); setResult(RESULT_OK); -- To stop receiving notification emails like this one, please contact codelutin.com SCM administrator <admin+scm@codelutin.com>.
participants (1)
-
codelutin.com scm