Lew, No the JAR is not set up as a Library project, as all I have is, compile the classes using javac and then bundle them into a jar using jar builder.
By "nothing specific to android", I meant the classes used within the service, other than the obvious service class. I did not have this service class before and there is a singleton factory class that the app was using to instantiate. Now I have moved the factory instantiation into the service class. I want the app to just bind to the service, so the factory instantiation happens in the background within the service. RK On Monday, February 11, 2013 2:02:43 PM UTC-8, Lew wrote: > > RKSHR wrote: > >> I did make sure that there were no R.xx classes in the service, infact I >> dont need any resources in the service. I did double check again and >> nothing was present, although an import definition to resources class was >> left there. I wasn't sure if it would make a difference, but I removed >> that definition anyway and recompiled the jar without any different result. >> The application loading the jar, still cannot bind to the service. The >> service is a very simple class that just instantiates a set of regular java >> classes (nothing specific to Android). I'm not even able to debug into the >> service, I have a break point at onStart() and onCreate() methods and it >> never falls there. I will continue looking. .thanks. > > > "nothing specific to Android" is obviously false since there's a service > class in there. > > Is the JAR source set up as an Android library project? > > -- > Lew > > -- -- 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 --- You received this message because you are subscribed to the Google Groups "Android Developers" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.

