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
Related
Hey guys I am new to android development I just created an app for android using back4app parse database where data stored in classes hope you are familiar with that and now I want to use the same data for my website using the same parse database please help me and suggest me something good to do this
parse-server store your data in a MongoDB database means that after the data is being stored you can access it from any device at any location. In your case you can start with a Web app, read, create, update and delete data and then you can just create an android app and use the same API's there and you will see exactly the same data that you see in your web app (if the logic is the same of course).
The best way to get started is with parse Javascript SDK for your web app and parse android SDK for your android app.
Later, you can create it for iOS or any other platform that you like. If for some reason you don't have the relevant SDK for your technology you can always use parse-server REST api's
If you need more info or have specific issue please let me know.
There is already a portal system which is based on the web, and allows the teachers to enter the attendance data. But it takes extra efforts from teachers to write it once on paper and then to update the data on the server.
I am developing an Android application. This app facilitates the teachers to take attendance of students on mobile itself, then upload it to the server, hence reducing the use of pen and paper. Firstly it asks the user to sign in, then it displays the options of various semesters + sections + subjects which are fetched from the central server.
Now, I know how to make the application, I know MySQL.
I want to know what kind of structure is required to make such an
app
How do I connect my app to the local server ?
Is it necessary to use some web based data storage ?
Because I have not enough repotation to comment. I would advice you to use the retrofit libary. It makes rest communication easier. You can include it with gradle and it has many tutorials available.
you will have to use sqLite for local data base in android. you can refer official tutorial for examples
It is not required to use web based data storage as long as you are fine with data being in device itself.
I'm new to Android and to web services in general.
This is what i gotta do: My company has a back end website(for the client to monitor the sales) that's used to manage/monitor sales on some stores and it connects to a MySQL db to store data about sales and users(usernames and passwords).
What I want to do is to get data from that database and to add (sync operations) new rows, all of this from my android app.
I googled this many times and it came up with some similar projects but using another languages.
I would like to see some code samples if possible and some how-to theory, what theory should I follow when developing this, how and what ways of communicating between android and python web services and from the web services to the MySQL database.
Thank you in advance.
You will need a working API, that allows you to communicate to the web service from the android application. I would read into how to write an API and how to build a RESTful service using JSON as a way of communicating between server and android app. There are alternatives to JSON, but JSON is better suited for Android than perhaps AJAX and soap is being used less and less. (Can ajax call be done in Android? It can but has limitations)
(I could only post two full hyper links as i don't have enough reputation yet to do so, you may have to remove the spaces)
API:
http://sharismlab.com/blog/2012/07/21/how-to-write-an-api-for-your-web-app/
REST:
www .restapitutorial. com/lessons/whatisrest.html/
JSON:
htt p:// www.r evillweb.co m/article s/why-use-j son/
You may want to check out restjee. It allows you to define and implement RESTful data access APIs without having to write any server side code. Works with just about any database.
For example my application contains some quiz and I want to know the results from each user who installed the app. Is there any way to collect these stats?
Yes.
Use for example the Parse Library. https://parse.com/docs/android_guide. It's very easy to set up.
When you have set it up and read their guide, you'll be able to save data very easily. I had mine up in about five, ten minutes and I can now save complex data.
The upside of using a cloud based solution (Parse is cloud based) is of course that you won't need your own backend (server and database). You won't have to code your backend script/servlet either.
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