android - Why Binder returns null when i bind Service in activity? -


there mainservice , has data member binder , , function member onbind() return binder.
in mainactivity, has member binder too, , has member conn class serviceconnection, , override onserviceconnected() function asign value binder.i bind service : bindservice(intent, conn, service.bind_auto_create), post function in oncreate().however, result binder null.


Comments

Popular posts from this blog

php - cannot display multiple markers in google maps v3 from traceroute result -

c# - DetailsView in ASP.Net - How to add another column on the side/add a control in each row? -

javascript - firefox memory leak -