2013-02-05 123 views
2

我已經學習了索尼Smartwatch MN2的情侶一週。我仍然沒有得到如何使用他們的SDK來安裝一個新的apk文件。 apk文件是由我編程的。它可以在Android手機上工作。如果有人知道如何和願意幫助我。我會非常感激。索尼Xperia Smartwatch MN2如何在其上安裝Apk文件?

這是我的清單代碼。

<?xml version="1.0" encoding="utf-8"?> 
<manifest xmlns:android="http://schemas.android.com/apk/res/android" 
package="com.example.samplepreferenceactivity2" 
android:versionCode="1" 
android:versionName="1.0" > 

<uses-sdk 
android:minSdkVersion="8" 
android:targetSdkVersion="17" /> 
<uses-permission 
android:name="com.sonyericsson.extras.liveware.aef.EXTENSION_PERMISSION"/> 
<application 
android:allowBackup="true" 
android:icon="@drawable/ic_launcher" 
android:label="@string/app_name" 
android:theme="@style/BaseStyle" > 
<activity 
android:name="SamplePreferenceActivity" 
android:label="@string/app_name" > 
<intent-filter> 
<action android:name="android.intent.action.MAIN" /> 
<category android:name="android.intent.category.LAUNCHER" /> 
</intent-filter> 
</activity> 
<service android:name="SampleExtensionService" /> 
<receiver    android:name="com.sonyericsson.extras.liveware.extension.sensorsample.ExtensionReceiver"  android:exported="false"> 
<intent-filter> 
<!-- Generic extension intents. --> 
<action android:name="com.sonyericsson.extras.liveware.aef.registration.EXTENSION_REGISTER_REQUEST" /> 
<action android:name="com.sonyericsson.extras.liveware.aef.registration.ACCESSORY_CONNECTION"/> 
<action android:name="android.intent.action.LOCALE_CHANGED" /> 
<!-- Notification intents --> 
<action  android:name="com.sonyericsson.extras.liveware.aef.notification.VIEW_EVENT_DETAIL"/> 
<action android:name="com.sonyericsson.extras.liveware.aef.notification.REFRESH_REQUEST"/> 
<!-- Widget intents --> 
<action android:name="com.sonyericsson.extras.aef.widget.START_REFRESH_IMAGE_REQUEST"/> 
<action android:name="com.sonyericsson.extras.aef.widget.STOP_REFRESH_IMAGE_REQUEST"/> 
<action android:name="com.sonyericsson.extras.aef.widget.ONTOUCH"/> 
<action android:name="com.sonyericsson.extras.liveware.extension.util.widget.scheduled.refresh"/> 

<!-- Control intents --> 
<action android:name="com.sonyericsson.extras.aef.control.START"/> 
<action android:name="com.sonyericsson.extras.aef.control.STOP"/> 
<action android:name="com.sonyericsson.extras.aef.control.PAUSE"/> 
<action android:name="com.sonyericsson.extras.aef.control.RESUME"/> 
<action android:name="com.sonyericsson.extras.aef.control.ERROR"/> 
<action android:name="com.sonyericsson.extras.aef.control.KEY_EVENT"/> 
<action android:name="com.sonyericsson.extras.aef.control.TOUCH_EVENT"/> 
<action android:name="com.sonyericsson.extras.aef.control.SWIPE_EVENT"/> 
</intent-filter> 
</receiver> 
</application> 
</manifest> 

回答

1

由於SmartWatch主機進程在設備本身上運行,APK安裝在手機本身上。

這裏是一個快速清單,使其工作,並顯示它的的SmartWatch:

請讓我知道如果不清楚,請隨時索取更多解釋。

+0

我遵循了你的步驟,但我創建的應用程序沒有出現在Smartconnect應用程序中。 – user2015137

+0

您可以通過截圖解釋您在Smartconnect中尋找應用程序的位置嗎? – Anup

+0

我的聲望不足以發佈圖片。我把它放在ImageShack上。 http://imageshack.us/photo/my-images/443/img0743t.jpg/ – user2015137