seo優化排名, seo搜索引擎 | Google Android 手機程式設計--常見的錯誤狀況與解決方式,Android 的內核程式碼
點擊這裡→ 港元980即時開設最強網上商店,無任何隱藏成本

seo優化排名, seo搜索引擎

網路推廣,網站排名,網站推廣,搜索網站,seo服務

Google Android 手機程式設計--常見的錯誤狀況與解決方式,Android 的內核程式碼

clock 十一月 18, 2009 12:57 by author Administrator

要連接 Google Map 請設定 XMPP Setting,加入你的 Gmail Account

 

Hey guys

I've been peacfully coding for about a week now with only a few problems, but right now out of goddamn nowhere the emulator started giving me that exception out of nowhere:

Java:

An error has occurred in process com.google.process.content. Unable to
start receiver com.google.android.xmppService.ServiceAutoStart:
java.lang.NullPointerException.


I changed only little in my code so I don't believe it is really my fault Confused

Now I cannot even run the Browser and the Maps without getting an NullPointerException Crying or Very sad

Help pls..

mrocket

 

Hello mrocket,

Up to now there are only two possible solutions for this problem.
On both you should save your data (database / other files - BEFORE Exclamation)

1.) Start the emulator once with "-wipe-data" on Additional Cmd-Line-Options:

 


or 2.)

Delete the emulator-image (userdata.img) located at:
WinXP: "C:\Documents and Settings\<win_loginname>\Local Settings\Application Data\Android\"
WinVista: "C:\Users\<win_loginname>\AppData\Local\Android\"

Both should fix it!

Regards,
plusminus

--------------------------------------------------

http://www.anddev.org/images/anddev_minilogo.png| Android Development Community / Tutorials

 

  

Android 的內核程式碼

Download : http://code.google.com/p/android/downloads/list

How to Make : http://blog.chinaunix.net/u/30686/showart_433547.html

download zip file( android_sdk_linux_m3-rc22a.zip ) and then install
my linux machine(FC7)

I could see kernel's image in ../tools/lib/images directory
file name : kernel-qemu, size : 1.2M

1. http://code.google.com/p/android/downloads/list
    download linux-2.6.23-android-m3-rc20.tar.gz android linux kernel
source
    and uncompress kernel source

2. goldfish architecture configuration file copy to .config
    goldfish configuration file in kernel/arch/arm/configs/
goldfish_defconfig

3. toolchain
   http://www.codesourcery.com/gnu_toolchains/arm/download.html
   checking radio box
      Target Platform : ARM uClinux
      Host Platform : IA32 GNU/LINUX
   and then download...

4. uncompress arm-2007q3-51-arm-uclinuxeabi-i686-pc-linux-gnu.tar
after download

5. evironment value setting /etc/bashrc
   PATH=$PATH:<arm-uclinuxeabi-* path>
   export PATH

6. kernel compiled by arm-uclinuxeabi-* compiler
    "make zImage"

7. kernel image(zImage) copy to <android>/tools/lib/images/

8. execute "emulator -console -debug-kernel -kernel zImage"

9. rename kenel image( zImage ) to kernel-qemu
    and execute "emulator -console -debug-kernel -kernel kernel-qemu"

注意:工具鏈裡面的gcc一定要選用GCC 3.3.*,GCC 4.2.*有問題。

 

參考文獻

1.        Android - An Open Handset Alliance Project - Open Source Licensing
http://code.google.com/android/kb/licensingandoss.html

2.        Ryan Paul, Why Google chose the Apache Software License over GPLv2 for Android, Published: November 06, 2007 - 09:26AM CT
http://arstechnica.com/news.ars/post/20071106-why-google-chose-the-apache-software-license-over-gplv2.html

3.        Installing the SDK
http://code.google.com/android/intro/installing.html

4.        Download the Android SDK
http://code.google.com/android/download.html

5.        Package Index
http://code.google.com/android/reference/packages.html

6.        Android 中文網 http://www.androidcn.net/

7.        Android 中文網- Documentation
http://www.androidcn.net/wiki/index.php/Documentation  

 

 






















第一個評分

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5


開始建立您的網上業務,點擊進入http://www.rank-ad.com/

加入每二週免費網上推廣提示電郵訂閱,即時獲贈免費關鍵字廣告課程及提升網站流量

加入每二週免費網上推廣提示電郵訂閱, 即時獲贈免費關鍵字廣告課程及提升網站流量
Fo Xuan Henry

建立你的 Facebook 電子名片

Bookmark and Share

Twitter Updates:

評論

新增評論


(將顯示您的Gravatar圖示)  

  Country flag

biuquote
  • 評論
  • 線上預覽
Loading





© 版權所有 海神科技有限公司

© 版權所有 海神科技有限公司