I don't know what to tell you.  Go to another house, or an internet cafe and
try the command there.  Like I said, my computer cannot connect, so it's a
firewall/network issue.

On Tue, May 17, 2011 at 3:59 PM, ingy abbas <ingy.abba...@gmail.com> wrote:

> yup in computers it work but in mobile Not !! and its a huge problem
> due to my project so do you have any suggestion
>
> On May 18, 12:47 am, Miguel Morales <therevolti...@gmail.com> wrote:
> > And you tried it from a different computer, right?  Not one in your
> > house/office?
> > It does not work from here.
> >
> >
> >
> >
> >
> >
> >
> > On Tue, May 17, 2011 at 3:45 PM, ingy abbas <ingy.abba...@gmail.com>
> wrote:
> > > its open microsoft  telnet command but the
> > > 50.0.10.107 54639
> > > Microsoft Telnet> 50.0.10.107 54639
> > > Invalid Command. type ?/help for help
> >
> > > On May 18, 12:15 am, Miguel Morales <therevolti...@gmail.com> wrote:
> > > > Make sure your port is open so that outside clients can connect to
> that
> > > > port.
> > > > First, go to a computer outside your network and try to run: telnet
> > > > 50.0.10.107 54639
> >
> > > > When that succeeds, you can continue.
> >
> > > > On Tue, May 17, 2011 at 3:12 PM, ingy abbas <ingy.abba...@gmail.com>
> > > wrote:
> > > > > so how can i make the server connect to the Mobile the code is
> working
> > > > > and connect on the emulator putting same port and localhost
> >
> > > > > On May 18, 12:08 am, Miguel Morales <therevolti...@gmail.com>
> wrote:
> > > > > > I can't seem to telnet using the following command: telnet
> > > 50.0.10.107
> > > > > 54639
> >
> > > > > > Make sure your server has that port open, perhaps it works in the
> > > > > emulator
> > > > > > because the emulator and server are on the same machine.
> >
> > > > > > On Tue, May 17, 2011 at 3:02 PM, ingy abbas <
> ingy.abba...@gmail.com>
> > > > > wrote:
> > > > > > > package tryanabtry.opa;
> >
> > > > > > > import java.io.BufferedReader;
> > > > > > > import java.io.DataOutputStream;
> > > > > > > import java.io.IOException;
> > > > > > > import java.io.InputStreamReader;
> > > > > > > import java.net.DatagramPacket;
> > > > > > > import java.net.DatagramSocket;
> > > > > > > import java.net.InetSocketAddress;
> > > > > > > import java.net.Socket;
> > > > > > > import java.net.SocketException;
> > > > > > > import java.util.List;
> >
> > > > > > > import android.app.PendingIntent;
> > > > > > > import android.content.Context;
> > > > > > > import android.content.res.Resources;
> >
> > > > > > > import android.graphics.Bitmap;
> > > > > > > import android.graphics.BitmapFactory;
> > > > > > > import android.graphics.Canvas;
> > > > > > > import android.graphics.Point;
> > > > > > > import android.graphics.drawable.Drawable;
> > > > > > > import android.location.Location;
> > > > > > > import android.location.LocationListener;
> > > > > > > import android.location.LocationManager;
> > > > > > > import android.os.Bundle;
> > > > > > > import android.os.Handler;
> > > > > > > import android.util.Log;
> > > > > > > import android.view.View;
> > > > > > > import android.widget.Button;
> > > > > > > import android.widget.TextView;
> > > > > > > import android.widget.Toast;
> >
> > > > > > > import com.google.android.maps.GeoPoint;
> > > > > > > import com.google.android.maps.MapActivity;
> > > > > > > import com.google.android.maps.MapController;
> > > > > > > import com.google.android.maps.MapView;
> > > > > > > import com.google.android.maps.Overlay;
> > > > > > > import com.google.android.maps.OverlayItem;
> >
> > > > > > > public class tryanabtry extends MapActivity
> >
> > > > > > > {
> > > > > > >    Socket clientSocket;
> > > > > > >    TextView Text;
> > > > > > >        private MapView mapView;
> > > > > > >        private MapController mc;
> > > > > > >    DataOutputStream outToServer;
> > > > > > >    BufferedReader inFromServer ;
> >
> > > > > > >        int error = 100;
> > > > > > >        GeoPoint p, p2, p3, p4, p5, p6, p7, p8, p9, p10, p11,
> p12,
> >
> > > p13,p14,p15,p16,p17,p18,p19,p20,p21,p22,p23,p24,p25,p26,p27,p28,p29;
> > > > > > >        List<Overlay> mapOverlays;
> > > > > > >        Drawable drawable, drawable2, drawable3, drawable4,
> > > drawable6,
> > > > > > > drawable7,
> > > > > > >                        drawable8, drawable9, drawable10,
> > > drawable11,
> > > > > > > drawable12,
> > > > > > >                        drawable13, drawable5, drawable14,
> > > drawable15,
> > > > > > > drawable16,
> > > > > > > drawable17, drawable18, drawable19, drawable20, drawable21,
> > > > > > > drawable22, drawable23, drawable24, drawable25, drawable26,
> > > > > > > drawable27, drawable28, drawable29;
> > > > > > >        HelloItemizedOverlay itemizedOverlay, itemizedOverlay2,
> > > > > > > itemizedOverlay3,
> > > > > > >                        itemizedOverlay4, itemizedOverlay5,
> > > > > > > itemizedOverlay6,
> > > > > > >                        itemizedOverlay7, itemizedOverlay8,
> > > > > > > itemizedOverlay9,
> > > > > > >                        itemizedOverlay10, itemizedOverlay11,
> > > > > > > itemizedOverlay12,
> > > > > > >                        itemizedOverlay13, itemizedOverlay14,
> > > > > > > itemizedOverlay15,
> > > > > > > itemizedOverlay16, itemizedOverlay17, itemizedOverlay18,
> > > > > > > itemizedOverlay19, itemizedOverlay20, itemizedOverlay21,
> > > > > > > itemizedOverlay22, itemizedOverlay23, itemizedOverlay24,
> > > > > > > itemizedOverlay25, itemizedOverlay26, itemizedOverlay27,
> > > > > > > itemizedOverlay28, itemizedOverlay29;
> > > > > > >        LocationManager locationManager;
> >
> > > > > > >        /** Called when the activity is first created. */
> >
> > > > > > >        @Override
> > > > > > >        public void onCreate(Bundle savedInstanceState)
> >
> > > > > > >        {
> > > > > > >                try {
> > > > > > >                        super.onCreate(savedInstanceState);
> >
> > > > > > >                        setContentView(R.layout.main);
> >
> > > > > > >                        /* Use the LocationManager class to
> obtain
> > > GPS
> > > > > > > locations */
> >
> > > > > > >                        LocationManager mlocManager =
> > > (LocationManager)
> > > > > > > getSystemService(Context.LOCATION_SERVICE);
> >
> > > > > > >                        LocationListener mlocListener = new
> > > > > > > MyLocationListener();
> >
> > > > > > >
>  mlocManager.requestLocationUpdates(LocationManager.GPS_PROVIDER,
> > > 0,
> > > > > > >                                        0, mlocListener);
> > > > > > >                        mapView = (MapView)
> > > findViewById(R.id.mapView);
> >
> > > > > > >                        // enable Street view by default
> > > > > > >                        mapView.setStreetView(true);
> >
> > > > > > >                        // enable to show Satellite view
> > > > > > >                        mapView.setSatellite(true);
> >
> > > > > > >                        // enable to show Traffic on map
> > > > > > >                        // mapView.setTraffic(true);
> > > > > > >                        mapView.setBuiltInZoomControls(true);
> >
> > > > > > >                        mc = mapView.getController();
> > > > > > >                        // mapView.setStreetView(true);
> > > > > > >                        // mapView.setSatellite(true);
> > > > > > >                        mc.setZoom(12);
> > > > > > >                        addOverLays();
> > > > > > >                } catch (Exception e) {
> > > > > > >
>  Log.d("eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee",
> > > > > > > e.getMessage());
> > > > > > >                }
> >
> > > > > > >        }
> >
> > > > > > >        // /lat2=29.98763859272003;
> > > > > > >        // log2 = 31.44235074520111
> > > > > > >        public void addOverLays() {
> > > > > > >                String[] coordinates = { "31.216487288475037",
> > > > > > > "29.932637214660645",
> > > > > > >                                "30.084123015403748", "51.5002",
> > > > > "-0.1262",
> > > > > > >                                "31.337149143218994" };
> > > > > > >                double lat = 29.98739718380868, lat2 =
> > > > > 29.98763859272003,
> > > > > > > lat3 =
> > > > > > > 29.987574219703674, lat4 = 29.98718498160553, lat5 =
> > > > > > > 29.98716115951538, lat6 = 29.987241625785828,lat7=
> > > > > > > 29.98763859272003,lat8=29.9851870536842,lat9=29.98731246;
> > > > > > >                double log = 31.442527770886084, log2 =
> > > > > 31.44235074520111,
> > > > > > > log3 =
> > > > > > > 31.44225418567575, log4 = 31.442527770996094, log5 =
> > > > > > > 31.442500948905945, log6 =
> >
> > >
> 31.44260823726654,log7=31.44251167742004,log8=31.44262969493866,log9=31.442
> > > > > 43144;
> > > > > > >  double t1=((lat3+lat5))/2;
> > > > > > >  double t2=((t1+lat3))/2;
> > > > > > >  double t3=((t2+lat3))/2;
> > > > > > >  double t4=((t3+lat3))/2;
> > > > > > >  double t5=((t1+t2))/2;
> > > > > > >  double t6=((lat5+t1))/2;
> > > > > > >  double t7=((lat3+lat5))/2;
> > > > > > >  double t8=((t7+lat3))/2;
> > > > > > >  double t9=((t8+lat3))/2;
> > > > > > >  double t10 =((lat2+lat3))/2;
> > > > > > >  double t11 =((t7+lat6))/2;
> > > > > > >                p = new GeoPoint((int) (lat * 1E6), (int) (log *
> > > 1E6));
> > > > > > >                p2 = new GeoPoint((int) (lat2 * 1e6), (int)
> (log2 *
> > > > > 1e6));
> > > > > > >                p3 = new GeoPoint((int) (lat3 * 1e6), (int)
> (log3 *
> > > > > 1e6));
> > > > > > >                p4 = new GeoPoint((int) (lat4 * 1e6), (int)
> (log4 *
> > > > > 1e6));
> > > > > > >                p5 = new GeoPoint((int) (t7* 1e6), (int) (log2 *
> > > 1e6));
> > > > > > >                p6 = new GeoPoint((int) (lat8 * 1e6), (int)
> (log8 *
> > > > > 1e6));
> > > > > > >                p7 = new GeoPoint((int) (t1* 1e6), (int) (log5 *
> > > 1e6));
> > > > > > >                p8 = new GeoPoint((int) (lat5 * 1e6), (int)
> (log5 *
> > > > > 1e6));
> > > > > > >                p9 = new GeoPoint((int) (lat6 * 1e6), (int)
> (log6 *
> > > > > 1e6));
> > > > > > >            p10=new GeoPoint( (int) (t4 * 1e6), (int) (log5 *
> 1e6));
> > > > > > >                p11=new GeoPoint( (int) (t2* 1e6), (int) (log5 *
> > > 1e6));
> > > > > > >                p12=new GeoPoint( (int) (t3* 1e6), (int) (log5 *
> > > 1e6));
> > > > > > >                p13=new GeoPoint( (int) (t5* 1e6), (int) (log5 *
> > > 1e6));
> > > > > > >                p14=new GeoPoint( (int) (t6* 1e6), (int) (log5 *
> > > 1e6));
> > > > > > >                p15=new GeoPoint( (int) ((t6+t1)/2* 1e6), (int)
> > > (log3 *
> > > > > > > 1e6));
> > > > > > >                p15=new GeoPoint( (int) (t8* 1e6), (int) (log3 *
> > > 1e6));
> > > > > > >                p16=new GeoPoint( (int) (t9* 1e6), (int) (log3 *
> > > 1e6));
> > > > > > >                p17=new GeoPoint( (int) (t10* 1e6), (int) (log3
> *
> > > 1e6));
> > > > > > >                p18=new GeoPoint( (int) (lat9* 1e6), (int) (log9
> *
> > > > > 1e6));
> > > > > > >                mapOverlays = mapView.getOverlays();
> > > > > > >                drawable =
> > > > > this.getResources().getDrawable(R.drawable.wit);
> > > > > > >                drawable2 =
> > > > > > > this.getResources().getDrawable(R.drawable.ballon);
> > > > > > >                drawable3 =
> >
> > ...
> >
> > read more ยป
>
> --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To post to this group, send email to android-developers@googlegroups.com
> To unsubscribe from this group, send email to
> android-developers+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en
>



-- 
~ Jeremiah:9:23-24
Android 2D MMORPG: http://solrpg.com/,
http://www.youtube.com/user/revoltingx

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to