tag:blogger.com,1999:blog-8214401912480503366.post97479205180613946..comments2023-08-10T13:35:15.093+02:00Comments on My life with Android :-): Invoking servicesGabor Pallerhttp://www.blogger.com/profile/14307475522972458932noreply@blogger.comBlogger15125tag:blogger.com,1999:blog-8214401912480503366.post-87632324063374090562011-08-16T13:16:51.542+02:002011-08-16T13:16:51.542+02:00Sam, have you downloaded the updated version? (lin...Sam, have you downloaded the updated version? (link immediately below the post title)Gabor Pallerhttps://www.blogger.com/profile/14307475522972458932noreply@blogger.comtag:blogger.com,1999:blog-8214401912480503366.post-43723725141912942752011-08-14T01:47:54.185+02:002011-08-14T01:47:54.185+02:00I downloaded and imported both aidlserviceactivity...I downloaded and imported both aidlserviceactivity and aidlserviceclient in eclipse but as soon as I compile there are lots of errors that I can't figure out how to fix them, could you please provide me with step by step instructions on how to get this to work?Samhttps://www.blogger.com/profile/02644138177929849244noreply@blogger.comtag:blogger.com,1999:blog-8214401912480503366.post-71693321990058460982011-04-29T23:12:28.315+02:002011-04-29T23:12:28.315+02:00Terry, could you send me the code? I am curious. g...Terry, could you send me the code? I am curious. gaborpaller@gmail.comGabor Pallerhttps://www.blogger.com/profile/14307475522972458932noreply@blogger.comtag:blogger.com,1999:blog-8214401912480503366.post-40218197547224853972011-04-28T10:57:25.992+02:002011-04-28T10:57:25.992+02:00Really nice article and good example. Somehow in m...Really nice article and good example. Somehow in my app on bindService, I get "Unable to start service Intent {....} not found. I tried using startService() and the service starts, then why with bind I must be facing this probem. Am stuck on this for 2 days, just can't solve out. Can you help or give any guidens, please.<br /><br />ThanksTrupti Daliahttps://www.blogger.com/profile/15777002510800727562noreply@blogger.comtag:blogger.com,1999:blog-8214401912480503366.post-69072745611362737442011-01-18T13:04:49.485+01:002011-01-18T13:04:49.485+01:00Thanks a lot!
I've was totally stuck with AID...Thanks a lot!<br /><br />I've was totally stuck with AIDL for a week. I tried multiple aidl tutorials but I always hit a same error. Your example worked with a simple copy pasting and setting package names correctly.<br /><br />You're my savior ;)Unknownhttps://www.blogger.com/profile/17025014311530178251noreply@blogger.comtag:blogger.com,1999:blog-8214401912480503366.post-23473061263245279802010-08-28T12:57:13.921+02:002010-08-28T12:57:13.921+02:00Hi
Very good tutorial for AIDL.
Helps me alot.Tha...Hi <br />Very good tutorial for AIDL.<br />Helps me alot.Thank yoy very much..<br /><br />Happy ANndroid AIDL..Ramesh Yankatihttps://www.blogger.com/profile/03802711690877098888noreply@blogger.comtag:blogger.com,1999:blog-8214401912480503366.post-9975825806311720462010-08-28T12:55:59.527+02:002010-08-28T12:55:59.527+02:00HI ,
Very good tutorial for AIDL.It helped me alo...HI ,<br /><br />Very good tutorial for AIDL.It helped me alot.<br />Thank you very mcuh.Enjoy AIDL.Ramesh Yankatihttps://www.blogger.com/profile/03802711690877098888noreply@blogger.comtag:blogger.com,1999:blog-8214401912480503366.post-14268793292113289312010-06-25T01:18:00.343+02:002010-06-25T01:18:00.343+02:00thx for the very nice examples. It helps me a lot....thx for the very nice examples. It helps me a lot.<br /><br />best regardsBenjaminnoreply@blogger.comtag:blogger.com,1999:blog-8214401912480503366.post-14646458223376093222010-04-21T16:52:39.899+02:002010-04-21T16:52:39.899+02:00What do you mean that you can't use the same A...What do you mean that you can't use the same AIDL from different applications? You can copy either the AIDL file or the stub compiled from it into your application then you can start using it.Gabor Pallerhttps://www.blogger.com/profile/14307475522972458932noreply@blogger.comtag:blogger.com,1999:blog-8214401912480503366.post-50074397140832300972010-04-20T14:11:24.501+02:002010-04-20T14:11:24.501+02:00hi, this was a really useful post and explains the...hi, this was a really useful post and explains the use of services and the method to create them very beautifully. Although, now while playing around with ur example a bit, i was trying to access a service from multiple applications. The problem i have is i cant use the SAME interface(AIDL) across multiple applications and thus cant talk to the service from my second activity. Is there a way this can be done? I'm able to hook onto the already running service but just cant communicate with it.. Please help..Prafull Sanashttps://www.blogger.com/profile/08651131607721040746noreply@blogger.comtag:blogger.com,1999:blog-8214401912480503366.post-33952846055454786672010-01-16T23:51:05.708+01:002010-01-16T23:51:05.708+01:00Mr. Lee, if you found this article interesting, yo...Mr. Lee, if you found this article interesting, <a href="http://mylifewithandroid.blogspot.com/2010/01/oneway-interfaces.html" rel="nofollow">you may find this other post interesting about oneway interfaces.</a>Gabor Pallerhttps://www.blogger.com/profile/14307475522972458932noreply@blogger.comtag:blogger.com,1999:blog-8214401912480503366.post-3604352252601017672010-01-13T13:13:58.747+01:002010-01-13T13:13:58.747+01:00Dear Mr. Paller,
I'm new to Android. I have go...Dear Mr. Paller,<br />I'm new to Android. I have googled a lot of pages but I couldn't find useful things. Finally I found what I want. :-) This article is very helpful for me. Thanks!!! From Seoul, S.Korea.Lewis Leenoreply@blogger.comtag:blogger.com,1999:blog-8214401912480503366.post-69971477080765647252009-06-23T20:02:18.714+02:002009-06-23T20:02:18.714+02:00"I am also getting same problem.
Service is n..."I am also getting same problem.<br />Service is null. "<br /><br />Please, check the updated version of the example program.Gabor Pallerhttps://www.blogger.com/profile/14307475522972458932noreply@blogger.comtag:blogger.com,1999:blog-8214401912480503366.post-6074889557879716202009-06-16T11:13:34.893+02:002009-06-16T11:13:34.893+02:00I am also getting same problem.
Service is null. H...I am also getting same problem.<br />Service is null. How to solve it?Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-8214401912480503366.post-71898746970622398132008-03-25T09:02:00.000+01:002008-03-25T09:02:00.000+01:00I downloaded the code and tried in android-sdk_m5-...I downloaded the code and tried in android-sdk_m5-rc15_windows.<BR/>I encounter a problem in invoking service<BR/><BR/><BR/>private void invokeService( int i1, int i2 ) {<BR/>TextView t = (TextView)findViewById(R.id.invokeserv_result);<BR/>if( service == null ){}<BR/> t.setText( "Service not available" );<BR/><BR/><BR/>Although bindService( i, conn, Context.BIND_AUTO_CREATE) return ture, Service is still null.Charlotte https://www.blogger.com/profile/13397293754011611749noreply@blogger.com