<rt id="bn8ez"></rt>
<label id="bn8ez"></label>

  • <span id="bn8ez"></span>

    <label id="bn8ez"><meter id="bn8ez"></meter></label>

    溫馨提示:您的每一次轉載,體現了我寫此文的意義!!!煩請您在轉載時注明出處http://www.tkk7.com/sxyx2008/謝謝合作!!!

    雪山飛鵠

    溫馨提示:您的每一次轉載,體現了我寫此文的意義!!!煩請您在轉載時注明出處http://www.tkk7.com/sxyx2008/謝謝合作!!!

    BlogJava 首頁 新隨筆 聯系 聚合 管理
      215 Posts :: 1 Stories :: 674 Comments :: 0 Trackbacks

    #

            環境描述:
                            eclipse3.6
                            jdk1.6
            最近由于項目需求,開始學習OSGI,手頭參考資料則為林昊老師的OSGI原理與最佳實踐這本書。該書由于發行較早,使用3.6版本的eclipse會遇到各種錯誤。其中在采用Declarative Service 的方式來實現的時候按作者書上的步驟來則會報這么一個錯誤。和同事探討了一下午的時間,原來是缺少一個jar。
            先看下異常信息:
    org.osgi.framework.BundleException: The bundle "org.eclipse.equinox.ds_1.2.0.v20100507 [29]" could not be resolved. Reason: Missing Constraint: Import-Package: org.eclipse.equinox.internal.util.event; version="1.0.0"
        at org.eclipse.osgi.framework.internal.core.AbstractBundle.getResolverError(AbstractBundle.java:
    1317)
        at org.eclipse.osgi.framework.internal.core.AbstractBundle.getResolutionFailureException(AbstractBundle.java:
    1301)
        at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:
    319)
        at org.eclipse.osgi.framework.internal.core.AbstractBundle.resume(AbstractBundle.java:
    374)
        at org.eclipse.osgi.framework.internal.core.Framework.resumeBundle(Framework.java:
    1067)
        at org.eclipse.osgi.framework.internal.core.StartLevelManager.resumeBundles(StartLevelManager.java:
    561)
        at org.eclipse.osgi.framework.internal.core.StartLevelManager.resumeBundles(StartLevelManager.java:
    546)
        at org.eclipse.osgi.framework.internal.core.StartLevelManager.incFWSL(StartLevelManager.java:
    459)
        at org.eclipse.osgi.framework.internal.core.StartLevelManager.doSetStartLevel(StartLevelManager.java:
    243)
        at org.eclipse.osgi.framework.internal.core.StartLevelManager.dispatchEvent(StartLevelManager.java:
    440)
        at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:
    227)
        at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:
    337)

    !ENTRY org.eclipse.osgi 4 0 2010-09-07 08:35:43.000
    !MESSAGE Bundle reference:file:/D:/eclipse/plugins/org.eclipse.equinox.ds_1.2.0.v20100507.jar was not resolved.
            解決方案:
            在eclipse的run configurations選項卡中勾選org.eclipse.equinox.util_1.0.200.v20100503.jar包即可,org.eclipse.equinox.util為固定部分,后者隨著eclipse版本的更新會有所變化。
            最后完整的bundle應該是這樣的:
    posted @ 2010-09-07 08:50 雪山飛鵠 閱讀(3347) | 評論 (0)編輯 收藏

    1. Celestia - 從太空看星際


    Celestia 是一款免費開放源代碼軟件。國內有軟件介紹把它稱作「宇宙穿梭機」或是「鳥瞰地球」,這都名副其實。Celestia 會通過檢測操作系統語言自動切換軟件語言,對中文支持良好。

    用十字指針指向一個星球,在 Celestia 左上角即顯示星球的信息。也可以像下圖一樣選擇顯示星座,就是在現實看見的同樣的星座,沒有連線,觀賞感受也是不同的。Celestia 的功能多以關鍵字執行,剛上手也許會感覺不知所措,一時了解不到其中的趣味,只要認識了 Celestia 的基本操作,就能發覺把玩 Celestia 是一件多么有趣的事。

    同樣作為新手,波斯推薦一定要看 Celestia 的內置演示,就在幫助菜單可以找到。演示有字幕介紹星球的著名點,帶你用 Celestia 遨游太陽系,從地球到月球,再去逛土星……就像一個無影的導游在帶你進行太空旅行。剛打開 Celestia,我覺得它超悶,但是看了演示后,探索 Celestia 的熱情就被激發起來了。

    Celestia 還能通過插件增強功能,不過目前插件還只有 1 個。(笑)

    下載地址:http://www.shatters.net/celestia/download.html | 自用版本分流 | 35M。


    2. Stellarium從地球看星際


    Stellarium 非常強悍地內置了非常多國語言,光是中文就有 3 種(為什么有 3 種?)。從設置上來說,可控制的比 Celestia 更多,當然在用途上也有所出入。最不同的是,Stellarium 給你一種從自家陽臺抬頭望天的觀賞感受,而這點 Celestia 是做不到的。Stellarium 也是免費開放源代碼軟件。


    Stellarium 同樣能點擊星球顯示信息,顯示信息比 Celestia 的全面。在星座顯示上,還能顯示形象配圖。所見區域也能選擇地域而定,不過預設的中國區域太少了,找來找去才只有一個 Acheng, China。

    用戶可以通過拖拽天空看到頭頂上的星際。默認是實時顯示,所以波斯的截圖就不是夜間版了,夜間版比較有說服力的說。背景的圖,就是下圖可見的樹木房屋之類都是可換的。

    不過 Stellarium 貌似對字體有要求,也許是波斯換了語言后沒有設置好,如圖所見的本來應該顯示星球名稱的地方都變成了小方塊。不過跟 GDI++ 字體渲染沒有沖突。

    Stellarium 在官方主頁有新手教學,比 Celestia 重視新人用戶培養呢。

    下載地址:http://www.stellarium.org/zh/ | Windows 版本約 41M。


    希望你也能從這兩款軟件找到你久違的星空吧!離題地說一句,大家要愛護環境,保護地球噢!

    posted @ 2010-09-05 12:50 雪山飛鵠 閱讀(1813) | 評論 (1)編輯 收藏

            此文檔根據adobe官方flex文檔制作而成。http://www.adobe.com/cn/devnet/flex/?view=documentation,官方提供為web版,體積較大,達50M左右。本人使用工具現已制作成chm格式文檔體積在35M左右。方便查閱。
    溫馨提示:在下載的時候不要使用迅雷等其他下載工具下載,使用瀏覽器默認的HTTP協議下載即可!否則下載下來的文件會存在格式問題。chm格式文件的通病
    為了及時分享給大家,特意將該文檔上傳至google code有需要的可以直接點擊下載http://struts2typeconverter.googlecode.com/files/Flex4.0API.chm

    再次提醒:鑒于廣大用戶一再發函索取該幫助文檔,用戶較多,本人也不便為大家一一發送,特將該文檔上傳至google code有需要的朋友可點擊下載http://struts2typeconverter.googlecode.com/files/Flex4.0API.chm.另還有朋友反饋提示打開不,可參考這篇博文chm文件打不開的原因.希望對讀者朋友有所幫助!


            為了及時分享給大家,特意將該文檔上傳至google code有需要的可以直接點擊下載http://struts2typeconverter.googlecode.com/files/Flex4.0API.chm
            溫馨提示:在下載的時候不要使用迅雷等其他下載工具下載,使用瀏覽器默認的HTTP協議下載即可!否則下載下來的文件會存在格式問題。chm格式文件的通病
            再次提醒:鑒于廣大用戶一再發函索取該幫助文檔,用戶較多,本人也不便為大家一一發送,特將該文檔上傳至google code有需要的朋友可點擊下載http://struts2typeconverter.googlecode.com/files/Flex4.0API.chm.另還有朋友反饋提示打開不,可參考這篇博文chm文件打不開的原因.希望對讀者朋友有所幫助!

    posted @ 2010-09-03 14:17 雪山飛鵠 閱讀(19965) | 評論 (116)編輯 收藏

            baidu百科這樣介紹它:
            Hessian是一個輕量級的remoting on http工具,使用簡單的方法提供了RMI的功能. 相比WebService,Hessian更簡單、快捷。采用的是二進制RPC協議,因為采用的是二進制協議,所以它很適合于發送二進制數據.
            開元百科這樣介紹它:
            Hessian是Caucho開發的一種二進制Web Service協議。采取Apache許可協議. 
            The Hessian binary web service protocol makes web services usable without requiring a large framework, and without learning yet another alphabet soup of protocols. Because it is a binary protocol, it is well-suited to sending binary data without any need to extend the protocol with attachments.
    Hessian是一個精心打造的Web Service實現,它支持Java、C#、Ruby、PHP和Python,又新增了ActionScript。使用Adobe Flash和Flex的RIA開發者們在需要集成業務服務的時候,Hessian應該是一個不錯的選擇。
            既然都它這么神奇,那么我們就又要去認識下這位新朋友。
            項目主頁:http://hessian.caucho.com/
            建議大家仔細認真閱讀下官方網站。
            還是先從helloworld著手。
            它只需要一個jar包即可
            去官方下載適用于java環境下的jar包支持
            hessian-4.0.7.jar   hessian-4.0.7-src.jar
            創建web工程。
            編寫接口:
    package com.hessian.demo.inf;

    public interface HelloWorld {
        
        
    public String sayHelloWorld(String name);
        
    }
            編寫實現類:
    package com.hessian.demo.impl;

    import com.hessian.demo.inf.HelloWorld;

    public class HelloWorldImpl implements HelloWorld {

        
    public String sayHelloWorld(String name) {
            
    return "Hello ,"+name+"Welcome to use hessian ! ";
        }

    }
            配置web.xml
    <?xml version="1.0" encoding="UTF-8"?>
    <web-app version="2.5" 
        xmlns
    ="http://java.sun.com/xml/ns/javaee" 
        xmlns:xsi
    ="http://www.w3.org/2001/XMLSchema-instance" 
        xsi:schemaLocation
    ="http://java.sun.com/xml/ns/javaee 
        http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"
    >
        
    <servlet>
            
    <servlet-name>helloworld</servlet-name>
            
    <servlet-class>com.caucho.hessian.server.HessianServlet</servlet-class>
            
    <init-param>
                
    <!-- 此處hom-api為固定寫法,為HessianServlet中定義的參數詳細可參考HessianServlet -->
                
    <!-- 其值為接口的類長名即 包名+類名 -->
                
    <param-name>home-api</param-name>
                
    <param-value>com.hessian.demo.inf.HelloWorld</param-value>
            
    </init-param>
            
    <init-param>
                
    <!-- 此處hom-class為固定寫法,為HessianServlet中定義的參數詳細可參考HessianServlet -->
                
    <!-- 其值為實現類的類長名即 包名+類名 -->
                
    <param-name>home-class</param-name>
                
    <param-value>com.hessian.demo.impl.HelloWorldImpl</param-value>
            
    </init-param>
        
    </servlet>
        
    <servlet-mapping>
            
    <servlet-name>helloworld</servlet-name>
            
    <url-pattern>/helloworld</url-pattern>
        
    </servlet-mapping>
    </web-app>
            此處web.xml中配置的初始化參數具體可參考HessianServlet的init()方法
    public void init(ServletConfig config)
        
    throws ServletException
      {
        
    super.init(config);
        
        
    try {
          
    if (_homeImpl != null) {
          }
          
    else if (getInitParameter("home-class"!= null) {
        String className 
    = getInitParameter("home-class");
        
        Class homeClass 
    = loadClass(className);

        _homeImpl 
    = homeClass.newInstance();
        
        init(_homeImpl);
          }
          
    else if (getInitParameter("service-class"!= null) {
        String className 
    = getInitParameter("service-class");
        
        Class homeClass 
    = loadClass(className);

        _homeImpl 
    = homeClass.newInstance();
        
        init(_homeImpl);
          }
          
    else {
        
    if (getClass().equals(HessianServlet.class))
          
    throw new ServletException("server must extend HessianServlet");

        _homeImpl 
    = this;
          }

          
    if (_homeAPI != null) {
          }
          
    else if (getInitParameter("home-api"!= null) {
        String className 
    = getInitParameter("home-api");
        
        _homeAPI 
    = loadClass(className);
          }
          
    else if (getInitParameter("api-class"!= null) {
        String className 
    = getInitParameter("api-class");

        _homeAPI 
    = loadClass(className);
          }
          
    else if (_homeImpl != null) {
        _homeAPI 
    = findRemoteAPI(_homeImpl.getClass());

        
    if (_homeAPI == null)
          _homeAPI 
    = _homeImpl.getClass();
          }
          
          
    if (_objectImpl != null) {
          }
          
    else if (getInitParameter("object-class"!= null) {
        String className 
    = getInitParameter("object-class");
        
        Class objectClass 
    = loadClass(className);

        _objectImpl 
    = objectClass.newInstance();

        init(_objectImpl);
          }

          
    if (_objectAPI != null) {
          }
          
    else if (getInitParameter("object-api"!= null) {
        String className 
    = getInitParameter("object-api");
        
        _objectAPI 
    = loadClass(className);
          }
          
    else if (_objectImpl != null)
        _objectAPI 
    = _objectImpl.getClass();

          _homeSkeleton 
    = new HessianSkeleton(_homeImpl, _homeAPI);
          
    if (_objectAPI != null)
        _homeSkeleton.setObjectClass(_objectAPI);

          
    if (_objectImpl != null) {
        _objectSkeleton 
    = new HessianSkeleton(_objectImpl, _objectAPI);
        _objectSkeleton.setHomeClass(_homeAPI);
          }
          
    else
        _objectSkeleton 
    = _homeSkeleton;

          
    if ("true".equals(getInitParameter("debug")))
        _isDebug 
    = true;

          
    if ("false".equals(getInitParameter("send-collection-type")))
        setSendCollectionType(
    false);
        } 
    catch (ServletException e) {
          
    throw e;
        } 
    catch (Exception e) {
          
    throw new ServletException(e);
        }
      }
             編寫客戶端測試代碼:
    package com.hessian.demo.client;

    import com.caucho.hessian.client.HessianProxyFactory;
    import com.hessian.demo.inf.HelloWorld;

    public class HelloWorldClient {
        
        
    public static void main(String[] args) throws Exception{
            
    //servlet的訪問路徑
            String url="http://localhost:8080/hessian/helloworld";
            
    //創建一HessianProxyFactory對象,用法與xfire很像
            HessianProxyFactory proxyFactory=new HessianProxyFactory();
            
    //獲得HelloWorld的實例,傳遞兩個參數依次為:接口.class,該servlet的訪問路徑
            HelloWorld helloWorld=(HelloWorld) proxyFactory.create(HelloWorld.class, url);
            System.out.println(helloWorld.sayHelloWorld(
    "張三"));
        }
    }
            效果圖:


    posted @ 2010-09-01 09:24 雪山飛鵠 閱讀(2675) | 評論 (2)編輯 收藏

    今天發現了一個不錯的css+div布局網站。學習css+div的童鞋不妨可以參考下。共50種布局。
    地址:http://cssdiv.net/layout/
    demo下載:點我下載
    截圖:



    posted @ 2010-08-31 14:29 雪山飛鵠 閱讀(1868) | 評論 (0)編輯 收藏

    1、關關雎鳩,在河之洲,窈窕淑女,君子好逑——《詩經 關雎》

    連鳥都談情說愛,更何況是人?溫柔賢淑的好姑娘,確實是小伙子的理想伴侶。

    2、執子之手,與子偕老——《詩經 國風 邶風 擊鼓》

    “我能想到最浪漫的事,就是和你一起慢慢變老,直到我們老的哪兒都去不了,你還依然把我當成手心里的寶”

    3、知我者謂我心憂,不知我者謂我何求——《詩經 王風 黍離》

    了解我的人都知道我只是心情不大好,不了解我的人還以為我想啥壞事兒呢

    4、桃之夭夭,灼灼其華——《詩經 周南 桃夭》

    哎,嘟嘟,那里有好多好多桃樹哦,花開的好好燦爛、好好漂亮耶

    5、昔我往矣,楊柳依依,今我來思,雨雪霏霏——《詩經 小雅 采薇》

    “我從春天走來,你在秋天說要分開”,好家伙,出了趟遠差,回來都冬天了

    6、蒹葭蒼蒼,白露為霜,所謂伊人,在水一方——《詩經 秦風 蒹葭》

    “沉默年代或許不該太遙遠的相愛”,青紗帳,掛白霜,所愛之人遠在北京“水立方”

    7、投我以木桃,報之以瓊瑤——《詩經 衛風 木瓜》

    予人玫瑰,手有余香,以德報德,君子之德

    8、彼采蕭兮,一日不見,如三秋兮——《詩經 王風 采葛》

    “我愛你,愛著你,就像老鼠愛大米”

    9、呦呦鹿鳴,食野之蘋,我有嘉賓,鼓瑟吹笙——《詩經 小雅 鹿鳴》

    群鹿尚知有物共享,人更當如此。“有朋自遠方來,不亦樂乎?”

    10、戰戰兢兢,如臨深淵,如履薄冰——《詩經 小雅 小旻》

    “我害怕,都是沒有用,你怕我總是不會懂”

    11、七月流火,九月授衣——《詩經 豳風 七月》

    七月那顆星都劃過去了,“想為你披件外衣,天涼要愛惜自己”

    12、它山之石,可以攻玉——《詩經 小雅 鶴嗚》

    別的山上生長的石頭,照樣能雕琢成美麗的玉器。

    13、高山仰止,景行行止——《詩經 小雅 車舝》

    “你是光,你是電,你是唯一的神話,我只愛你,you are my super star”

    14、風雨如晦,雞鳴不已,既見君子,云胡不喜——《詩經 鄭風 風雨》

    “一個人在這個夜里,孤單得難以入睡”,既然親愛的你來了,那我還有什么不高興的呢

    15、兄弟鬩于墻,外御其侮——《詩經 小雅 棠棣》

    畢竟是兄弟,別看平時偶爾吵吵鬧鬧,一旦有外人侵犯,立馬就會合而為一,毫不含糊

    16、有匪君子,如切如磋,如琢如磨——《詩經 衛風 淇奧》

    這小子真帥,要臉蛋兒有臉蛋兒,要身材有身材

    17、巧笑倩兮,美目盼兮——《詩經 國風 衛風 碩人》

    八戒說:“娘子,你笑得真好看!”

    18、青青子衿,悠悠我心——《詩經 國風 鄭風 子衿》

    “忘不了你的好,忘不了你醉人的纏綿”

    19、言者無罪,聞者足戒——《詩經 周南 關雎 序》

    大膽發言,說錯了不要緊;坐著不動的,有則改之,無則加勉。

    20、心之憂矣,如匪浣衣。靜言思之,不能奮飛——《詩經 國風 邶風 柏舟》

    我是真的擔心你呀,對你的牽掛像臟衣服上的污垢,繞我旁側,揮之不去。安靜的時候總會想起你,“裝上翅膀,我要飛向你”

    posted @ 2010-08-30 13:28 雪山飛鵠 閱讀(2076) | 評論 (2)編輯 收藏

    1,調web瀏覽器

    Uri myBlogUri = Uri.parse("http://kuikui.javaeye.com");

    returnIt = new Intent(Intent.ACTION_VIEW, myBlogUri);

    2,地圖

    Uri mapUri = Uri.parse("geo:38.899533,-77.036476");

    returnIt = new Intent(Intent.ACTION_VIEW, mapUri);

    3,調撥打電話界面

    Uri telUri = Uri.parse("tel:100861");

    returnIt = new Intent(Intent.ACTION_DIAL, telUri);

    4,直接撥打電話

    Uri callUri = Uri.parse("tel:100861");

    returnIt = new Intent(Intent.ACTION_CALL, callUri);

    5,卸載

    Uri uninstallUri = Uri.fromParts("package", "xxx", null);

    returnIt = new Intent(Intent.ACTION_DELETE, uninstallUri);

    6,安裝

    Uri installUri = Uri.fromParts("package", "xxx", null);

    returnIt = new Intent(Intent.ACTION_PACKAGE_ADDED, installUri);

    7,播放

    Uri playUri = Uri.parse("file:///sdcard/download/everything.mp3");

    returnIt = new Intent(Intent.ACTION_VIEW, playUri);

    8,調用發郵件

    Uri emailUri = Uri.parse("mailto:shenrenkui@gmail.com");

    returnIt = new Intent(Intent.ACTION_SENDTO, emailUri);

    9,發郵件

    returnIt = new Intent(Intent.ACTION_SEND);

    String[] tos = { "shenrenkui@gmail.com" };

    String[] ccs = { "shenrenkui@gmail.com" };

    returnIt.putExtra(Intent.EXTRA_EMAIL, tos);

    returnIt.putExtra(Intent.EXTRA_CC, ccs);

    returnIt.putExtra(Intent.EXTRA_TEXT, "body");

    returnIt.putExtra(Intent.EXTRA_SUBJECT, "subject");

    returnIt.setType("message/rfc882");

    Intent.createChooser(returnIt, "Choose Email Client");

    10,發短信

    Uri smsUri = Uri.parse("tel:100861");

    returnIt = new Intent(Intent.ACTION_VIEW, smsUri);

    returnIt.putExtra("sms_body", "shenrenkui");

    returnIt.setType("vnd.android-dir/mms-sms");

    11,直接發郵件

    Uri smsToUri = Uri.parse("smsto://100861");

    returnIt = new Intent(Intent.ACTION_SENDTO, smsToUri);

    returnIt.putExtra("sms_body", "shenrenkui");

    12,發彩信

    Uri mmsUri = Uri.parse("content://media/external/images/media/23");

    returnIt = new Intent(Intent.ACTION_SEND);

    returnIt.putExtra("sms_body", "shenrenkui");

    returnIt.putExtra(Intent.EXTRA_STREAM, mmsUri);

    returnIt.setType("image/png");

    用獲取到的Intent直接調用startActivity(returnIt)就ok了。
    注:
    本文轉自:http://kuikui.javaeye.com/blog/318627
    posted @ 2010-08-30 09:47 雪山飛鵠 閱讀(2079) | 評論 (0)編輯 收藏

    環境:
         jboss4.2.3
    異常摘要:
    java.lang.ClassCastException: com.sun.faces.config.WebConfiguration cannot be cast to com.sun.faces.config.WebConfiguration
    java.lang.ClassCastException: com.sun.faces.config.WebConfiguration cannot be cast to com.sun.faces.config.WebConfiguration
        at com.sun.faces.config.WebConfiguration.getInstance(WebConfiguration.java:
    154)
        at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:
    144)
        at org.jboss.web.jsf.integration.config.JBossJSFConfigureListener.contextInitialized(JBossJSFConfigureListener.java:
    71)
        at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:
    3856)
        at org.apache.catalina.core.StandardContext.start(StandardContext.java:
    4361)
        at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:
    790)
        at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:
    770)
        at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:
    553)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:
    39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:
    25)
        at java.lang.reflect.Method.invoke(Method.java:
    597)
        at org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:
    296)
        at org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:
    164)
        at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:
    659)
        at org.apache.catalina.core.StandardContext.init(StandardContext.java:
    5312)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:
    39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:
    25)
        at java.lang.reflect.Method.invoke(Method.java:
    597)
        at org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:
    296)
        at org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:
    164)
        at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:
    659)
        at org.jboss.web.tomcat.service.TomcatDeployer.performDeployInternal(TomcatDeployer.java:
    301)
        at org.jboss.web.tomcat.service.TomcatDeployer.performDeploy(TomcatDeployer.java:
    104)
        at org.jboss.web.AbstractWebDeployer.start(AbstractWebDeployer.java:
    375)
        at org.jboss.web.WebModule.startModule(WebModule.java:
    83)
        at org.jboss.web.WebModule.startService(WebModule.java:
    61)
        at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:
    289)
        at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:
    245)
        at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:
    25)
        at java.lang.reflect.Method.invoke(Method.java:
    597)
        at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:
    155)
        at org.jboss.mx.server.Invocation.dispatch(Invocation.java:
    94)
        at org.jboss.mx.server.Invocation.invoke(Invocation.java:
    86)
        at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:
    264)
        at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:
    659)
        at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:
    978)
        at $Proxy0.start(Unknown Source)
        at org.jboss.system.ServiceController.start(ServiceController.java:
    417)
        at sun.reflect.GeneratedMethodAccessor9.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:
    25)
        at java.lang.reflect.Method.invoke(Method.java:
    597)
        at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:
    155)
        at org.jboss.mx.server.Invocation.dispatch(Invocation.java:
    94)
        at org.jboss.mx.server.Invocation.invoke(Invocation.java:
    86)
        at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:
    264)
        at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:
    659)
        at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:
    210)
        at $Proxy44.start(Unknown Source)
        at org.jboss.web.AbstractWebContainer.start(AbstractWebContainer.java:
    466)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:
    39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:
    25)
        at java.lang.reflect.Method.invoke(Method.java:
    597)
        at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:
    155)
        at org.jboss.mx.server.Invocation.dispatch(Invocation.java:
    94)
        at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:
    133)
        at org.jboss.mx.server.Invocation.invoke(Invocation.java:
    88)
        at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:
    142)
        at org.jboss.mx.interceptor.DynamicInterceptor.invoke(DynamicInterceptor.java:
    97)
        at org.jboss.system.InterceptorServiceMBeanSupport.invokeNext(InterceptorServiceMBeanSupport.java:
    238)
        at org.jboss.wsf.container.jboss42.DeployerInterceptor.start(DeployerInterceptor.java:
    87)
        at org.jboss.deployment.SubDeployerInterceptorSupport$XMBeanInterceptor.start(SubDeployerInterceptorSupport.java:
    188)
        at org.jboss.deployment.SubDeployerInterceptor.invoke(SubDeployerInterceptor.java:
    95)
        at org.jboss.mx.server.Invocation.invoke(Invocation.java:
    88)
        at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:
    264)
        at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:
    659)
        at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:
    210)
        at $Proxy45.start(Unknown Source)
        at org.jboss.deployment.MainDeployer.start(MainDeployer.java:
    1025)
        at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:
    819)
        at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:
    782)
        at sun.reflect.GeneratedMethodAccessor21.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:
    25)
        at java.lang.reflect.Method.invoke(Method.java:
    597)
        at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:
    155)
        at org.jboss.mx.server.Invocation.dispatch(Invocation.java:
    94)
        at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:
    133)
        at org.jboss.mx.server.Invocation.invoke(Invocation.java:
    88)
        at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:
    142)
        at org.jboss.mx.server.Invocation.invoke(Invocation.java:
    88)
        at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:
    264)
        at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:
    659)
        at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:
    210)
        at $Proxy9.deploy(Unknown Source)
        at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:
    421)
        at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:
    634)
        at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:
    263)
        at org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(AbstractDeploymentScanner.java:
    336)
        at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:
    289)
        at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:
    245)
        at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:
    25)
        at java.lang.reflect.Method.invoke(Method.java:
    597)
        at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:
    155)
        at org.jboss.mx.server.Invocation.dispatch(Invocation.java:
    94)
        at org.jboss.mx.server.Invocation.invoke(Invocation.java:
    86)
        at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:
    264)
        at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:
    659)
        at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:
    978)
        at $Proxy0.start(Unknown Source)
        at org.jboss.system.ServiceController.start(ServiceController.java:
    417)
        at sun.reflect.GeneratedMethodAccessor9.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:
    25)
        at java.lang.reflect.Method.invoke(Method.java:
    597)
        at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:
    155)
        at org.jboss.mx.server.Invocation.dispatch(Invocation.java:
    94)
        at org.jboss.mx.server.Invocation.invoke(Invocation.java:
    86)
        at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:
    264)
        at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:
    659)
        at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:
    210)
        at $Proxy4.start(Unknown Source)
        at org.jboss.deployment.SARDeployer.start(SARDeployer.java:
    304)
        at org.jboss.deployment.MainDeployer.start(MainDeployer.java:
    1025)
        at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:
    819)
        at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:
    782)
        at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:
    766)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:
    39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:
    25)
        at java.lang.reflect.Method.invoke(Method.java:
    597)
        at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:
    155)
        at org.jboss.mx.server.Invocation.dispatch(Invocation.java:
    94)
        at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:
    133)
        at org.jboss.mx.server.Invocation.invoke(Invocation.java:
    88)
        at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:
    142)
        at org.jboss.mx.server.Invocation.invoke(Invocation.java:
    88)
        at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:
    264)
        at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:
    659)
        at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:
    210)
        at $Proxy5.deploy(Unknown Source)
        at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:
    482)
        at org.jboss.system.server.ServerImpl.start(ServerImpl.java:
    362)
        at org.jboss.Main.boot(Main.java:
    200)
        at org.jboss.Main$
    1.run(Main.java:508)
        at java.lang.Thread.run(Thread.java:
    619)
    從異常信息可以看出是jboss服務器在解析jsf時出現了問題,但項目中沒用到jsf啊,仔細檢查,在工程目錄下發現了jsf-api.jar和jsf-impl.jar,移除jsf-api.jar和jsf-impl.jar兩個jar文件。問題解決。
    posted @ 2010-08-23 14:30 雪山飛鵠 閱讀(2896) | 評論 (1)編輯 收藏


        程序執行需要讀取到安全敏感項必需在androidmanifest.xml中聲明相關權限請求, 完整列表如下:

    android.permission.ACCESS_CHECKIN_PROPERTIES

    允許讀寫訪問”properties”表在 checkin數據庫中,改值可以修改上傳( Allows read/write access to the “properties” table in the checkin database, to change values that get uploaded)

    android.permission.ACCESS_COARSE_LOCATION

    允許一個程序訪問CellID或WiFi熱點來獲取粗略的位置(Allows an application to access coarse (e.g., Cell-ID, WiFi) location)

    android.permission.ACCESS_FINE_LOCATION

    允許一個程序訪問精良位置(如GPS) (Allows an application to access fine (e.g., GPS) location)

    android.permission.ACCESS_LOCATION_EXTRA_COMMANDS

    允許應用程序訪問額外的位置提供命令(Allows an application to access extra location provider commands)

    android.permission.ACCESS_MOCK_LOCATION

    允許程序創建模擬位置提供用于測試(Allows an application to create mock location providers for testing)

    android.permission.ACCESS_NETWORK_STATE

    允許程序訪問有關GSM網絡信息(Allows applications to access information about networks)

    android.permission.ACCESS_SURFACE_FLINGER

    允許程序使用SurfaceFlinger底層特性 (Allows an application to use SurfaceFlinger’s low level features)

    android.permission.ACCESS_WIFI_STATE

    允許程序訪問Wi-Fi網絡狀態信息(Allows applications to access information about Wi-Fi networks)

    android.permission.ADD_SYSTEM_SERVICE

    允許程序發布系統級服務(Allows an application to publish system-level services).

    android.permission.BATTERY_STATS

    允許程序更新手機電池統計信息(Allows an application to update the collected battery statistics)

    android.permission.BLUETOOTH

    允許程序連接到已配對的藍牙設備(Allows applications to connect to paired bluetooth devices)

    android.permission.BLUETOOTH_ADMIN

    允許程序發現和配對藍牙設備(Allows applications to discover and pair bluetooth devices)

    android.permission.BRICK

    請求能夠禁用設備(非常危險)(Required to be able to disable the device (very *erous!).)

    android.permission.BROADCAST_PACKAGE_REMOVED

    允許程序廣播一個提示消息在一個應用程序包已經移除后(Allows an application to broadcast a notification that an application package has been removed)

    android.permission.BROADCAST_STICKY

    允許一個程序廣播常用intents(Allows an application to broadcast sticky intents)

    android.permission.CALL_PHONE

    允許一個程序初始化一個電話撥號不需通過撥號用戶界面需要用戶確認 (Allows an application to initiate a phone call without going through the Dialer user interface for the user to confirm the call being placed.)

    android.permission.CALL_PRIVILEGED

    允許一個程序撥打任何號碼,包含緊急號碼無需通過撥號用戶界面需要用戶確認 (Allows an application to call any phone number, including emergency numbers, without going through the Dialer user interface for the user to confirm the call being placed)

    android.permission.CAMERA

    請求訪問使用照相設備(Required to be able to access the camera device. )

    android.permission.CHANGE_COMPONENT_ENABLED_STATE

    允許一個程序是否改變一個組件或其他的啟用或禁用(Allows an application to change whether an application component (other than its own) is enabled or not. )

    android.permission.CHANGE_CONFIGURATION

    允許一個程序修改當前設置,如本地化(Allows an application to modify the current configuration, such as locale. )

    android.permission.CHANGE_NETWORK_STATE

    允許程序改變網絡連接狀態(Allows applications to change network connectivity state)

    android.permission.CHANGE_WIFI_STATE

    允許程序改變Wi-Fi連接狀態(Allows applications to change Wi-Fi connectivity state)

    android.permission.CLEAR_APP_CACHE

    允許一個程序清楚緩存從所有安裝的程序在設備中(Allows an application to clear the caches of all installed applications on the device. )

    android.permission.CLEAR_APP_USER_DATA

    允許一個程序清除用戶設置(Allows an application to clear user data)

    android.permission.CONTROL_LOCATION_UPDATES

    允許啟用禁止位置更新提示從無線模塊 (Allows enabling/disabling location update notifications from the radio. )

    android.permission.DELETE_CACHE_FILES

    允許程序刪除緩存文件(Allows an application to delete cache files)

    android.permission.DELETE_PACKAGES

    允許一個程序刪除包(Allows an application to delete packages)

    android.permission.DEVICE_POWER

    允許訪問底層電源管理(Allows low-level access to power management)

    android.permission.DIAGNOSTIC

    允許程序RW診斷資源(Allows applications to RW to diagnostic resources. )

    android.permission.DISABLE_KEYGUARD

    允許程序禁用鍵盤鎖(Allows applications to disable the keyguard )

    android.permission.DUMP

    允許程序返回狀態抓取信息從系統服務(Allows an application to retrieve state dump information from system services.)

    android.permission.EXPAND_STATUS_BAR

    允許一個程序擴展收縮在狀態欄,android開發網提示應該是一個類似Windows Mobile中的托盤程序(Allows an application to expand or collapse the status bar. )

    android.permission.FACTORY_TEST

    作為一個工廠測試程序,運行在root用戶(Run as a manufacturer test application, running as the root user. )

    android.permission.FLASHLIGHT

    訪問閃光燈,android開發網提示HTC Dream不包含閃光燈(Allows access to the flashlight )

    android.permission.FORCE_BACK

    允許程序強行一個后退操作是否在頂層activities(Allows an application to force a BACK operation on whatever is the top activity. )

    android.permission.FOTA_UPDATE

    暫時不了解這是做什么使用的,android開發網分析可能是一個預留權限.

    android.permission.GET_ACCOUNTS

    訪問一個帳戶列表在Accounts Service中(Allows access to the list of accounts in the Accounts Service)

    android.permission.GET_PACKAGE_SIZE

    允許一個程序獲取任何package占用空間容量(Allows an application to find out the space used by any package. )

    android.permission.GET_TASKS

    允許一個程序獲取信息有關當前或最近運行的任務,一個縮略的任務狀態,是否活動等等(Allows an application to get information about the currently or recently running tasks: a thumbnail representation of the tasks, what activities are running in it, etc.)

    android.permission.HARDWARE_TEST

    允許訪問硬件(Allows access to hardware peripherals. )

    android.permission.INJECT_EVENTS

    允許一個程序截獲用戶事件如按鍵、觸摸、軌跡球等等到一個時間流,android 開發網提醒算是hook技術吧(Allows an application to inject user events (keys, touch, trackball) into the event stream and deliver them to ANY window.)

    android.permission.INSTALL_PACKAGES

    允許一個程序安裝packages(Allows an application to install packages. )

    android.permission.INTERNAL_SYSTEM_WINDOW

    允許打開窗口使用系統用戶界面(Allows an application to open windows that are for use by parts of the system user interface. )

    android.permission.INTERNET

    允許程序打開網絡套接字(Allows applications to open network sockets)

    android.permission.MANAGE_APP_TOKENS

    允許程序管理(創建、催后、 z- order默認向z軸推移)程序引用在窗口管理器中(Allows an application to manage (create, destroy, Z-order) application tokens in the window manager. )

    android.permission.MASTER_CLEAR目前還沒有明確的解釋,android開發網分析可能是清除一切數據,類似硬格機

    android.permission.MODIFY_AUDIO_SETTINGS

    允許程序修改全局音頻設置(Allows an application to modify global audio settings)

    android.permission.MODIFY_PHONE_STATE

    允許修改話機狀態,如電源,人機接口等(Allows modification of the telephony state ? power on, mmi, etc. )

    android.permission.MOUNT_UNMOUNT_FILESYSTEMS

    允許掛載和反掛載文件系統可移動存儲 (Allows mounting and unmounting file systems for removable storage. )

    android.permission.PERSISTENT_ACTIVITY

    允許一個程序設置他的activities顯示 (Allow an application to make its activities persistent. )

    android.permission.PROCESS_OUTGOING_CALLS

    允許程序監視、修改有關播出電話(Allows an application to monitor, modify, or abort outgoing calls)

    android.permission.READ_CALENDAR

    允許程序讀取用戶日歷數據(Allows an application to read the user’s calendar data.)

    android.permission.READ_CONTACTS

    允許程序讀取用戶聯系人數據(Allows an application to read the user’s contacts data.)

    android.permission.READ_FRAME_BUFFER

    允許程序屏幕波或和更多常規的訪問幀緩沖數據(Allows an application to take screen shots and more generally get access to the frame buffer data)

    android.permission.READ_INPUT_STATE

    允許程序返回當前按鍵狀態(Allows an application to retrieve the current state of keys and switches. )

    android.permission.READ_LOGS

    允許程序讀取底層系統日志文件(Allows an application to read the low-level system log files. )

    android.permission.READ_OWNER_DATA

    允許程序讀取所有者數據(Allows an application to read the owner’s data)

    android.permission.READ_SMS

    允許程序讀取短信息(Allows an application to read SMS messages.)

    android.permission.READ_SYNC_SETTINGS

    允許程序讀取同步設置(Allows applications to read the sync settings)

    android.permission.READ_SYNC_STATS

    允許程序讀取同步狀態(Allows applications to read the sync stats)

    android.permission.REBOOT

    請求能夠重新啟動設備(Required to be able to reboot the device. )

    android.permission.RECEIVE_BOOT_COMPLETED

    允許一個程序接收到 ACTION_BOOT_COMPLETED廣播在系統完成啟動(Allows an application to receive the ACTION_BOOT_COMPLETED that is broadcast after the system finishes booting. )

    android.permission.RECEIVE_MMS

    允許一個程序監控將收到MMS彩信,記錄或處理(Allows an application to monitor incoming MMS messages, to record or perform processing on them. )

    android.permission.RECEIVE_SMS

    允許程序監控一個將收到短信息,記錄或處理(Allows an application to monitor incoming SMS messages, to record or perform processing on them.)

    android.permission.RECEIVE_WAP_PUSH

    允許程序監控將收到WAP PUSH信息(Allows an application to monitor incoming WAP push messages. )

    android.permission.RECORD_AUDIO

    允許程序錄制音頻(Allows an application to record audio)

    android.permission.REORDER_TASKS

    允許程序改變Z軸排列任務(Allows an application to change the Z-order of tasks)

    android.permission.RESTART_PACKAGES

    允許程序重新啟動其他程序(Allows an application to restart other applications)

    android.permission.SEND_SMS

    允許程序發送SMS短信(Allows an application to send SMS messages)

    android.permission.SET_ACTIVITY_WATCHER

    允許程序監控或控制activities已經啟動全局系統中Allows an application to watch and control how activities are started globally in the system.

    android.permission.SET_ALWAYS_FINISH

    允許程序控制是否活動間接完成在處于后臺時Allows an application to control whether activities are immediately finished when put in the background.

    android.permission.SET_ANIMATION_SCALE

    修改全局信息比例(Modify the global animation scaling factor.)

    android.permission.SET_DEBUG_APP

    配置一個程序用于調試(Configure an application for debugging.)

    android.permission.SET_ORIENTATION

    允許底層訪問設置屏幕方向和實際旋轉(Allows low-level access to setting the orientation

    (actually rotation) of the screen.)

    android.permission.SET_PREFERRED_APPLICATIONS

    允許一個程序修改列表參數 PackageManager.addPackageToPreferred() 和PackageManager.removePackageFromPreferred()方法(Allows an application to modify the list of preferred applications with the PackageManager.addPackageToPreferred() and PackageManager.removePackageFromPreferred() methods.)

    android.permission.SET_PROCESS_FOREGROUND

    允許程序當前運行程序強行到前臺(Allows an application to force any currently running process to be in the foreground.)

    android.permission.SET_PROCESS_LIMIT

    允許設置最大的運行進程數量(Allows an application to set the maximum number of (not needed) application processes that can be running. )

    android.permission.SET_TIME_ZONE

    允許程序設置時間區域(Allows applications to set the system time zone)

    android.permission.SET_WALLPAPER

    允許程序設置壁紙(Allows applications to set the wallpaper )

    android.permission.SET_WALLPAPER_HINTS

    允許程序設置壁紙hits(Allows applications to set the wallpaper hints)

    android.permission.SIGNAL_PERSISTENT_PROCESSES

    允許程序請求發送信號到所有顯示的進程中 (Allow an application to request that a signal be sent to all persistent processes)

    android.permission.STATUS_BAR

    允許程序打開、關閉或禁用狀態欄及圖標Allows an application to open, close, or disable the status bar and its icons.

    android.permission.SUBSCRIBED_FEEDS_READ

    允許一個程序訪問訂閱RSS Feed內容提供(Allows an application to allow access the subscribed feeds ContentProvider. )

    android.permission.SUBSCRIBED_FEEDS_WRITE

    系統暫時保留改設置,android開發網認為未來版本會加入該功能。

    android.permission.SYSTEM_ALERT_WINDOW

    允許一個程序打開窗口使用 TYPE_SYSTEM_ALERT,顯示在其他所有程序的頂層(Allows an application to open

    windows using the type TYPE_SYSTEM_ALERT, shown on top of all other applications. )

    android.permission.VIBRATE

    允許訪問振動設備(Allows access to the vibrator)

    android.permission.WAKE_LOCK

    允許使用PowerManager的 WakeLocks保持進程在休眠時從屏幕消失( Allows using PowerManager WakeLocks to keep processor from sleeping or screen from dimming)

    android.permission.WRITE_APN_SETTINGS

    允許程序寫入API設置(Allows applications to write the apn settings)

    android.permission.WRITE_CALENDAR

    允許一個程序寫入但不讀取用戶日歷數據(Allows an application to write (but not read) the user’s calendar data. )

    android.permission.WRITE_CONTACTS

    允許程序寫入但不讀取用戶聯系人數據(Allows an application to write (but not read) the user’s contacts data. )

    android.permission.WRITE_GSERVICES

    允許程序修改Google服務地圖(Allows an application to modify the Google service map. )

    android.permission.WRITE_OWNER_DATA

    允許一個程序寫入但不讀取所有者數據(Allows an application to write (but not read) the owner’s data.)

    android.permission.WRITE_SETTINGS

    允許程序讀取或寫入系統設置(Allows an application to read or write the system settings. )

    android.permission.WRITE_SMS

    允許程序寫短信(Allows an application to write SMS messages)

    android.permission.WRITE_SYNC_SETTINGS

    允許程序寫入同步設置(Allows applications to write the sync settings)

    android平臺上的權限許可分得很細,如果軟件無法正常執行時看看是不是缺少相關的permission聲明,最終我們還需要使用 android sign tools簽名生成的apk文件。
    posted @ 2010-08-21 16:48 雪山飛鵠 閱讀(1777) | 評論 (0)編輯 收藏

        環境:
                mysql-5.0.22-win32
                php-5.2.14-Win32
                httpd-2.2.16-win32-x86-openssl-0.9.8o
                WindowsXP sp3
                眾說周知php好用,但環境很麻煩。雖然網上有一大堆php集成好的環境。但真正使用起來還不是很好使。這里本人花了一兩個小時,親自實踐搭建了php的環境。以防遺忘,特做成文檔。在此分享出來。之所以做成文檔,一方面,在搭建過程抓去了大量的圖片,而在blog上傳圖片,確實是一件體力活,再者,近來本人發現blog剽竊很是猖狂。別人辛辛苦苦,寫好久,他一個Ctrl+C,Ctrl+V就出自他筆了。很不尊重別人的勞動成果。只是希望在轉載的時候注明原作者及出處。
                相信此文檔可以算是有史以來最為詳細的關于php環境搭建的教程了,每一個操作步驟,都有圖為證。文檔達到34頁,照著步驟一步一步來,保你順利搭建php環境。不信你來瞧瞧。
                點我下載word文檔
                點我下載pdf文檔
        

    posted @ 2010-08-17 16:23 雪山飛鵠 閱讀(1647) | 評論 (4)編輯 收藏

    僅列出標題
    共22頁: First 上一頁 10 11 12 13 14 15 16 17 18 下一頁 Last 
    主站蜘蛛池模板: 大学生一级毛片免费看| 日本高清色本免费现在观看| 亚洲性色成人av天堂| 最近的中文字幕大全免费版| 国产亚洲漂亮白嫩美女在线 | 亚洲成人免费网站| 亚洲AV噜噜一区二区三区| 久久久亚洲精品蜜桃臀| 91手机看片国产永久免费| 牛牛在线精品免费视频观看| 久久青青草原亚洲AV无码麻豆| 精品久久久久国产免费| g0g0人体全免费高清大胆视频| 国产成人精品日本亚洲直接| 久久精品亚洲男人的天堂| 欧美a级成人网站免费| 爽爽爽爽爽爽爽成人免费观看| 亚洲国产日韩精品| 日本亚洲成高清一区二区三区| 最近最新中文字幕完整版免费高清 | 国产精品亚洲专区在线观看| 中文字幕无码精品亚洲资源网| 黄页网站免费观看| 日本一区午夜艳熟免费| 亚洲Av无码国产一区二区| 亚洲高清无在码在线无弹窗 | 亚洲av永久无码精品表情包| 国产成人无码免费视频97| 19禁啪啪无遮挡免费网站| eeuss影院免费92242部| 亚洲欧美在线x视频| 亚洲欧洲日本精品| 亚洲国产精品无码久久一线| 国产免费av片在线无码免费看| 精品福利一区二区三区免费视频| 91视频免费观看| 免费精品国自产拍在线播放| 亚洲熟妇AV乱码在线观看| 亚洲精品午夜在线观看| 国产A在亚洲线播放| 亚洲精品成人a在线观看|