Hi Naseer, Where did you add the authentication details? When i added this to system.db table, i get error message. The query i used is sqlite3 data/data/com.google.android.providers.settings/databases/ settings.db "INSERT INTO system VALUES(99,'http_proxy','http:// uname:[EMAIL PROTECTED]:80/');"
Your help is greatly appreciated!! Thanks in Advance, Arun On Mar 17, 1:30 pm, Naseer <[EMAIL PROTECTED]> wrote: > Hi, Sorry for the delayed reply > I added the authentication details as well > Like this http://username:[EMAIL PROTECTED]:8080/ > > - > > On Mar 5, 7:12 pm, "Amit Kumar Singh \(Mobile Sol\)" > > <[EMAIL PROTECTED]> wrote: > > HiNaseer, > > > Did you add the your authentication details also to database or simply your > > proxy details(Like hostname, port). > > > Did you add the proxy details to system table or any other table. > > > Regards > > Amit Kumar Singh > > > -----Original Message----- > > From: [email protected] [mailto:[EMAIL PROTECTED] On > > Behalf OfNaseer > > Sent: Wednesday, March 05, 2008 7:28 PM > > To: Android Beginners > > Subject: [android-beginners] Re: Unable to access web via emulator > > > I have been having the same problem with the http-proxy command line > > switch. My Proxy requires authentication. > > I have now added the proxy to the database instead and it works fine. > > > On Mar 4, 2:37 pm, Digit <[EMAIL PROTECTED]> wrote: > > > hello, > > > > what happens if you don't use -http-proxy but still modify the > > > settings database ? > > > on what platform are you running this ? > > > what is the type/kind/make of your proxy ? > > > > On Tue, Mar 4, 2008 at 10:27 AM, Niko_ <[EMAIL PROTECTED]> wrote: > > > > > Hello, > > > > > I have a problem with the browser on the emulator. At the moment, i > > > > am behind a proxy, so i am going to internet and i have configured > > > > with the differents command like : > > > > > adb shell sqlite3 /data/data/com.google.android.providers.settings/ > > > > databases/settings.db "\"INSERT INTO system > > > > VALUES(99,'http_proxy','[host]:[port]');\"" > > > > > I have created a new table passwords in this command : > > > > adb shell sqlite3 /data/data/com.google.android.browser/databases/ > > > > browser.db "\"INSERT INTO passwords > > > > VALUES(99,'host','username','password');\"" > > > > > I have too configurated emulator with this commande : > > > > emulator -console - verbose-proxy -http-proxy > > > >http://username:[EMAIL PROTECTED] <http://username:[EMAIL PROTECTED]> > > > > or IP]:[port] > > > > > However, I don't still to go through internet. When i try to connect > > > > onwww.google.com, i have a message popug wich says : > > > > "Network error, Unsupported authentication scheme- failed to > > > > authenticate" > > > > > If someone can help me, it will be very interesting ;-) > > > > > best regards, Niko > > > > > On 22 fév, 06:10, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > > > > > hey i have resolved the problem now i am able to access the > > > > > internet via browser. But i have no clue hw it started wrking:-) > > > > > thanks for ur help. > > > > > > On Feb 15, 3:03 pm, Digit <[EMAIL PROTECTED]> wrote: > > > > > > > the last line indicates that the hostname could not be resolved. > > > > > > interesting. > > > > > > let me check this in the sources to see how it works. I'll get > > > > > > back to > > > > you > > > > > > > On Fri, Feb 15, 2008 at 10:40 AM, [EMAIL PROTECTED] > > > > > > <[EMAIL PROTECTED]> > > > > wrote: > > > > > > > > This is the verbose output of my emulator the "last few lines > > > > > > > shows the error faced when i am trying to open browser activity". > > > > > > > > INFO/DEBUG(494): debuggerd: Feb 11 2008 17:00:30 > > > > > > > DEBUG/AndroidRuntime(496): >>>>>>>>>>>>>> AndroidRuntime START > > > > > > > <<<<<<<<<<<<<< > > > > > > > INFO/AndroidRuntime(496): Assertions enabled for ALL code (-ea > > > > > > > and - > > > > > > > esa) > > > > > > > INFO/runtime(497): Startup: sys='/system' asset='/system/app' > > > > data='/ > > > > > > > data' > > > > > > > INFO/runtime(497): Entered boot_init()! > > > > > > > DEBUG/runtime(497): ProcessState: 0x124e8 > > > > > > > INFO/runtime(497): Binder driver opened. Multiprocess enabled. > > > > > > > DEBUG/AndroidRuntime(496): --- registering native functions > > > > > > > --- > > > > > > > DEBUG/dalvikvm(496): Exception > > > > > > > Ljava/lang/ClassNotFoundException; > > > > from > > > > > > > PathClassLoader.java:205 not caught locally > > > > > > > DEBUG/dalvikvm(496): NOTE: loadClass 'android.app.Activity > > > > > > > $LocalWindowManager' 0x40018950 threw an exception > > > > > > > WARN/Zygote(496): Zygote class init exception > > > > > > > java.lang.ClassNotFoundException: android.app.Activity > > > > > > > $LocalWindowManager with class > > > > android.app.Activity$LocalWindowManager > > > > > > > DEBUG/dalvikvm(496): Exception > > > > > > > Ljava/lang/ClassNotFoundException; > > > > from > > > > > > > PathClassLoader.java:205 not caught locally > > > > > > > DEBUG/dalvikvm(496): NOTE: loadClass > > > > > > > 'android.content.PackageManager > > > > ' > > > > > > > 0x40018950 threw an exception > > > > > > > WARN/Zygote(496): Zygote class init exception > > > > > > > java.lang.ClassNotFoundException: > > > > > > > android.content.PackageManagerwith > > > > > > > class android.content.PackageManager > > > > > > > DEBUG/dalvikvm(496): Exception > > > > > > > Ljava/lang/ClassNotFoundException; > > > > from > > > > > > > PathClassLoader.java:205 not caught locally > > > > > > > DEBUG/dalvikvm(496): NOTE: loadClass > > > > > > > 'android.content.PackageManager $ActivityInfo' 0x40018950 > > > > > > > threw an exception > > > > > > > WARN/Zygote(496): Zygote class init exception > > > > > > > java.lang.ClassNotFoundException: > > > > > > > android.content.PackageManager $ActivityInfo with class > > > > > > > android.content.PackageManager$ActivityInfo > > > > > > > DEBUG/dalvikvm(496): Exception > > > > > > > Ljava/lang/ClassNotFoundException; > > > > from > > > > > > > PathClassLoader.java:205 not caught locally > > > > > > > DEBUG/dalvikvm(496): NOTE: loadClass > > > > > > > 'android.content.PackageManager $ActivityInfo$1' 0x40018950 > > > > > > > threw an exception > > > > > > > WARN/Zygote(496): Zygote class init exception > > > > > > > java.lang.ClassNotFoundException: > > > > > > > android.content.PackageManager > > > > > > > $ActivityInfo$1 with class > > > > android.content.PackageManager$ActivityInfo > > > > > > > $1 > > > > > > > DEBUG/dalvikvm(496): LOADING path /system/lib/libmedia_jni.so > > > > > > > 0x0 > > > > > > > INFO/dalvikvm(496): Added shared lib > > > > > > > /system/lib/libmedia_jni.so 0x0 > > > > > > > DEBUG/dalvikvm(496): LOADING path /system/lib/libmedia_jni.so > > > > > > > 0x0 > > > > > > > INFO/dalvikvm(496): Shared lib '/system/lib/libmedia_jni.so' > > > > > > > already loaded in same CL 0x0 > > > > > > > DEBUG/dalvikvm(496): LOADING path /system/lib/libmedia_jni.so > > > > > > > 0x0 > > > > > > > INFO/dalvikvm(496): Shared lib '/system/lib/libmedia_jni.so' > > > > > > > already loaded in same CL 0x0 > > > > > > > DEBUG/dalvikvm(496): Exception > > > > > > > Ljava/lang/ClassNotFoundException; > > > > from > > > > > > > PathClassLoader.java:205 not caught locally > > > > > > > DEBUG/dalvikvm(496): NOTE: loadClass 'android.os.BinderNative' > > > > > > > 0x40018950 threw an exception > > > > > > > WARN/Zygote(496): Zygote class init exception > > > > > > > java.lang.ClassNotFoundException: android.os.BinderNative with > > > > > > > class android.os.BinderNative > > > > > > > DEBUG/dalvikvm(496): Exception > > > > > > > Ljava/lang/ClassNotFoundException; > > > > from > > > > > > > PathClassLoader.java:205 not caught locally > > > > > > > DEBUG/dalvikvm(496): NOTE: loadClass ' > > > > android.text.style.CharacterStyle > > > > > > > $DrawState' 0x40018950 threw an exception > > > > > > > WARN/Zygote(496): Zygote class init exception > > > > > > > java.lang.ClassNotFoundException: > > > > > > > android.text.style.CharacterStyle $DrawState with class > > > > > > > android.text.style.CharacterStyle$DrawState > > > > > > > DEBUG/dalvikvm(496): Exception > > > > > > > Ljava/lang/ClassNotFoundException; > > > > from > > > > > > > PathClassLoader.java:205 not caught locally > > > > > > > DEBUG/dalvikvm(496): NOTE: loadClass > > > > > > > 'android.webkit.JsConfirmResult > > > > ' > > > > > > > 0x40018950 threw an exception > > > > > > > WARN/Zygote(496): Zygote class init exception > > > > > > > java.lang.ClassNotFoundException: > > > > > > > android.webkit.JsConfirmResultwith > > > > > > > class android.webkit.JsConfirmResult > > > > > > > DEBUG/dalvikvm(496): LOADING path /system/lib/libwebcore.so > > > > > > > 0x0 > > > > > > > INFO/dalvikvm(496): Added shared lib /system/lib/libwebcore.so > > > > > > > 0x0 > > > > > > > DEBUG/dalvikvm(496): Exception > > > > > > > Ljava/lang/ClassNotFoundException; > > > > from > > > > > > > PathClassLoader.java:205 not caught locally > > > > > > > DEBUG/dalvikvm(496): NOTE: loadClass > > > > > > > 'android.widget.AbsListView $MyContentObserver' 0x40018950 > > > > > > > threw an exception > > > > > > > WARN/Zygote(496): Zygote class init exception > > > > > > > java.lang.ClassNotFoundException: android.widget.AbsListView > > > > > > > $MyContentObserver with class android.widget.AbsListView > > > > > > > $MyContentObserver > > > > > > > DEBUG/dalvikvm(496): Exception > > > > > > > Ljava/lang/ClassNotFoundException; > > > > from > > > > > > > PathClassLoader.java:205 not caught locally > > > > > > > DEBUG/dalvikvm(496): NOTE: loadClass > > > > > > > 'android.widget.WidgetInflate' > > > > > > > 0x40018950 threw an exception > > > > > > > WARN/Zygote(496): Zygote class init exception > > > > > > > java.lang.ClassNotFoundException: android.widget.WidgetInflate > > > > > > > with class android.widget.WidgetInflate > > > > > > > INFO/dalvikvm-heap(496): GC! (0ms since last GC) > > > > > > > INFO/dalvikvm-heap(496): GC old usage 26.3%; now 0.543MB used > > > > > > > / 1.087MB soft max (2.062MB real max) > > > > > > > INFO/dalvikvm-heap(496): GC freed 3293 objects / 219724 bytes > > > > > > > in > > > > 31ms > > > > > > > INFO/Zygote(496): Accepting command socket connections > > > > > > > INFO/ServiceManager(497): ServiceManager: waiting for service > > > > > > > SurfaceFlinger > > > > > > > DEBUG/AndroidRuntime(507): Shutting down VM > > > > > > > INFO/jdwp(508): prepping for JDWP over ADB > > > > > > > INFO/jdwp(508): PID sent as '01fc' to ADB > > ... > > read more » --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Beginners" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] Announcing the new M5 SDK! http://android-developers.blogspot.com/2008/02/android-sdk-m5-rc14-now-available.html For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en -~----------~----~----~----~------~----~------~--~---

