Thank, Mark! I chose the latter as the name of method as it seemed appropriate.
/Ab On Jul 13, 1:54 pm, Mark Murphy <[email protected]> wrote: > On Wed, Jul 13, 2011 at 4:36 PM, Ab Caballero <[email protected]> wrote: > > My onServiceConnected() code looks like this: > > > public void onServiceConnected(ComponentName className, IBinder > > service) { > > > Log.i("INFO", "Service bound "); > > mBoundService = ((MainService.LocalBinder)service).getService(); > > > } > > > I'm assuming that the binder is mBoundService, which is of type > > MainService. Once I do this, I'm not sure how to pass TRIP_INFO to it. > > My knowledge of binders is slim. > > Implement a method on MainService.LocalBinder named > hereIsYourAllImportantTripInfo() (or whyAreYouMakingThisSoHard(), if > you prefer) that takes TRIP_INFO as a parameter. Call this method. > > -- > Mark Murphy (a Commons > Guy)http://commonsware.com|http://github.com/commonsguyhttp://commonsware.com/blog|http://twitter.com/commonsguy > > Warescription: Three Android Books, Plus Updates, One Low Price! -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

