How to integrate parse with phonegap - android

I want to developed an app for cross mobile platform (iOS / Andriod). I am using phonegap and parse for the same.
Super admin will upload the content of the app for particular user from the website, which will update or fired the parse database server.
Once user login in the application, he/she can access the same file uploaded by admin in the web. We are using parse database for the same.
Is it possible to access the database of parse.com from web ?? Since admin can upload the data to parse.com from webpage ?
Can anyone help me?
Thanks in advance.

You need phonegap to deal with the device not your backend.
Get famliar with https://www.parse.com/docs/js_guide, you will also need something like
https://github.com/ericterpstra/ngSignIt
Care about Phonegap when taking a pic, checking you online staus . . . this kind of thing.

Related

How to make my wordpress news site sync with my own personal server for my app

I own a news site and wanted to make an app for it without having to write two different posts on both platforms, i wanted to be able to write on wordpress and having send it to a server then i will be able to retrieve it and update my app, could someone please help?

can i setup a wamp server with a db on my pc, to continuously update my android app's database?

Hey guys i have a basic question,
I want to know if i can setup a wamp server on my pc with a database, for that when i update something on the database on my pc, it automatically updates the database on my android app via internet, and if it is possible
im planning to put the app on the googlePlayStore, and i want to know if the users who download the app will be able to update the database of the app also thru my server.
im making an app with a db of contacts, mostly taxi services and i want to be able to update the contacts of the db thru an online server, in wich if i change a contact the user will click on the UPDATE_CONTACTS button, and i want the app to automattically check if the server is online, and if it is, UPDATE the db's on the app.
but i want the server to be on my pc, can i do it thru a Wamp_Server app, or do i need to install Windows_Server?
Thanks in Advance for all Answers!
Regards.
Yes you could use a WAMP server, along with Google Cloud Messaging to accomplish this. Create an account and add the API to your server side logic. Once that is complete, implement GCM in your app.
Check out how to implement a GCM client in Android for information on how to do this.
You'll be able to use push notifications from the cloud to send data (retrieved from your server application) to your app via GCM.
Hope this helps.
I think that there's a better solution:
Create a JSON file;
Store this JSON on the cloud;
Read this JSON every time your app starts.
So, your app's users always will get those contacts up to date, without any efforts.

How to get Info from a Web app database into your Android and iOS app

Say I have a rails webapp and I want to make a mobile app version of it; how would I get information from the webapp active record database and implement it in the Android app? And how would I post information to the web server so that I be added to the database.
Let me know if I am not clear enough.
Thank you.
I am sure there are different ways to do it but it is common for mobile apps to consume apis through json.

is there a way to use existing websites as an Android app?

I need your expertise to understand how an Android App can communicate with an existing website.
Using the same web interface but should be displayed as an Android app
Using the same database, when we try searching, and the result should be displayed with in the app
Using the same authentication, so if we accept username/password on our Android app, it should use an existing website script which can authenticate and whatever is returned should be displayed in the app.
Thanks
Well you can use webview for display of pages that should be optimized for best user experience on phone, you can query the database and show response on android - for that you need to build parser on webpage that can accept some sort of query and return response in for example json or xml format. The same goes for authentication, it is very simple actually
As per my knowledge, you need to access Web Services of Website to take the data back from the Website to the App.

Android and website synchronization

I have an issue. We have a website, where person can login and make its own lists of news. Now we trying to develop an Android application, where person could login and do the same in phone. I cannot understand best preactises of implementing such things. It have to be same accounts, with same preserved data as stored online on website.
Could anyone tell me how to synchronize web and android?
You can use backend scripts to get the same data from database of website in android. You need to call a script(in any language like php) to get the data from database. and show this in listview in android or compare it with the user id password entered.

Categories

Resources