[ 
https://issues.apache.org/jira/browse/CB-7111?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Joe Bowser resolved CB-7111.
----------------------------
    Resolution: Won't Fix

This is no longer relevant, since WebViews are pluggable and are abstracted 
differently now.

> [Android] Allow webview to be used as a Fragment
> ------------------------------------------------
>
>                 Key: CB-7111
>                 URL: https://issues.apache.org/jira/browse/CB-7111
>             Project: Apache Cordova
>          Issue Type: Improvement
>          Components: Android
>            Reporter: Marcel Kinard
>            Priority: Minor
>
> Today the CordovaActivity is a subclass of Activity. For an app developer who 
> would like to use the webview as a fragment inside another activity, this 
> should work automatically if they are targeting API11 or above. But if they  
> want to do this on Android versions earlier than API11, they need to include 
> the Android Support Library, which requires the webview to be a subclass of 
> FragmentActivity instead of Activity. So it's currently not possible to use a 
> webview as an Android fragment below API11 without making changes to the 
> Cordova source. And there is no documentation to this effect.
> Ideally, we could provide both CordovaActivity and CordovaFragment and apps 
> can use whichever they prefer. If that goes well, we could have 
> CordovaActivity use a CordovaFragment, all without breaking the API of 
> CordovaActivity.
> http://callback-dev.markmail.org/thread/ohmolxgh6c2zc54y



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to