[android-developers] How to list all processes and threads like DDMS

2011-09-27 Thread androidkid
Hi, all, I want to develop an application to log the process and thread information of android, especial the utime/stime of each thread to output the statistics. I know DDMS can do this, but I don't know how to write code (APIs) to retrieve the information . Thanks. -- You received this

[android-developers] Possibility to access the Own Content Provider

2008-11-25 Thread AndroidKid
Hi All, I've accessed existing Content Provider. ie, I've retrieved data from Contacts Application by including the Permission Read_Contacts within my application Android Manifest file. I've created new Content Provider by extending my class from Content Provider. I've overridded the method

[android-developers] Re: Please share your knowledge on Content Provider in Android

2008-11-20 Thread AndroidKid
Hi Dianne Hackborn, Thanks for your reply Fine.. I'll follow your inputs. Will you please tell the procedure to create Content Provider.. ie, 1. Extent ContentProvider 2. Add Provider tag 3. How can I assign the CONTENT_URI for my own content provider like that.. Since, I've

[android-developers] Pre settings for each application

2008-11-10 Thread AndroidKid
Hi, I've done one application. it will play a Airtel song if the mobile receives SMS. I would like to allow the user to assign any song as per their needs. So, I want to make this as pre-setting. Based on the selection, the song will be played if the SMS reaches the mobile. Now I've done the

[android-developers] Re: Where does the emulator look for the SD Card Image File ?

2008-11-05 Thread AndroidKid
Hi All, I'm also facing the same issue. 1. mksdcard 2048M d:\Program Files\myandroid\sdcard.img 2. emulator -sdcard d:\Program Files\myandroid\sdcard.img While executing this second command I got warning message as ### WARNING: SD Card files must be at least 8 MB, ignoring 'd:\Program

[android-developers] Error in my application... please help me.. :(

2008-11-02 Thread AndroidKid
Hi, I've done one application using Listview Concepts. In my application, I've radio buttons for Languages. The user selects any one of the language then I've displayed one list whose items are Baby, Google, Eclipse. If the user clicks any one of item then the web browser will opened with

[android-developers] Help me.... To play dynamic media(.mp4) file based on user input

2008-10-30 Thread AndroidKid
Hi All, I've executed one android application to display the static video(.mp4) file. That was working fine. Now, I would like to play the media (video) based on the language that the user chooses. Meaning, this software will send the user preferences to a server. Server will stream the

[android-developers] Re: Does Android 1.0 support progressive download of music and video files?

2008-10-30 Thread AndroidKid
Hi, What is MP4Box ? Can you please post sample code here ? I've executed the application for displaying static video file .mp4. Now I would like to display the dynamic video file based on user chooses. ie, 1. User selects the language of video file. 2. Then they will pick the video

[android-developers] Need Help..... To install android package (.apk) on HTC Touch Mobile

2008-10-29 Thread AndroidKid
Hi All, I've executed some sample application in android using emulator. I bought HTC touch mobile which has Windows Mobile 5.0 OS. I try to run my android application within HTC touch phone, But I can't :( I've done the following things, (1) I have installed Microsoft Activesync 4.5. (To