03-28-2011 11:13 AM
Hi,
we are trying to build an xmpp client, the problem we are facing is there arent any good xmpp libraries written over J2ME... and we want a look and feel of JAVA native app and avoid html + css based UI
so we are trying this approach
what we are doing :
1) a java Ui Application, posting global Events for any network related xmpp tasks
2) a webworks application to run in background listening to these globalEvents with the help of javascript extension mechanism and using dojox.xmpp
so my questions:
1) Is it feasible ?
2) can globalEvents be published and listen from a Webworks application ?
3) off topic : can a JAVA UI be embeded into a webworks application ?
any help is highly appreciated ![]()
Regards
Sariputra
03-28-2011 01:09 PM
i was implementing the 2 app model, and was wondering how would a WebWorks app listen to events published by other apps. what do i exactly write inside the eventOccurred of a GlobalEventListner implementation
please help
Regards
Sari
03-28-2011 03:02 PM
after doing some research on this topic, i bumped up to the source code of of WebWorks RTM 2.0
and went thru the code base of
WebWorks / api / app / src / blackberry / app / event / AppEventNamespace.java
on github and was going thru the mechnism used to provide api's like onExit onBackground and all
(which was my problem in the previous post)
i see the OnAppEvent Constructor takes An eventId param, which i see is not used anywhere
so i was wondering if i can use this code base to provide a mechanism to subscribe to custom events published by other application
there is still a lot of grey area..
looking for some help
Regards
Sari
03-29-2011 07:06 AM
i went thru the source code of webworks and would like to modify it a bit.. packaging inteructions are not updated on README on github.. when does RIM plans to publish it ??