原创 我的友情鏈接

51CTO博客開發

原创 Can not find the tag library descriptor for "http://java.sun.com/jsp/jstl/core"

有些時候,<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>會報錯,錯誤提示爲: Can not find the tag library descripto

原创 Android requires compiler compliance level 5.0 or 6.0. Found '1.4' instead.

今天打開Eclipse時出現這樣的錯誤: Android requires compiler compliance level 5.0 or 6.0. Found '1.4' instead. Please fix project prop

原创 Android全屏顯示

全屏顯示 1、//在onCreat方法中setContentView()之前插入 requestWindowFeature(Window.FEATURE_NO_TITLE);//取消標題欄 getWindow().setFlags(W

原创 Android spinner取值

2011-06-22 14:41 376人閱讀 評論(0) 收藏 舉報 爲了實現在android的spinner實現取VALUE值和TEXT值,我嘗試過好些辦法,在網上查的資料,都是說修改適配器,剛開始我也是通過修改適配器的方法來做的,但

原创 ScrollView can host only one direct child。

android 採用ScrollView佈局時出現異常: ScrollView can host only one direct child。 主要是ScrollView內部只能有一個子元素,即 不能並列兩個子元素,所以需要把所有的子

原创 An internal error occurred during: "Launching atphone".java.lang.NullPointerException

eclipse.buildId=M20090917-0800 java.version=1.6.0_18 java.vendor=Sun Microsystems Inc. BootLoader constants: OS=win3

原创 Android設置顯示文本

如果不設置singleLine或者設置爲false,文本將自動換行, android:text設置顯示文本. android:textAppearance設置文字外觀。如 “android:attr/textAppearanceLargeI

原创 Can not find the tag library descriptor for "http://java.sun.com/jsp/jstl/core"

有些時候,<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>會報錯,錯誤提示爲: Can not find the tag library descripto

原创 Android實現左右滑動的效果

本文的目的是要實現左右滑動的指引效果。那麼什麼是指引效果呢?現在的應用爲了有更好的用戶體驗,一般會在應用開始顯示一些指引幫助頁面,使用戶能更好的理解應用的功能,甚至是一些新聞閱讀器會把一些頭條新聞以指引效果的形式顯示。說個最基本的,就是我們

原创 android需要的訪問權限(不斷更新,希望大家多交流)

拍照camera所需權限: <uses-permission android:name="android.permission.CAMERA" />  <uses-feature android:name="android.hardware

原创 android 異步加載AsyncTask

  在開發Android應用時必須遵守單線程模型的原則: Android UI操作並不是線程安全的並且這些操作必須在UI線程中執行。在單線程模型中始終要記住兩條法則: 1. 不要阻塞UI線程 2. 確保只在UI線程中訪問Androi

原创 Android全屏顯示

全屏顯示 1、//在onCreat方法中setContentView()之前插入 requestWindowFeature(Window.FEATURE_NO_TITLE);//取消標題欄 getWindow().setFlags(W

原创 Android requires compiler compliance level 5.0 or 6.0. Found '1.4' instead.

今天打開Eclipse時出現這樣的錯誤: Android requires compiler compliance level 5.0 or 6.0. Found '1.4' instead. Please fix project prop

原创 Attachment support is disabled解決方案

Unable to find required classes (javax.activation.DataHandler and javax.mail.internet.MimeMultipart). Attachment support