MasterChooser.html 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359
  1. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
  2. <!--NewPage-->
  3. <HTML>
  4. <HEAD>
  5. <!-- Generated by javadoc (build 1.6.0_20) on Thu Apr 26 18:24:31 CEST 2012 -->
  6. <TITLE>
  7. MasterChooser
  8. </TITLE>
  9. <META NAME="date" CONTENT="2012-04-26">
  10. <LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style">
  11. <SCRIPT type="text/javascript">
  12. function windowTitle()
  13. {
  14. if (location.href.indexOf('is-external=true') == -1) {
  15. parent.document.title="MasterChooser";
  16. }
  17. }
  18. </SCRIPT>
  19. <NOSCRIPT>
  20. </NOSCRIPT>
  21. </HEAD>
  22. <BODY BGCOLOR="white" onload="windowTitle();">
  23. <HR>
  24. <!-- ========= START OF TOP NAVBAR ======= -->
  25. <A NAME="navbar_top"><!-- --></A>
  26. <A HREF="#skip-navbar_top" title="Skip navigation links"></A>
  27. <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
  28. <TR>
  29. <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
  30. <A NAME="navbar_top_firstrow"><!-- --></A>
  31. <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
  32. <TR ALIGN="center" VALIGN="top">
  33. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
  34. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
  35. <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
  36. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
  37. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
  38. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
  39. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
  40. </TR>
  41. </TABLE>
  42. </TD>
  43. <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
  44. </EM>
  45. </TD>
  46. </TR>
  47. <TR>
  48. <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  49. &nbsp;<A HREF="../../../org/ros/android/BitmapFromImage.html" title="class in org.ros.android"><B>PREV CLASS</B></A>&nbsp;
  50. &nbsp;<A HREF="../../../org/ros/android/MessageCallable.html" title="interface in org.ros.android"><B>NEXT CLASS</B></A></FONT></TD>
  51. <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  52. <A HREF="../../../index.html?org/ros/android/MasterChooser.html" target="_top"><B>FRAMES</B></A> &nbsp;
  53. &nbsp;<A HREF="MasterChooser.html" target="_top"><B>NO FRAMES</B></A> &nbsp;
  54. &nbsp;<SCRIPT type="text/javascript">
  55. <!--
  56. if(window==top) {
  57. document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>');
  58. }
  59. //-->
  60. </SCRIPT>
  61. <NOSCRIPT>
  62. <A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>
  63. </NOSCRIPT>
  64. </FONT></TD>
  65. </TR>
  66. <TR>
  67. <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
  68. SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
  69. <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
  70. DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
  71. </TR>
  72. </TABLE>
  73. <A NAME="skip-navbar_top"></A>
  74. <!-- ========= END OF TOP NAVBAR ========= -->
  75. <HR>
  76. <!-- ======== START OF CLASS DATA ======== -->
  77. <H2>
  78. <FONT SIZE="-1">
  79. org.ros.android</FONT>
  80. <BR>
  81. Class MasterChooser</H2>
  82. <PRE>
  83. java.lang.Object
  84. <IMG SRC="../../../resources/inherit.gif" ALT="extended by ">Activity
  85. <IMG SRC="../../../resources/inherit.gif" ALT="extended by "><B>org.ros.android.MasterChooser</B>
  86. </PRE>
  87. <HR>
  88. <DL>
  89. <DT><PRE>public class <B>MasterChooser</B><DT>extends Activity</DL>
  90. </PRE>
  91. <P>
  92. Allows the user to configue a master <CODE>URI</CODE> then it returns that
  93. <CODE>URI</CODE> to the calling <CODE>Activity</CODE>.
  94. <p>
  95. When this <CODE>Activity</CODE> is started, the last used (or the default)
  96. <CODE>URI</CODE> is displayed to the user.
  97. <P>
  98. <P>
  99. <HR>
  100. <P>
  101. <!-- ======== CONSTRUCTOR SUMMARY ======== -->
  102. <A NAME="constructor_summary"><!-- --></A>
  103. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  104. <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
  105. <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
  106. <B>Constructor Summary</B></FONT></TH>
  107. </TR>
  108. <TR BGCOLOR="white" CLASS="TableRowColor">
  109. <TD><CODE><B><A HREF="../../../org/ros/android/MasterChooser.html#MasterChooser()">MasterChooser</A></B>()</CODE>
  110. <BR>
  111. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
  112. </TR>
  113. </TABLE>
  114. &nbsp;
  115. <!-- ========== METHOD SUMMARY =========== -->
  116. <A NAME="method_summary"><!-- --></A>
  117. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  118. <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
  119. <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
  120. <B>Method Summary</B></FONT></TH>
  121. </TR>
  122. <TR BGCOLOR="white" CLASS="TableRowColor">
  123. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  124. <CODE>&nbsp;void</CODE></FONT></TD>
  125. <TD><CODE><B><A HREF="../../../org/ros/android/MasterChooser.html#cancelButtonClicked(View)">cancelButtonClicked</A></B>(View&nbsp;unused)</CODE>
  126. <BR>
  127. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
  128. </TR>
  129. <TR BGCOLOR="white" CLASS="TableRowColor">
  130. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  131. <CODE>&nbsp;void</CODE></FONT></TD>
  132. <TD><CODE><B><A HREF="../../../org/ros/android/MasterChooser.html#newMasterButtonClicked(View)">newMasterButtonClicked</A></B>(View&nbsp;unused)</CODE>
  133. <BR>
  134. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
  135. </TR>
  136. <TR BGCOLOR="white" CLASS="TableRowColor">
  137. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  138. <CODE>&nbsp;void</CODE></FONT></TD>
  139. <TD><CODE><B><A HREF="../../../org/ros/android/MasterChooser.html#okButtonClicked(View)">okButtonClicked</A></B>(View&nbsp;unused)</CODE>
  140. <BR>
  141. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
  142. </TR>
  143. <TR BGCOLOR="white" CLASS="TableRowColor">
  144. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  145. <CODE>&nbsp;void</CODE></FONT></TD>
  146. <TD><CODE><B><A HREF="../../../org/ros/android/MasterChooser.html#onActivityResult(int, int, Intent)">onActivityResult</A></B>(int&nbsp;requestCode,
  147. int&nbsp;resultCode,
  148. Intent&nbsp;intent)</CODE>
  149. <BR>
  150. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
  151. </TR>
  152. <TR BGCOLOR="white" CLASS="TableRowColor">
  153. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  154. <CODE>protected &nbsp;void</CODE></FONT></TD>
  155. <TD><CODE><B><A HREF="../../../org/ros/android/MasterChooser.html#onCreate(Bundle)">onCreate</A></B>(Bundle&nbsp;savedInstanceState)</CODE>
  156. <BR>
  157. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
  158. </TR>
  159. <TR BGCOLOR="white" CLASS="TableRowColor">
  160. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  161. <CODE>&nbsp;void</CODE></FONT></TD>
  162. <TD><CODE><B><A HREF="../../../org/ros/android/MasterChooser.html#qrCodeButtonClicked(View)">qrCodeButtonClicked</A></B>(View&nbsp;unused)</CODE>
  163. <BR>
  164. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
  165. </TR>
  166. </TABLE>
  167. &nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
  168. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  169. <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
  170. <TH ALIGN="left"><B>Methods inherited from class java.lang.Object</B></TH>
  171. </TR>
  172. <TR BGCOLOR="white" CLASS="TableRowColor">
  173. <TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD>
  174. </TR>
  175. </TABLE>
  176. &nbsp;
  177. <P>
  178. <!-- ========= CONSTRUCTOR DETAIL ======== -->
  179. <A NAME="constructor_detail"><!-- --></A>
  180. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  181. <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
  182. <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
  183. <B>Constructor Detail</B></FONT></TH>
  184. </TR>
  185. </TABLE>
  186. <A NAME="MasterChooser()"><!-- --></A><H3>
  187. MasterChooser</H3>
  188. <PRE>
  189. public <B>MasterChooser</B>()</PRE>
  190. <DL>
  191. </DL>
  192. <!-- ============ METHOD DETAIL ========== -->
  193. <A NAME="method_detail"><!-- --></A>
  194. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  195. <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
  196. <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
  197. <B>Method Detail</B></FONT></TH>
  198. </TR>
  199. </TABLE>
  200. <A NAME="onCreate(Bundle)"><!-- --></A><H3>
  201. onCreate</H3>
  202. <PRE>
  203. protected void <B>onCreate</B>(Bundle&nbsp;savedInstanceState)</PRE>
  204. <DL>
  205. <DD><DL>
  206. </DL>
  207. </DD>
  208. </DL>
  209. <HR>
  210. <A NAME="onActivityResult(int, int, Intent)"><!-- --></A><H3>
  211. onActivityResult</H3>
  212. <PRE>
  213. public void <B>onActivityResult</B>(int&nbsp;requestCode,
  214. int&nbsp;resultCode,
  215. Intent&nbsp;intent)</PRE>
  216. <DL>
  217. <DD><DL>
  218. </DL>
  219. </DD>
  220. </DL>
  221. <HR>
  222. <A NAME="okButtonClicked(View)"><!-- --></A><H3>
  223. okButtonClicked</H3>
  224. <PRE>
  225. public void <B>okButtonClicked</B>(View&nbsp;unused)</PRE>
  226. <DL>
  227. <DD><DL>
  228. </DL>
  229. </DD>
  230. </DL>
  231. <HR>
  232. <A NAME="qrCodeButtonClicked(View)"><!-- --></A><H3>
  233. qrCodeButtonClicked</H3>
  234. <PRE>
  235. public void <B>qrCodeButtonClicked</B>(View&nbsp;unused)</PRE>
  236. <DL>
  237. <DD><DL>
  238. </DL>
  239. </DD>
  240. </DL>
  241. <HR>
  242. <A NAME="newMasterButtonClicked(View)"><!-- --></A><H3>
  243. newMasterButtonClicked</H3>
  244. <PRE>
  245. public void <B>newMasterButtonClicked</B>(View&nbsp;unused)</PRE>
  246. <DL>
  247. <DD><DL>
  248. </DL>
  249. </DD>
  250. </DL>
  251. <HR>
  252. <A NAME="cancelButtonClicked(View)"><!-- --></A><H3>
  253. cancelButtonClicked</H3>
  254. <PRE>
  255. public void <B>cancelButtonClicked</B>(View&nbsp;unused)</PRE>
  256. <DL>
  257. <DD><DL>
  258. </DL>
  259. </DD>
  260. </DL>
  261. <!-- ========= END OF CLASS DATA ========= -->
  262. <HR>
  263. <!-- ======= START OF BOTTOM NAVBAR ====== -->
  264. <A NAME="navbar_bottom"><!-- --></A>
  265. <A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
  266. <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
  267. <TR>
  268. <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
  269. <A NAME="navbar_bottom_firstrow"><!-- --></A>
  270. <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
  271. <TR ALIGN="center" VALIGN="top">
  272. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
  273. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
  274. <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
  275. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
  276. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
  277. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
  278. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
  279. </TR>
  280. </TABLE>
  281. </TD>
  282. <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
  283. </EM>
  284. </TD>
  285. </TR>
  286. <TR>
  287. <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  288. &nbsp;<A HREF="../../../org/ros/android/BitmapFromImage.html" title="class in org.ros.android"><B>PREV CLASS</B></A>&nbsp;
  289. &nbsp;<A HREF="../../../org/ros/android/MessageCallable.html" title="interface in org.ros.android"><B>NEXT CLASS</B></A></FONT></TD>
  290. <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  291. <A HREF="../../../index.html?org/ros/android/MasterChooser.html" target="_top"><B>FRAMES</B></A> &nbsp;
  292. &nbsp;<A HREF="MasterChooser.html" target="_top"><B>NO FRAMES</B></A> &nbsp;
  293. &nbsp;<SCRIPT type="text/javascript">
  294. <!--
  295. if(window==top) {
  296. document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>');
  297. }
  298. //-->
  299. </SCRIPT>
  300. <NOSCRIPT>
  301. <A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>
  302. </NOSCRIPT>
  303. </FONT></TD>
  304. </TR>
  305. <TR>
  306. <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
  307. SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
  308. <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
  309. DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
  310. </TR>
  311. </TABLE>
  312. <A NAME="skip-navbar_bottom"></A>
  313. <!-- ======== END OF BOTTOM NAVBAR ======= -->
  314. <HR>
  315. </BODY>
  316. </HTML>