A few tips to solve issues encountered whilst developing gear 2 apps and submitting them to the app store. Some of them are due to the new changes to the samsung app seller office.
Gear 2 Does not Show up in the Tizen Wearable IDE (Connection Explorer)
You have successfully installed the IDE, and and have connected your Gear 2 device , but it does not show up in te Connection explorer as expected. There are a few things you can do to troubleshoot this
– Enable USB debugging on the Gear.
On your gear device, go to Settings, Gear Info , and enable USB debugging
– Download and Install the Samsung USB drivers
You can download it from here .
– Update the Drivers from Device Manager
On your pc, go to Device Manager (you can search for it)
Look for Portable Devices > Gear 2
Right click on the Gear 2 and update driver software > Search automanically for updated driver software. This should finish up the installation and get your gear showing in connection manager.
App Rejected : Screen Goes Off During User Interaction
Normally the device screen should timeout and go off when it isn’t in active use. This is important to save battery life. However, in your apps the screen can legally go off, in the middle of a user interaction. For example, in Gear Ship Shooters, the user can control the ship either by tapping the screen or tilting it. Notice that when in tilt-mode …. ship is cruising, the screen can suddenly go off after a few seconds of no touch interaction. The app was actually rejected because of this. You can solve it using the power api.
Also, dont forget to release this request when that page of your app is done … This is important so that the screen doesnt remain constantly only and drain the device battery. You can put the snippet below when you detect the back button has been pressed .. ie a user is leaving a page.
App Upload : Invalid Package Id
While uploading an update to an existing app on the seller office, I once encountered an error that had to do with an invalid package Id. It says that the update and the original app must have the same package ID. I confirmed that both had in fact the same package id via the config.xml file. It turned out that something else was responsible.
This can be fixed by changing (increasing) the version number of the update in your config.xml file .
App Upload. Invalid Binary.
For linked gear app apks, the following should be added to the AndroidManifest.xml otherwise the invalid binary error will be shown when an attempt is made to upload it.
<meta-data android:name="GearAppType" android:value="wgt" /> <uses-permission android:name=”com.samsung.WATCH_APP_TYPE.Linked_Follower”/>
App Rejected : Incorrect date