ADC2 - We're running out of days in Sept

by dadical » Tue, 22 Sep 2009 02:27:09 GMT

Sponsored Links
 I'm guessing Google is going to have to let the dates slip, or cut
some of the rounds short.  Has anyone heard how things are progressing?

ADC2 - We're running out of days in Sept

by RainBow » Tue, 22 Sep 2009 02:51:52 GMT

 I _guess_ this week we should expect the below page getting updated: 



Sponsored Links

Other Threads

1. Video Intent flags


   Is there a way to specify the following properties through intent
while trying to play a video/audio file.
   I want to use the intent and not the MediaPlayer/VideoView/
SurfaceView for playing the video/audio.

  The properties that i would like to set are ,
     loop - Yes/No
     autoplay - Yes/No
     controls - show/hide

thanks in advance,


2. Socket and Inter Thread Communication

Hello everybody,

I'm having a little problem with using threads and handlers.

I have a running activity in the main thread, where I create a worker
thread to connect to my server through sockets. To treat the returns I
am using a Handler created in main thread, and these messages should
fall back into main thread, but still in worker thread.

Could anyone help me?

Sorry for english, I'm using google translate.

Error message:

Thread [<15> Thread-9] (Suspended (exception ViewRoot
        ViewRoot.checkThread() line: 2683
        ViewRoot.invalidateChild(View, Rect) line: 570
        ViewRoot.invalidateChildInParent(int[], Rect) line: 596
        LinearLayout(ViewGroup).invalidateChild(View, Rect) line: 2396
        TextView(View).invalidate() line: 4945
        TextView.updateAfterEdit() line: 4736
        TextView.handleTextChanged(CharSequence, int, int, int) line: 6158
        TextView$ChangeWatcher.onTextChanged(CharSequence, int, int, int)
line: 6315
        SpannableStringBuilder.sendTextChange(Tex{*filter*}cher[], int, int, int)
line: 889
        SpannableStringBuilder.change(boolean, int, int, CharSequence, int,
int) line: 352
        SpannableStringBuilder.change(int, int, CharSequence, int, int) line:
        SpannableStringBuilder.replace(int, int, CharSequence, int, int)
line: 432
        SpannableStringBuilder.append(CharSequence, int, int) line: 259
        SpannableStringBuilder.append(CharSequence, int, int) line: 28
        SpannableStringBuilder(TextView).append(CharSequence, int, int) line:
        TextView.append(CharSequence) line: 2223
        tela.logMessage(String) line: 41
        String(tela$1).handleMessage(Message) line: 16
        tela$1(Handler).dispatchMessage(Message) line: 99 line: 103 line: 1096

main thread:

public class tela extends Activity {

        private Handler messageHandler = new Handler() {
        public void handleMessage(Message msg) {

        public TextView txtIn;
        public Button btConn;

        /** Called when the activity is first created. */
    public void onCreate(Bundle savedInstanceState) {

        txtIn = (TextView)findViewById(;
        btConn = (Button)findViewById(;

    public void doConnect(View view){
        this.txtIn.append("Start thread...");

        CmaConnection __conn = new CmaConnection("", 9090,
        new Thread(__conn).start();

    public void logMessage(String msg){

        // Bug is here //

worker thread:

public class CmaConnection extends Thread{

        private Socket _conn;
        private DataInputStream dIn = null;

        private String _addr;
        private Integer _port;
        private Handler _msgHandler;

        public CmaConnection(String address, Integer port, Handler
messageHandler) {
                _addr = address;
                _port = port;
                _msgHandler = messageHandler;

        public void run() {

        try {
                _conn = new Socket(_addr, _port, true);

                        dIn = new DataInputStream(_conn.getInputStream());

                        Message msg = new Message();

                                msg.obj = dIn.readLine();


                } catch (UnknownHostException e) {
                } catch (IOException e) {


3. Android integration with ebay?

4. How to use NDK build Object files( .o ) in the platform source code

5. Create a daemon in \frameworks\base\cmds\

6. Does Android1.6 support Serial Port? any Examples?

7. trouble installing SDK packages