title: Building android app as AOSP app
body: <p>I want to build and embed my android application in AOSP code. My objective is to grant all system level permission to my application so that i can access system level permissions.</p>
  
  <p>I have added following flags in my application's AndroidManifest.xml file -</p>
  
  <pre><code>coreApp="true"
  android:sharedUserId="android.uid.system"
  </code></pre>
  
  <p>Following is my Android.mk-</p>
  
  <pre><code>LOCAL_PATH := $(call my-dir)
  include $(CLEAR_VARS)
  LOCAL_MODULE_TAGS := optional
  LOCAL_MODULE := TestApp
  LOCAL_CERTIFICATE := platform
  LOCAL_SRC_FILES := $(call all-java-files-under, src)
  LOCAL_MODULE_CLASS := APPS
  LOCAL_MODULE_SUFFIX := $(COMMON_ANDROID_PACKAGE_SUFFIX)
  include $(BUILD_PREBUILT)
  </code></pre>
  
  <p>But still i am not able to see my application in the installed application list!!
  Any idea how to do it?</p>