Discussion:
[jboss-user] [jBPM] - Service Tasks for Android
Lenka Šišková
2013-05-20 11:08:48 UTC
Permalink
Lenka Šišková [https://community.jboss.org/people/lenka.s] created the discussion

"Service Tasks for Android"

To view the discussion, visit: https://community.jboss.org/message/818446#818446

--------------------------------------------------------------
Hi there,
I am from Slovakia and I am studying in Brno on Faculty of Informatics. This year I was writing my bachelor thesis on topic Business processes demonstration for Android platform. In practical part of my thesis I made three Service Tasks using Android libraries. First one get current location, second one send SMS with latitude and longitude on default number and the last one add scheduled event to calendar. I tested them on real devices and they worked just fine, but those test processes was created using API, not BPMN editor. I hope my work will be an inspiration for at least some of you for creating your own service tasks for Android and maybe one day there will repository full of tasks for Android.

Source code can be find im my Github repository (link below). This repository contains config files and handlers for those task, short html page with informations about each of them and my test apps.ff


Feel free to use them or change them in any way you need :)

Lenka

P.S. promissed link: https://github.com/lenka8d/tasks.git https://github.com/lenka8d/tasks.git
--------------------------------------------------------------

Reply to this message by going to Community
[https://community.jboss.org/message/818446#818446]

Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]
Mauricio Salatino
2013-05-20 11:15:33 UTC
Permalink
Mauricio Salatino [https://community.jboss.org/people/salaboy21] created the discussion

"Re: Service Tasks for Android"

To view the discussion, visit: https://community.jboss.org/message/818447#818447

--------------------------------------------------------------
Hi Lenka,
That sounds really good but looking at your repository I didn't found the Handlers, can you elaborate a little bit more about what your project is doing?

I'm also looking forward to create a repository full of handlers, but I'm not sure to understand where those handlers are. Can you elaborate also a little bit more about how your process should look like? or where is your process defined?

Cheers
--------------------------------------------------------------

Reply to this message by going to Community
[https://community.jboss.org/message/818447#818447]

Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]
Lenka Šišková
2013-05-20 11:24:26 UTC
Permalink
Lenka Šišková [https://community.jboss.org/people/lenka.s] created the discussion

"Re: Service Tasks for Android"

To view the discussion, visit: https://community.jboss.org/message/818449#818449

--------------------------------------------------------------
Hi,
implementation of handlers can be found i folder Tasks/NAMEOFTASK/lib/file.jar, in this jar file is handler.java and handler.class files. For testing, there were created only simple executable processes consisting of start node, end node and two service tasks, but for demonstration I made 2 processes using this tasks:
Loading Image... Loading Image...
Loading Image... Loading Image...
Lenka
--------------------------------------------------------------

Reply to this message by going to Community
[https://community.jboss.org/message/818449#818449]

Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]
Mauricio Salatino
2013-05-20 11:51:50 UTC
Permalink
Mauricio Salatino [https://community.jboss.org/people/salaboy21] created the discussion

"Re: Service Tasks for Android"

To view the discussion, visit: https://community.jboss.org/message/818452#818452

--------------------------------------------------------------
Hi Lenka,
Those use cases looks great, but you should share the source code of the handlers instead of the compiled jars inside your github repository. If you intend that someone else use them, you need to make available the source code, so it can be easily modified.

Cheers
--------------------------------------------------------------

Reply to this message by going to Community
[https://community.jboss.org/message/818452#818452]

Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]
Loading...