SDK r3 on Ubuntu 9.10

by Brian F » Fri, 30 Oct 2009 13:01:02 GMT

Sponsored Links
 I'm a n00b having trouble getting the Android 2.0 SDK running on
Karmic Koala.  I'm attempting to follow these: #quickstart
directions, however when I try to add SDK components as directed from
this link: 
I can't refresh the available packages.  I get a "Failed to fetch
URL:  HTTPS ERROR" whether or not I select "Force https://..." in the
settings tab.




Other Threads

1. How can I use different row view for selected or unselected list item?

My intent was to use different view defined in xml when an item is

I overwritten getView method in my child class of SimpleCursorAdapter:

        public View getView(int position, View convertView, ViewGroup parent)

                if (position == mSelectedItemPos) {
                        Log.v(_TAG, "Highlight position " + position);
                } else {
                        Log.v(_TAG, "un-highlight position " + position);
                View newView = super.getView(position, convertView, parent);
                return newView;

But it did not work as expected unless the activity is restarted.

Do not know why

and there's better choice to load different view for list item



2. Video streaming from android mobile phone to a remote computer

Hello everyone,

The problem I have is in the implementation of a video streaming
application. What I need to do is to stream live what I record with
the androids' camera, to a remote computer. I managed to establish a
connection between the mobile phone and the computer, but I do not
know how to send the video.

 I searched through forums, and I found out that in order to send a
streaming video you have you use the ParcelFileDescriptor. So I
created an instance of MediaRecorder with encoding H263 and .mp4 file
format, I created a Socket and then I created a new
ParcelFileDescriptor connecting it with the socket. If that is correct
then the android application that I created is functional.

 What I don't know now is what to do at the side of the computer in
order to receive and view the streaming video. I tried using JMF, but
it doesn't support .mp4 video files. What do you suggest me to do? Or
where to look in order to find a solution?

Thank you in advance,


3. How to get Android Source code?

4. Killi Process with files on SD card


6. Theme.Dialog - Remove Title Area?

7. How to keep a service running to listen for incoming and outgoing calls