[android-developers] Re: calling finish() on a subactivity

2009-12-04 Thread mrloz
If you start activity B with an intent like so: Intent i=new Intent(ActivityA.this, ActivityB.class); startActivity(i); You should be able to simply put finish() after startActivity like so: ... startActivity(i); finish(); Should work exactly as you state. The launch of activity B pauses A and

[android-developers] Re: Rotating in content gets clipped

2009-10-25 Thread mrloz
You'll need to detect the rotate of the screen, and then when it's rotated adjust your code so that the location of your circles is correct for the rotated view (i.e the canvas is wider than tall now). The usual state of android apps is that they get killed and restarted when the screen rotates,

[android-developers] Re: how to get the postal addressed in Contacts

2009-10-25 Thread mrloz
I believe you use the contacts as data source for a reciever, so you read from them a bit like reading from an SQLite db, you also need to have the permission in your manifest. I can't remember the exact nature, but it's not quite an API, it's more about how you access data from other application

[android-developers] Re: Speech Bubble on MapView

2009-10-08 Thread mrloz
nd bung something up on google code (ironically).. J. On Oct 8, 3:17 pm, Mark Murphy wrote: > mrloz wrote: > > I know google maps isn't open, but the same/similar api on the iphone > > allows for users to develop consistent apps, so the popup on pins in > > goog

[android-developers] Re: Speech Bubble on MapView

2009-10-07 Thread mrloz
Hi Mark. I know google maps isn't open, but the same/similar api on the iphone allows for users to develop consistent apps, so the popup on pins in google maps look exactly the same in custom apps. The whole platform's closed there, but consistency is possible without having to reinvent the whee

[android-developers] Speech Bubble on MapView

2009-10-07 Thread mrloz
Hi there, I've looked through the documentation but can't seem to find any references that indicate how to get a speech bubble type pop-up on a MapView. I want to show a "tooltip" for a pin on my map, then to click on the bubble to launch my Intent. This is pretty much what the google maps app

[android-developers] MapView bounds changed

2009-10-06 Thread mrloz
Hi There. I'm really struggling to get my app notified when the area being viewed has changed. There appears to be no handler built in to the class, so all I've been able to do is extend MapView and catch it in either getProjection() or onTouchEvent() The problem I have is that I'm changing the