Hi,
I am not exactly sure of ur requirement but ya you can add ip address as
per ur wish. for that u will have to add rows to the db in sqlite3
if it s proxy tht u want to configure
then u can try this command on the command prompt
#adb shell
#sqlite3
/data/data/com.google.android.providers.settings/databases/settings.db
"INSERT INTO system VALUES(99,'http_proxy','192.168.0.88:8118');" /* add ur
proxy and port accordingly */
the same can be acheived programitically using settings provider as per ur
convenience and place.
Cheers,
Sunit
On Mon, Dec 28, 2009 at 5:48 PM, satish_mulay <[email protected]> wrote:
> Hi ,
> i want to provide IP address to the code i have integarted in android
> source.(for using it while creating tcp sockets).
> Is there any way i can provide this ip address while launching
> emulator , or place it somehwhere so my code can get it while emulator
> gets up.
> any pointers will be really helpful...
>
>
> -Satish
>
> --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To post to this group, send email to [email protected]
> To unsubscribe from this group, send email to
> [email protected]<android-developers%[email protected]>
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en