1. Download our Official Android App: Forums for Android!

Apps Yahoo Chat Client problem

Discussion in 'Android Development' started by manvinder, Aug 8, 2011.

  1. manvinder

    manvinder Newbie
    Thread Starter
    Rank:
    None
    Points:
    16
    Posts:
    27
    Joined:
    May 9, 2011

    May 9, 2011
    27
    1
    16
    Software Developer
    New Delhi
    Hi

    I am working on yahoo chat client using yahoo messenger sdk. but i am not able to sign in into the yahoo server. following is the code I am using for Login.

    YahooMessengerLoginManager manager = YahooMessengerLoginManager.getInstance();
    manager.performLoginOAuth(username, password,
    YahooMessengerConstants.authenticationConsumerKey,
    YahooMessengerConstants.authenticationConsumerSecret);


    folloging is the logcat content


    08-08 19:54:24.803: DEBUG/AndroidRuntime(430): >>>>>>>>>>>>>> AndroidRuntime START <<<<<<<<<<<<<<
    08-08 19:54:24.813: DEBUG/AndroidRuntime(430): CheckJNI is ON
    08-08 19:54:25.013: DEBUG/AndroidRuntime(430): --- registering native functions ---
    08-08 19:54:25.843: DEBUG/AndroidRuntime(430): Shutting down VM
    08-08 19:54:25.843: DEBUG/dalvikvm(430): Debugger has detached; object registry had 1 entries
    08-08 19:54:25.873: INFO/AndroidRuntime(430): NOTE: attach of thread 'Binder Thread #3' failed
    08-08 19:54:26.383: DEBUG/AndroidRuntime(438): >>>>>>>>>>>>>> AndroidRuntime START <<<<<<<<<<<<<<
    08-08 19:54:26.383: DEBUG/AndroidRuntime(438): CheckJNI is ON
    08-08 19:54:26.573: DEBUG/AndroidRuntime(438): --- registering native functions ---
    08-08 19:54:27.403: INFO/ActivityManager(59): Starting activity: Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10000000 cmp=com.mbi/.Friends }
    08-08 19:54:27.513: DEBUG/AndroidRuntime(438): Shutting down VM
    08-08 19:54:27.543: DEBUG/dalvikvm(438): Debugger has detached; object registry had 1 entries
    08-08 19:54:27.583: INFO/ActivityManager(59): Start proc com.mbi for activity com.mbi/.Friends: pid=445 uid=10044 gids={3003, 1015}
    08-08 19:54:27.623: INFO/AndroidRuntime(438): NOTE: attach of thread 'Binder Thread #3' failed
    08-08 19:54:28.373: DEBUG/YChat(445): I am Here
    08-08 19:54:28.393: INFO/dalvikvm(445): Could not find method javax.microedition.io.Connector.open, referenced from method com.yahoo.messenger.util.HttpUtils.performHttpGet
    08-08 19:54:28.393: WARN/dalvikvm(445): VFY: unable to resolve static method 760: Ljavax/microedition/io/Connector;.open (Ljava/lang/String;)Ljavax/microedition/io/Connection;
    08-08 19:54:28.393: DEBUG/dalvikvm(445): VFY: replacing opcode 0x71 at 0x0011
    08-08 19:54:28.393: DEBUG/dalvikvm(445): VFY: dead code 0x0014-00a8 in Lcom/yahoo/messenger/util/HttpUtils;.performHttpGet (Ljava/lang/String;Lcom/yahoo/messenger/util/YahooMessengerAuthentication;)Ljava/lang/String;
    08-08 19:54:28.403: INFO/dalvikvm(445): Could not find method javax.microedition.io.Connector.open, referenced from method com.yahoo.messenger.util.HttpUtils.performHttpPost
    08-08 19:54:28.403: WARN/dalvikvm(445): VFY: unable to resolve static method 760: Ljavax/microedition/io/Connector;.open (Ljava/lang/String;)Ljavax/microedition/io/Connection;
    08-08 19:54:28.413: DEBUG/dalvikvm(445): VFY: replacing opcode 0x71 at 0x0005
    08-08 19:54:28.413: DEBUG/dalvikvm(445): VFY: dead code 0x0008-00f2 in Lcom/yahoo/messenger/util/HttpUtils;.performHttpPost (Ljava/lang/String;Lcom/yahoo/messenger/util/YahooMessengerAuthentication;Ljava/lang/String;)Ljava/lang/String;
    08-08 19:54:28.413: INFO/System.out(445): HTTP GET SENT:
    08-08 19:54:28.423: INFO/System.out(445): https://login.yahoo.com/WSLogin/V1/...OekkzTmpBMU9UWXkmcz1jb25zdW1lcnNlY3JldCZ4PTJl
    08-08 19:54:28.423: DEBUG/AndroidRuntime(445): Shutting down VM
    08-08 19:54:28.423: WARN/dalvikvm(445): threadid=1: thread exiting with uncaught exception (group=0x4001d800)
    08-08 19:54:28.443: ERROR/AndroidRuntime(445): FATAL EXCEPTION: main
    08-08 19:54:28.443: ERROR/AndroidRuntime(445): java.lang.NoClassDefFoundError: javax.microedition.io.Connector
    08-08 19:54:28.443: ERROR/AndroidRuntime(445): at com.yahoo.messenger.util.HttpUtils.performHttpGet(HttpUtils.java:37)
    08-08 19:54:28.443: ERROR/AndroidRuntime(445): at com.yahoo.messenger.util.HttpUtils.performHttpGet(HttpUtils.java:23)
    08-08 19:54:28.443: ERROR/AndroidRuntime(445): at com.yahoo.messenger.reqresp.YahooMessengerGetPARTReqResp.executeRequest(YahooMessengerGetPARTReqResp.java:114)
    08-08 19:54:28.443: ERROR/AndroidRuntime(445): at com.yahoo.messenger.manager.YahooMessengerLoginManager.performLoginOAuth(YahooMessengerLoginManager.java:90)
    08-08 19:54:28.443: ERROR/AndroidRuntime(445): at com.mbi.Friends.onCreate(Friends.java:66)
    08-08 19:54:28.443: ERROR/AndroidRuntime(445): at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1047)
    08-08 19:54:28.443: ERROR/AndroidRuntime(445): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2627)
    08-08 19:54:28.443: ERROR/AndroidRuntime(445): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2679)
    08-08 19:54:28.443: ERROR/AndroidRuntime(445): at android.app.ActivityThread.access$2300(ActivityThread.java:125)
    08-08 19:54:28.443: ERROR/AndroidRuntime(445): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2033)
    08-08 19:54:28.443: ERROR/AndroidRuntime(445): at android.os.Handler.dispatchMessage(Handler.java:99)
    08-08 19:54:28.443: ERROR/AndroidRuntime(445): at android.os.Looper.loop(Looper.java:123)
    08-08 19:54:28.443: ERROR/AndroidRuntime(445): at android.app.ActivityThread.main(ActivityThread.java:4627)
    08-08 19:54:28.443: ERROR/AndroidRuntime(445): at java.lang.reflect.Method.invokeNative(Native Method)
    08-08 19:54:28.443: ERROR/AndroidRuntime(445): at java.lang.reflect.Method.invoke(Method.java:521)
    08-08 19:54:28.443: ERROR/AndroidRuntime(445): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:868)
    08-08 19:54:28.443: ERROR/AndroidRuntime(445): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:626)
    08-08 19:54:28.443: ERROR/AndroidRuntime(445): at dalvik.system.NativeStart.main(Native Method)
    08-08 19:54:28.463: WARN/ActivityManager(59): Force finishing activity com.mbi/.Friends
    08-08 19:54:28.983: WARN/ActivityManager(59): Activity pause timeout for HistoryRecord{45069170 com.mbi/.Friends}
    08-08 19:54:39.256: WARN/ActivityManager(59): Activity destroy timeout for HistoryRecord{45069170 com.mbi/.Friends}
    08-08 19:56:25.033: DEBUG/SntpClient(59): request time failed: java.net.SocketException: Address family not supported by protocol
    08-08 19:59:28.483: INFO/Process(445): Sending signal. PID: 445 SIG: 9
    08-08 19:59:28.523: INFO/ActivityManager(59): Process com.mbi (pid 445) has died.
    08-08 19:59:28.543: WARN/InputManagerService(59): Window already focused, ignoring focus gain of: com.android.internal.view.IInputMethodClient$Stub$Proxy@44e9b558
    08-08 20:01:25.054: DEBUG/SntpClient(59): request time failed: java.net.SocketException: Address family not supported by protocol
     

    Advertisement

Share This Page

Loading...