请教如何让stk显示出来,在bsp中如何设置,编译出stk.apk

解决方案 »

  1.   

    Step One:
     
     “STK” need to be added into PRODUCT_PACKAGES list in device/[yourDeviceName]/[codeName]/[codeName].mk.Step Tow:
     
      Go to stk project ,find Android.mk file, add "include $(call all-makefiles-under,$(LOCAL_PATH))"After the two steps, you need clean build(clean the out folder),then you will see the stk.apk after built.
      

  2.   

    在可生成stk.apk后,如果显示不出来stk,还需要对应修改下它的AndroidManifest.xml:
          <application android:icon="@drawable/ic_launcher_sim_toolkit"
            android:label="@string/app_name"
            android:process="com.android.phone">
           <!-- android:clearTaskOnLaunch="true" -->    // 去掉这句
            <activity android:name="StkLauncherActivity"
              android:label="@string/app_name"
              android:enabled="true" >                   // 改为true重新编译后,stk就可以出现在手机里面了。