I want to connect android code with is Map View code with my python code (server ) so i want when i touch the screen or i want to make button when i click to it the android send to the server using the gps i do Send my current location to server SO can i add buttons appear in my map and be action listener or when touch the map it send the location i created a socket in my map view code i added this method
public void connect(View view){ try{ clientSocket= new Socket("10.0.2.2",54633); Text.append( "\n created a socket"); outToServer = new DataOutputStream(clientSocket.getOutputStream()); Text.append( "\n created a datastream"); inFromServer = new BufferedReader(new InputStreamReader(clientSocket.getInputStream())); ; }catch(Exception e){ System.out.println("Error"); } } So i want to add action listener when i click on map and be able to send my current location -- 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