1

I still trying to compile the two samples code from sony: EightPuzzleExtension and MusicPreferenceActivity. These are the steps I did:
1. I installed the sony add-on from the Android SDK Manager as explained here
2. I imported the sample projects following the instructions here
3. I added the Project references SmartExtensionAPI in the SmartExtensionUtils. Now both SmartExtensionAPI and SmartExtensionUtils compile.
4. I added the Project references SmartExtensionAPI and SmartExtensionUtils to the sample projects. But they do not compile yet. Lots of error are solved (this is the first step) but there are still errors related to R class.

I already saw this topic but it is not useful because I cannot find the SmartExtensionInternalUtils. Where they are? How can I get them?

thanks

Community
  • 1
  • 1
Nicola
  • 41
  • 4
  • What errors are you getting in the R class? – Marlin Jun 12 '13 at 19:16
  • You dont need the SmartExtensionInternalUtils. R.java related errors are usually because some error in a XML file. What API version are you building to? Have a look in the XML files for a error. – AlexanderNajafi Jun 20 '13 at 13:09

1 Answers1

0

The PDF file from Sony Developer website says : "Widgets can’t be used in SmartWatch 2 currently. It is recommended that an extension does not register itself as using the Widget API when registering to SmartWatch 2."

Widgets are only supported with SDK 1.0 and the Music player is designed for 1.0. Only have errors on MusicWidgetExtension.java file no ?

Pachanka
  • 492
  • 2
  • 7
  • 19