Thursday, April 11, 2013

[android-developers] USB accessory API

hi all,

am working on an android application which is like the ADK2011 but with another interfaces and another board

If you know the ADK2011, every thing is based on one screen (temperature value, light value, ...etc) but i am doing

something different:

my first layout shown is a main menu with buttons linked to different other screens (thermometer, barometer, luxmeter,...etc)

 =>Every feature (thermometer for example) is shown in an independent screen (independet activity)

So, I looked to the adk2011 source code and the USB connection code is basically on the first activity (DemoKitActivity)

my question is : how can i do that with different screens ??

have i to put the USB connection code in every activity ( thermometer for example) ?

PS: please tell me if am not clear enough !

--
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
---
You received this message because you are subscribed to the Google Groups "Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

No comments:

Post a Comment