robotoworks / mechanoid

Eclipse plugin providing a set of DSL's for the rapid development of Android apps
58 stars 26 forks source link

Library and App with Mechanoid #236

Closed hannesa2 closed 10 years ago

hannesa2 commented 10 years ago

I try to build a lib with mechanoid operations, REST communication and db storage. How to register services ? In AndroidManifest.xml of lib or AndroidManifest.xml of App ?

I figured out that in

 ReflectUtil.loadClassSilently(ClassLoader cl, String name) 

the class can't be loaded. But in

PackageInfo info = pm.getPackageInfo(packageName,PackageManager.GET_SERVICES);          
ServiceInfo[] services = info.services;

it is listed. Do you I need a .aidl file or how to use my lib in my app. Do you have any experiences about this or any hints for me ?

Any help would be great , thank you !

hannesa2 commented 10 years ago

Works like a charm if I follow the documentation