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

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

javascript - firefox memory leak -

Trying to import CSV file to a SQL Server database using asp.net and c# - can't find what I'm missing -