Click here to Skip to main content
15,867,308 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Hi..
my project having var mystring = Android.getDeviceId() it return unique id to mystring variable.
that home page i just show in windows phone 7 web browser. Android.getDeviceId() not working in windows phone so i have to inject some another js function hear, which is return string.

i tryed like bellow.
C#
function initHome1(message) {

                document.getElementById("txttest").value = message;
            }

from windows phone i can inject like this

C#
this.wb.InvokeScript("initHome1", "aaaaaaaaaaaaaaaaaaaaaaaaa");


its working fine.

i don't now how can i do for android.getDeviceId() method
any one help me
Posted
Updated 31-Jan-13 21:09pm
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900