Can i set cookies and all required items to webview

Problems with WiFi, SQLite ,Bluetooth, WiMax, Proxies, etc...

Can i set cookies and all required items to webview

Postby _Davidsekar » Tue Mar 17, 2009 3:20 pm

Hi all


I have used HttpClient, HttpGet and HttpPost to automatically log into a website.

Now my problem is after login i have to show that page in a webview or a webbrowser in logged form. If i use

Syntax: [ Download ] [ Hide ]
Using java Syntax Highlighting
  1.  
  2. webview.loadDataWithBaseUrl(url, data, mimietype, encoding , failurl);
  3.  
  4.  
Parsed in 0.031 seconds, using GeSHi 1.0.8.4


data - html document returned by HttpGet after Login.


It looks fine in webview, but if any link is clicked, it goes back to login page.


I need my webview to contain all the cookies or datas fetched by HttpClient.

Any input from you guys, how to proceed with it ?
_Davidsekar
Freshman
Freshman
 
Posts: 5
Joined: Wed Mar 11, 2009 8:43 pm

Top

Thanks

Postby _Davidsekar » Fri Mar 20, 2009 7:07 am

No replies from any one??

Anyway i found an alternative easyway for autologin :D
_Davidsekar
Freshman
Freshman
 
Posts: 5
Joined: Wed Mar 11, 2009 8:43 pm

Top

Return to Networking & Database Problems

Who is online

Users browsing this forum: No registered users and 4 guests