Re: [android-developers] Android Tourist App (Android Studio) - Fragments and Navigation drawer

2016-07-10 Thread Peter Stevenson
.addToBackStack(null) .commit(); } else if (id == R.id.nav_manage) { } else if (id == R.id.nav_share) { } else if (id == R.id.nav_send) { } Peter Stevenson Waikuku Beach SLSC E-mail cyber.sp...@xtra.co.nz Mobile 027 313 1415 On Sun, Jul 10, 2016 at 1:11 AM, Tom Lear

Re: [android-developers] Overlays on Map

2009-12-01 Thread Peter Stevenson
Peter wrote: Do you populate each of the Overlays in the ArrayList? In order to add new OverlayItems to our ArrayList, we need a new public method. We'll handle this with the following method: public void addOverlay(OverlayItem overlay) { mOverlays.add(overlay); populate(); } Each

[android-developers] Re: maps probelm

2009-03-10 Thread Peter Stevenson
Peter Wrote: Try this ?xml version=1.0 encoding=utf-8? manifest xmlns:android=http://schemas.android.com/apk/res/android; package=com.testing.out android:versionCode=1 android:versionName=1.0.0 uses-permission android:name=android.permission.ACCESS_COARSE_LOCATION / uses-permission

[android-developers] Re: Synchronizing Maps and Map Overlays - ConcurrentModificationException

2008-12-29 Thread Peter Stevenson
Peter Wrote: com.google.android.maps.MyLocationOverlay Please note if MyLocationOverlay is a Class in Android Peter DMT wrote: Let me guess... r u invoking your code from *within* your custom MyLocationOverlay code ? I had the same Java exception as you until I moved my overlay

[android-developers] Re: Netbeans

2008-11-21 Thread Peter Stevenson
Peter wrote Work well I using Netbeans 6,5 Thustle wrote: I've not tried it yet... http://kenai.com/projects/nbandroid/pages/Install On 20 Nov, 14:08, moa [EMAIL PROTECTED] wrote: Does anyone know what the current state is for development with the netbeans ide?

[android-developers] Re: Convert GeoPoint to ScreenCoord

2008-11-14 Thread Peter Stevenson
Peter Wrote currentPoint = new GeoPoint((int) (-43.2973 * 100), (int) (172.5929 * 100)); endCurrentPoint = new GeoPoint((int) (-43.2984 * 100), (int) (172.5940 * 100)); this might help Allan Valeriano wrote: Is there a way to convert from GeoPoint to

[android-developers] Re: Drawing on MapView

2008-11-05 Thread Peter Stevenson
something useful. - Prash On Sep 29, 2:21 am, Peter Stevenson [EMAIL PROTECTED] wrote: Peter Wrote hope this help if not email me again and I see if I can help Also add a screen shot You should be able to load data on to your map based on this code use a dbHelper Class

[android-developers] Re: SDCard and SQLiteOpenHelper problem

2008-10-30 Thread Peter Stevenson
peter wrote Read this book The Busy Coder's Guide to Android Development By Mark L. Murphy Chapter 25 Building a Content Provider File sdcard = new File(/sdcard/application/mydb.sqlite ); wescorp wrote: Hello, I need to be able to work with databases on the sdcard. I've

[android-developers] Re: Dynamic Overlay

2008-10-11 Thread Peter Stevenson
Peter Wrote try adding a create method like this This code reads a List of POI which come from a database public WhatAroundMeOverlay(WhatAroundMe whatAroundMe,Drawable defaultMarker,ListPOI listPOI ) { super(defaultMarker); this.whatAroundMe = whatAroundMe;

[android-developers] Re: Problem with MapView

2008-10-06 Thread Peter Stevenson
Peter Wrote Hi I clean up the code Look at your Variables name public class HotelCompanion extends MapActivity{ MapView map; MapController mc; @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState);

[android-developers] Re: Help Drawing Over Google Maps

2008-09-26 Thread Peter Stevenson
Hi Note this built with sdk 1.0 hope this helps The uses permission will help ?xml version=1.0 encoding=utf-8? manifest xmlns:android=http://schemas.android.com/apk/res/android; package=com.testing.out android:versionCode=1 android:versionName=1.0.0 uses-permission

[android-developers] Re: ItemizedOverlay with dynamic items exception problem

2008-09-24 Thread Peter Stevenson
Hi this can be trigger by not create OverlayItem //customized ItemizedOverlay protected class FriendOverLay extends ItemizedOverlayOverlayItem private ListOverlayItem mItemList = new ArrayListOverlayItem(); { public FriendOverLay(Drawable marker) { super(marker); *mItemList.add(new

[android-developers] Re: Drawing on MapView

2008-09-19 Thread Peter Stevenson
Hi Take a look at this code I would like to thank the other member of the group who help getting this code to work thank you mapView = (MapView) findViewById(R.id.map); Drawable defaultMarker = getResources().getDrawable( R.drawable.mappin_red); // You

[android-developers] Re: Using the ItemizedOverlay and OverlayItem

2008-09-03 Thread Peter Stevenson
Chris Chiappone wrote: Marcel, Thanks for that seems to work as you described. The only thing that doesn't seem right is the way the map draws the markers shadow. Any idea on how to correct that. Thanks. On Mon, Sep 1, 2008 at 2:03 PM, marcel-182 [EMAIL PROTECTED] wrote: Hi

[android-developers] Re: Overlay

2008-08-27 Thread Peter Stevenson
Guillaume Perrot wrote: Hi, We're several developers on the mailing list having problems with ItemizedOverlay in v0.9: items are not drawn. Do you use ItemizedOverlay or Overlay ? On 23 août, 02:29, Peter Stevenson [EMAIL PROTECTED] wrote: hi I trying to work out howOverlayworks

[android-developers] Overlay

2008-08-22 Thread Peter Stevenson
hi I trying to work out how Overlay works, any help would be greatly appreciated Peter --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to

[android-developers] new sdk

2008-08-19 Thread Peter Stevenson
when trying to download new sdk for linux which is 91mb sun downland keeps come up with an error When I try down load just with fire fox download manger the file size only 86.7mb please help Peter --~--~-~--~~~---~--~~ You received this message because you are

[android-developers] Re: Mock Location Provider

2008-05-05 Thread Peter Stevenson
scorpio wrote: hi, i am creating a mock location provider for Chennai (India). I created few sentences in nmea file, the locations file and properties file. But i came across some problem . 1. How to get the checkSum value ? 2. using push, shall we can push the folder(test1) to eclipse.

[android-developers] Re: Bug :: Spinner + arrays of numbers in array.xml

2008-04-30 Thread Peter Stevenson
hackbod wrote: The array syntax has been completely reworked for the next release. At that point you can use a new string-array tag to make an array of strings, just like the string tag makes string-only resources. For now, if you put your numbers in quotes, it should work fine. On Apr 28,

[android-developers] Re: Question regarding MapActivity / MapView

2008-03-26 Thread Peter Stevenson
goro wrote: 10x Vikram. I've forgot to set the permissions :(. now it works with the default gps folder. the problem is that it does not work with the test folder. I've created test like this: from the filexploerer in eclipse i've copied the gps folder to the desktop, i've renamed it to