Skip to content

Android Java files support Cordova 1.9+, also BlackBerry support#11

Open
filmaj wants to merge 6 commits intoalunny:masterfrom
filmaj:blackberry
Open

Android Java files support Cordova 1.9+, also BlackBerry support#11
filmaj wants to merge 6 commits intoalunny:masterfrom
filmaj:blackberry

Conversation

@filmaj
Copy link
Contributor

@filmaj filmaj commented Jun 26, 2012

BlackBerry support will be dependent on BlackBerry support landing in pluginstall.

For the Android Java updates, pretty sure this would eliminate support for Cordova before 1.9. Fair warning.

Also consolidated the .js between Android and BlackBerry. No longer require a separate API there.

Finally: put all of the image assets into the common www/childbrowser/ folder. Figured it was not worth keeping separate assets for BlackBerry and Android.

@alunny
Copy link
Owner

alunny commented Jun 28, 2012

How does 558e2a6 affect Android Cordova > 1.9?

@filmaj
Copy link
Contributor Author

filmaj commented Jun 28, 2012

ctx in plugins hold a reference to the new CordovaInterface class that the embeddable version of Cordova introduces.

So it does not directly translate into an Activity / Context. It can, in most cases it does, but it is not necessary. Think of the case where Cordova is embedded inside a larger native application. No guarantee that the "housing" class is an instance of Activity or Context.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants