I'd like to create a cross-platform mobile app.
The app would need to be connected to a database; my question is this: can anyone suggest a solution in which data can be manually entered into the database is a nice presentable human GUI that is shared with the mobile app?
I'd like a staff member to manually add data that our clients can then search for using our app.
I am sure that this is a very simple 'problem' that we are trying to solve - I guess I'm just looking for solutions.
Thanks!
I don't think this question is appropriate for stack overflow but the solution is to create a Web Admin panel using angular, react or laravel. In that admin panel you can have different form to enter the data and data tables to view and manage the data. The mobile apps should be connected to the same backend using RestAPIs that should be developed using any technology preferably node.js. I hope this answers your question.
You can try using Realm check the website here. They have some concept of Realm cloud which is what you might be looking for whereas "Realm Studio" is a GUI app where an admin can add data from the server and will be reflected on the mobile side.
Realm works with both iOS and Android and can even export/ import data from JSON.
PS: Do check the pricing of it before you start using it in your project.
Related
I got an assignment to write a SDK/API for a mobile app, which will be developed in all 3 platforms(Android/Windows/iOS) by different persons. Since those mobile app developers are outside companies, my company doesn't want to expose any Data Base structure related information to them.
So they wanted me to use Parse.com as back-end. I was playing with Parse.Com last whole week. But following things are still unclear to me. Hope there could be someone who could help
Once I go to create an app on Parse.Com it binds me to a specific
platform so is there a way I could refer data (classes) on one app to
the other ?
Is there any way I could expose only few functions out side (like
GetProductList(), GetOrders()... ) world irrespective of target OS ?
Making an app on Parse.com won't bind you to a specific platform. While in the Parse dashboard, go to settings -> keys to find the keys you need to access your Parse server for whatever platform you are coding. Parse objects are JSON encoded.
You can add javascript functions to your server via Parse's Cloud Code. These functions can be called via multiple languages. Check out the following links to add javascript functions to your server:
https://parse.com/docs/cloud_code_guide
https://parse.com/docs/js_guide
Im building this app (using Unity3d) for a city hall and I need to split the content from the actual app since content must be easily changeable without having to update the app itself.
I want to host the content on a server and use http get/post messages to retrieve the data. I also need to have a web editor (kinda like a CMS) so that the client can change the content himself.
In the editor I would just have a list of "rooms", where each "room" would be one of three types (i.e. text screen, slideshow or audio). Depending on what type the room is, different parameters should be visible and editable.
What language you suggest I write the server in? (the server that the app would contact in order to obtain the up-to-date content) Python i'm guessing here?
What would be the easiest way to build the browser editor? Javascript and django?
If you know Python already and don't want to have to support maintaining a web server for your client it would probably be easy to host the web portion of your app on Google's App Engine. It's relatively easy to use App Engine to serve a simple a web form where the client could edit content and upload binaries. The form could be built using Jinja or Django-style templates, and the data would be written to App Engine's datastore. (also, it's easy to restrict access to the form to app administrators to prevent accidental/malicious edits)
Then the Unity app would query a page on the App Engine server to see if there's new content using the WWW object. The server would make a quick memcache/datastore query and return a JSON response telling Unity if there's more stuff to download or not.
I've done all of this in past projects, so I'm sure it's workable, and a lot of relevant code can be found in App Engine's tutorials and via some light Googling.
I would also look at Wordpress as a CMS. You can create custom forms for different post types. Each "room" type could also be a category type and have custom fields for data to be inputed.
There are loads of plugins to get up and running without too much coding. But you can also dig in and customize with some PHP coding.
The great thing about Wordpress is that media handling, Database interface, user management, privilege and editorial controls, to hand off to a client, are all there. There are loads of tutorials and documentation to get the platform to work for your needs.
Android get connected easily with cloud server.I don't know about others. You can connect using JSON and PHP for this.
You can use .net platform as an backend server.
You could also build Webservices. On my project we work with it. You could also do it with PHP. Try this link: Androidhive.info/how-to-connect-android-with-php
I'm about to build a GPS Spot Finder application with Android and I am trying to decide what requirements are feasible and what aren't. The app would enable users to essentially add different spots on a Google Map. One of the problems would be fetching the data, adding new spots, etc, etc. This, of course would mean the database would have to be online and it would have to be central. My question is, what kind technologies would I need to make this happen? I am mostly familiar with XAMPP, PHPMyAdmin and the like. Can I just use that and connect Android to the database? I assume I would not need to create a website...just the database?
What different approaches can I take with this? Be great if people can point me in the right direction.
Sorry if I don't make any sense and if this type of question is inappropriate for Stackoverflow :S
Create a website to access the database locally, and have Android send requests to the website.
If users are adding spots to a map that only they see, then it makes sense to keep the data local to Android using a built-in database (SQLite). That looks like
ANDROID -> DATABASE
You can read up about SQLite options here.
If users need to see all the spots added by all other users, or even a subset of spots added by users, then you need a web service to handle queries to the database: Connect to a remote database...online database
ANDROID -> HTTP -> APPLICATION SERVER -> DATABASE
Not only is trying to interface directly to a database less stable, but it may pose risks in terms of security and accessibility.
Never never use a database driver across an Internet connection, for any database, for any platform, for any client, anywhere. That goes double for mobile. Database drivers are designed for LAN operations and are not designed for flaky/intermittent connections or high latency.
Additionally, Android does not come with built in clients to access databases such as MySQL. So while it may seem like more work to run a web service somewhere, you will actually be way better off than trying to do things directly with a database. Here is a tutorial showing how to interface these two.
There is a hidden benefit to using html routes. You will need a programming mindset to think through what type of data is being sent in the POST and what is being retrieved in the GET. This alone will improve your application architecture and results.
Why not try using something that is already built into android like SQLite? Save the coordinates of these "spots" into a database through there. This way, everything is local, and should be speedy. Unless, one of your features is to share spots with other users? You can still send these "spots" through different methods other than having a central database.
And yes, you just need an open database, not a website, exactly. You could technically host a database from your home computer, but I do not suggest it.
If you are looking at storing the data in your users mobile nothing better than built in SQLLite.
If you are looking at centralized database to store information, Parse.com is a easy and better way to store your user application data in centralized repository.
Parse.com is not exactly a SQL based database, However you can create table , insert / update and retrieve rows from android.
Best part is it is free upto 1GB. They claim 400,000 apps are built on Parse.com. I have used few of my application typically for user management worked great for me.
I am trying to develop a real-time Android application where all contents are stored in server. So, they are available whenever a connection to Internet is available. Also, the application provides communication between users and conversations are stored in the server as well. Nothing is locally stored.
However, I am still cannot decide which database type I can use. I intended to use SQLite but I am not sure if I can really use it or not.
Could you please guide me to the proper database type to my application.
Appreciate your time and efforts.
As its upto you which database you use.
you may Install Lamp (For Linux) or WAMP(for window) . This is a nice database tool and very easy to handle and easy linked with PHP for various database function
I recently developed something similar to what you are talking about and here is what I would suggest you to go for.
Use SQL server to manage the data on your desktop and create a web-service in .Net on Visual Studio.
(Note that as others have already mentioned, it really does not matter what is the database you are using in your server end, because eventually the data is going to come to the Android application from the server in form of either xml or json in the web-service., regardless of what database you are using. So it is totally your wish which database you want to use.)
Then connect to the web-service in your application and set/get data from the remote Database, using SOAP.
Link on how to make a web-service in .NET (does not include the implementation in Android).
Links on how to connect your service with Android : this, this and this.
I'm developing a android application for a customer which involves capturing data on the handset and then synchronizing it later to a server. They want me to use Funambol server and client to sync data. I have tried looking up on the www.funambol.com website for any api and documentation, but am not able to find any library for android.
Has anyone done any similar work using funambol? I need to sync a list of customers and their related data which will be entered by a salesman.
Thanks
Funambol has a syncml api for android that is used in the Android client, and can be used for performing the sync without the need of implementing syncml. You will only need to work on client and server side to implement the proper syncsource for your specific data, and store the data on both sides.
Take a look at https://www.forge.funambol.org/download/ (bottom of the page)
The developer community can be reached at bit.ly/fun-open-discuss, where you can discuss development topics and share your project and code (as required by AGPL).
Funambol provides open source-based solutions for push email & PIM sync as well as device management and a platform for mobilizing apps and data. Funambol is based on the SyncML (OMA DS) standard for data synchronization.
Read the FAQ