tabs and map

Put your problem here if it does not fit any of the other categories.

tabs and map

Postby Alok Upadhyay » Tue Mar 08, 2011 4:21 pm

hi,
i am working from i week on map view based tutorial and finally got this done.What approach i have followed is that:
1. i have used the single activity in which user enters a location name in text box.
2.as soon as the search button is clicked location name is converted into lat and lan using geocoder class.
3.then passing this lan and lat to a method returning location on the map.

Now i want to do some R&D with this code through tabviews.
MEANS:
1.i want initially a single tab consisting of only textbox and search button.
2.When user click on search button new tab should be open showing location that was entered into textbox.

Please guide me !
Thanks,
Alok upadhyay,
Alok Upadhyay
Freshman
Freshman
 
Posts: 2
Joined: Fri Oct 22, 2010 6:26 am

Top

Re: tabs and map

Postby JoxTraex » Wed Mar 09, 2011 3:38 am

You can set the contents of a tab to a mapview if you REALLY want to. and then In another tab have another layout for it to use, its pretty simple, host holds your tabs. In your XML make sure you follow the design patterns in order for your tabs to work, otherwise it won't work.
JoxTraex
Developer
Developer
 
Posts: 25
Joined: Wed Jan 26, 2011 12:29 am

Top

Return to Other Coding-Problems

Who is online

Users browsing this forum: MSNbot Media and 19 guests