Query on Google App Maker data movement on premise - google-app-maker

I've just started exploring Google App Maker and have understood the basics. I wanted to know if there's a way by which I can push/pull data from my on premise Oracle database on to a App Maker application (model)?
As an example, if I submit a form on App Maker, I want the data to be pushed to my on premise Oracle database. Likewise, I want the Spreadsheet data to be refreshed back from my on premise Oracle database. To what I understood from my readings so far, the App Maker data can come from a Google Spreadsheet. Is there a way I can push and pull data to and from this Spreadsheet eventually to my on premise Oracle database?
Any help in this direction is much appreciated.
Thanks very much.

At this time App Maker doesn't provide out of the box connectivity to on premise databases in general and doesn't support Oracle in particular.
If you really want to use App Maker with 3rd party database, you can implement Web API that will expose it. Once you have API you can connect to from App Maker using URL Fetch. In this case you'll need to implement CRUD from the ground and it will be pretty difficult. Definitely I will not you to go down this way...

Related

Set Alarms in android Firebase

I am a beginner in android and was working on a small project where multiple user sign up and perform different action like posting, liking, commenting. All data being stored on fire-base database and storage. I want to build an 'Events module' in the app, that helps each user set their own event, descriptions, time and days to give them reminders. I am unable to work as I don't know where to start. What should I use. I tried searching alarm manager but I really am not getting it so much. Many people have worked using SQLlite and alarm manager but I don't want to use sqlLite. Help me what should I start.
I found the answer to this a day after. The reason why we need to choose sqlite and not firebase is because alarms are locally stored on our mobile devices. Sqlite helps in such process whereas firebase works as cloud which is usually not recommended and used for alarms or calendars!!! Cheers

Move Azure database location for offline sync

I have been watching this tutorial on implementing offline sync in Xamarin using the Azure portal. at 21:15 - 21:32 the tutorial explains that the getTable(myCoolTable) method in
using Microsoft.WindowsAzure.MobileServices.SQLiteStore;
assumes that the location of your database in the Azure portal is at
/tables/myCoolTable although you are able to change this if you want. This is fine if you made your cloud database using their Easy Tables software but I did not. It is not explained how it is possible to change this path, so that I can point my local SQLite database to sync with my Azure cloud database which is stored in ClearDB.
How do I achieve this?
According to your description, I assumed that you could follow this official tutorial for creating an Azure Mobile App backend (for a simple way you could choose node.js backend which works with easy tables and when you adding new table in easy tables, it would automatically create the node.js backend for the related table. Also you could build the c# backend by yourself and deploy it to your mobile app) and download the Xamarin demo project, then follow this tutorial to enable offline sync for your mobile app. Additionally, you could refer to adrian hall's book about Data Access and Offline Sync for a better understanding of offline sync.

Populate Azure Mobile Apps backend data

Hi and thanks in advance.
I'm experimenting with a Xamarin.Forms app to handle various events organized by my company (one a month), and I'm taking a cue from the great app made by Xamarin ​​for Evolve16.
But I don't understand how I can populate the database created in Azure backend with code first. I know there is a Seed method to eventually do this the first time but next? Every month I need to add new data (for example new sessions) quickly, and I do not want to provide this functionality within the app because the app should only provide contents to users. All domain obejects inherit from EntityData so I don't know if I can use LINQPad or SSMS to insert data directly because there are fields populated automatically (Version, CreatedAt, UpdatedAt...). Can I use rest api of backend table controllers? But where is the "try out" possibility that there was in Azure Mobile Service??
There are several ways to answer this. Basically, you want to alter the underlying tables in the SQL database
1) aka "the simple version" - download the SQL Server Management Studio and do raw inserts into the table
2) aka "the separate website" - write an ASP.NET web app that uses Entity Framework to do the inserts for you. Make sure you include the Azure Mobile Apps Server SDK and make your models inherit from EntityData.
3) aka "the combined website" - download the Node project that underlies the service and adjust it to add your own website that can do the inserts for you.
The "try out" option is now implemented with swagger. Just go to https://yoursite.azurewebsites.net/swagger

Security for database SQLite of apps

I'm beginner in eclipse and android apps. what can I do for security of database? prevent hack or steel my database of my app. And where is database of apps in mobiles with android OS?
You can't. It is pretty trivial to get it, no matter what you do. If you want to keep your data safer, you can drop the local database, and make a web service where you get your data from. Then you will have to make some restrictions, so people will not rip your data fast. This is known as anti-farming and you can see more at https://www.owasp.org/index.php/REST_Security_Cheat_Sheet#Anti-farming
But this will only slow people down, and as the article says, large resource adversaries will still be able to get whatever they want.
What to do: don't focus on it, build a awesome app, so no other will reach your user level/profit.
Take a look at https://www.zetetic.net/sqlcipher/sqlcipher-for-android/. It is possible to create a encrypted database with that library. You should only think about where to place the key of it. One possible solution is that user has to enter the password via login dialog for example.
The database and app specific data is located at /android /data/package of your app folder.

What would be the best approach to store data offline when working with web application in asp.net

I am writing a web application that will mostly be used on a mobile devices in asp.net C#. I was wondering what would be the best way to store data offline. This theory is what I have on mind:
When the user first access the website I want my code to export the entire schema and the data from the MSSQL database dynamically to JSON file (if it's possible) then the next step is to take that generated JSON file and create a local SQLite database with all the data from JSON. So later my application can read from it while the user is not online
please let me know what do you think or if this is not going to work because of something I am missing.
Thank you,
You have a few options, but it all depends on what your mobile app is like, what kind of data you are transferring (structured or unstructured), whether or not the ASP.NET site needs to serve web clients, etc.
Consider writing a mobile app using Cordova/PhoneGap. There are native plugins for various device platforms where you can store the data locally.
BreezeJS (http://www.breezejs.com/) is a native JavaScript framework for data access, including sync.
If you are creating a native iOS app, consider RestKit.
If you decide you want to create a native cross-platform app, you could use a technology such as Xamarin and use Azure Mobile Services to do data sync. You would have to convert your app to be a WebAPI however, which might not be feasible. (Disclosure: I work on this project)
Amazon has a sync service called Cognito.

Resources