Hi Peiyuan,
We're currently in the middle of updating the Android Service and it's sample app. There is a much easier process that you can follow in the develop branch of the repository.
From within the cloned git repository, check out the develop branch : git checkout --track remotes/origin/develop
This uses the new Android Studio IDE to develop, compile and run the App and service which is now seen as the preferred method.
Hopefully that works for you, but let us know if you have any more trouble as it would be great to flesh out our example and instructions.
Kind regards,
James Sutton Software Engineer - IoT Foundation - MQTT Open Source Projects Technical Trojan - Wimbledon Project |
|
| Hursley Park Hursley, SO212JN United Kingdom |
IBM United Kingdom Limited Registered in England and Wales with number 741598 Registered office: PO Box 41, North Harbour, Portsmouth, Hants. PO6 3AU
----- Original message -----
From: fang peiyuan <fang_peiyuan@xxxxxxxxx>
Sent by: paho-dev-bounces@xxxxxxxxxxx
To: "paho-dev@xxxxxxxxxxx" <paho-dev@xxxxxxxxxxx>
Cc:
Subject: [paho-dev] error in running org.eclipse.paho.andriod.service.sample
Date: Tue, Sep 15, 2015 12:40 PM
Dear sir/ mdm
i am new to andriod mqtt, currently i am learn how to use it through this
https://eclipse.org/paho/clients/android/sample/ but however after importing the org.eclipse.paho.andriod.service.sample to the eclipse. in the .src folder there are alots of red cross may i known how to solve this issue. if possible is there any tutorial that i can follow in build this andriod mqtt
thank you
peiyuan
|
| | | | | | |
Open the MQTT sample application. Connect to an MQTT server. Click the plus sign (+) to open a new MQTT connection Enter any unique identifier into the client ID fi... |
|
| Preview by Yahoo |
|
|