Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Researched

Info
titleEmail to Android Developers

Hi Taras,

I'm trying to run Apache Tuscany on Android as part of my Google
Summer of Code project: Incubating and Android in Delft 1. I've run
all the (modified) source code through retrotranslator but still get
"native method not implemented" errors that I believe are related to
the lack of annotations support on the current Android SDK.

To test Apache Tuscany I'm running a modified calculator project
(setup as an Android project) called calculator-android. I have
imported the Apache Tuscany SCA modules and modified code for Android
into an eclipse workspace. Then I'm running retrotranslator from the
command line as shown below. I'm keeping the target code at java 1.5
but get the annotation related errors when running the calculator-
android as an Android Application. The same thing happens when I try
to convert the code to java 1.4.

Code Block
$ java -jar /../retrotranslator-transformer-1.2.6.jar -target 1.5 - 
stripannot -embed support -reflection safe -classpath /../ 
retrotranslator-android-1.2.6.jar -srcdir /../workspace/ -verbose 

Any advice you may have will be greatly appreciated. There's more
details on what I'm currently doing in 2 in case you can help.
Thanks in advance.

1 http://cwiki.apache.org/confluence/display/TUSCANYWIKI/Allow+Google+A...
2 http://cwiki.apache.org/confluence/display/TUSCANYWIKI/30may2008

...