
Olá galera… .sou novo na área, mas estou precisando que alguém me ajude a implementar um programinha básico para colocar em um módulo celular e informar qual o numero IP deste em uma rede.
já procurei e achei alguns, mas como sou novo em java estou com dúvidas e certas dificuldades em entender…
grato
getLocalAddress
public java.lang.String getLocalAddress()Returns de value stored on the variable microedition.hostname. It should represent the host in which de serversocket programme is on execution.
Returns:
String containing the name of the host (in case the microedition.hostname variable exists)
null otherwise