> 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 resolution problem. Look at LogCat at the
warning level and see if you get any messages from Android saying that it
could not resolve some Intent. You can also confirm that your service has
an <intent-filter> with an action that is equivalent to
ITestInterface.class.getName().

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com
Android App Developer Books: http://commonsware.com/books.html


-- 
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

Reply via email to