Skip to content Skip to sidebar Skip to footer

How To Pass Parameters In Android Phonegap Application

For the first time i am trying my hand On Android Phonegap application.For the same i am designing a sample application where i have to pass some parameters from one HTML page to a

Solution 1:

You can use local storage in phonegap (set on first page)

  window.localStorage.setItem("key", $("h3").text());

For get the local storage use(set on second page)

var data=window.localStorage.getItem("key");

Solution 2:

Using Local Storage is the solution, you can read more here.


Post a Comment for "How To Pass Parameters In Android Phonegap Application"