java - PebbleKit.registerReceivedDataHandler() is undefined in Eclipse -


eclipse not recognize registerreceiveddatahandler method of pebblekit. have included following imports java file:

import com.getpebble.android.kit.*; import com.getpebble.android.kit.util.*; 

and have installed pebblekit-3.0.0-eclipse.jar in libs directory , added build path (it shows in java build path/libraries).

eclipse reports "the constructor pebblekit.pebbledatareceiver() undefined".

the methods exposed in intellisense are:

pebbledatareceiver, firmwareversioninfo, pebbleackreceiver, pebbledatalogreceiver, pebblenackrerceiver. 

i able use of pebblekit library since can send messages java file watch with:

pebblekit.senddatatopebble(getapplicationcontext(), tactician_uuid, data); 

i have posted query in pebble sdk forum well, no response.

eclipse luna windows 7

any suggestions please?

interesting. haven't used eclipse, i've never had issues using android studio. have tried importing ctrl + shift + o instead of including them manually?


Comments

Popular posts from this blog

android - questions about switching from C2DM to GCM -

c++ - Qt setGeometry: Unable to set geometry -

batch file - How to extract all multi-volume RAR archives from subfolders of a folder? -