[android-porting] Re: Adding new module to android framework

2013-05-13 Thread shridutt kothari
Hi Prasad, Texas has explained this in very good way here @ http://processors.wiki.ti.com/index.php/Android-Adding_SystemService. I have tested the procedure. Some useful related links for this are : https://github.com/CyanogenMod/android_frameworks_base/commit/88fff90131f54d45dc496c45127ac1d16a

[android-porting] Re: Adding new module to android framework

2013-05-17 Thread Prasad
Hi Shridutt, 1. As you said in mail I created Manager class in below path framework/base/core/java/android/os/my_manager.java/ 2. I created .aidl in same above path and I registered .aidl file in Framework/base/Android.mk 3. I created Service class in this path f

[android-porting] Re: Adding new module to android framework

2013-05-24 Thread shridutt kothari
Hi Shiv, For more details please my blog @ http://shriduttkothari.blogspot.in/2013/05/adding-new-system-service-in-android_24.html let me know if you still face any issues. Thanks, Shridutt Kothari Impetus Infotech On Friday, May 17, 2013 7:06:39 PM UTC+5:30, Prasad wrote: > > Hi Shridutt,

[android-porting] Re: Adding new module to android framework

2013-05-24 Thread shridutt kothari
Hi Shiv, Sorry for late response, i was little busy, I think you have not putted registerService("service_name", new ServiceFetcher() { public Object createService(ContextImpl ctx) { return new your_service_manager(); }}); in the static block inside ContextI

Re: [android-porting] Re: Adding new module to android framework

2013-05-25 Thread Shivaprasad Imdapur
Hi Shridutt, Thanks a lot for your continues support and help.. I tried with above mechanism which you mentioned in your blog.. Still I have problems. 1. In my Manager class there is a method which returns int data type like below public int dataFromService() { if (mServ

Re: [android-porting] Re: Adding new module to android framework

2013-05-27 Thread Shivaprasad Imdapur
Hi Shridutta, Very nice blog. It works for me . Thanks a lot ::) Thanks Shiv On Fri, May 24, 2013 at 9:45 PM, shridutt kothari wrote: > Hi Shiv, > > For more details please my blog @ > http://shriduttkothari.blogspot.in/2013/05/adding-new-system-service-in-android_24.html > > > let me kn