Unable to view Database with Sqlite plugin Phonegap - no file extension - eclipse

I am using phonegap to create an app and am unable to view the database with the sql lite plugin (http://www.tylerfrankenstein.com/user/4/browse-android-emulator-sqlite-database-eclipse). Unfortunately, even though I can find the database that my app has created, for some reason labelled as 1 I cannot use the viewer. I can use the viewer on the Databases.db file. Looks like the problem is that it doesn't have the db extension?? Why can't I view the DB from within Eclipse? Driving me crazy, any help would be greatly appreciated.
The app is successfully creating a database, storing and pulling information out of it so I know it is working correctly, I just need to be able to view it to develop further more easily.
Here's what it looks like in Eclipse, note that the sql lite button is greyed out and the file is just 1 instead of 1.db as I would expect. I can't find anyone else experiencing the same problem...

Related

Scratch 3.0 taking in a byte array for loading

I have been working on a project that is implementing Scratch 3.0 for a learning tool for children. We are going to be hosting it on an azure web application. We have hit a bit of a wall though and we aren't really sure how to get past it. The issue that we are having is that we are trying to have a user click on a project that they want to load into the Scratch 3.0 GUI and have a new page open where the user can then play/edit the project. However, Scratch 3.0 does not seem to have a functionality to do that yet. They have a loading feature that allows a file to be directly uploaded from the users computer though.
Is there anyway to change the function so that it would read a project from a byte array that would be sent from another web page?
Thanks in advance for the help!

Trouble shooting Oracle Form Builder error FRM-10044

I'm trying to create & save a new form using Oracle Form builder however, I get the error FRM-10044: Cannot create file.
The same thing happens when I open and save an existing form (.fmb)
I've check the folder permissions where the form is being save, it has read write access.
I've tried saving it into a differ folder and also tried creating a new folder but it still throws the same error.
I'm able to create and save a word, excel document in the new or existing folders (as mentioned-above) without any issues.
I suspect it could be something to do with the Windows Registry or System Configuration settings because I had recently shutdown/disabled so of the services in the System Configuration (using
msconfig.exe). Unfortunately, I don't remember all the options that were modified.
I've gone through numerous discussion forums, but still no luck.
Any help is appreciated.
Thanks in Advance
I've experienced the same thing. But in my case, i compiled the form on server side. The error appeared because it was remote-controlled by more than 1 person. One of the remote session was possibly locking the file creation. So I logged off the other session and try to use 1 session only when compiling the form. This happens sometimes when we're using an OS with multiuser and multisession capability.

Where does orbeon form saved?

I am a new user of orbeon and am trying to some exercise with orbeon's code. I have downloaded orbeon source code from git. I have made a war file (with ant orbeon-dist-war) and placed it in tomcat. Everything is working fine. Then I follow the tutorial and make "my-bookcast" application mentioned there.I found the application source code at "/WEB-INF/resources/apps/my-bookcast" and I know which database is used and where the data are saved. But my questions are
When I create form using orbeon form builder using the video tutorial mentioned in www.orbeon.com, using mouse and keyboard only where the form saved? How can I see the source code (like "my-bookcast") of the saved form?
Can I use the form along with source code in other application, independent off orbeon?
Update: Can anyone tell me, if I want to see the data stored in exist-db then how can I do this. I heard about oxygen, which can be used as a exist-db browser. In that case where can I found the exist-db related configuration in orbeon to connect with the built-in exist-db?
Out of the box, the form definitions and form data are stored into the embedded eXist database. The source code you can see directly from Form Builder, with "Edit Source".
No.
Regarding the question in your update: you can disable the orbeon-exist-filter eXist security filter in web.xml, then should be able to connect with oXygen either via exist-xmlrpc-servlet or exist-rest-servlet which is mounted on /exist/rest/*.
Graphical view
You can find this icon on Right Top.
After clicking, you will get this popup and that's the source

How to retrieve the data from the database using CoreData

I am learning core data concept and i want to use this in my simple app.
I have did the sample from the below link.
http://www.techotopia.com/index.php/An_iOS_4_iPhone_Core_Data_Tutorial_%28Xcode_4%29
i have did everything and followed the steps described in that link.
Generally i have added the data to tables(entity) and fetched the records using core data.
But my question is==> Once i closed(killed) the app from simulator (or) device means, the data stored in db also cleared. Next time when open that app again means, db will be empty.
In the above link also, this would be happened.
How to store data permanently in db(sqlite) using core data?
i want data(records) which i stored previous in that db. How to achieve it?
Please Help in this regards!!!
Thanks in advance.
Tutorial from raywenderlich would be a good start to learn for coredata... below is the link for the same...
http://www.raywenderlich.com/934/core-data-tutorial-getting-started
For your question : i want data(records) which i stored previous in that db. How to achieve it?
if you will delete the app either from device or simulator your database will be deleted. If you are testing on simulator and you have made db file in Resource bundle then everytime you run the project, Your database will be replaced by your database file in Project bundle..
please see clear yourself how project refers to db while running in simulator.

Is there a way to populate data via xcode?

I want to input data into a sqlite database so that core data can read from the file but I was wandering if there's a way of populating the sqlite data via xcode or do I have to spend lots of money on an sql manager of some kind like RazorSQL to do it?
I suppose you could do the following:
Create a CoreData-based project that uses the same data-model that you're going to use for your project. To be clear, make it a Mac project and not an iPhone project. Make sure that the project is using an SQLite store, and not something like XML or binary.
In Interface Builder, add a built-in CoreData Entity editor to your view and configure it to hook up with your model (most of this should be automatic!). Then, build and run this application, and you should be able to add as much data as you like. When you are done, simply find out where the persistent store was kept (usually somewhere like ~/Library/Application Support/MyAppName/) and copy that file for later use.
Then, you should be able to use that .sqlite file in any app that is made to work with the same data model. Good luck, and let me know how it goes!