原创 我的友情鏈接
51CTO博客開發
原创 連接手機調試後,如何暫停Logcat信息的不斷輸出
//logcat輸出信息不斷滾動(方法有兩種)1、設置過濾器在LogCat那裏有個"+"號,新增一個Filter即可(直接填寫Filter Name即可,其它爲空,初學暫時這樣認爲);2、在Windows-preference-Androi
原创 Caused by: java.lang.NoSuchMethodException: onClick_Flashlight [class android.view.View]
原因:方法的參數忘了寫:public void onClick_ToFlashlight(){} ---->public void onClick_ToFlashlight(View view){}原因:方法的訪問權限問題:private
原创 android練習一之走馬燈效果
//MarqueeText.java(建在和主程序同一個包下)package com.vincentlin.marqueeeffect; import android.content.Context; import android.uti
原创 手電筒項目開發一閃光燈
重點:1、SurfaceView, OpenGL ES 的紋理------照相機捕獲圖像流紋理2、style.xml配置文件。設置無標題等信息<!-- Application theme. --> <style name="App
原创 android基礎四之RadioGroup
//activity_main.xml<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://sche
原创 android練習一之簡易瀏覽器
//activity_main.xml<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://sc
原创 我的友情鏈接
51CTO博客開發
原创 android練習一之保存用戶名
//activity_main.xml<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://sc
原创 android練習一之獲取網頁源碼
//activity_main.xml<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://sche
原创 android基礎二之ToggleButton
//activity_main.xml<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://sche
原创 監聽事件的三種寫法
//監聽事件的三種寫法:匿名內部類,獨立類監聽按鈕點擊事件 , 實現接口//strings.xml<?xml version="1.0" encoding="utf-8"?> <resources> <string name="ap
原创 android基礎三之CheckBox
//activity_main.xml<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://sche
原创 android基礎一之AutoCompleteTextView和MultiAutoCompleteTextView
//activity_main.xml<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://sche
原创 android練習一之發送信息
//activity.xml<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.a