[android-developers] Internet access in emulator

2008-08-25 Thread Anjan


Hi,
with below inputs i could cross a hurdle but i am still struck in
getting accessing internet on device.

1. I downloaded settings.db
2. Edited to add entry in system table
(99,'http_proxy','proxy:')  // here is port number
3. uploaded to device via adb push

i still not able to access the net.. use the proxy in my local browser
as http://proxy:/
 could you please help me getting access to net on device...


thanks
On Aug 25, 11:50 am, Yalcin <[EMAIL PROTECTED]> wrote:
> use the path:
> /data/data/com.android.providers.settings/databases/
>
> >adb pull  /data/data/com.android.providers.settings/databases/settings.db  
> >settings.db
>
> ---
>
> On Aug 25, 7:18 am, Anjan <[EMAIL PROTECTED]> wrote:
>
>
>
> > I run command
>
> > >>adb pull 
> > >>/data/data/com.google.android.providers.settings/databases/settings.db 
> > >>C:\Android
>
> > i get error
> > remote object "/data/data/com.google.android.providers.settings/
> > databases/settings.db" does not exists...
>
> > On Aug 21, 3:51 pm, Mark Murphy <[EMAIL PROTECTED]> wrote:
>
> > > shan wrote:
> > > > I need to access the "system" table in data/data/
> > > > com.android.providers.settings/databases/settings.db in the adb shell.
> > > > I had earlier did this in the m5 to insert the 'http_proxy' field, but
> > > > now i can't invokesqlite3from the adb shell.
> > > > Please assist.
>
> > > Use adb pull (or the equivalent IDE action) to download your SQLite
> > > database to your development machine. Then use any SQLite client you
> > > want (sqlite3console app, SQLite Manager Firefox extension, etc.). If
> > > you make changes you want reflected on the phone, use adb push (or the
> > > equivalent IDE action) to put the database back on the phone.
>
> > > --
> > > Mark Murphy (a Commons Guy)http://commonsware.com
> > > _The Busy Coder's Guide to Android Development_ Version 1.1 Published!- 
> > > Hide quoted text -
>
> - Show quoted text -

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
[EMAIL PROTECTED]
Announcing the new Android 0.9 SDK beta!
http://android-developers.blogspot.com/2008/08/announcing-beta-release-of-android-sdk.html
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] Re: sqlite3?

2008-08-25 Thread Anjan

Thanks for the information..it worked.. another hurdle

1. I download system.db to local
2. edit to add entry (99,'http_proxy','proxy:');
3. Upload system.db back to device.

but i could not run the browser successfully (i am expecting
http://www.google.com/ to show up on device).

i also tried step 2 above with IP address of the proxy.

could you please support me getting access to internet on device.

thanks.


On Aug 25, 11:50 am, Yalcin <[EMAIL PROTECTED]> wrote:
> use the path:
> /data/data/com.android.providers.settings/databases/
>
> >adb pull  /data/data/com.android.providers.settings/databases/settings.db  
> >settings.db
>
> ---
>
> On Aug 25, 7:18 am, Anjan <[EMAIL PROTECTED]> wrote:
>
>
>
> > I run command
>
> > >>adb pull 
> > >>/data/data/com.google.android.providers.settings/databases/settings.db 
> > >>C:\Android
>
> > i get error
> > remote object "/data/data/com.google.android.providers.settings/
> > databases/settings.db" does not exists...
>
> > On Aug 21, 3:51 pm, Mark Murphy <[EMAIL PROTECTED]> wrote:
>
> > > shan wrote:
> > > > I need to access the "system" table in data/data/
> > > > com.android.providers.settings/databases/settings.db in the adb shell.
> > > > I had earlier did this in the m5 to insert the 'http_proxy' field, but
> > > > now i can't invokesqlite3from the adb shell.
> > > > Please assist.
>
> > > Use adb pull (or the equivalent IDE action) to download your SQLite
> > > database to your development machine. Then use any SQLite client you
> > > want (sqlite3console app, SQLite Manager Firefox extension, etc.). If
> > > you make changes you want reflected on the phone, use adb push (or the
> > > equivalent IDE action) to put the database back on the phone.
>
> > > --
> > > Mark Murphy (a Commons Guy)http://commonsware.com
> > > _The Busy Coder's Guide to Android Development_ Version 1.1 Published!- 
> > > Hide quoted text -
>
> - Show quoted text -

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
[EMAIL PROTECTED]
Announcing the new Android 0.9 SDK beta!
http://android-developers.blogspot.com/2008/08/announcing-beta-release-of-android-sdk.html
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] Re: sqlite3?

2008-08-25 Thread Anjan


I run command
>>adb pull 
>>/data/data/com.google.android.providers.settings/databases/settings.db 
>>C:\Android

i get error
remote object "/data/data/com.google.android.providers.settings/
databases/settings.db" does not exists...





On Aug 21, 3:51 pm, Mark Murphy <[EMAIL PROTECTED]> wrote:
> shan wrote:
> > I need to access the "system" table in data/data/
> > com.android.providers.settings/databases/settings.db in the adb shell.
> > I had earlier did this in the m5 to insert the 'http_proxy' field, but
> > now i can't invokesqlite3from the adb shell.
> > Please assist.
>
> Use adb pull (or the equivalent IDE action) to download your SQLite
> database to your development machine. Then use any SQLite client you
> want (sqlite3console app, SQLite Manager Firefox extension, etc.). If
> you make changes you want reflected on the phone, use adb push (or the
> equivalent IDE action) to put the database back on the phone.
>
> --
> Mark Murphy (a Commons Guy)http://commonsware.com
> _The Busy Coder's Guide to Android Development_ Version 1.1 Published!

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
[EMAIL PROTECTED]
Announcing the new Android 0.9 SDK beta!
http://android-developers.blogspot.com/2008/08/announcing-beta-release-of-android-sdk.html
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---