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

WP7 version #11

Open
brodycj opened this issue Apr 20, 2012 · 19 comments
Open

WP7 version #11

brodycj opened this issue Apr 20, 2012 · 19 comments

Comments

@brodycj
Copy link
Member

brodycj commented Apr 20, 2012

Apparently someone wanted Web SQL(ite) support on WP7: https://groups.google.com/forum/?fromgroups#!topic/phonegap/7xfrDzi5C_U

There is a C#-SQLite version: http://wp7sqlite.codeplex.com/ [apparently obsolete] based on http://code.google.com/p/csharp-sqlite/

When I have a chance, I want to run Windows in a VM and see how these are working. It should not be too bad to make an adaptation of this plugin.

@marcucio
Copy link

just a warning, I don't think the WP7 emulator will work if you run windows in a VM.

I was also going to look into WP7 after my current release (it might be a while)

@brodycj
Copy link
Member Author

brodycj commented Apr 20, 2012

On Fri, Apr 20, 2012 at 7:51 PM, Mike
reply@reply.github.com
wrote:

just a warning, I don't think the WP7 emulator will work if you run windows in a VM.
Thanks for the warning.

I was also going to look into WP7 after my current release (it might be a while)

Can I leave this one for you? No rush on my part.

@marcucio
Copy link

I'll post back here after I get a chance to look into it

@brodycj
Copy link
Member Author

brodycj commented Aug 5, 2012

Looks like there is demand again from the mailing list: https://groups.google.com/forum/?fromgroups#!topic/phonegap/nTuTomykMUM

@marcucio did you have any chance to look at this?

@marcucio
Copy link

marcucio commented Aug 6, 2012

Not yet but I will before the new Win 8 devices come out

On Aug 5, 2012, at 5:40 PM, Chris Brody reply@reply.github.com wrote:

Looks like there is demand again from the mailing list: https://groups.google.com/forum/?fromgroups#!topic/phonegap/nTuTomykMUM

@marcucio did you have any chance to look at this?


Reply to this email directly or view it on GitHub:
brodycj/cordova-sqlite-legacy#11 (comment)

@brodycj
Copy link
Member Author

brodycj commented Aug 6, 2012

Thanks @marcucio. Another question: can I use any of your apps as an example and if so can you send me the link?

@marcucio
Copy link

marcucio commented Aug 6, 2012

My app 'Get It Done' uses the iOS and Android plugins. (http://getitdoneapp.com)

I have had a few reports of the Android plugin not working correctly on 3.1 or 3.2 tablets (Samsung Galaxy Tab 7.0 and maybe 10.1) and I am try trying to track down this issue.

Mike

On Aug 6, 2012, at 4:07 AM, Chris Brody reply@reply.github.com wrote:

Thanks @marcucio. Another question: can I use any of your apps as an example and if so can you send me the link?


Reply to this email directly or view it on GitHub:
brodycj/cordova-sqlite-legacy#11 (comment)

@brodycj
Copy link
Member Author

brodycj commented Aug 6, 2012

Thanks Mike, I already posted it in the readme.

Someone reported issue #29 with Android 2.3.3 and I don't know if they may be the same or not.

@brodycj
Copy link
Member Author

brodycj commented Aug 8, 2012

Hi Mike @marcucio I would like to ask if it is OK to use your enhancements for batching, etc. for the Android version under the Apache license as well? I am thinking about a special project to build specifically with SQLCipher for Android and they are using the Apache license from Android for the Java classes.

Thanks,
Chris

@marcucio
Copy link

marcucio commented Aug 8, 2012

sure, doesn't matter to me

On Aug 8, 2012, at 4:18 PM, Chris Brody notifications@github.com wrote:

Hi Mike @marcucio I would like to ask if it is OK to use your enhancements for batching, etc. for the Android version under the Apache license as well? I am thinking about a special project to build specifically with SQLCipher for Android and they are using the Apache license from Android for the Java classes.

Thanks,
Chris


Reply to this email directly or view it on GitHub.

@marcucio
Copy link

I am almost done with a Win 8 javascript 'adapter' which builds the the web sql API on top of this library: https://github.com/doo/SQLite3-WinRT

All it I did was modify the Android SQLitePlugin.js to use the SQLite3-WinRT api instead of the Phonegap one. My library does not require PhoneGap (i'm not sure if Phonegap even works on Win 8 yet)

I don't think I will be testing on anything less than Windows 8 for the time being. My Goal is to target the new Win-RT and Win 8 tablets and phones coming out this month.

I will report back when I get to a point where I feel the adapter is stable

@brodycj
Copy link
Member Author

brodycj commented Oct 19, 2012

I am almost done with a Win 8 javascript 'adapter' which builds the the
web sql API on top of this library: https://github.com/doo/SQLite3-WinRT

@marcucio that is really awesome! Since I am not much of a Windows 7/8
guru and your work does not really use PhoneGap, I will suggest that
you make a project simply to provide the "SQLitePlugin" API over the
SQLite3-WinRT library and I will call that the "Windows version".

Please keep me posted P L E A S E

@brodycj
Copy link
Member Author

brodycj commented Dec 3, 2012

@marcucio how are you doing have you made this one yet?

@marcucio
Copy link

marcucio commented Dec 3, 2012

I took the plunge and made a cordova plugin for WP8 which I found is pretty stable and fast. It can be found here:

https://github.com/marcucio/incubator-cordova-wp8/tree/master/plugins/www/plugins/SQLitePlugin

I didn't document the steps yet on what sql library you need to add to get it working but I found it works well for my app.

I found that the Win8-RT one that I did is really not fast or stable enough (it depended too much on another library and it was kind of a hack) so I am in the process of porting my WP8 plugin to Win8-RT. After I get this done I will go make better documentation on how to use this in your project.

@brodycj
Copy link
Member Author

brodycj commented Dec 3, 2012

Hi Mike, I am very happy to hear this. I was hoping you would put this into a separate project since I really cannot support the Win8 version. If you can set it up with a README file then I am happy to post it in my blog.

@marcucio
Copy link

marcucio commented Dec 3, 2012

WP8 (windows phone 8) plugin is using cordova + we need to install 1 sql library (can be installed right from the Visual Studio app)

I hope to set up the Win8-RT the same way but right now I'm not 100% sure that the Win 8 cordova supports native calls yet.

Once I get all of this straightened out and tested we can see where the best place for the code to be

@marcucio
Copy link

marcucio commented Dec 3, 2012

If it is done right I think the Windows8-RT and the Windows Phone 8 plugins can be identical... we will see...

@brodycj
Copy link
Member Author

brodycj commented Dec 3, 2012

Cool, please keep me posted.

@paulfrench
Copy link

Hello, I am very keen to use websql api on WP8 via phonegap. What's the latest on the excellent work you are doing?

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

No branches or pull requests

3 participants