Hi,
I created remote service and wanted to get the data from MyActivity's
onCreate().
Below bindService returns true but ServiceConnection() is not called.
Hence testService remains null and I couldn't get the data I want from
onCreate.
Any Suggestion?
public class MyActivity extends Activity
Hi,
I created remote service and wanted to get the data from MyActivity's
onCreate().
Below bindService returns true but ServiceConnection() is not called.
Hence testService remains null and I couldn't get the data I want from
onCreate.
Any Suggestion?
Most likely, there is an Intent
Hi Mark,
I observed that after calling bindService in onCreate we should not call the
interface methods as ServiceConnection() runs after onCreate(maybe
bindService puts serviceConnection in queue).
Hence after calling interface method inside onServiceConnected its working
fine.
Thanks
On
3 matches
Mail list logo