FileDocCategorySizeDatePackage
Browser.javaAPI DocAndroid 1.5 API1834Wed May 06 22:42:42 BST 2009com.android.browser

Browser

public class Browser extends android.app.Application

Fields Summary
private static final String
LOGTAG
private static final float
TARGET_HEAP_UTILIZATION
Specifies a heap utilization ratio that works better for the browser than the default ratio does.
Constructors Summary
public Browser()


      
    
Methods Summary
static android.content.IntentcreateBrowserViewIntent()

        Intent intent = new Intent(Intent.ACTION_WEB_SEARCH);
        return intent;
    
public voidonCreate()

        if (Config.LOGV)
            Log.v(LOGTAG, "Browser.onCreate: this=" + this);
        // Fix heap utilization for better heap size characteristics.
        VMRuntime.getRuntime().setTargetHeapUtilization(
                TARGET_HEAP_UTILIZATION);
        // create CookieSyncManager with current Context
        CookieSyncManager.createInstance(this);
        // remove all expired cookies
        CookieManager.getInstance().removeExpiredCookie();