litehelpers / Cordova-SQLitePlugin-legacy-iOS-broken-bug666

Cordova/PhoneGap SQLitePlugin for iOS as of September 2013, no longer supported - BROKEN due to BUG litehelpers/Cordova-sqlite-storage#666
89 stars 30 forks source link

WP7 version #11

Open brodycj opened 12 years ago

brodycj commented 12 years ago

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 commented 12 years ago

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 commented 12 years ago

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 commented 12 years ago

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

brodycj commented 12 years ago

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 commented 12 years ago

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: https://github.com/chbrody/Cordova-SQLitePlugin/issues/11#issuecomment-7513392

brodycj commented 12 years ago

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

marcucio commented 12 years ago

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: https://github.com/chbrody/Cordova-SQLitePlugin/issues/11#issuecomment-7518740

brodycj commented 12 years ago

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 commented 12 years ago

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 commented 12 years ago

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 commented 12 years ago

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 commented 12 years ago

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 commented 11 years ago

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

marcucio commented 11 years ago

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 commented 11 years ago

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 commented 11 years ago

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 commented 11 years ago

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

brodycj commented 11 years ago

Cool, please keep me posted.

paulfrench commented 11 years ago

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