[android-developers] Re: startService() fails

2008-11-05 Thread donm
Hi Hackbod, thanks for your reply. I finally made it work. The Component name was wrong and also s.th. with the packages. Checking the logs was a good advice! So long, Martin On Oct 29, 5:19 pm, hackbod [EMAIL PROTECTED] wrote: Whatever is going on has nothing to do with AIDL, since

[android-developers] startService() fails

2008-10-29 Thread donm
Hello, I want to share an example Service in Android. The AIDL-file looks like this: package dom.da; interface RNS { int[] getRandomNumbers(int amount); } I created the RNS Interface and implemented it in RemoteService.java: package dom.da; import android.app.Service; import

[android-developers] Re: aidl problem to import java.lang.Integer

2008-10-12 Thread donm
Hi, thanks to all for those hints! I'll try again. It's a bit hard to learn Java and the Adroid at the same time. MartinD: --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this

[android-developers] aidl problem to import java.lang.Integer

2008-10-11 Thread donm
Hi there, I am starting to feel a bit silly. All I want to do is create an interface from a simple AIDL-File: package dom.da; interface RNS { Integer getAccountBalance(); } When I compile it, I get: $ aidl RNS.aidl RNS.aidl:3 unknown return type Integer When I add an import like this:

[android-developers] Re: aidl problem to import java.lang.Integer

2008-10-11 Thread donm
Hi Mark, On Oct 11, 9:27 pm, Mark Murphy [EMAIL PROTECTED] wrote: Try int instead of Integer. thanks for the answer. I should have mentioned that I want to put the Integer into a Map and for that they need to be an object. MartinD: --~--~-~--~~~---~--~~ You