Show me the code! – By Davanum Srinivas

November 21, 2007

Twitter Client for Android (How to make XML over HTTP calls)

Filed under: Uncategorized — Davanum Srinivas @ 10:21 am

Since pictures say a thousand words! – Here are the screen shots

001
002
003

Functionality

Code for posting a new tweet

package org.apache.twitter;

import android.app.Activity;
import android.content.Intent;
import android.net.http.RequestQueue;
import android.os.Bundle;
import android.util.Log;
import android.view.View;
import android.webkit.WebView;
import android.widget.Button;
import android.widget.EditText;
import org.apache.commons.codec.binary.Base64;

import java.io.ByteArrayInputStream;
import java.io.UnsupportedEncodingException;
import java.net.URLEncoder;
import java.util.HashMap;
import java.util.Map;

/**
 * Initial screen with edit box for tweets and
 * a web view to display the tweets from friends
 */
public class TwitterClient extends Activity {

    static final int GET_LOGIN_INFORMATION = 1;

    WebView webView;
    RequestQueue requestQueue;
    String authInfo;

    /**
     * Called with the activity is first created.
     */
    @Override
    public void onCreate(Bundle icicle) {
        super.onCreate(icicle);
        setContentView(R.layout.main);

        // Set the initial text
        webView = (WebView) findViewById(R.id.webView);
        webView.loadData(
                "Please click on setup and enter your twitter credentials",
                "text/html", "utf-8");

        // When they click on the set up button show the login screen
        Button button = (Button) findViewById(R.id.setup);
        button.setOnClickListener(new View.OnClickListener() {
            public void onClick(View v) {
                Intent intent = new Intent(TwitterClient.this, TwitterLogin.class);
                startSubActivity(intent, GET_LOGIN_INFORMATION);
            }
        });

        // When they click on the Tweet! button, then get the
        // text in the edit box and send it to twitter
        final Activity activity = this;
        Button button2 = (Button) findViewById(R.id.update);
        button2.setOnClickListener(new View.OnClickListener() {
            public void onClick(View v) {
                Log.i("http", "Update clicked");
                Map headers = new HashMap();
                if (authInfo == null) {
                    return;
                }
                headers.put("Authorization", "Basic " + new String(Base64.encodeBase64(authInfo.getBytes())));
                EditText user = (EditText) findViewById(R.id.updateText);
                String text = null;
                try {
                    text = "status=" + URLEncoder.encode(user.getText().toString(), "UTF-8");
                    Log.i("http", "with " + text);
                } catch (UnsupportedEncodingException e) {
                    Log.e("http", e.getMessage());
                }
                byte[] bytes = text.getBytes();
                ByteArrayInputStream baos = new ByteArrayInputStream(bytes);
                // See Twitter API documentation for more information
                // http://groups.google.com/group/twitter-development-talk/web/api-documentation
                requestQueue.queueRequest(
                        "https://twitter.com/statuses/update.xml",
                        "POST", headers, new MyEventHandler2(activity), baos, bytes.length, false);
            }
        });

        // Start a thread to update the tweets from friends every minute
        requestQueue = new RequestQueue(this);
        Thread t = new Thread(new MyRunnable(this));
        t.start();
    }

    protected void onActivityResult(int requestCode, int resultCode,
                                    String data, Bundle extras) {
        if (requestCode == GET_LOGIN_INFORMATION && resultCode == RESULT_OK) {
            // Save the user login information
            authInfo = data;
        }
    }

}

Download the sources and Application – TwitterClient.zip

UPDATE (3:41 PM EST on Nov 25) : Updated zip with the correct manifest file

About these ads

67 Comments »

  1. […] Source : Devanum !  […]

    Pingback by Android France » Archive du blog » Twitter sur Android, l’application est là ! — November 21, 2007 @ 11:54 am

  2. […] Plus d’infos chez Davanum. […]

    Pingback by Android After All » Twitter sur Android — November 21, 2007 @ 12:07 pm

  3. […] de poster et lire ses messages sur son compte Twitter. L’application est disponible sur Show Me The Code, un très bon site au passage !! Cet article à été publié le Mercredi, novembre 21st, 2007 at […]

    Pingback by » Twitter sur Android — November 21, 2007 @ 12:49 pm

  4. […] Tras la salida de Android, aparecen las primeras aplicaciones desarrolladas para este sistema operativo móvil. Y como no, una de las primeras aplicaciones ha sido un cliente twitter. […]

    Pingback by Cliente Twitter para Android | aNieto2K — November 21, 2007 @ 1:38 pm

  5. […] Davanum Srinivas has been having some fun creating Android tutorials and releasing his sample code since the platform was released last week.  Yesterday, he released his sample concept code for a Twitter client. […]

    Pingback by Tutorials: TwitterClient and BrowseMap 2.0 | Android Notes — November 21, 2007 @ 2:06 pm

  6. […] n’aura pas fallu attendre longtemps pour voir un client Twitter pour Android voir le jour que je suggère d’ailleurs d’appeler Twitteroid ! Cette application […]

    Pingback by Application Twitter pour Android — November 21, 2007 @ 2:28 pm

  7. […] http://davanum.wordpress.com/2007/11/21/twitter-client-for-android-how-to-make-xml-over-http-calls (Pas de chance, je me suis fait grillé, cf: mon post d’hier sur mon développement utilisant Xml + Http. A noter que je n’ai pas utilisé les même techniques…) […]

    Pingback by Helyx Weblog » Blog Archive » Première contributions et démos intéressantes pour Android — November 21, 2007 @ 4:04 pm

  8. thanks for the sample code; could you fix the AndroidManifest.xml though? It’s a zip-file itself, and the real AndroidManifest.xml is nowhere to be found. Thanks!

    Comment by MikeR — November 21, 2007 @ 5:16 pm

  9. It’s funny I found this exactly today, I just posted about my twitter client http://underdev.org/2007/11/21/announcing-twitteroid/
    I had a look at your code, I was unaware of the requestqueue and ended up doing it myself, well it was a good exercise.

    Cheers.

    Comment by Diogo Ferreira — November 21, 2007 @ 6:45 pm

  10. […] и исходники Twitter Client’а […]

    Pingback by Googlephone X Team » Blog Archive » С каждым днем все больше… — November 22, 2007 @ 8:42 am

  11. I’m From Brazil!
    Very Good you Blog!

    Comment by Letra — November 22, 2007 @ 1:22 pm

  12. […] Link – Twitter Client for Android (How to make XML over HTTP calls) […]

    Pingback by Android Twitter Client - How to make XML over HTTP calls - Google Android Platform - The Android Log - Blog Archive — November 22, 2007 @ 3:33 pm

  13. […] Source codes of this free application are available from the author’s homepage. […]

    Pingback by blog-thing : TwitterClient the first publicly released Android free application — November 22, 2007 @ 4:19 pm

  14. […] vous permet de dire au monde entier ce que vous êtes en train de faire à l’instant t. Le code source du client Android est disponible sur le site de […]

    Pingback by Android France » Archive du blog » Client Twitter et coffre-fort : les premières applis Android sont là — November 22, 2007 @ 6:20 pm

  15. Great little app! I’m quite suprised how short and easy the actual final code is. Though the hardest part is the UI I guess. As MikeR says, can you put the correct version of AndroidManifest.xml in your zip? The one that’s there is corrupt (is actually indeed a zip file). Thanks!

    Comment by Marco — November 25, 2007 @ 2:21 pm

  16. Sorry folks, here’s the AndroidManifest.xml

    <manifest xmlns:android="http://schemas.android.com/apk/res/android"
    package="org.apache.twitter">
    <application>
    <activity class=".TwitterClient" android:label="Twitter Client">
    <intent-filter>
    <action android:value="android.intent.action.MAIN"/>
    <category android:value="android.intent.category.LAUNCHER"/>
    </intent-filter>
    </activity>
    <activity class=".TwitterLogin" android:label="TwitterLogin">
    <intent-filter>
    </intent-filter>
    </activity>
    </application>
    </manifest>

    Comment by davanum — November 25, 2007 @ 3:39 pm

  17. […] is very active these days on Android application development, he created the first twitter client for Android showing how to make XML over HTTP calls. The application allow simply to send tweets and view your […]

    Pingback by First Android Applications : Games, Messaging, Security and Utilities | Open Handset Magazine — November 26, 2007 @ 4:21 am

  18. How did you discover the ” android.net.http.* ” package?

    I’d like to get some documentation on the RequestQueue class, but the http package is no where to be found at http://code.google.com/android/

    Comment by Danny — November 28, 2007 @ 6:14 pm

  19. Interesting application, in fact this one is the first that i could see with this SDK. Nice job.

    Comment by KnxDT — November 30, 2007 @ 10:06 am

  20. […] para el idioma castellano para el nuevo sistema. Podemos descargar el cliente Twitter desde este enlace tambien encontraremos capturas de pantalla pero lo mas importante por lo que debes visitar ese […]

    Pingback by Ven la luz las primeras aplicaciones para Android at ZyruS WeB — December 2, 2007 @ 7:13 am

  21. […] monde entier sur des projets simples mais intéressant et fonctionnels. On peux citer en vrac son Client Twitter, son Client GTalk, son utilitaire de GéoLocalisation sans GPS et bien d’autre que nous vous […]

    Pingback by » Le développeur du mois — December 2, 2007 @ 1:34 pm

  22. […] recognition)(链接) 当前位置声音提示(Tweet current location)(链接) 在屏幕上动态跟踪GPS定位并把GPS路线存储到数据库上(以便今后查看) […]

    Pingback by db4o in Chinese : 使用db4o实现超强的Android地图应用 — December 13, 2007 @ 10:09 pm

  23. do u have some doc of package android.net.http

    Comment by Neo — December 26, 2007 @ 12:13 am

  24. […] para Android” está bastante complicado. A CallFreq también se agrega el cliente de Twitter y WhatsOpen, ésta última desarrollada por el mismísimo Sergei […]

    Pingback by Móviles | Seguimos con más aplicaciones para Android — January 11, 2008 @ 3:29 pm

  25. […] is very active these days on Android application development, he created the first twitter client for Android showing how to make XML over HTTP calls. The application allow simply to send tweets and view your […]

    Pingback by First Android Applications : Games, Messaging, Security and Utilities — January 15, 2008 @ 7:15 am

  26. […] Twitter Client for Android (How to make XML over HTTP calls) […]

    Pingback by Aleyda Solis Blog | Web Enthusiast, Developer and Promoter » Blog Archive » Got Twitterati Love? Here’s the Reference List! — February 27, 2008 @ 5:19 pm

  27. […] Twitter Client for Android (How to make XML over HTTP calls) […]

    Pingback by Eres un Fan de Twitter? Aquí está la lista de referencia “Twitterati Love”! - Aleyda Solis Blog | Entusiasta, Desarrolladora y Promotora Web — February 27, 2008 @ 5:52 pm

  28. […] 提交的代码:Twitter Client for Android (How to make XML over HTTP calls) 名字(必须) Email(必须) 网址 […]

    Pingback by Zuosa Inside » Android手机操作系统的Twitter客户端 — March 17, 2008 @ 11:59 am

  29. […] get started Davanum also provides the source code on his page to give developers and insight view into Android […]

    Pingback by Twitter Client for Android - Android Shareware — March 22, 2008 @ 5:21 am

  30. […] Link:Twitter Client for Android (How to make XML over HTTP calls)  Name Mail (will not be published) […]

    Pingback by Zuosa Inside » Android clients for Twitter — March 28, 2008 @ 11:24 pm

  31. […] Source  : davanum.wordpress.com […]

    Pingback by Twitter Client « Freewares for Android — July 30, 2008 @ 8:37 am

  32. Does anyone know another place to get the .zip file. the link on this page does not work.

    I really need the res files
    thanks

    Comment by Jeff — September 17, 2008 @ 12:24 pm

  33. […] blog has the source code, but the screenshots and downloads are missing, so I’m hosting a copy of the .ZIP download […]

    Pingback by 4 Twitter applications for Android phones with screenshots | all that's mobile and social — October 13, 2008 @ 4:11 pm

  34. […] enviar y recibir tweets. Fue una de las primeras aplicaciones desarrolladas para Android por un desarrollador que no pertenecía a […]

    Pingback by 4 aplicaciones Twitter para Android | Materia Geek — October 23, 2008 @ 1:06 am

  35. […] There are actually three other Twitter apps in development for Android, as shown here – TwitterDroid, Trak, and one that isn’t really named, by Davanum Srinivas. […]

    Pingback by Impressions of Twitroid | Microblink — October 23, 2008 @ 12:49 pm

  36. I saw about 3 project which were based upon this code. Too pity davanum is not contributing to the Android community :( Great tutorial anyway!

    Comment by android freeware — October 30, 2008 @ 9:45 pm

  37. Hi, I can’t download TwitterClient.zip, there is page error. How can i get it, if there are other useful source code sample links, show me the way coz i am a beginner!
    Thanks….

    Comment by Thaw — November 5, 2008 @ 8:15 pm

  38. Found the Zip file else where at

    http://theregoesdave.com/wp-content/uploads/2008/10/twitterclient.zip

    Comment by Tony — February 17, 2009 @ 9:33 am

  39. […] Twitter Client for Android A tutorial showing how to create a Twitter client for Android (i.e. how to make XML-over-HTTP calls). […]

    Pingback by 50 Công cụ Twitter hay dành cho Designers và Developers | Giải Pháp Số — March 2, 2009 @ 10:31 pm

  40. […] Twitter Client for Android A tutorial showing how to create a Twitter client for Android (i.e. how to make XML-over-HTTP calls). […]

    Pingback by http://www.digiwu.com » Blog Archive » 50 Twitter Tools and Tutorials For Designers and Developers — March 3, 2009 @ 8:55 am

  41. […] Twitter Client for Android A tutorial showing how to create a Twitter client for Android (i.e. how to make XML-over-HTTP calls). […]

    Pingback by 50 Twitter Tools and Tutorials For Designers and Developers | The Scripts Zone — March 6, 2009 @ 1:26 am

  42. […] for the emulator). There is an interesting Twitter Client example, albeit it’s an M3 project here by Davanum Srinivas. This example uses a WebView rather than an Adapter so it ‘might’ […]

    Pingback by Planet Android » Blog Archive » Consuming XML (from Twitter) — March 8, 2009 @ 4:21 am

  43. Hi:

    I would like to use your code for an application that I am planning to do. Are you releasing it under any kind of license?

    Thank you very much
    Regards

    Comment by Pipex — March 16, 2009 @ 6:41 pm

  44. The link is broken, help!

    Comment by Craig Allen — April 7, 2009 @ 9:05 pm

  45. where can i download the soure code?

    Comment by virtue — May 10, 2009 @ 6:37 am

    • See tony’s reply above for missing zip file.

      Comment by yenliangl — May 13, 2009 @ 12:27 am

  46. All the links to the source of your apps are broken

    Comment by ScaredyCat — May 17, 2009 @ 8:20 am

  47. Using Twitter API is passe – I have write up on my blog how to post to Twitter from Android using OAuth

    http://is.gd/1DC4e

    Comment by droid — July 18, 2009 @ 6:58 pm

  48. Responding to an order tramadol online audience examine at a borough entry-way at his presidential center in Atlanta, Carter said Tuesday that order maxaman Wilson’s explosion was also rooted in fears of a coal-black president.

    “I think it’s buy celebrex based on racism,” Carter order soma online said. “There is an native premonition in the midst multitudinous in this provinces that an African-American should not be buy humans hormone president.”

    Comment by SpeerbTop — September 16, 2009 @ 12:08 pm

  49. i am trying to download the zip file provided, the link is broken, please give the correct link

    Comment by pankaj — November 10, 2009 @ 8:32 am

  50. Hi! you can Donwload the correct .ZIP here ::

    http://theregoesdave.com/wp-content/uploads/2008/10/twitterclient.zip

    Comment by Jorgesys — January 28, 2010 @ 3:26 pm

  51. hello guys!!

    i’ve just gone through the above example and i’m trying to connect with my Server i.e. on local host only through HTTPs but it’s showing this log and it connects with server but not able to return the String which i’m writing on server’s out put stream.

    The emulator logcat..
    03-08 18:15:26.767: ERROR/mountd(19): could not read initial mass storage state
    03-08 18:15:26.777: INFO/DEBUG(20): debuggerd: Feb 5 2009 15:37:59
    03-08 18:15:27.077: ERROR/flash_image(28): can’t find recovery partition
    03-08 18:15:27.777: DEBUG/AndroidRuntime(23): >>>>>>>>>>>>>> AndroidRuntime START <<<<<<<<<<<<<<
    03-08 18:15:27.797: DEBUG/AndroidRuntime(23): CheckJNI is ON
    03-08 18:15:27.877: DEBUG/RILD(22): overriding with -s /dev/socket/qemud_gsm
    03-08 18:15:28.246: DEBUG/AndroidRuntime(23): — registering native functions —
    03-08 18:15:28.526: INFO/(24): ServiceManager: 0xaab8
    03-08 18:15:28.545: INFO/AudioFlinger(24): AudioFlinger's main thread ready to run.
    03-08 18:15:28.577: INFO/CameraService(24): CameraService started: pid=24
    03-08 18:15:29.045: INFO/Zygote(23): Preloading classes…
    03-08 18:15:29.055: DEBUG/dalvikvm(23): GC freed 746 objects / 41232 bytes in 11ms
    03-08 18:15:29.167: DEBUG/dalvikvm(23): GC freed 302 objects / 18568 bytes in 5ms
    03-08 18:15:29.237: DEBUG/dalvikvm(23): GC freed 313 objects / 18936 bytes in 5ms
    03-08 18:15:29.337: DEBUG/dalvikvm(23): Trying to load lib /system/lib/libmedia_jni.so 0x0
    03-08 18:15:29.497: DEBUG/dalvikvm(23): Added shared lib /system/lib/libmedia_jni.so 0x0
    03-08 18:15:29.497: DEBUG/dalvikvm(23): Trying to load lib /system/lib/libmedia_jni.so 0x0
    03-08 18:15:29.497: DEBUG/dalvikvm(23): Shared lib '/system/lib/libmedia_jni.so' already loaded in same CL 0x0
    03-08 18:15:29.497: DEBUG/dalvikvm(23): Trying to load lib /system/lib/libmedia_jni.so 0x0
    03-08 18:15:29.497: DEBUG/dalvikvm(23): Shared lib '/system/lib/libmedia_jni.so' already loaded in same CL 0x0
    03-08 18:15:30.167: DEBUG/dalvikvm(23): GC freed 3725 objects / 181800 bytes in 18ms
    03-08 18:15:30.276: DEBUG/dalvikvm(23): GC freed 253 objects / 17216 bytes in 14ms
    03-08 18:15:30.356: DEBUG/dalvikvm(23): GC freed 403 objects / 23720 bytes in 15ms
    03-08 18:15:30.497: DEBUG/dalvikvm(23): GC freed 137 objects / 26664 bytes in 17ms
    03-08 18:15:30.737: DEBUG/dalvikvm(23): GC freed 740 objects / 46568 bytes in 25ms
    03-08 18:15:30.856: DEBUG/dalvikvm(23): GC freed 385 objects / 23912 bytes in 27ms
    03-08 18:15:30.936: DEBUG/dalvikvm(23): Trying to load lib /system/lib/libwebcore.so 0x0
    03-08 18:15:30.997: DEBUG/dalvikvm(23): Added shared lib /system/lib/libwebcore.so 0x0
    03-08 18:15:31.186: DEBUG/dalvikvm(23): GC freed 490 objects / 28192 bytes in 27ms
    03-08 18:15:31.305: DEBUG/dalvikvm(23): GC freed 298 objects / 21040 bytes in 30ms
    03-08 18:15:31.406: DEBUG/dalvikvm(23): GC freed 388 objects / 21072 bytes in 29ms
    03-08 18:15:31.696: DEBUG/dalvikvm(23): GC freed 1799 objects / 93696 bytes in 33ms
    03-08 18:15:31.897: DEBUG/dalvikvm(23): GC freed 611 objects / 45000 bytes in 31ms
    03-08 18:15:33.425: DEBUG/dalvikvm(23): GC freed 14561 objects / 508472 bytes in 59ms
    03-08 18:15:33.836: DEBUG/dalvikvm(23): GC freed 11255 objects / 474600 bytes in 54ms
    03-08 18:15:33.976: DEBUG/SSLSocketFactory(23): Using factory org.apache.harmony.xnet.provider.jsse.OpenSSLSocketFactoryImpl@40124320
    03-08 18:15:34.015: DEBUG/dalvikvm(23): GC freed 4474 objects / 191072 bytes in 47ms
    03-08 18:15:34.236: DEBUG/dalvikvm(23): GC freed 640 objects / 34288 bytes in 39ms
    03-08 18:15:34.336: DEBUG/dalvikvm(23): GC freed 570 objects / 29824 bytes in 40ms
    03-08 18:15:34.435: DEBUG/dalvikvm(23): GC freed 368 objects / 26208 bytes in 39ms
    03-08 18:15:34.447: INFO/Zygote(23): …preloaded 854 classes in 5400ms.
    03-08 18:15:34.486: DEBUG/dalvikvm(23): GC freed 43 objects / 2424 bytes in 39ms
    03-08 18:15:34.486: INFO/Zygote(23): Preloading resources…
    03-08 18:15:34.537: DEBUG/dalvikvm(23): GC freed 6 objects / 8928 bytes in 39ms
    03-08 18:15:34.886: DEBUG/dalvikvm(23): GC freed 180 objects / 9312 bytes in 42ms
    03-08 18:15:34.957: DEBUG/dalvikvm(23): GC freed 123 objects / 4936 bytes in 41ms
    03-08 18:15:35.167: INFO/Zygote(23): …preloaded 42 resources in 679ms.
    03-08 18:15:35.206: DEBUG/dalvikvm(23): GC freed 115 objects / 5496 bytes in 41ms
    03-08 18:15:35.257: DEBUG/dalvikvm(23): GC freed 181 objects / 7400 bytes in 41ms
    03-08 18:15:35.296: DEBUG/dalvikvm(23): GC freed 2 objects / 48 bytes in 42ms
    03-08 18:15:35.306: INFO/dalvikvm(23): Splitting out new zygote heap
    03-08 18:15:35.327: INFO/dalvikvm(23): System server process 46 has been created
    03-08 18:15:35.327: INFO/Zygote(23): Accepting command socket connections
    03-08 18:15:35.436: DEBUG/dalvikvm(46): Trying to load lib /system/lib/libandroid_servers.so 0x0
    03-08 18:15:35.587: DEBUG/dalvikvm(46): Added shared lib /system/lib/libandroid_servers.so 0x0
    03-08 18:15:35.597: INFO/sysproc(46): Entered system_init()
    03-08 18:15:35.606: INFO/sysproc(46): ServiceManager: 0xc8a20
    03-08 18:15:35.606: INFO/SurfaceFlinger(46): SurfaceFlinger is starting
    03-08 18:15:35.606: ERROR/MemoryHeapBase(46): error opening /dev/pmem: No such file or directory
    03-08 18:15:35.606: INFO/SurfaceFlinger(46): SurfaceFlinger's main thread ready to run. Initializing graphics H/W…
    03-08 18:15:35.606: ERROR/SurfaceFlinger(46): Couldn't open /sys/android_power/wait_for_fb_sleep or /sys/android_power/wait_for_fb_wake
    03-08 18:15:35.645: ERROR/GLLogger(46): couldn't load library (Cannot find library)
    03-08 18:15:35.656: INFO/SurfaceFlinger(46): EGL informations:
    03-08 18:15:35.656: INFO/SurfaceFlinger(46): # of configs : 4
    03-08 18:15:35.656: INFO/SurfaceFlinger(46): vendor : Google Inc.
    03-08 18:15:35.656: INFO/SurfaceFlinger(46): version : 1.2 Android META-EGL
    03-08 18:15:35.656: INFO/SurfaceFlinger(46): extensions: EGL_ANDROID_query_string_config EGL_ANDROID_swap_rectangle
    03-08 18:15:35.656: INFO/SurfaceFlinger(46): ext/config: EGL_ANDROID_swap_rectangle
    03-08 18:15:35.656: INFO/SurfaceFlinger(46): Client API: OpenGL ES
    03-08 18:15:35.656: INFO/EGLDisplaySurface(46): using (fd=21)
    03-08 18:15:35.656: INFO/EGLDisplaySurface(46): id =
    03-08 18:15:35.656: INFO/EGLDisplaySurface(46): xres = 320 px
    03-08 18:15:35.656: INFO/EGLDisplaySurface(46): yres = 480 px
    03-08 18:15:35.656: INFO/EGLDisplaySurface(46): xres_virtual = 320 px
    03-08 18:15:35.656: INFO/EGLDisplaySurface(46): yres_virtual = 960 px
    03-08 18:15:35.656: INFO/EGLDisplaySurface(46): bpp = 16
    03-08 18:15:35.656: INFO/EGLDisplaySurface(46): r = 11:5
    03-08 18:15:35.656: INFO/EGLDisplaySurface(46): g = 5:6
    03-08 18:15:35.656: INFO/EGLDisplaySurface(46): b = 0:5
    03-08 18:15:35.656: INFO/EGLDisplaySurface(46): width = 49 mm (165.877548 dpi)
    03-08 18:15:35.656: INFO/EGLDisplaySurface(46): height = 74 mm (164.756760 dpi)
    03-08 18:15:35.656: INFO/EGLDisplaySurface(46): refresh rate = 60.00 Hz
    03-08 18:15:35.667: INFO/SurfaceFlinger(46): OpenGL informations:
    03-08 18:15:35.667: INFO/SurfaceFlinger(46): vendor : Google Inc.
    03-08 18:15:35.667: INFO/SurfaceFlinger(46): renderer : Android PixelFlinger 1.0
    03-08 18:15:35.667: INFO/SurfaceFlinger(46): version : OpenGL ES-CM 1.0
    03-08 18:15:35.667: INFO/SurfaceFlinger(46): extensions: GL_OES_byte_coordinates GL_OES_fixed_point GL_OES_single_precision GL_OES_read_format GL_OES_compressed_paletted_texture GL_OES_draw_texture GL_OES_matrix_get GL_OES_query_matrix GL_ARB_texture_compression GL_ARB_texture_non_power_of_two GL_ANDROID_direct_texture GL_ANDROID_user_clip_plane GL_ANDROID_vertex_buffer_object GL_ANDROID_generate_mipmap
    03-08 18:15:35.686: INFO/sysproc(46): System server: starting Android runtime.
    03-08 18:15:35.686: INFO/sysproc(46): System server: starting Android services.
    03-08 18:15:35.686: INFO/SystemServer(46): Entered the Android system server!
    03-08 18:15:35.716: INFO/sysproc(46): System server: entering thread pool.
    03-08 18:15:35.737: ERROR/GLLogger(46): couldn’t load library (Cannot find library)
    03-08 18:15:35.815: INFO/SystemServer(46): Starting Power Manager.
    03-08 18:15:35.906: INFO/SystemServer(46): Starting Activity Manager.
    03-08 18:15:36.037: INFO/SystemServer(46): Starting telephony registry
    03-08 18:15:36.047: INFO/SystemServer(46): Starting Package Manager.
    03-08 18:15:36.056: INFO/Installer(46): connecting…
    03-08 18:15:36.066: INFO/installd(27): new connection
    03-08 18:15:36.506: DEBUG/PackageManager(46): Scanning app dir /system/framework
    03-08 18:15:36.525: WARN/PackageParser(46): Bad element under : eat-comment
    03-08 18:15:36.537: WARN/PackageParser(46): Bad element under : eat-comment
    03-08 18:15:36.537: WARN/PackageParser(46): Bad element under : eat-comment
    03-08 18:15:36.537: WARN/PackageParser(46): Bad element under : eat-comment
    03-08 18:15:36.547: WARN/PackageParser(46): Bad element under : eat-comment
    03-08 18:15:36.547: WARN/PackageParser(46): Bad element under : eat-comment
    03-08 18:15:36.547: WARN/PackageParser(46): Bad element under : eat-comment
    03-08 18:15:36.556: WARN/PackageParser(46): Bad element under : eat-comment
    03-08 18:15:36.556: WARN/PackageParser(46): Bad element under : eat-comment
    03-08 18:15:36.576: WARN/PackageParser(46): Bad element under : eat-comment
    03-08 18:15:36.576: WARN/PackageParser(46): Bad element under : eat-comment
    03-08 18:15:36.676: INFO/ARMAssembler(46): generated scanline__00000177:03545404_00001A04_00000000 [ 61 ipp] (86 ins) at [0x1c8e70:0x1c8fc8] in 7202889 ns
    03-08 18:15:37.145: DEBUG/dalvikvm(46): GC freed 5832 objects / 241208 bytes in 523ms
    03-08 18:15:37.185: INFO/ARMAssembler(46): generated scanline__00000177:03010104_00001A01_00000000 [ 40 ipp] (65 ins) at [0x1c8390:0x1c8494] in 864909 ns
    03-08 18:15:37.185: INFO/ARMAssembler(46): generated scanline__00000177:03545404_00000A01_00000000 [ 48 ipp] (72 ins) at [0x1c84c0:0x1c85e0] in 519803 ns
    03-08 18:15:37.217: DEBUG/PackageManager(46): Scanning app dir /system/app
    03-08 18:15:38.611: DEBUG/dalvikvm(46): GC freed 3837 objects / 217680 bytes in 120ms
    03-08 18:15:38.646: DEBUG/PackageManager(46): Scanning app dir /data/app
    03-08 18:15:38.985: WARN/PackageParser(46): Intent filter for activity ActivityIntentInfo{4346ed80 com.example.android.apis.media.MediaPlayerDemo_Audio} defines no actions
    03-08 18:15:38.985: WARN/PackageParser(46): Intent filter for activity ActivityIntentInfo{4346f8d8 com.example.android.apis.media.MediaPlayerDemo_Video} defines no actions
    03-08 18:15:39.106: DEBUG/PackageManager(46): Scanning app dir /data/app-private
    03-08 18:15:39.106: INFO/PackageManager(46): Time to scan packages: 2.675 seconds
    03-08 18:15:39.120: WARN/PackageManager(46): Unknown permission com.google.android.providers.gmail.permission.WRITE_GMAIL in package com.android.settings
    03-08 18:15:39.120: WARN/PackageManager(46): Unknown permission com.google.android.providers.gmail.permission.READ_GMAIL in package com.android.settings
    03-08 18:15:39.120: WARN/PackageManager(46): Unknown permission com.google.android.gtalkservice.permission.GTALK_SERVICE in package com.google.android.apps.maps
    03-08 18:15:39.597: DEBUG/dalvikvm(46): GC freed 3869 objects / 225432 bytes in 353ms
    03-08 18:15:39.626: INFO/SystemServer(46): Starting Content Manager.
    03-08 18:15:39.817: INFO/SystemServer(46): Starting System Content Providers.
    03-08 18:15:39.826: INFO/ActivityThread(46): Publishing provider settings: com.android.providers.settings.SettingsProvider
    03-08 18:15:39.846: INFO/ActivityThread(46): Publishing provider android.server.checkin: android.server.checkin.CheckinProvider
    03-08 18:15:39.846: INFO/ActivityThread(46): Publishing provider sync: android.content.SyncProvider
    03-08 18:15:39.856: INFO/SystemServer(46): Starting Battery Service.
    03-08 18:15:39.867: ERROR/BatteryService(46): Could not open ‘/sys/class/power_supply/usb/online’
    03-08 18:15:39.867: ERROR/BatteryService(46): Could not open ‘/sys/class/power_supply/battery/batt_vol’
    03-08 18:15:39.867: ERROR/BatteryService(46): Could not open ‘/sys/class/power_supply/battery/batt_temp’
    03-08 18:15:39.986: INFO/SystemServer(46): Starting Alarm Manager.
    03-08 18:15:40.006: INFO/SystemServer(46): Starting Sensor Service.
    03-08 18:15:40.006: INFO/SystemServer(46): Starting Window Manager.
    03-08 18:15:40.086: INFO/EventHub(46): New device: path=/dev/input/event0 name=qwerty2 id=0x10000 (of 0x1) index=1 fd=43 classes=0x7
    03-08 18:15:40.096: INFO/EventHub(46): New keyboard: publicID=65536 device->id=65536 devname=’qwerty2 propName=’hw.keyboards.65536.devname’ keylayout=’/system/usr/keylayout/qwerty.kl’
    03-08 18:15:40.127: INFO/SystemServer(46): Registering null Bluetooth Service (emulator)
    03-08 18:15:40.137: ERROR/EventHub(46): could not get driver version for /dev/input/mouse0, Not a typewriter
    03-08 18:15:40.137: ERROR/System(46): Failure starting core service
    03-08 18:15:40.137: ERROR/System(46): java.lang.SecurityException
    03-08 18:15:40.137: ERROR/System(46): at android.os.BinderProxy.transact(Native Method)
    03-08 18:15:40.137: ERROR/System(46): at android.os.ServiceManagerProxy.addService(ServiceManagerNative.java:146)
    03-08 18:15:40.137: ERROR/System(46): at android.os.ServiceManager.addService(ServiceManager.java:72)
    03-08 18:15:40.137: ERROR/System(46): at com.android.server.ServerThread.run(SystemServer.java:155)
    03-08 18:15:40.146: ERROR/AndroidRuntime(46): Crash logging skipped, no checkin service
    03-08 18:15:40.146: INFO/SystemServer(46): Starting Status Bar Service.
    03-08 18:15:40.166: ERROR/EventHub(46): could not get driver version for /dev/input/mice, Not a typewriter
    03-08 18:15:40.166: INFO/KeyInputQueue(46): Device added: id=0x0, name=qwerty2, classes=7
    03-08 18:15:40.166: INFO/KeyInputQueue(46): X: unknown values
    03-08 18:15:40.166: INFO/KeyInputQueue(46): Y: unknown values
    03-08 18:15:40.166: INFO/KeyInputQueue(46): Pressure: unknown values
    03-08 18:15:40.166: INFO/KeyInputQueue(46): Size: unknown values
    03-08 18:15:40.336: INFO/WindowManager(46): Input configuration changed: { scale=1.0 imsi=0/0 locale=en_US touch=3 key=2/2 nav=3 orien=1 }
    03-08 18:15:40.507: ERROR/SystemServer(46): Failure starting StatusBarService
    03-08 18:15:40.507: ERROR/SystemServer(46): java.lang.NullPointerException
    03-08 18:15:40.507: ERROR/SystemServer(46): at com.android.server.status.StatusBarPolicy.updateBluetooth(StatusBarPolicy.java:762)
    03-08 18:15:40.507: ERROR/SystemServer(46): at com.android.server.status.StatusBarPolicy.(StatusBarPolicy.java:285)
    03-08 18:15:40.507: ERROR/SystemServer(46): at com.android.server.status.StatusBarPolicy.installIcons(StatusBarPolicy.java:341)
    03-08 18:15:40.507: ERROR/SystemServer(46): at com.android.server.ServerThread.run(SystemServer.java:182)
    03-08 18:15:40.517: ERROR/AndroidRuntime(46): Crash logging skipped, no checkin service
    03-08 18:15:40.517: INFO/SystemServer(46): Starting Hardware Service.
    03-08 18:15:40.517: INFO/SystemServer(46): Starting NetStat Service.
    03-08 18:15:40.526: INFO/SystemServer(46): Starting Connectivity Service.
    03-08 18:15:40.626: DEBUG/WifiService(46): WifiService starting up with Wi-Fi disabled
    03-08 18:15:40.677: INFO/SystemServer(46): Starting Notification Manager.
    03-08 18:15:40.686: INFO/SystemServer(46): Starting Mount Service.
    03-08 18:15:40.697: INFO/SystemServer(46): Starting DeviceMemoryMonitor service
    03-08 18:15:40.706: DEBUG/MountListener(46): handleEvent ums_disconnected
    03-08 18:15:40.725: DEBUG/MountListener(46): handleEvent ums_disabled
    03-08 18:15:40.749: INFO/SystemServer(46): Starting Location Manager.
    03-08 18:15:40.757: DEBUG/LocationManagerService(46): Constructed LocationManager Service
    03-08 18:15:40.786: INFO/System.out(46): #### #### Setting locale to en_US
    03-08 18:15:40.815: DEBUG/libhardware(46): using QEMU GPS Hardware emulation
    03-08 18:15:40.827: ERROR/GpsLocationProvider(46): Could not open GPS configuration file /etc/gps.conf
    03-08 18:15:40.827: ERROR/GpsLocationProvider(46): java.io.FileNotFoundException: /etc/gps.conf
    03-08 18:15:40.827: ERROR/GpsLocationProvider(46): at org.apache.harmony.luni.platform.OSFileSystem.open(OSFileSystem.java:227)
    03-08 18:15:40.827: ERROR/GpsLocationProvider(46): at java.io.FileInputStream.(FileInputStream.java:76)
    03-08 18:15:40.827: ERROR/GpsLocationProvider(46): at com.android.internal.location.GpsLocationProvider.(GpsLocationProvider.java:179)
    03-08 18:15:40.827: ERROR/GpsLocationProvider(46): at com.android.server.LocationManagerService._loadProvidersNoSync(LocationManagerService.java:356)
    03-08 18:15:40.827: ERROR/GpsLocationProvider(46): at com.android.server.LocationManagerService.loadProvidersNoSync(LocationManagerService.java:340)
    03-08 18:15:40.827: ERROR/GpsLocationProvider(46): at com.android.server.LocationManagerService.loadProviders(LocationManagerService.java:333)
    03-08 18:15:40.827: ERROR/GpsLocationProvider(46): at com.android.server.LocationManagerService.(LocationManagerService.java:447)
    03-08 18:15:40.827: ERROR/GpsLocationProvider(46): at com.android.server.ServerThread.run(SystemServer.java:235)
    03-08 18:15:40.837: ERROR/AndroidRuntime(46): Crash logging skipped, no checkin service
    03-08 18:15:40.847: DEBUG/GpsLocationProvider(46): enable
    03-08 18:15:40.877: DEBUG/GpsLocationProvider(46): GpsEventThread starting
    03-08 18:15:40.896: DEBUG/GpsLocationProvider(46): NetworkThread starting
    03-08 18:15:40.896: DEBUG/GpsLocationProvider(46): NetworkThread wait for network
    03-08 18:15:40.917: INFO/SystemServer(46): Starting Search Service.
    03-08 18:15:40.927: INFO/SystemServer(46): Starting Clipboard Service.
    03-08 18:15:40.946: INFO/SystemServer(46): Starting Checkin Service
    03-08 18:15:41.216: DEBUG/dalvikvm(46): GC freed 4349 objects / 264608 bytes in 104ms
    03-08 18:15:41.337: INFO/RecoverySystem(46): No recovery log file
    03-08 18:15:41.347: INFO/RecoverySystem(46): No recovery intent file
    03-08 18:15:41.405: WARN/CheckinService(46): No saved kernel log file
    03-08 18:15:41.437: INFO/SystemServer(46): Starting Wallpaper Service
    03-08 18:15:41.437: DEBUG/WallpaperService(46): WallpaperService startup
    03-08 18:15:41.446: INFO/SystemServer(46): Starting Audio Service
    03-08 18:15:41.667: INFO/SystemServer(46): Starting HeadsetObserver
    03-08 18:15:41.677: WARN/HeadsetObserver(46): This kernel does not have wired headset support
    03-08 18:15:41.696: INFO/WindowManager(46): Menu key state: 0
    03-08 18:15:41.696: DEBUG/PowerManagerService(46): system ready!
    03-08 18:15:41.726: DEBUG/ActivityManager(46): Start running!
    03-08 18:15:41.816: INFO/Zygote(46): Process: zygote socket opened
    03-08 18:15:41.856: INFO/ActivityManager(46): Start proc com.android.phone for added application com.android.phone: pid=82 uid=1001 gids={3001, 3003}
    03-08 18:15:41.927: INFO/ActivityManager(46): Starting activity: Intent { action=android.intent.action.MAIN categories={android.intent.category.HOME} flags=0x10000000 comp={com.android.launcher/com.android.launcher.Launcher} }
    03-08 18:15:42.066: INFO/ActivityManager(46): Start proc android.process.acore for activity com.android.launcher/.Launcher: pid=88 uid=10005 gids={3003}
    03-08 18:15:42.339: INFO/jdwp(46): received file descriptor 60 from ADB
    03-08 18:15:42.366: INFO/jdwp(82): received file descriptor 13 from ADB
    03-08 18:15:42.427: WARN/System.err(82): Can’t dispatch DDM chunk 46454154: no handler defined
    03-08 18:15:42.427: WARN/System.err(82): Can’t dispatch DDM chunk 4d505251: no handler defined
    03-08 18:15:42.455: INFO/jdwp(88): received file descriptor 10 from ADB
    03-08 18:15:42.546: WARN/System.err(46): Can’t dispatch DDM chunk 46454154: no handler defined
    03-08 18:15:42.546: WARN/System.err(46): Can’t dispatch DDM chunk 4d505251: no handler defined
    03-08 18:15:42.597: WARN/System.err(88): Can’t dispatch DDM chunk 46454154: no handler defined
    03-08 18:15:42.597: WARN/System.err(88): Can’t dispatch DDM chunk 4d505251: no handler defined
    03-08 18:15:43.086: INFO/ActivityThread(88): Publishing provider com.android.googlesearch.SuggestionProvider: com.android.googlesearch.SuggestionProvider
    03-08 18:15:43.427: INFO/ActivityThread(82): Publishing provider mms-sms: com.android.providers.telephony.MmsSmsProvider
    03-08 18:15:43.517: INFO/ActivityThread(88): Publishing provider im: com.android.providers.im.ImProvider
    03-08 18:15:43.686: INFO/ActivityThread(82): Publishing provider mms: com.android.providers.telephony.MmsProvider
    03-08 18:15:43.736: INFO/ActivityThread(82): Publishing provider telephony: com.android.providers.telephony.TelephonyProvider
    03-08 18:15:43.866: INFO/ActivityThread(82): Publishing provider sms: com.android.providers.telephony.SmsProvider
    03-08 18:15:43.926: INFO/ActivityThread(88): Publishing provider contacts;call_log: com.android.providers.contacts.ContactsProvider
    03-08 18:15:43.967: INFO/ActivityThread(82): Publishing provider sim: com.android.phone.SimProvider
    03-08 18:15:44.346: DEBUG/AndroidRuntime(103): >>>>>>>>>>>>>> AndroidRuntime START <<<<<<<<<<<<< /data/dalvik-cache/data@app@com.android.test.apk@classes.dex
    03-08 18:15:54.257: DEBUG/PackageManager(46): New package installed in /data/app/com.android.test.apk
    03-08 18:15:54.636: DEBUG/AndroidRuntime(103): Shutting down VM
    03-08 18:15:54.636: DEBUG/dalvikvm(103): DestroyJavaVM waiting for non-daemon threads to exit
    03-08 18:15:54.656: INFO/dalvikvm(103): DestroyJavaVM shutting VM down
    03-08 18:15:54.656: DEBUG/dalvikvm(103): HeapWorker thread shutting down
    03-08 18:15:54.656: DEBUG/ActivityManager(46): Uninstalling process com.android.test
    03-08 18:15:54.656: DEBUG/dalvikvm(103): HeapWorker thread has shut down
    03-08 18:15:54.665: DEBUG/jdwp(103): JDWP shutting down net…
    03-08 18:15:54.665: DEBUG/jdwp(103): +++ peer disconnected
    03-08 18:15:54.665: INFO/dalvikvm(103): Debugger has detached; object registry had 1 entries
    03-08 18:15:54.716: DEBUG/dalvikvm(103): VM cleaning up
    03-08 18:15:54.776: DEBUG/dalvikvm(103): LinearAlloc 0x0 used 529188 of 4194304 (12%)
    03-08 18:15:55.085: DEBUG/dalvikvm(88): GC freed 1708 objects / 97608 bytes in 410ms
    03-08 18:15:55.636: DEBUG/dalvikvm(46): GC freed 5136 objects / 256800 bytes in 560ms
    03-08 18:15:55.946: DEBUG/AndroidRuntime(159): >>>>>>>>>>>>>> AndroidRuntime START <<<<<<<<<<<<<<
    03-08 18:15:55.965: DEBUG/AndroidRuntime(159): CheckJNI is ON
    03-08 18:15:56.567: DEBUG/AndroidRuntime(159): — registering native functions —
    03-08 18:15:57.255: DEBUG/dalvikvm(82): GC freed 2759 objects / 169752 bytes in 466ms
    03-08 18:15:58.886: INFO/ActivityManager(46): Starting activity: Intent { flags=0x10000000 comp={com.android.test/com.android.test.AndroidTestAPP} }
    03-08 18:15:58.996: DEBUG/AndroidRuntime(159): Shutting down VM
    03-08 18:15:58.996: DEBUG/dalvikvm(159): DestroyJavaVM waiting for non-daemon threads to exit
    03-08 18:15:59.027: INFO/dalvikvm(159): DestroyJavaVM shutting VM down
    03-08 18:15:59.027: DEBUG/dalvikvm(159): HeapWorker thread shutting down
    03-08 18:15:59.037: DEBUG/dalvikvm(159): HeapWorker thread has shut down
    03-08 18:15:59.037: DEBUG/jdwp(159): JDWP shutting down net…
    03-08 18:15:59.066: DEBUG/dalvikvm(159): VM cleaning up
    03-08 18:15:59.076: ERROR/dalvikvm(159): pthread_setspecific failed, err=22
    03-08 18:15:59.107: DEBUG/dalvikvm(159): LinearAlloc 0x0 used 539556 of 4194304 (12%)
    03-08 18:15:59.207: INFO/jdwp(128): received file descriptor 24 from ADB
    03-08 18:15:59.207: INFO/ActivityManager(46): Start proc com.android.test for activity com.android.test/.AndroidTestAPP: pid=169 uid=10021 gids={3003}
    03-08 18:15:59.256: INFO/jdwp(137): received file descriptor 26 from ADB
    03-08 18:15:59.256: WARN/System.err(128): Can't dispatch DDM chunk 46454154: no handler defined
    03-08 18:15:59.286: WARN/System.err(128): Can't dispatch DDM chunk 4d505251: no handler defined
    03-08 18:15:59.375: WARN/System.err(137): Can't dispatch DDM chunk 46454154: no handler defined
    03-08 18:15:59.415: WARN/System.err(137): Can't dispatch DDM chunk 4d505251: no handler defined
    03-08 18:15:59.526: INFO/jdwp(169): received file descriptor 10 from ADB
    03-08 18:15:59.647: WARN/System.err(169): Can't dispatch DDM chunk 4d505251: no handler defined
    03-08 18:15:59.736: DEBUG/SystemClock(82): Setting time of day to sec=1268052347
    03-08 18:15:47.239: WARN/SystemClock(82): Unable to set rtc to 1268052347: Invalid argument
    03-08 18:15:47.859: DEBUG/PhoneApp(82): [CallNotifier] onMwiChanged(): false
    03-08 18:15:47.871: DEBUG/PhoneApp(82): [CallNotifier] onCfiChanged(): false
    03-08 18:15:48.129: INFO/ActivityManager(46): Displayed activity com.android.test/.AndroidTestAPP: 1613 ms
    03-08 18:15:48.609: WARN/ActivityManager(46): Timeout of broadcast BroadcastRecord{434c4440 android.intent.action.SCREEN_ON} – receiver=android.os.BinderProxy@43506098
    03-08 18:15:48.609: WARN/ActivityManager(46): Receiver during timeout: BroadcastFilter{43506300 ReceiverList{43506288 82 com.android.phone/1001 client 43506098}}
    03-08 18:15:48.630: INFO/ActivityManager(46): ANR (application not responding) in process: com.android.phone
    03-08 18:15:48.630: INFO/ActivityManager(46): Annotation: Broadcast of Intent { action=android.intent.action.SCREEN_ON flags=0x40000000 }
    03-08 18:15:48.630: INFO/ActivityManager(46): CPU usage:
    03-08 18:15:48.630: INFO/ActivityManager(46): Load: 1.94 / 0.45 / 0.15
    03-08 18:15:48.630: INFO/ActivityManager(46): CPU usage from 6302ms to 1125ms ago:
    03-08 18:15:48.630: INFO/ActivityManager(46): com.android.phone: 28% = 26% user + 1% kernel
    03-08 18:15:48.630: INFO/ActivityManager(46): system_server: 14% = 9% user + 4% kernel
    03-08 18:15:48.630: INFO/ActivityManager(46): adbd: 4% = 1% user + 3% kernel
    03-08 18:15:48.630: INFO/ActivityManager(46): android.process.acore: 4% = 3% user + 0% kernel
    03-08 18:15:48.630: INFO/ActivityManager(46): logcat: 0% = 0% user + 0% kernel
    03-08 18:15:48.630: INFO/ActivityManager(46): com.google.process.gapps: 0% = 0% user + 0% kernel
    03-08 18:15:48.630: INFO/ActivityManager(46): zygote: 0% = 0% user + 0% kernel
    03-08 18:15:48.630: INFO/ActivityManager(46): com.android.mms: 0% = 0% user + 0% kernel
    03-08 18:15:48.630: INFO/ActivityManager(46): +com.android.test: 0% = 0% user + 0% kernel
    03-08 18:15:48.630: INFO/ActivityManager(46): -sh: 0% = 0% user + 0% kernel
    03-08 18:15:48.630: INFO/ActivityManager(46): -app_process: 0% = 0% user + 0% kernel
    03-08 18:15:48.630: INFO/ActivityManager(46): TOTAL: 100% = 77% user + 21% kernel + 0% irq + 0% softirq
    03-08 18:15:48.630: INFO/ActivityManager(46): /proc/meminfo:
    03-08 18:15:48.630: INFO/ActivityManager(46): MemTotal: 94572 kB
    03-08 18:15:48.630: INFO/ActivityManager(46): MemFree: 17592 kB
    03-08 18:15:48.630: INFO/ActivityManager(46): Buffers: 0 kB
    03-08 18:15:48.630: INFO/ActivityManager(46): Cached: 44396 kB
    03-08 18:15:48.630: INFO/ActivityManager(46): SwapCached: 0 kB
    03-08 18:15:48.630: INFO/ActivityManager(46): Active: 42304 kB
    03-08 18:15:48.630: INFO/ActivityManager(46): Inactive: 27544 kB
    03-08 18:15:48.630: INFO/ActivityManager(46): SwapTotal: 0 kB
    03-08 18:15:48.630: INFO/ActivityManager(46): SwapFree: 0 kB
    03-08 18:15:48.630: INFO/ActivityManager(46): Dirty: 0 kB
    03-08 18:15:48.630: INFO/ActivityManager(46): Writeback: 0 kB
    03-08 18:15:48.630: INFO/ActivityManager(46): AnonPages: 25468 kB
    03-08 18:15:48.630: INFO/ActivityManager(46): Mapped: 21272 kB
    03-08 18:15:48.630: INFO/ActivityManager(46): Slab: 2856 kB
    03-08 18:15:48.630: INFO/ActivityManager(46): SReclaimable: 580 kB
    03-08 18:15:48.630: INFO/ActivityManager(46): SUnreclaim: 2276 kB
    03-08 18:15:48.630: INFO/ActivityManager(46): PageTables: 2024 kB
    03-08 18:15:48.630: INFO/ActivityManager(46): NFS_Unstable: 0 kB
    03-08 18:15:48.630: INFO/ActivityManager(46): Bounce: 0 kB
    03-08 18:15:48.630: INFO/ActivityManager(46): CommitLimit: 47284 kB
    03-08 18:15:48.630: INFO/ActivityManager(46): Committed_AS: 698180 kB
    03-08 18:15:48.630: INFO/ActivityManager(46): VmallocTotal: 876544 kB
    03-08 18:15:48.630: INFO/ActivityManager(46): VmallocUsed: 8380 kB
    03-08 18:15:48.630: INFO/ActivityManager(46): VmallocChunk: 859132 kB
    03-08 18:15:48.640: INFO/ActivityManager(46): Removing old ANR trace file from /data/anr/traces.txt
    03-08 18:15:48.640: INFO/Process(46): Sending signal. PID: 169 SIG: 3
    03-08 18:15:48.649: INFO/dalvikvm(169): threadid=7: reacting to signal 3
    03-08 18:15:48.661: INFO/Process(46): Sending signal. PID: 128 SIG: 3
    03-08 18:15:48.661: INFO/dalvikvm(128): threadid=7: reacting to signal 3
    03-08 18:15:48.661: INFO/Process(46): Sending signal. PID: 137 SIG: 3
    03-08 18:15:48.661: INFO/dalvikvm(137): threadid=7: reacting to signal 3
    03-08 18:15:48.670: INFO/Process(46): Sending signal. PID: 88 SIG: 3
    03-08 18:15:48.670: INFO/dalvikvm(88): threadid=7: reacting to signal 3
    03-08 18:15:48.670: INFO/Process(46): Sending signal. PID: 82 SIG: 3
    03-08 18:15:48.670: INFO/dalvikvm(82): threadid=7: reacting to signal 3
    03-08 18:15:48.670: INFO/Process(46): Sending signal. PID: 46 SIG: 3
    03-08 18:15:48.680: INFO/dalvikvm(46): threadid=7: reacting to signal 3
    03-08 18:15:48.729: INFO/dalvikvm(137): Wrote stack trace to '/data/anr/traces.txt'
    03-08 18:15:48.729: INFO/dalvikvm(169): Wrote stack trace to '/data/anr/traces.txt'
    03-08 18:15:48.770: INFO/dalvikvm(88): Wrote stack trace to '/data/anr/traces.txt'
    03-08 18:15:48.770: INFO/dalvikvm(46): Wrote stack trace to '/data/anr/traces.txt'
    03-08 18:15:48.811: INFO/dalvikvm(128): Wrote stack trace to '/data/anr/traces.txt'
    03-08 18:15:48.831: INFO/dalvikvm(82): Wrote stack trace to '/data/anr/traces.txt'
    03-08 18:15:48.889: WARN/ActivityManager(46): finishReceiver called but none active
    03-08 18:15:49.349: DEBUG/dalvikvm(46): GC freed 4863 objects / 359528 bytes in 111ms
    03-08 18:15:49.620: DEBUG/StatusBar(46): updateResources
    03-08 18:15:49.830: INFO/ActivityManager(46): Start proc com.android.alarmclock for broadcast com.android.alarmclock/.AlarmInitReceiver: pid=175 uid=10001 gids={}
    03-08 18:15:50.010: INFO/jdwp(175): received file descriptor 20 from ADB
    03-08 18:15:50.029: DEBUG/PhoneApp(82): [CallNotifier] onMwiChanged(): false
    03-08 18:15:50.050: DEBUG/PhoneApp(82): [CallNotifier] onCfiChanged(): false
    03-08 18:15:50.269: WARN/System.err(175): Can't dispatch DDM chunk 4d505251: no handler defined
    03-08 18:15:50.549: DEBUG/TelephonyProvider(82): Setting numeric '310260' to be the current operator
    03-08 18:15:50.571: INFO/ARMAssembler(46): generated scanline__00000077:03515104_00000000_00000000 [ 27 ipp] (41 ins) at [0x26b550:0x26b5f4] in 11147786 ns
    03-08 18:15:50.591: INFO/ActivityManager(46): processNextBroadcast: waiting for ProcessRecord{43507238 175:com.android.alarmclock/10001}
    03-08 18:15:50.739: INFO/ActivityThread(175): Publishing provider com.android.alarmclock: com.android.alarmclock.AlarmProvider
    03-08 18:15:51.020: DEBUG/MobileDataStateTracker(46): CONNECTED event did not supply interface name.
    03-08 18:15:51.031: DEBUG/MobileDataStateTracker(46): DNS server addresses are not known.
    03-08 18:15:51.060: ERROR/NetworkStateTracker(46): net.tcp.buffersize.unknown not found in system properties. Using defaults
    03-08 18:15:51.060: ERROR/NetworkStateTracker(46): Can't set tcp buffer sizes:java.io.FileNotFoundException: /sys/kernel/ipv4/tcp_rmem_min
    03-08 18:15:51.249: DEBUG/GpsLocationProvider(46): updateNetworkState available
    03-08 18:15:51.259: DEBUG/GpsLocationProvider(46): NetworkThread out of wake loop
    03-08 18:15:51.269: DEBUG/GpsLocationProvider(46): Requesting time from NTP server pool.ntp.org
    03-08 18:15:51.480: INFO/ActivityManager(46): Start proc com.google.android.apps.maps for broadcast com.google.android.apps.maps/com.google.android.maps.ff.FriendFinderReceiver: pid=186 uid=10000 gids={3003}
    03-08 18:15:51.509: DEBUG/SntpClient(46): round trip: 78 ms
    03-08 18:15:51.509: DEBUG/SntpClient(46): clock offset: 49416 ms
    03-08 18:15:51.509: DEBUG/GpsLocationProvider(46): calling native_inject_time: 1268052400852 reference: 39547 certainty: 39
    03-08 18:15:51.509: DEBUG/GpsLocationProvider(46): NetworkThread wait for 14400000ms
    03-08 18:15:51.590: INFO/jdwp(186): received file descriptor 10 from ADB
    03-08 18:15:51.661: WARN/System.err(186): Can't dispatch DDM chunk 46454154: no handler defined
    03-08 18:15:51.670: WARN/System.err(186): Can't dispatch DDM chunk 4d505251: no handler defined
    03-08 18:15:52.030: DEBUG/dalvikvm(46): GC freed 2359 objects / 126064 bytes in 232ms
    03-08 18:15:52.059: INFO/ActivityThread(186): Publishing provider com.google.android.maps.SuggestionProvider: com.google.android.maps.provider.MapsSuggestionProvider
    03-08 18:15:52.129: INFO/ActivityThread(186): Publishing provider com.google.android.maps.FriendsProvider: com.google.android.maps.ff.FriendsProvider
    03-08 18:15:52.139: INFO/ActivityThread(186): Publishing provider com.google.android.maps.SearchHistoryProvider: com.google.android.maps.provider.SearchHistoryProvider
    03-08 18:15:52.493: DEBUG/Maps.FriendFinder(186): Starting FriendView service
    03-08 18:15:52.679: INFO/ActivityManager(46): Start proc android.process.media for broadcast com.android.providers.downloads/.DownloadReceiver: pid=193 uid=10004 gids={1006, 3003, 2001}
    03-08 18:15:52.751: INFO/jdwp(193): received file descriptor 20 from ADB
    03-08 18:15:52.840: WARN/System.err(193): Can't dispatch DDM chunk 46454154: no handler defined
    03-08 18:15:52.840: WARN/System.err(193): Can't dispatch DDM chunk 4d505251: no handler defined
    03-08 18:15:52.960: INFO/ActivityThread(193): Publishing provider downloads: com.android.providers.downloads.DownloadProvider
    03-08 18:15:53.001: INFO/ActivityThread(193): Publishing provider drm: com.android.providers.drm.DrmProvider
    03-08 18:15:53.040: INFO/ActivityThread(193): Publishing provider media: com.android.providers.media.MediaProvider
    03-08 18:15:53.109: VERBOSE/MediaProvider(193): Attached volume: internal
    03-08 18:15:53.570: DEBUG/MediaScannerService(193): start scanning volume internal
    03-08 18:15:54.000: DEBUG/dalvikvm(46): GREF has increased to 201
    03-08 18:15:54.509: INFO/ActivityManager(46): Stopping service: com.android.mms/.transaction.TransactionService
    03-08 18:15:54.699: INFO/ActivityManager(46): Stopping service: com.android.providers.downloads/.DownloadService
    03-08 18:15:54.809: DEBUG/MediaScanner(193): prescan time: 828ms
    03-08 18:15:54.831: DEBUG/MediaScanner(193): scan time: 309ms
    03-08 18:15:54.841: DEBUG/MediaScanner(193): postscan time: 1ms
    03-08 18:15:54.850: DEBUG/MediaScanner(193): total time: 1138ms
    03-08 18:15:54.860: DEBUG/MediaScannerService(193): done scanning volume internal
    03-08 18:15:54.870: INFO/ActivityManager(46): Stopping service: com.android.providers.media/.MediaScannerService
    03-08 18:15:54.950: INFO/ActivityManager(46): Stopping service: com.android.mms/.transaction.SmsReceiverService
    03-08 18:15:59.389: DEBUG/dalvikvm(82): GC freed 3836 objects / 200328 bytes in 86ms
    03-08 18:16:05.229: DEBUG/dalvikvm(88): GC freed 2332 objects / 111488 bytes in 69ms
    03-08 18:16:10.260: DEBUG/dalvikvm(128): GC freed 2573 objects / 139104 bytes in 92ms
    03-08 18:16:52.901: DEBUG/KeyguardViewMediator(46): pokeWakelock(5000)
    03-08 18:17:03.559: INFO/global(169): Mar 8, 2010 6:17:03 PM java.io.BufferedReader
    03-08 18:17:03.559: INFO/global(169): INFO: Default buffer size used in BufferedReader constructor. It would be better to be explicit if a 8k-char buffer is required.
    03-08 18:17:03.571: INFO/System.out(169): READ LINE………..null

    here instead of null i need a string which i’m writing on server.

    please anybody help me.it’s urgent.

    Thanks,
    Barkha

    Comment by Barkha — March 8, 2010 @ 7:54 am

  52. can you give me a copy of “TwitterClient.zip”
    thanks,
    tien

    Comment by tien — April 14, 2010 @ 10:06 pm

    • my adress:tienfook#gmail.com

      Comment by tien — April 14, 2010 @ 10:06 pm

  53. […] Source codes of this free application are available from the author’s homepage. […]

    Pingback by Twitter Client|Communication apps,Android apps list,apps007.com | Apps on android Download and Review | Apps007.com — August 22, 2010 @ 7:45 am

  54. […] Source codes of this free application are available from the author’s homepage. […]

    Pingback by Twitter Client | Apps on android Download and Review | Apps007.com — August 24, 2010 @ 12:32 am

  55. thanks,but i need this code for j2me as i programming now my first application that can access through twitter website
    thanks

    Comment by Adel — September 13, 2010 @ 4:40 am

  56. I fail to understand this RequestQueue class….plz guide me the steps to run the above code as it says RequestQueue could not be found….

    There is an error with the below statement

    import android.net.http.RequestQueue;

    Please help me at the earliest….

    Thanks

    Comment by medma — September 18, 2010 @ 7:08 am

    • Hello sir,
      I want to ask that have you got the solution for the error in TwitterClient.zip regarding
      import android.net.http.RequestQueue;
      If yes plz send me the solution on my mail.
      Thanhs in advance

      Comment by Vinay Bajaj — January 4, 2011 @ 2:44 am

  57. Hi, the link for the source code is broken. Could you please fix it. I am a beginner in android so the complete source code will help me. Thanks!

    Comment by Radhika — November 30, 2010 @ 11:52 pm

  58. […] Twitter Client for Android […]

    Pingback by Twitter: 50 herramientas y Tutos. « Otto1303 — June 27, 2011 @ 10:25 am

  59. […] Twitter Client for Android A tutorial showing how to create a Twitter client for Android (i.e. how to make XML-over-HTTP calls). […]

    Pingback by Twitter Tools and Tutorials For Designers and Developers « Debasishphp's Blog — November 4, 2011 @ 2:45 pm

  60. Hello, can you please send me a correct and working copy of the twitterclient.zip to my email. Thank You!

    Comment by Yvonne — November 8, 2011 @ 1:27 am

  61. Please anyone provide me workin zip file of twitter client.
    My Id is parthraj.cool@gmail.com
    Thanks.

    Comment by PJ — November 29, 2011 @ 8:09 am

  62. Could you send me a copy too ?
    txs :)

    Comment by mvncius — March 12, 2012 @ 6:42 pm


RSS feed for comments on this post. TrackBack URI

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

The Shocking Blue Green Theme. Blog at WordPress.com.

Follow

Get every new post delivered to your Inbox.

Join 132 other followers

%d bloggers like this: