Hi Oscar.
I've found out later that i was missing a ultimate package. I've already
added it, and i'll need to re-publish it. It seems also like u won't only
need the android.jar but the full sdk within which it has been built. In
fact i've built it under ubuntu. As eclipse froze there, i just moved the
android.jar to vista, and only at runtime under android, it complains about
missing classes. I'll try to upload a zip version of the sdk during the
weekend when i'll get back to my computer.
To test it, here are the steps i followed:
- Generate jar files for all tuscany's modules
- Android's dx utility will fire errors later (when generating dex) on
duplicate entries like (license, notice, .properties,
definition.xml files).
What i did, is rename each of the files, and rebuild the
corresponding jar.
- Create a new Android project
- Import sample calculator sources in it
- Perform CalculatorClient operations in the Oncreate methode of the
android project's main activity
- replace System.out.print by Log.e
- Add all tuscany's jar to the build path
- Add all tuscany dependencies which doesn't include javax packages.
There i am currently. And because i'm having trouble starting eclipse under
ubuntu ( a blank modal dialog just popup at start and nothing more), and
also fixing last stuffs at school.
2009/7/9 Oscar Castañeda <[email protected]>
> Hi Lookman,
>
> How should I test this?
>
> I placed your Android.jar in my workspace and tested with the last version
> I had from March. I received the errors shown below. However, I believe
> there might be other steps which I am missing. Please let me know how I
> should test this, some steps for example would be helpful.
>
> 07-09 13:13:15.736: ERROR/AndroidRuntime(324): Uncaught handler: thread
> main exiting due to uncaught exception
> 07-09 13:13:15.955: ERROR/AndroidRuntime(324): java.lang.VerifyError:
> org.apache.tuscany.sca.host.embedded.impl.DefaultSCADomain
> 07-09 13:13:15.955: ERROR/AndroidRuntime(324): at
> org.apache.tuscany.sca.host.embedded.SCADomain.createNewInstance(SCADomain.java:183)
> 07-09 13:13:15.955: ERROR/AndroidRuntime(324): at
> org.apache.tuscany.sca.host.embedded.SCADomain.newInstance(SCADomain.java:63)
> 07-09 13:13:15.955: ERROR/AndroidRuntime(324): at
> calculator.android.CalculatorClient.onCreate(CalculatorClient.java:183)
> 07-09 13:13:15.955: ERROR/AndroidRuntime(324): at
> android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1122)
> 07-09 13:13:15.955: ERROR/AndroidRuntime(324): at
> android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2104)
> 07-09 13:13:15.955: ERROR/AndroidRuntime(324): at
> android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2157)
> 07-09 13:13:15.955: ERROR/AndroidRuntime(324): at
> android.app.ActivityThread.access$1800(ActivityThread.java:112)
> 07-09 13:13:15.955: ERROR/AndroidRuntime(324): at
> android.app.ActivityThread$H.handleMessage(ActivityThread.java:1581)
> 07-09 13:13:15.955: ERROR/AndroidRuntime(324): at
> android.os.Handler.dispatchMessage(Handler.java:88)
> 07-09 13:13:15.955: ERROR/AndroidRuntime(324): at
> android.os.Looper.loop(Looper.java:123)
> 07-09 13:13:15.955: ERROR/AndroidRuntime(324): at
> android.app.ActivityThread.main(ActivityThread.java:3739)
> 07-09 13:13:15.955: ERROR/AndroidRuntime(324): at
> java.lang.reflect.Method.invokeNative(Native Method)
> 07-09 13:13:15.955: ERROR/AndroidRuntime(324): at
> java.lang.reflect.Method.invoke(Method.java:515)
> 07-09 13:13:15.955: ERROR/AndroidRuntime(324): at
> com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:739)
> 07-09 13:13:15.955: ERROR/AndroidRuntime(324): at
> com.android.internal.os.ZygoteInit.main(ZygoteInit.java:497)
> 07-09 13:13:15.955: ERROR/AndroidRuntime(324): at
> dalvik.system.NativeStart.main(Native Method)
>
>
>
> On Mon, Jul 6, 2009 at 12:15 PM, lookman sanni <[email protected]>wrote:
>
>> Hi all.
>> After weeks of building and tweaking android sources, i finally end up
>> with an android.jar, which contains necessary sub packages from javax
>> (activation ,annotation, transaction, jws, xml.ws, xml.bind,
>> xml.stream,....). I hope and guess that now thing would get more easier as
>> we won't need anymore to import javax subclasses, what made dx fires an
>> attempt to include the core library from a desktop virtual machine into an
>> application.
>>
>> --
>> Best Regards
>>
>> Lookman SANNI
>> http://blog.lookouster.org
>> MSBI Intern at Umanis Tours Services;
>>
>
>
>
> --
> best,
> -oscar
>
> Oscar Castañeda
> http://people.apache.org/~ocastaneda
>
--
Best Regards
Lookman SANNI
http://blog.lookouster.org
MSBI Intern at Umanis Tours Services;