refresh or reload app using java action in native app

0
Hello there,  I want to refresh or reload the entire native application when the user changes the app language I did it in javascript ( mx.reload() ), how can I do the same in Java action? what is the right code for it?
asked
2 answers
0

Hi ghada,

As far as i know it is not possible to reload a native app from within java code.

A possible solution could be to implement push-notifications to the device, and use javascript to perform the reload of the native application.

answered
0

Without a problem context, it’s impossible to give a correct answer. Why do you want to reload the entire app?

Also, there’s a big difference between Java and JavaScript, so I please tell us your considerations.

answered