Well spotted Glen, Thanks!
On 19 mar, 00:15, Glen Humphrey wrote:
> Try this.
>
> android:id="@+id/mapview1"
> android:layout_width="fill_parent"
> android:layout_height="fill_parent"
> android:enabled="true"
> android:clickable="true"
> android:apiKey="woaw this is my d
Try this.
On Mar 18, 5:22 am, Francois Stephany
wrote:
> I cant get it work.
> Do I need something between the setContentView() and findViewById() ?
>
> ---
> public void onCreate(Bundle savedInstanceState) {
> super.onCreate(savedInstanceState);
> setContentView(R.layo
I cant get it work.
Do I need something between the setContentView() and findViewById() ?
---
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.main);
mapView = (MapView) findViewById(R.id.mapview1);
--
Add id to the map view.wat u r doing is wrong..do it like
this
then call..
findViewById(R.id.mapview1)
On Tue, Mar 17, 2009 at 11:33 PM, Francois Stephany <
tulipe.mouta...@gmail.com> wrote:
>
> Hi there,
>
> I'm new to Android development and encounter a small problem.
4 matches
Mail list logo