How can I check the on device database? [closed] - sql

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 9 years ago.
So I'm further along in building my app and am construction complex sql queries. Using trial'n'error is getting cumbersome here. Is there any better way? I'm mostly developing on iOS...

You tagged your question AppConKit, so I'll assume you need help there. When you are developing iOS Apps with the AppConKit, an SQLite Database is automatically created on the device.
You can easily copy the current SQLite database from your device.
To be sure your latest data changes are stored to the database file, close your app.
Connect your device to your Mac/PC and open iTunes.
In iTunes go to your device and click the Apps tab.
On the File Sharing section select the AppConClient. Here's a file named ibizclient.sqlite which you can save with the save button above.
With a free SQLite viewer you can open the database and check what you want to know.
Windows SQLite viewer: SQLiteSpy
Mac SQLite viewer: SQLiteManager

Related

FTP Upload in a Cocoa application? [closed]

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
i have made a Mac OS application, that i was wanting to add a feature to. The user adds data to a NSTableView, then the data is compiled into a .xml file. What i want to do is upload that .xml file to a server, and overwrite the existing file named that. How would i do this? I have hear of Apple's Version, but it is for iPhone and looks a bit confusing. I am only 16, and was wanting to know if there is an easier way of uploading a file to a remote server. Thanks!
There are at least a couple built-in ways to do ftp'ing from an OSX application.
Apple has a useful article available here which shows how to do uploading. I'm not certain (it may be dependent on server implementation) if an upload overwrites a previous file or throws an error if a file already exists.
There's also a commercial Objective C library found here ($300) that might have everything you need available. There may be other hints available on related Stack Overflow questions as well.

Turn off logging for a Mac OSX application [closed]

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
I am working on an Mac OS X application, and I would like to know a few things:
What are log files that will be updated when an application is run? and their paths? Would it be possible to turn off logging (programmatically)? If so, would it be possible to do that for a particular application? I want my app to run covertly. so, any other ideas?
There isn't any standard "Here's every application that was ever launched" log on the system, nor do applications automatically log anything in particular upon launch. For GUI apps, the "Recent Applications" preference will be updated. But any number of things could be updated in response to something your application does, and there's not any finite list of these things or where they might be located (e.g. I could write a custom script that watches for program launches and writes the name of the program and the file handles it holds to ~/Documents/InnocuousFile.tbz).
Basically, as long as you don't log anything yourself, you're doing about as much as you reasonably can do on this front. But this doesn't really make your app covert in any meaningful way, as there are many ways to notice a program's presence other than logs, and I wouldn't even think logs are a big one.

Suggestion about using a database type [closed]

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 11 years ago.
My problem is I need to develop a sales application to be used on 5 computers. The database needs to stay on a main computer and other computers should connect with that over LAN.
I donot want to use SQL Server as it is too complicated to give permissions, setting up firewalls etc. for the end user.
Is that any type of database that could serve my purpose, without giving sharing violation error?
You have two options either you can go for Server Client DB like MySQL or you can try embedded databases like vista db(These are less complicated).
However for better performance its better to use a proper server client db.

Tools for side-by-side localisation of iPhone App [closed]

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 9 years ago.
I have an App that is translated to four languages. I find that updating and maintaining the strings files extremely tedious.
Is there a way to edit different translations side by side similar to what IntelliJ provides:
(source: jetbrains.com)
I would also be happy with a simply MS-Excel to Strings conversion script, where the Excel would be the master and the .strings files would be generated.
These apps saved me from a world of hurt. There's no guide, so you'd have to figure it out yourself. The apps are free though and very well designed.
http://www.loc-suite.org/
My company use a tool called Localization Helper from Mac App Store. I reckon it's pretty good.
How about Linguan?

Where do you keep your common sql task scripts? [closed]

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 9 years ago.
In your workplace, where do you store your common, non-database specific scripts that you use in SQL Server? Do you keep them in .SQL scripts on the file server, do you store them in the Master database, or do you keep them in a database you defined specifically for these kinds of things?
We store them as regular source code, so in version-control.
You have then available previous versions of script, and you avoid "someone deleted the XY script" risk.
We store them in a wiki where everyone can access them.
We store them in a separate database and have a custom program for easy execution and maintenance.
I horde them all in template format on my hard drive. CTRL+SHIFT+M will fill the placehoders. It's great.