生活备忘录(android io 的小应用)

public class MainActivity extends Activity { String PASS = "myPassWord.txt"; Button addbtn, readbtn, modifybtn, savebtn; EditText addet, modifyet; TextView tv; ScrollView sv; @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); s...
android | 2016-08-27 18:43 | 阅读 3062 次 | 评论 0 条

k金回收小助手

public class MainActivity extends Activity { private TextView tv1, tv2, tv3, tv4, tv5, tv6, tv7, tv8, tv9, tv10, tv11, tv12, tv13, tv14; private EditText et1, et2, et3; private Button bt1; @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedIns...
android | 2016-08-21 18:56 | 阅读 1820 次 | 评论 0 条

自动出题整数计算

public class Calculate { /** * @param args */ private final static char[] arrayoperate = { '+', '-', 'x', '/' }; public char getOperate() { Random rdm = new Random(); return arrayoperate[rdm.nextInt(4)]; } public int getData2() { Random rdm = new Random(); r...
android | 2016-08-20 01:09 | 阅读 1633 次 | 评论 0 条

Graph

public class Node { private Object value; public Node(Object value) { this.value = value; } public String toString() { return value == null ? "" : value.toString(); } } /***************************************************/ public class Border { ...

android工程不能运行java main程序的解决方法

>>>>鼠标右键 >>>> Run Configurations >>>>双击java application >>>> 单击有main方法的类 >>>>选中classpath选项卡 >>>>remove掉... Entries下的android.jar
学习档案 | 2016-08-06 11:46 | 阅读 1669 次 | 评论 0 条

二叉树经典例文(c++及Jave)

http://cslibrary.stanford.edu/110/BinaryTrees.html public class BinTree { private Node root; public static class Node { private int data; private Node left; private Node right; public Node(int data) { this.data = data; } } public BinTree() { this....
浏览165015次
最新评论