I'm trying to insert Java string into phonegap javascript.
  Public Zero Copyright (Bundle Saved InstantState) {Super.Nought (Saved Instantstate); String myName = "xxxxx"; Super.loadUrl ("File: ///android_asset/www/login.html"); }    I just want to insert   myName   string in  login.html  so that I can use it Could any word plz get strings from Javascript? 
  
 Is there any easy way except for plug-ins, such as local storage or something else? 
 If it is necessary to create a plugin, then what is the way to bring this string here in that plug-in? 
  
 I'm new to both phones and mobile plus support.   
 
  Try passing the string through the query string, such as  
 < Code> Crate on Public Zero (Bundle Saved Instantstate) {Super.Nought (Saved Instantstate); String myName = "xxxxx"; Super.loadUrl ("File: ///android_asset/www/login.html?name =" + myName); }    Take a look at how to use the query string on javascript   
 
No comments:
Post a Comment