<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android";
  package="com.org.mcruiseon.client"
  android:versionCode="1"
  android:versionName="1.0">
  <application android:icon="@drawable/icon"
android:label="@string/app_name">
  <activity android:name=".WelcomeScreen"
  android:label="@string/app_name">
  <uses-permission android:name="android.permission.INTERNET" />
  <intent-filter>
  <action android:name="android.intent.action.MAIN" />
  <category android:name="android.intent.category.LAUNCHER" />
  </intent-filter>
  </activity>
  </application>
  <uses-sdk android:minSdkVersion="3" />
<uses-permission
android:name="android.permission.INTERNET"></uses-permission>
<uses-permission
android:name="android.permission.READ_PHONE_STATE"></uses-permission>
</manifest>
I am reading the phone number and other phone properties to send over a
socket using (sample code below)
try{
  outputStream = clientSocket.getOutputStream() ;
  objectOutputStream = new ObjectOutputStream(outputStream);
  } catch (IOException e){
  e.printStackTrace();
  }
Server Code as
this.inClientSocket = inClientSocket ;
  try {
  inputObject = new ObjectInputStream(this.inClientSocket.getInputStream());
  } catch (IOException e) {
  // TODO Auto-generated catch block
  e.printStackTrace();
  return ;
  }
Questions
- I am running the client in debug mode. Why isn't the debugger showing me
where the problem is ?
- I put a breakpoint on the first time of the client code, still the client
hangs without the debugger reaching the breakpoint
Can someone advice me on what I am doing wrong.
Dude 4m MConDev

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to