Strict Standards: Non-static method utf_normalizer::nfc() should not be called statically in /www/htdocs/w006661d/anddev/includes/utf/utf_tools.php on line 1781
[phpBB Debug] PHP Notice: in file /includes/session.php on line 1007: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/session.php on line 1007: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/session.php on line 1007: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)

Strict Standards: Non-static method utf_normalizer::nfc() should not be called statically in /www/htdocs/w006661d/anddev/includes/utf/utf_tools.php on line 1781

Strict Standards: Non-static method utf_normalizer::nfc() should not be called statically in /www/htdocs/w006661d/anddev/includes/utf/utf_tools.php on line 1781
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4362: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4364: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4365: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4366: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
anddev.org • View topic - Internet Connection

Internet Connection

Put your problem here if it does not fit any of the other categories.

Internet Connection

Postby rohan » Wed Mar 19, 2008 4:57 pm

Hi all,
I am new to android. I want to just try an application that has a button and when button clicked it should go to "http://www.google.com". how should i do this? I want to know how to connect to Internet?
Please help

Thanx in advance.
rohan
Developer
Developer
 
Posts: 34
Joined: Wed Mar 19, 2008 2:26 pm

Top

Re: Internet Connection

Postby mathiastck » Tue Mar 25, 2008 7:34 pm

rohan wrote:Hi all,
I am new to android. I want to just try an application that has a button and when button clicked it should go to "http://www.google.com". how should i do this? I want to know how to connect to Internet?
Please help

Thanx in advance.

This will launch the browser activity

Syntax: [ Download ] [ Hide ]
Using java Syntax Highlighting
  1.                         Intent openBrowser = Intent.getIntent("http://www.google.com/");
  2.                         startSubActivity(openBrowser, ACTIVITY_CREATE);
Parsed in 0.011 seconds, using GeSHi 1.0.8.4
mathiastck
Freshman
Freshman
 
Posts: 6
Joined: Wed Feb 06, 2008 12:47 am

Top

Return to Other Coding-Problems

Who is online

Users browsing this forum: No registered users and 15 guests