And let me know for what purpose you need to display IP so will help you more for the same!
On Wed, Dec 31, 2008 at 7:00 PM, Kogan <kog...@gmail.com> wrote: > > Hello, > I have a small problem which seems simple but I couldn't get it to > work. > I need to get my the application's viewer IP address. > (the user who is currently using my application) > > obviously I guess it should go inside the <javascript> tags, but > things I tried simply didn't > work and the application didn't do anything. For example I tried > something like that - > > > var Inet = Packages.java.net.InetAddress > > var ip = Inet.getLocalHost(); > var ipStr = new java.lang.String(ip.getHostAddress()); > > > and it didn'r work for some reason though I found it in a good forum > in google.. > (maybe I tested it incorrectly on Orkut) > > Does anybody have a working piece of code? > Is that even possible in an Orkut application ? > it's the last stage and then my application will be ready for work! :) > > Thank you, > Kogan. > > > -- With best Regards. Prashant aka Orkuteer http://en.blog.orkut.com/2007/11/thanks-from-orkuteer.html --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Orkut Developer Forum" group. To post to this group, send email to opensocial-orkut@googlegroups.com To unsubscribe from this group, send email to opensocial-orkut+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/opensocial-orkut?hl=en -~----------~----~----~----~------~----~------~--~---