1
0
mirror of https://github.com/mik3y/usb-serial-for-android synced 2025-06-10 01:16:27 +00:00

Created Building From Source (markdown)

mike w 2013-11-21 10:42:18 -08:00
parent 55e6f91952
commit 6a0d694ba6

29
Building-From-Source.md Normal file

@ -0,0 +1,29 @@
Do you want to use usb-serial-for-android from source with your Android project? Read on.
## Developer Setup - Eclipse
**1.** Select File -> Import -> Existing Projects Into Workspace
![Step 1](http://i.imgur.com/Ke41Ni6.png)
2. Navigate to `usb-serial-for-android/` and continue.
![Step 2](http://i.imgur.com/0tQbCQq.png)
3. Ctrl-click on *your app* and select "Properties", then "Build Path".
4. In the "Projects" subtab, add "UsbSerialLibrary"
![Step 4](http://i.imgur.com/FRWeUxM.png)
4. In the "Order and Export" subtab, be sure "UsbSerialLibrary" is **checked**.
![Step 4](http://i.imgur.com/YQeO8EG.png)
5. Now click over to "Android" in the left panel, and in the Library section, press **Add**. Add UsbSerialLibrary.
![Step 4](http://i.imgur.com/tKau1yw.png)
That's it!