i don't know where is the problem,maybe i have forgotten some code, anyone could hep me? please! thanks
my code is following:
Using java Syntax Highlighting
- public class MapAndroid extends MapActivity {
- @Override
- public void onCreate(Bundle savedInstanceState) {
- super.onCreate(savedInstanceState);
- setContentView(R.layout.main);
- }
- @Override
- protected boolean isRouteDisplayed() { return false; }
- }
Parsed in 0.031 seconds, using GeSHi 1.0.8.4
Using xml Syntax Highlighting
- <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
- android:orientation="vertical" android:layout_width="fill_parent"
- android:layout_height="fill_parent">
- <view class="com.google.android.maps.MapView"
- android:layout_width="fill_parent"
- android:layout_height="fill_parent"
- android:layout_weight="1" />
- <EditText android:layout_width="fill_parent"
- android:layout_height="wrap_content"
- android:text="enter address to search..."
- android:selectAllOnFocus="true"/>
- </LinearLayout>
Parsed in 0.002 seconds, using GeSHi 1.0.8.4


