1

I have been assigned one project of Android, but before taking it I need your advice. I have following low level features

  1. I need to hide whole operating system in android and only show my application, even device reboot or reset whenever it start it will show only my application. There is no way to access internal operating system, as App will take whole control.
  2. It has one special switch outside device used to turn on/off display
  3. It has another switch to access settings of application. only this switch can allow to go app setting. But Operating system in now way can be seen.

Is this possible to be done in Android version 4 as I heard that after Froyo we can’t do this. I have no issue in compiling operating system and putting mine compiled as application is specific for some specific device. Please advice what version is suitable for this. Please advice me if this can be done in Java or needed more advance c++

W I Z A R D
  • 1,224
  • 3
  • 17
  • 44
Kamal Panhwar
  • 2,345
  • 3
  • 21
  • 37

1 Answers1

1

It is possible if your device is rooted.

You have to install your application as a launcher app. In manifest file, Please add below intent filer with your MainActivity to make it launcher.

<intent-filter>
        <action android:name="android.intent.action.MAIN" />
        <category android:name="android.intent.category.LAUNCHER" />
        <category android:name="android.intent.category.DEFAULT" />
        <category android:name="android.intent.category.HOME" />
</intent-filter>

remove launcher2.apk and launcher2.odex file from the /system/app folder (Please take a backup of this files before deleting) and reboot your device.

I do it many times with my device and its works perfectly.

  • 1
    also you have to make sure user can not install other launcher app. if OS find more than 1 launcher app than it will allow all Os app. – Mr. Borad May 19 '15 at 08:18