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
Related
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.
I want to store contents of my local db to oracle cloud. I have searched the internet but cannot find any apis which can guide me to my result. The documentation is very naive and I cannot find a solution.
Been searching for 3 days, help would be appreciated
(Disclaimer: I work for the Oracle MCS team)
In response to your update that you want to store data in MCS.
Let's break this discussion into two parts, the MCS server side, and the client side which is Android in your case.
From a MCS server perspective you have two options for storage, the "Storage API" and the "Database API". The "Storage API" is designed to store files (aka. objects) in collections. The "Database API" is for more traditional data stored in RDBMS tables, columns & rows. So you need to make a choice which you think is more suitable for your needs.
Note that the Storage API is accessible external to MCS from a mobile client as a REST API, as well as node.js custom APIs within MCS that you would manually write. However the Database API is only accessible from node.js custom APIs. So if you choose to use the Database API you must also build server side custom APIs to expose the Database API to your client. With the Storage API it is already exposed to your client.
If we move onto the client side and what you need to do, you ultimately need to build your client to contact these server side APIs, which ever you choose as the description above. In building the client side you have two choices:
1) Manual - you create your own code to create, store and manage objects in the Android local db (eg. SQLLite), and then you need to write client side code to consume the MSC server APIs you've setup and read/write data from the local db. There is potentially significant work here, but, the MCS Android SDK will make this job easier as it provides client side libraries to call both the server side Storage API or Custom API (wrapping the Storage API or Database API) that we considered above, rather than you having to write raw REST calls.
2) Automatic - the MCS Android SDK also provide a "data offline & sync" SDK that takes care of the creation, store and management of objects in the device's database for you, and synchronising the data with the server side for you, based on a bunch of policies you pick. There is still some coding required, but mostly it's greatly reduced compared to the manual option above.
I'm sure you are already familiar with the MCS YouTube channel and it does cover how to build custom APIs, use the storage API, and does include videos on the Data Offline & Sync SDK too. Look to the playlists in the channel for the major topic areas. By chance I literally finished the Android video for Data Offline & Sync a couple weeks back (remember to watch the other data offline & sync videos before this one!), and it's not yet public. But you can have a sneak peak of the video here.
(A comment for future readers of this post: Please note that URL may change when we finally properly publish that video)
I'm trying to move an android app project from Firebase to Azure, and I've been working through the simple ToDo app tutorial on the Azure website:
https://azure.microsoft.com/en-us/documentation/articles/app-service-mobile-android-get-started-offline-data/
I've been using this tutorial to try to understand the basic techniques involved in retrieving data from an Azure SQL server.
As it stands, the sample app refreshes local data when the user clicks a 'refresh button', by using:
mToDoTable.pull(null).get();
(Where mToDoTable is a MobileServiceSyncTable.)
I want to change the app so that local data is refreshed automatically whenever server data changes: the user shouldn't need to click a refresh button.
I'd expected this to be straightforward, and that it would probably involve attaching a listener of some sort to mToDoTable.(It works in this kind of way in Firebase, and it's easy to do.)
My problem is that I can't find any guidance on how to do this in Azure: I haven't found anything in the tutorials, the documentation, or via extensive Google searching. This leads to me to think that I'm missing something obvious (not unlikely since I'm completely new to Azure, I have no SQL experience, and I'm fairly new to Android in general). Any help much appreciated.
I don't have the answer like "no, there is no built-in mechanism" or "yes, there is a callback function or a trigger that will do what you want", and when i implemented some project in a recent past, i could not find such out-of-the-box solution. Pretty sure that there is no mechanism, however.
What i did in our project was to poll the backend using Exponential Back-off and event-driven approach (if-user-opens-then-poll-the-backend).
There are a lot of tutorials how to do that like that.
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.
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