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

[TIMOB-20443] Android: Create or Open File in Ti.Database #7607

Merged
merged 3 commits into from Mar 11, 2016

Conversation

nitrag
Copy link

@nitrag nitrag commented Jan 2, 2016

Creates or opens a database in Android. For example, a custom database path such as the applicationDataDirectory you had to pass a file object otherwise Android would tell you "File appdata-private://xyz.db contains a path separator". The following code works after this fix:

var file = Ti.Filesystem.getFile(Ti.Filesystem.applicationDataDirectory,"xyz.db");
db = Ti.Database.open(file);

@hansemannn
Copy link
Collaborator

@nitrag Thank you for the PR! Can you please create a JIRA-ticket to help our QE test this issue? /cc @ashcoding

@nitrag
Copy link
Author

nitrag commented Jan 4, 2016

@ashcoding
Copy link
Contributor

@nitrag Thanks!

@ashcoding ashcoding changed the title Ti.Database: (Android) Create or Open File [TC-5819] Android: Create or Open File in Ti.Database Jan 4, 2016
@nitrag
Copy link
Author

nitrag commented Feb 23, 2016

Still pending! Is that normal?

@ashcoding

@ashcoding ashcoding changed the title [TC-5819] Android: Create or Open File in Ti.Database [TIMOB-20443] Android: Create or Open File in Ti.Database Feb 23, 2016
@nitrag
Copy link
Author

nitrag commented Mar 11, 2016

Bump

@ashcoding
Copy link
Contributor

Thanks for the bump. Will set time aside to complete this as soon as humanly possible.

@ashcoding
Copy link
Contributor

Jira: https://jira.appcelerator.org/browse/TIMOB-20443
Code reviewed. Functionally tested. Accepted

ashcoding added a commit that referenced this pull request Mar 11, 2016
[TIMOB-20443] Android: Create or Open File in Ti.Database
@ashcoding ashcoding merged commit 6c1be46 into tidev:master Mar 11, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants