Is it possible to use Android database for iphone application? - android

I am developing an content oriented app for android and iphone. I finished developing in android which has database in the format of androidApp.db. Is it possible to use the same database for iphone as well because in iphone the database format is .sqlite.
Is it possible to use Android - androidAppdatabase.db
for iOS - iphoneAppdatabase.sqlite?.
If so please could you suggest some steps.
Thanks for your help guys.

YES, its is you can use this DB it in both android as well as iOS
android and iOS both supports SQLite
EDIT : Download SQLite expert from here

the db file is used to copy in both android and iPhone applications, check following link, to know how to do this in iOS.
Add an SQLite database to an iPhone app

Related

SQLite cross-platform in libgdx

If its possible to create SQLite database which support iOS and Android systems using libgdx? As far I know the ORMlite is not supported on iOS based devices?
As far, Libgdx can work with SqlLite-database. And SQLite is supported both android and iOS. :)
Check it out
https://code.google.com/archive/p/libgdx-users/wikis/SQLite.wiki

React-native - SQLite - Android

Well, I'm developing an android application with React Native, and I decided to use SQLite as a database
On the site 'https://github.com/andpor/react-native-sqlite-storage' it explains a bit of how to use SQLite with react-native, the problem is that I work with a Windows operating system computer.
I'm following all the steps of the site, but when I get into 'Setting up your project to import the pre-populated SQLite database from iOS application', I'm confused as I'm developing an Android application, and it teaches only for iOS.
I wonder if it has a way of doing the same thing for Android. Can you help me?
If you are using android then you can jump directly to Opening a Database.
As the documentation says, the step you are stuck in is for iOS only.

Can Delphi FireDAC work properly with SEE on android platform?

I'm a newbie for android development.
I'm developing an mobile application run on Android devices with Delphi XE7. And now I'm searching the way to encrypt the sqlite database files accessed through FireDac on Android devices.
I've found The SQLite Encryption Extension (SEE).
But I'm not sure if FireDac can work properly with SEE to manipulate sqlite databases on Android device. If it can, how to deploy SEE to an android device?
Please suggest solutions.
FireDAC will not support SEE. However, you could use the build-in encryption with FireDAC for SQLite. That would save you from having to use multiple components for the same task.
Here is a link to the documentation on SQLite with FireDAC. The encryption process is included.
http://docwiki.embarcadero.com/RADStudio/XE8/en/Using_SQLite_with_FireDAC

how to use android database in/as a phonegap database

I want to use android database into same phonegap apps.
more descripation:
I created phonegap application, but phonegap application is not supporting services so, we have created application that in java for android and will create for iPhone also.
But the problem is that i need to check store data into android(.java) for service. but how can we use that database into phonegap(.javascript)
sorry for my grammar.
You need to write phonegap plugins for same. Please refer link for more details.
I think that persistenceJS will fit your need

Can I combine phonegap and native Android?

I am a beginner in Android. I want to combine phone gap and native java android. I want to use sqlitedatabase from assets and copy to android data/data/packagename/databases with phonegap. Can I do that? Please help with example.
As far as combining native Java and PhoneGap, what you are looking to do is develop a plugin:
Is it possible to interacte between native iphone app and PhoneGap app?
As for the sqlite database, PhoneGap has a File() API for doing these kinds of things:
http://docs.phonegap.com/phonegap_file_file.md.html#FileEntry
(see copyTo and moveTo).

Categories

Resources