Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FireOS support #2

Closed
scottjpearson opened this issue Nov 3, 2015 · 7 comments
Closed

FireOS support #2

scottjpearson opened this issue Nov 3, 2015 · 7 comments

Comments

@scottjpearson
Copy link

Any reason FireOS support has been left off? My understanding is that its orientation is somewhat similar to Android. Could this be something I adapt on my own?

@brodycj
Copy link
Member

brodycj commented Nov 3, 2015

Any reason FireOS support has been left off? My understanding is that its
orientation is somewhat similar to Android. Could this be something I adapt
on my own?

It should be no problem to build it for Amazon FireOS as well but then you
would have to test it as well.

One thing is that I am not 100% sure that the native libraries would work
the same way. You may have to unpack them like I did for the main project.

If someone can run the test suite in spec/www and issue a pull request if
it works, it may help some others.

Also for the main project, I would be curious if the native libraries would
work the same way on FireOS.

@scottjpearson
Copy link
Author

Cool. So basically, I’m just going to point the java files to amazon-fireos in the plugin.xml and see what happens. I’ll report back.

Scott J. Pearson
REDCap Core Programmer, Project REDCap
REDCap Mobile App
http://projectredcap.orghttp://projectredcap.org/
Vanderbilt Institute for Clinical and Translational Research (VICTR)
615-322-6039 (o)

From: Chris Brody <[email protected]mailto:[email protected]>
Reply-To: litehelpers/Cordova-sqlite-enterprise-free <[email protected]mailto:[email protected]>
Date: Tuesday, November 3, 2015 at 10:35 AM
To: litehelpers/Cordova-sqlite-enterprise-free <[email protected]mailto:[email protected]>
Cc: Scott Pearson <[email protected]mailto:[email protected]>
Subject: Re: [Cordova-sqlite-enterprise-free] FireOS support (#2)

Any reason FireOS support has been left off? My understanding is that its
orientation is somewhat similar to Android. Could this be something I adapt
on my own?

It should be no problem to build it for Amazon FireOS as well but then you
would have to test it as well.

One thing is that I am not 100% sure that the native libraries would work
the same way. You may have to unpack them like I did for the main project.

If someone can run the test suite in spec/www and issue a pull request if
it works, it may help some others.

Also for the main project, I would be curious if the native libraries would
work the same way on FireOS.


Reply to this email directly or view it on GitHubhttps://github.com//issues/2#issuecomment-153390663.

@scottjpearson
Copy link
Author

So I’m getting the same old response. :-(

D/CordovaLog(27245): file:///android_asset/www/plugins/cordova-sqlite-evfree/www/SQLitePlugin.js: Line 231 : OPEN database: xxxxxx failed, aborting any pending transactions

I/chromium(27245): [INFO:CONSOLE(231)] "OPEN database: xxxxxx failed, aborting any pending transactions"

D/CordovaLog(27245): file:///android_asset/www/plugins/cordova-sqlite-evfree/www/SQLitePlugin.js: Line 97 : Could not open database

I/chromium(27245): [INFO:CONSOLE(97)] "Could not open database"

Scott J. Pearson
REDCap Core Programmer, Project REDCap
REDCap Mobile App
http://projectredcap.orghttp://projectredcap.org/
Vanderbilt Institute for Clinical and Translational Research (VICTR)
615-322-6039 (o)

From: Chris Brody <[email protected]mailto:[email protected]>
Reply-To: litehelpers/Cordova-sqlite-enterprise-free <[email protected]mailto:[email protected]>
Date: Tuesday, November 3, 2015 at 10:35 AM
To: litehelpers/Cordova-sqlite-enterprise-free <[email protected]mailto:[email protected]>
Cc: Scott Pearson <[email protected]mailto:[email protected]>
Subject: Re: [Cordova-sqlite-enterprise-free] FireOS support (#2)

Any reason FireOS support has been left off? My understanding is that its
orientation is somewhat similar to Android. Could this be something I adapt
on my own?

It should be no problem to build it for Amazon FireOS as well but then you
would have to test it as well.

One thing is that I am not 100% sure that the native libraries would work
the same way. You may have to unpack them like I did for the main project.

If someone can run the test suite in spec/www and issue a pull request if
it works, it may help some others.

Also for the main project, I would be curious if the native libraries would
work the same way on FireOS.


Reply to this email directly or view it on GitHubhttps://github.com//issues/2#issuecomment-153390663.

@brodycj
Copy link
Member

brodycj commented Nov 3, 2015 via email

@scottjpearson
Copy link
Author

No, they both fail.

Scott J. Pearson
REDCap Core Programmer, Project REDCap
REDCap Mobile App
http://projectredcap.orghttp://projectredcap.org/
Vanderbilt Institute for Clinical and Translational Research (VICTR)
615-322-6039 (o)

From: Chris Brody <[email protected]mailto:[email protected]>
Reply-To: litehelpers/Cordova-sqlite-enterprise-free <[email protected]mailto:[email protected]>
Date: Tuesday, November 3, 2015 at 11:19 AM
To: litehelpers/Cordova-sqlite-enterprise-free <[email protected]mailto:[email protected]>
Cc: Scott Pearson <[email protected]mailto:[email protected]>
Subject: Re: [Cordova-sqlite-enterprise-free] FireOS support (#2)

So I’m getting the same old response. :-(

Can you try the main Cordova-sqlite-storage version on Fire OS and see if
you can open a database with that version?

If so, then I think we can conclude the native libraries are not working
with FireOS for some reason. It may be due to packaging them in the jar or
perhaps something else. I can unjar the native libraries later today or
tonight.


Reply to this email directly or view it on GitHubhttps://github.com//issues/2#issuecomment-153403045.

@brodycj
Copy link
Member

brodycj commented Dec 24, 2015

Just raised apache/cordova-discuss#32

@brodycj
Copy link
Member

brodycj commented Dec 24, 2015

Answer by @stevengill in apache/cordova-discuss#32 (comment):

Amazon committers have been gone from the project for a while. Last we heard they said to target android to deploy to fireos 5.0+ devices. We are in the process of removing support of fireos from cordova [1].

[1] https://issues.apache.org/jira/browse/CB-10121

LMK if you have more questions!

@brodycj brodycj closed this as completed Dec 24, 2015
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

No branches or pull requests

2 participants