Besides programming with java, we're also able to do native programming with c or c++ on android platform.To do so, we need a cross compiler target on arm processor for our working platform( windows or linux). So I downloaded Sourcery G++ Lite 2009q3
While doing android programming, it's a common sense to use Activity to interact with users and use Service to perform time consuming tasks (actually, such tasks are usually performed on a new thread spawned by the service). A classic example is
Property system is an important feature on android. It runs as a service and manages system configurations and status. All these configurations and status are properties. A property is a key/value pair, both of which are of string type.From the
In this post, I'll show some basic operations in android with a simple video player. The demo shows how to:Use explicit intentList video files with ListView, ContentProvider & MediaProviderRetrieve data from another Activity with
In this post, I tried to play small audio data chunks with AudioTrack to show the feasibility of streaming audio. It's not straightforward enough. So I updated the sample code to actually transfer audio data with udp.As the image below shows, the
今天突然發現ANDROID模擬器啟動失敗,log顯示如下錯誤資訊:ERROR: the user data image is used by another emulator. aborting問題原因:avd的加鎖機制使然。 .lock是加鎖,如果程式崩潰等原因導致無法清除這些以.lock結尾的檔案夾,就會出現這個問題,也就是這個avd的鎖沒有被釋放,導致avd manager以為這個avd正在使用當中。解決辦法:刪除C:\Documents and