Start and Stop the Service by using USB Mount/UMount

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Start and Stop the Service by using USB Mount/UMount

774件の閲覧回数
vinothkumars
Senior Contributor IV

Dear NXP,

 

I am working on developing the Android service (BSP) in Android 9, it will run boot time. I configured this in init.rc. 

 

Now, service run properly at Android booting. But, I needs to configure the service to start and stop when USB Stick Mount/UMount time.

 

1)  When USB Stick Connected

USB Mounted == 1

      start service

2) When USB Stick Disconnected

USB UMount ==1

     stop service

 

I need to implement this logic in init.rc file.

 

 

 

Thanks & Regards,

VInothS,

Regards,
Vinothkumar Sekar
ラベル(2)
0 件の賞賛
返信
1 返信

707件の閲覧回数
diegoadrian
NXP Employee
NXP Employee

Hello,

Unfortunately, the free support does not cover the implementation of Android services. If you want to add a new service, I suggest you go with professional service support.

Professional Support for Processors and Microcontrollers | NXP 

Best regards,

Diego.

0 件の賞賛
返信