Trace:
Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
|
applications:push_support [2022/11/29 12:21] admin |
applications:push_support [2022/11/29 12:28] (current) admin |
||
|---|---|---|---|
| Line 2: | Line 2: | ||
| ~~Title: Push support~~ | ~~Title: Push support~~ | ||
| - | There's already a [[jvx:communication:push_support|push mechanism]] in JVx. In ProjX based applications it's easier to handle messages, because ProjX already is a listener. Simply extend ProjX: | + | There's already a [[jvx:communication:push_support|push mechanism]] in JVx. Simply use this article and ignore the instructions for the listener registration because ProjX already is a listener. Simply extend ProjX: |
| <file java> | <file java> | ||
| - | public class MyApplication extends ProjX | + | public class CustomApplication extends ProjX |
| { | { | ||
| - | public MyApplication(UILauncher pLauncher) throws Throwable | + | public CustomApplication(UILauncher pLauncher) throws Throwable |
| { | { | ||
| super(pLauncher); | super(pLauncher); | ||
| Line 29: | Line 29: | ||
| } | } | ||
| </file> | </file> | ||
| + | |||
| + | Don't forget to configure your ''CustomApplication'' in **web.xml** and/or **mobile.xml**. Otherwise your application won't be used. | ||
