tools/geo seems to be missing.

by Issac Trotts » Sun, 15 Mar 2009 11:10:39 GMT


Sponsored Links
 The documentation (
 http://developer.android.com/guide/topics/location/index.html ) says there is
supposed to be a tool called tools/geo, but it's not there
in android-sdk-mac_x86-1.0_r2 or in android-sdk-mac_x86-1.1_r1. Can someone
tell me where to find this?  - Issac

--~--~---------~--~----~------------~-------~--~----~



Other Threads

1. Wtt: pengen tuker tambah Mile dengan N1

Setelah menggunakan Miley kira2 4 bulanan, pengen nyobain yg lain. Karena
budget terbatas maka mau tt aja dgn N1.
Kondisi Miley : sangat mulus.kira2 95 persen
BM (belinya pas Miley masih jarang, di juragan milis bb saat itu 6,6)
Tapi 100 persen fungsinya ok.
Dus lengkap
Tambahan :
1. Batre cadangan (beli dari oom tio ping), jarang dipake
2. EBC dan desktop charger (beli dari oom Victor Tan)

Gambar menyusul
ini tuker tambah iseng he he he, sukur2 dapet N1 yg udah dioprek karena
gaptek sama sekali he he he

Silakan japri
Atau sms ke 0817825660

Matur nuwun

-- 
"Indonesian Android Community [id-android]" 

2. Receive data in a serlvet

Hi,

I am using a urlconnection method to connect to a server (here
localhost) which has a servlet running (HelloServlet). Could some one
please tell me how do I receive the contents that the client wrote on
the outputstream.


Here is my client code
try{
                        URL url = new URL("http://10.0.2.2/HelloServlet");
                    URLConnection conn = url.openConnection();
                    conn.setDoOutput(true);

                    Toast.makeText(getBaseContext(),
                    "connection set",
                    Toast.LENGTH_SHORT).show();
                    OutputStreamWriter writer = new
OutputStreamWriter(conn.getOutputStream());

                    writer.write("value=hello&anotherValue=imran");
                    writer.flush();
                    Toast.makeText(getBaseContext(),
                    "sent the data",
                    Toast.LENGTH_SHORT).show();
                    String line;
                    BufferedReader reader = new BufferedReader(new
InputStreamReader(conn.getInputStream()));
                    while ((line = reader.readLine()) != null) {
                      System.out.println(line);
                      Toast.makeText(getBaseContext(),
                      "received from server"+line,
                      Toast.LENGTH_SHORT).show();
                    }
                    writer.close();
                    reader.close();
                }
                catch (Exception e){

                }

The server code is

protected void processRequest(HttpServletRequest request,
HttpServletResponse response)
    throws ServletException, IOException {
        response.setContentType("text/html;charset=UTF-8");
        PrintWriter out = response.getWriter();
        try {
            String value = request.getParameter("value");
            String value2 = request.getParameter("anotherValue");
            System.out.println("The data recieved is:"+value+" and
"+value2);


            out.println("<html>");
            out.println("<head>");
            out.println("<title>Servlet LoginServlet</title>");
            out.println("</head>");
            out.println("<body>");
            out.println("The data recieved is:"+value+" and
"+value2);
            out.println("</body>");
            out.println("</html>");

        } finally {
            out.close();
        }
    }

-- 

3. How to handle plural with resources

4. AutoCompleteTextView weirdness

5. MMS di G1 |pake kartu a

6. Android OpenGL Game - App Architecture and Threading Logic

7. What did those "DO NOT MERGE" warning in the commit logs mean?