Back to project page hts-cycle.
The source code is released under:
GNU General Public License
If you think the Android project hts-cycle listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package it.uniroma2.wifionoff; /* w w w . j av a 2 s .co m*/ public class MessageMaker { private static MessageMaker instance; private MessageMaker(){ } public static MessageMaker getInstance(){ if(instance==null) instance=new MessageMaker(); return instance; } public String BuildMessage(){ String msg=""; msg+=OnOffService.Device+"\n"; for(int i=0; i< OnOffService.ConnectedApp.size(); i++) msg+=(OnOffService.ConnectedApp.get(i)).getName()+"\n"; msg+="ThankYou\n"; return msg; } }