Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 290

Using SAP Cordova Events in SAPUI5 App which placed in Fiori launchpad

$
0
0

Hello all,

 

 

i have a problem with native back button on android device, i have found the solution in cordova events, which work in SAP Fiori client

where is posible to rewrite default native back button. That is cool.

 

But it uses DOM event handler, which is not recommended in SAPUI5 SDK - Demo Kit:

 

"

document.addEventListener("backbutton",onBackKeyDown,false);

functiononBackKeyDown(){
   // Handle the back button
}

"

 

 

 

Does anyone have some experience with this? and how can you solve this.

Thanks for your answers.

 

 

Vojta


Viewing all articles
Browse latest Browse all 290

Trending Articles