wood burning stoves*
The moose likes Android and the fly likes Set values dynamically in a command set Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Mobile » Android
Bookmark "Set values dynamically in a command set" Watch "Set values dynamically in a command set" New topic
Author

Set values dynamically in a command set

Renjith Mohan
Ranch Hand

Joined: Nov 28, 2008
Posts: 65


My aim is to send a few sets of commands to an embedded device via bluetooth. Ideally, those commands look like:



I want to dynamically set the values of NUM and DEV. One way is creating this from scratch (by attaching to StringBuffer) each time it executes. Is there any proper way of implementing?

Can we use placeholders like we do in reporting APIs?

Thanks in advance!
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Set values dynamically in a command set