08 2014 档案
android:uploaddatatoWeb
摘要:package com.example.utils;import java.io.ByteArrayOutputStream;import java.io.InputStream;public class StreamTool { public st... 阅读全文
posted @ 2014-08-20 21:45 _noname 阅读(130) 评论(0) 推荐(0) 编辑
android:ImageView,访问网上图片并显示出来
摘要:package com.example.utils;import java.io.ByteArrayOutputStream;import java.io.InputStream;public class StreamTool { public static... 阅读全文
posted @ 2014-08-20 21:40 _noname 阅读(221) 评论(0) 推荐(0) 编辑
android:HttpURLConnection
摘要:package com.example.utils;import java.io.ByteArrayOutputStream;import java.io.InputStream;public class StreamTool { public static... 阅读全文
posted @ 2014-08-20 21:35 _noname 阅读(125) 评论(0) 推荐(0) 编辑
android:SQLiteOpenHelper
摘要:package com.example.domain;public class Person { private int id; private String name; public Person() { super(); } public Person(int personid, Stri... 阅读全文
posted @ 2014-08-20 21:30 _noname 阅读(160) 评论(0) 推荐(0) 编辑
android:file
摘要:package com.example.service;import java.io.FileOutputStream;import android.content.Context;public class FileService { private... 阅读全文
posted @ 2014-08-20 21:26 _noname 阅读(157) 评论(0) 推荐(0) 编辑
android:contact
摘要:package com.example.contact;import android.content.ContentResolver;import android.database.Cursor;import android.net.Uri;import android.provider.Con... 阅读全文
posted @ 2014-08-20 21:22 _noname 阅读(143) 评论(0) 推荐(0) 编辑
android:xml解析
摘要:Liri 30 Liyue 25 package org.fun.domain;public class Person { private Integer id; private String name; private Short age; public Integer ... 阅读全文
posted @ 2014-08-20 21:19 _noname 阅读(108) 评论(0) 推荐(0) 编辑
android:sms
摘要:package com.example.sms;import java.util.List;import android.app.Activity;import android.os.Bundle;import android.telephony.S... 阅读全文
posted @ 2014-08-20 21:17 _noname 阅读(123) 评论(0) 推荐(0) 编辑
c++:vector
摘要:#include#include#includeusing namespace std;int main(){ vector A(10); int n; int primecount = 0, i, j; cout =2 as upper limit for prime numbers;"; c... 阅读全文
posted @ 2014-08-20 21:07 _noname 阅读(126) 评论(0) 推荐(0) 编辑
c++:stack
摘要:#ifndef STACK_CLASS#define STACK_CLASS#include#includeusing namespace std;const int MaxStackSize = 50;templateclass Stack{private: T stacklist[MaxS... 阅读全文
posted @ 2014-08-20 21:05 _noname 阅读(132) 评论(0) 推荐(0) 编辑
c++:array
摘要:#ifndef ARRAY_CLASS#define ARRAY_CLASS#include#includeusing namespace std;#ifndef NULL#define NULL 0#endifconst enum ErrorType{invalidArraySize, mem... 阅读全文
posted @ 2014-08-20 21:03 _noname 阅读(136) 评论(0) 推荐(0) 编辑
c++:类模板
摘要:#include#includeusing namespace std;struct Student{ int id; float gpa;};templateclass Store{private: T item; int haveValue;public: Store(void); T ge... 阅读全文
posted @ 2014-08-18 20:52 _noname 阅读(96) 评论(0) 推荐(0) 编辑
c++:函数模板
摘要:#includeusing namespace std;templatevoid outputArray(const T *P_array, const int count){ for (int i = 0; i < count; i++) cout << P_array[i] << " ";... 阅读全文
posted @ 2014-08-18 20:12 _noname 阅读(131) 评论(0) 推荐(0) 编辑
c++"拷贝构造函数
摘要:#include#includeusing namespace std;class Point{public:Point(int xx=0,int yy=0){X=xx;Y=yy;}Point(Point &p);int getX(){return X;}int getY(){return Y;... 阅读全文
posted @ 2014-08-18 19:53 _noname 阅读(131) 评论(0) 推荐(0) 编辑
Android:简单打电话 APP
摘要:布局文件: android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="@string/phoneinput" /> 权限: Java代码: package... 阅读全文
posted @ 2014-08-13 18:36 _noname 阅读(191) 评论(0) 推荐(0) 编辑


点击右上角即可分享
微信分享提示