commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jakob Sachse <jako...@gmail.com>
Subject Re: commons.scxml on google android
Date Wed, 01 Oct 2008 18:53:11 GMT
Hello,

today i created such a patch. The only issue I have with it, is that I
don't know how to append binary files to it. I created a folder for my
referenced files and added also some binary files (pictures, a jar) to
it. How can I append them to the JIRA issue report?

Thanks
-Jakob

Rahul Akolkar schrieb:
> On Mon, Sep 29, 2008 at 5:02 PM, Jakob Sachse <jakobsa@gmail.com> wrote:
>> Hello,
>>
>> I have been working on getting commons.scxml running on android. Today I
>> got the stopwatch up and running.
> <snip/>
> 
> This is neat, thanks for sharing!
> 
> If you want to write up a slightly more involved recipe / how to, we'd
> be happy to post an Android "platform usecase / tutorial" on the
> usecases part of the Commons SCXML website. So, there would be a link
> from this page ...
> 
>   http://commons.apache.org/scxml/usecases.html
> 
> ... to a new page about setting up for Android that you would
> contribute, with pictures et al, if you are so willing. To do that,
> you can check out the Commons SCXML source [1] (the website sources
> are in the xdocs/ folder) and attach a patch [2] to JIRA [3] (you may
> know all this already :-).
> 
> If you decide you want to contribute such a tutorial, I'd suggest
> filing a Contributor License Agreement (CLA) [4] with the ASF first
> (either fax or mail it in, its a one-time thing across all ASF
> projects) -- this is what the ASF uses to track code provenance. If
> you have any questions about it, let us know.
> 
> -Rahul
> 
> [1] http://commons.apache.org/scxml/source-repository.html
> [2] http://commons.apache.org/patches.html
> [3] http://commons.apache.org/scxml/issue-tracking.html
> [4] http://www.apache.org/licenses/icla.txt
> 
> 
> 
>> Since Android does not provide a full
>> j2se I had to deploy / modify lots of libraries.
>>
>> i.e. i used apache harmony for getting a java.beans implementation.
>>
>> I had to modify java.beans and org.commons.harmony.beans classes to get
>> rid of dependencies to java.awt and java.swing.
>>
>> I created a jar named scxmlAndroidDependencies.jar that holds all
>> modified packages.
>>
>> I did some screenshots of the stopwatch, you can find them here:
>>
>> http://ostblock.kicks-ass.net/scxmlOnAndroid/android_1.jpg
>> http://ostblock.kicks-ass.net/scxmlOnAndroid/android_2.jpg
>> http://ostblock.kicks-ass.net/scxmlOnAndroid/android_3.jpg
>> http://ostblock.kicks-ass.net/scxmlOnAndroid/android_4.jpg
>>
>> Also you can get the eclipse project I worked on. I uploaded it since my
>> webserver just has a dsl uplink.
>>
>> http://www.FreeUploadShare.com/DOWNLOAD/3e5dc1319/scxmlOnAndroid_eclipse_project.zip
>>
>> Plase use the ant script to build the project, the ADT plugin will not
>> tranfere java.* package classes to .dex due to a missing --core-library
>> option. The project is based on Google Android SDK 1.0_r1.
>>
>> The project justs includes the library binaries, if someone is
>> interested in the sources let me know. I'll upload them as well.
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
>> For additional commands, e-mail: dev-help@commons.apache.org
>>
>>
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
> For additional commands, e-mail: dev-help@commons.apache.org
> 
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
For additional commands, e-mail: dev-help@commons.apache.org


Mime
View raw message