×

Discussion Board

Results 1 to 3 of 3
  1. #1
    Regular Contributor
    Join Date
    Jun 2008
    Posts
    87

    how can i avoid access point selection dialog when launch wap browser

    Hi!~
    i use the following code to launch wap browser.It can work,but when my application launches wap browser ,the access point selecton dialog pops up.
    now,how can i avoid access point selection dialog when launch wap browser???


    Code:
    	_LIT(aUrl,"http://www.baidu.com");
    	HBufC* param = HBufC::NewLC( 256 );
    	param->Des().Format( _L( "4 %S" ),&aUrl );
    
    	// Wap Browser's constants UId
    	const TInt KWmlBrowserUid = 0x10008D39;
    	TUid id( TUid::Uid( KWmlBrowserUid ) );
    
    	TApaTaskList taskList( CEikonEnv::Static()->WsSession() );
    	TApaTask task = taskList.FindApp( id );
    	if ( task.Exists() )
    	{
    		HBufC8* param8 = HBufC8::NewLC( param->Length() );
    		param8->Des().Append( *param );
    		task.SendMessage( TUid::Uid( 0 ), *param8 ); // Uid is not used
    		CleanupStack::PopAndDestroy(); // param8
    	}
    	else
    	{
    		RApaLsSession appArcSession;
    		User::LeaveIfError(appArcSession.Connect()); // connect to AppArc server
    		TThreadId id;
    		appArcSession.StartDocument( *param, TUid::Uid( KWmlBrowserUid ), id );
    		appArcSession.Close();
    	}
    	CleanupStack::PopAndDestroy(); // param
    	((CwebvisitAppUi*)(CCoeEnv::Static()->AppUi()))->Exit();

  2. #2
    Super Contributor
    Join Date
    Mar 2003
    Location
    Finland
    Posts
    9,553

    Re: how can i avoid access point selection dialog when launch wap browser

    Configure the default browser on the device to use a specific access point by default?

  3. #3
    Regular Contributor
    Join Date
    Jun 2008
    Posts
    87

    Thumbs up Re: how can i avoid access point selection dialog when launch wap browser

    Quote Originally Posted by petrib View Post
    Configure the default browser on the device to use a specific access point by default?


    Hi,how can i let my application to configure the default browser instead of configure the browser manually!

    thank you!

Similar Threads

  1. Connecting J2ME application to Internet using WAP access point?
    By khurshed79 in forum Mobile Java Networking & Messaging & Security
    Replies: 12
    Last Post: 2012-09-12, 09:53
  2. Hide Access point selection menu while accessing Webservice
    By jawadakhtar in forum Symbian Networking & Messaging (Closed)
    Replies: 2
    Last Post: 2008-12-04, 20:34
  3. PROXY address and PROXY port in WAP access point.
    By khurshed79 in forum Symbian Networking & Messaging (Closed)
    Replies: 6
    Last Post: 2008-10-06, 12:03
  4. Midlet and WAP access point!!!
    By khurshed79 in forum Mobile Java Networking & Messaging & Security
    Replies: 5
    Last Post: 2006-08-24, 09:35
  5. How to set default access point for wap browser
    By birol.sekerci in forum Symbian Networking & Messaging (Closed)
    Replies: 3
    Last Post: 2006-05-17, 08:43

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×