Re: How to 'repo' the android with special 'tag'?

by Chih-Wei » Fri, 03 Dec 2010 10:52:58 GMT


Sponsored Links
 Very easy, just use -b option like the branch names.

repo init -b android-2.2_r1.3 ...

(actually these "tags" are branch names in the manifest repository)





-- 



Re: Re: How to 'repo' the android with special 'tag'?

by Matt Shao » Fri, 03 Dec 2010 12:38:05 GMT


 Cool  ~
Many thanks Chih !


2010/12/3 Chih-Wei <cwhu...@linux.org.tw>


> website: 


Sponsored Links


Other Threads

1. Key Capture in background

Hi all,

I am working on  key capturing events in background.
i used Service to send my application back. When the application is in
forground i can capture the keys and logged in a file.But when i sent
it to background i am not able to get. i am aware of onKey() and
onKeyDown(). and also i feel these can only capture the keys when
application is foreground.


can anyone please suggest how to capture the keys while application is
in background. and also without DDMS how can we capture the screen .Is
there any API's

-- 

2. Receiving SMS Messages

Dear All ,

Can some one help me to  solve my prob
I have put this code for receiving Message but the receice Msg on top
of the screen but after some second it disappeared,I want to save the
receive Msg in "txtEncryptedMessage"box ,can any one help to solve
this prob

abbi...@hotmail.com

public class SMSReceiver extends BroadcastReceiver
{
TextView txtEncryptedMessage;
        public SMSReceiver(TextView passedView)
        {
                txtEncryptedMessage=passedView;

        }
    @Override
    public void onReceive(Context context, Intent intent)
    {
        //---get the SMS message passed in---
        Bundle bundle = intent.getExtras();
        SmsMessage[] msgs = null;
        String str = "";
        if (bundle != null)
        {
            //---retrieve the SMS message received---
            Object[] pdus = (Object[]) bundle.get("pdus");
            msgs = new SmsMessage[pdus.length];
            for (int i=0; i<msgs.length; i++){
                msgs[i] =
SmsMessage.createFromPdu((byte[])pdus[i]);
                str += "SMS from " +
msgs[i].getOriginatingAddress();
                str += " :";
                str += msgs[i].getMessageBody().toString();
                str += "\n";
            }
            //---display the new SMS message---
            Toast.makeText(context, str, Toast.LENGTH_SHORT).show();
        }
    }
}



-- 

3. Multiple selection ListView question

4. To display the soft keyboard during the launch itself

5. How could I avoid others to get my used pictures in my application?

6. A error has been shown when I run the example in the facebook SDK for android

7. SUPL INIT message handling