Different programming languages.
摘要:输入RGB颜色值(0~255)Red: Green: Blue: ※ 参考:RGB颜色转换器
阅读全文
摘要:◢↑◣StringBuilder ◥↓◤ 自我感觉:主要是用来操作字符串, 若是要分行显示, 记得在后面加上一个 "\n".
阅读全文
摘要:字节流的抽象基类:(可以操作各种数据,文本图片都可以)InputStream:对于计算机来说, 输入流即为读取流. 此抽象类是表示字节输入流的所有类的超类。OutputStream:输出流即为写入流.此抽象类是表示输出字节流的所有类的超类。FileInputStream ----------- 便捷类FileOutputStream ----------- 便捷类BufferInputStream ----------- 高效类(需要先创建 FileInputStream)BufferOutputStream ----------- 高效类(需要先创建 FileOutputSt...
阅读全文
摘要:目录:I. 使用 SharedPreferences 来存储应用程序的数据II. 将应用程序的数据存储到内部存储器中III. 将应用程序的数据存储到外部存储器中IV. 通过 SQLite 数据库来实现数据存储SQLiteDatabase 类Cursor 接口SQLiteOpenHelper 类具体操作步骤V. Content Provider 简介I. 使用 SharedPreferences 来存储应用程序的数据:参考:Beginning Android 4 Application Development - Page 252将数据存储到 SharedPreferences 对象中去,这个时
阅读全文
摘要:●·● 目录: package: others G1 ………… Activity 类G2 ………… ListActivity 类G3 ………… Intent 类G4 ………… Menu 类G5 ………… MenuItem 类 SubMenu 类 ContextMenu 类G6 ………… AndroidManifest.xmlG7 ………… Handler 类G8 ………… Message 类G9 ………… Bundle 类Ga ………… Runnable 接口Gb ………… Looper 类Gc ………… HandlerThread 类Gd ………… SQLiteDa...
阅读全文
摘要:右边的“分享到...”实现: 来源:http://www.jiathis.com/ 代码实现: <script type="text/javascript" > var jiathis_config={ showClose:true, hideMore:false } </script> <scri
阅读全文
摘要:☀.☀ ---<< 目录 >>-----点击两次back退出程序点击按钮后在状态栏显示通知实现用代码来布局控件的实现☀.☀ ---<< 001. 点击两次back退出程序 >>----- 1 private long exitTime = 0; 2 3 @Override 4 public boolean onKeyDown(int keyCode, KeyEvent event) { 5 if (keyCode == KeyEvent.KEYCODE_BACK 6 && event.getAction() ...
阅读全文
摘要:AndroidManifest.xml:概括性描述1. <application>2. <activity>3. <intent-filter>4. <action>5. <action>6. <action>7. <action>8. <action>下面内容参考:Beginning Android 4 Application Development Page31.1. <application> 第一梯队, 在最外面.contained in:<manifest>can
阅读全文
摘要:●·● 目录:A1 ………… ListView 类 ListAdapter 接口 ArrayAdapter 类 ☀ 举例一 ☀ SimpleAdapter 类 List 接口 ArrayList 类 Map 接口 HashMap 类 ☀ 举例二 ☀ SimpleCursorAdapter 类A2 …………ExpandableListView 类 SimpleExpandableListAdapter 类 ☀ 举例三 ☀ ☀ 举例四 ☀ A3 ………… ArrayAda...
阅读全文
摘要:●·● 目录:package: android.others*A1 ………… Color 类A2 ………… Log 类A3 ………… KeyEvent 类A4 ………… MotionEvent 类A5 ………… Uri 类A6 ………… CheckBox 类A7 ………… ProgressBar 类A8 ………… ListView 类package: android.view.animationD1 ………… Animation 类D2 ………… AnimationSet 类D3 ………… AlphaAnimation 类D4 ………… RotateAnimation 类D5 ………
阅读全文
摘要:Java:※ 参考:为什么匿名内部类参数必须为final类型※ 参考:JAVA常量Android:※ 参考:android.R.drawable 内部的图片资源※ android.R.drawable 中定义的系统图标 F:\android-sdks\platforms\android-8\data\res\drawable-hdpi 中.※ android.R.layout 中定义的系统布局在 F:\android-sdks\platforms\android-8\data\res\layout 中.※ 参考:android-基础知识:android调试总结(Log日志输出, Debug,
阅读全文
摘要:●·● 目录:package: android.langA1 ………… Boolean 类A2 ………… Byte 类A3 ………… Integer 类A4 ………… Float 类A5 ………… String 类A6 ………… Thread 类A7 ………… System 类A8 ………… ListView 类package: android.appD1 ………… AlertBuilder.Builder 类 DialogInterface 接口 DialogInterface.OnClickListener 接口 LayoutInflater 类D2 …………...
阅读全文
摘要:Android TutorialAndroid, an open source operating system for mobiles devices (smartphone and tablet), led by Google. The Android SDK provides a set of tools and APIs to develop Android application, using Java. So, if you know Java, Android programming is easy :)In this series of tutorials, we show y
阅读全文
摘要:●·● 目录:package: android.widget Android UI controls A½ ………… View 类A1 ………… TextView 类A2 ………… Button 类A3 ………… EditText 类A4 ………… RadioGroup 类A5 ………… RadioButton 类A6 ………… CheckBox 类A7 ………… ProgressBar 类A8 ………… ListView 类 ExpandableListView 类A9 ………… Spinner 类Aa ………… SeekBar 类Ab ………… RatingBar 类A
阅读全文