Local Search on google maps

by zeeshan mirza » Wed, 22 Dec 2010 10:26:23 GMT


Sponsored Links
 I am looking for a code example like "Place" application available in
android which helps you to find resturans of coffee shops aroudn you.
I want to code my own application like that place application but not
on a very heigh level but just on a learning level. Let me know if
somebody knows a userful tutorial or have allready created such
application.

-- 



Re: Local Search on google maps

by TreKing » Wed, 22 Dec 2010 11:56:03 GMT


 On Tue, Dec 21, 2010 at 8:26 PM, zeeshan mirza <




 http://code.google.com/apis/maps/documentation/places/ 

-------------------------------------------------------------------------------------------------
TreKing < http://sites.google.com/site/rezmobileapps/treking> ; - Chicago
transit tracking app for Android-powered devices

-- 


Sponsored Links


Re: Local Search on google maps

by zeeshan mirza » Wed, 22 Dec 2010 12:34:26 GMT


 thanks treking for your reply. Do you know if there is any code
example available about this place API ? What is the difference
between google SEARCH API and Place API ? I think search api can also
be used for finding places?

-- 



Re: Local Search on google maps

by TreKing » Wed, 22 Dec 2010 13:07:33 GMT


 On Tue, Dec 21, 2010 at 10:34 PM, zeeshan mirza <




I don't.



I don't know. Try going to the website for both and reading the
descriptions.



That's not a question? Try reading the documentation for the search API and
see what it says.

-------------------------------------------------------------------------------------------------
TreKing < http://sites.google.com/site/rezmobileapps/treking> ; - Chicago
transit tracking app for Android-powered devices

-- 



Re: Local Search on google maps

by Spiral123 » Wed, 22 Dec 2010 13:07:48 GMT


 I think the Places API is still in limited developer preview.

You could use the ajax api for a local search:
 http://code.google.com/apis/ajaxsearch/documentation/ #fonje.  Not too
difficult, but probably not 'learning level'.  Beware if you use this
as it was deprecated last month.  The replacement is the Custom Search
API......still in Labs with a limit of 100 searches per IP address per
day.  Oh, you need to sign up for a key to use that btw.

On Dec 21, 11:34pm, zeeshan mirza <zeeshan.nabeel.mi...@gmail.com>



-- 



Re: Re: Local Search on google maps

by zeeshan mirza » Wed, 22 Dec 2010 13:18:36 GMT


 Thanks for your reply spiral. Is it possible to use ajax in android
application? and is there any query limitation?

-- 



Re: Re: Local Search on google maps

by Sarwar Erfan » Wed, 22 Dec 2010 13:29:02 GMT


 I have visited the link 
( http://code.google.com/apis/ajaxsearch/documentation/ #fonje), it does have 
a RESTful interface.
But, the top of the page says its deprecated. I wonder how wise will it be 
to use a deprecated API in a new project.
And, it do have limits (though dont know the exact limitations). The top of 
the page says:

*It will continue to work as per our deprecation 
policy< http://code.google.com/apis/websearch/terms.html> ;, 
but the number of requests you may make per day will be limited. Therefore, 
we encourage you to move to the new Custom Search 
API< http://code.google.com/apis/customsearch/v1/overview.html> ;
.*
*
*
Regards
Sarwar Erfan

-- 



Re: Local Search on google maps

by Spiral123 » Wed, 22 Dec 2010 13:29:44 GMT


 yes.  for the local search example (which sends a JSON reply), build
the URL query and wrap it in a getHttpJson call:

jsonResponse = getHttpJson(urlRequest);

query limitations vary by API.  check the Terms of Service for each
one.



On Dec 22, 12:18am, zeeshan mirza <zeeshan.nabeel.mi...@gmail.com>



-- 



Other Threads

1. how to display all checked items from multiple choice listview

hi there, i'm doing an application that displaying a list of guest
than will attending some event.
what i need to do is :
 *to display all the Guest name in listView + checkbox  + button
"attend" and "not attend" at the bottom of the list
 *when user click the "attend " button, it will list all the checked
names.
 *when click on "not attend" button, it will list all unchecked names.

to make it clear, i manage  to do all those thing axcept for the
button action. i don't know how to capture the checked and unchecked
item..can anyone here help me with the code.i tried to find a tutorial
on that but still didn't find what i need yet.anyone please..

so here my codes:

public class CheckBox extends Activity {

        private ListView lView;
        private String lv_items[] = {   "Annie", "Mark", "Mei Ling",
                                                "Fujimaru", "Yukimura", "Andy",
                                                "Emmy", "Christopher","Robert",
                                                "Anthony", "Haruhi","Masaomi" };

        @Override
        public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.main);

        Button btnSave = (Button) findViewById(R.id.Button01);
        btnSave.setOnClickListener(new OnClickListener() {
                public void onClick(View v) {
                        //Toast.makeText(getApplicationContext()," All Guest",
Toast.LENGTH_SHORT).show();
                        }
        });

        Button btnSave2 = (Button) findViewById(R.id.Button02);
        btnSave2.setOnClickListener(new OnClickListener() {
                public void onClick(View v) {
                        //Toast.makeText(getApplicationContext()," Attending",
Toast.LENGTH_SHORT).show();
                }
        });

        Button btnSave3 = (Button) findViewById(R.id.Button03);
        btnSave3.setOnClickListener(new OnClickListener() {
                public void onClick(View v) {
                        //Toast.makeText(getApplicationContext()," Not 
Attending",
Toast.LENGTH_SHORT).show();
                        }
        });

        lView = (ListView) findViewById(R.id.ListView01);
        //Set option as Multiple Choice. So that user can able to select more
the one option from list
        lView.setAdapter(new ArrayAdapter<String>(this,
android.R.layout.simple_list_item_multiple_choice, lv_items));
        lView.setChoiceMode(ListView.CHOICE_MODE_MULTIPLE);

        }
}

and XML layout :
<LinearLayout
  xmlns:android="http://schemas.android.com/apk/res/android"
  android:orientation="vertical"
  android:layout_width="fill_parent"
  android:layout_height="fill_parent"
 >
  <ListView
    android:id="@+id/ListView01"
    android:layout_width="fill_parent"
    android:layout_height="wrap_content"
    android:layout_alignParentTop="true"
    android:layout_weight="1.0" />

  <LinearLayout
    android:orientation="horizontal"
    android:layout_width="fill_parent"
    android:layout_height="wrap_content"
    android:layout_alignParentBottom="true"
    style="@android:style/ButtonBar">

    <Button
   android:id="@+id/Button01"
   android:layout_width="105px"
   android:layout_height="50px"
   android:text="All"
   android:textSize="12px"
   android:layout_gravity="center_horizontal"
   >
</Button>

<Button
android:id="@+id/Button02"
android:layout_width="105px"
android:layout_height="50px"
android:text="Attending"
android:textSize="12px"
android:layout_gravity="center_horizontal"
</Button>

<Button
android:id="@+id/Button03"
android:layout_width="105px"
android:layout_height="50px"
android:text="Not Attending"
android:textSize="12px"
android:layout_gravity="center_horizontal"
</Button>
</LinearLayout>
</LinearLayout>


And...thank you for helping me :)

-- 

2. paging om arya mada & WTB htc desire cdma new

Kontak cak Nurfat
Kemarin masih ada stok desire cdma sepertinya

Regards,

Bayu Seno Adji
www.bayusenoadji.com
www.rnbwebhosting.com
Android 4"



-- 
===============

3. Supporting xlarge screens in sdk 8

4. Rounding Numbers

5. In-app billing as a method of activating a trial feature?

6. is there any idea that files are only used by application those are stored on media card?

7. The "Blinking Activity of Death"