AmarinoIntent Error

28 views
Skip to first unread message

Colecago

unread,
Aug 11, 2010, 5:57:06 PM8/11/10
to Amarino Toolkit
Whenever I try to follow the example of doing my own plugin, I always
get errors on amarinointent, even if I run the finished code on the
bottom of this page
http://www.amarino-toolkit.net/index.php/plug-in.html

I am using eclipse, I have the amarino jar file in my eclipse plugin
folder as well as added to the build path. I have the plugin and
amarino2 apk's dled, but don't know what to do with them. And here
are the errors I get

AmarinoIntent cannot be resolved (14 times)
Class earth.amarino.plugin.time.InfoActivity does not exist

What am I missing here?

Bonifaz

unread,
Aug 12, 2010, 3:39:23 AM8/12/10
to Amarino Toolkit
Check your AndroidManifest.xml file and see if your InfoActivity is
correctly definied.
You should not change the InfoActivity part, but use the same as you
can find it in the Skeleton files.
Here is how it looks. I suppose you changed the android:name to
"earth.amarino.plugin.time.InfoActivity".
Simply put in "at.abraxas.amarino.plugin.InfoActivity"

Because the InfoActivity is included into the Amarino Library you need
to address the library and not your own package.

<!-- ### InfoActivity ### -->
<activity android:name="at.abraxas.amarino.plugin.InfoActivity"
android:label="@string/app_name"
android:icon="@drawable/icon">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.INFO" /
>
</intent-filter>
</activity>


Sorry if the documentation was misleading in that sense.
Bonifaz


On Aug 11, 11:57 pm, Colecago <colec...@gmail.com> wrote:
> Whenever I try to follow the example of doing my own plugin, I always
> get errors on amarinointent, even if I run the finished code on the
> bottom of this pagehttp://www.amarino-toolkit.net/index.php/plug-in.html

Colecago

unread,
Aug 12, 2010, 9:20:39 AM8/12/10
to Amarino Toolkit
Ah, okay, that fixed the class error, then I had to import
at.abraxas.amarino.amarinointent
I tried importing the amarinoplugintime example project directly from
the finished on on the website as I was having problems with the
skeletonplugin, but something must have gone awry on my end. Well
thanks
Reply all
Reply to author
Forward
0 new messages