Sync Data between Android Tablet & Phone - android

I'm looking at creating an Android app and need some advice. I am not an Android developer but I have developed for iOS so I am writing the specification. So I am now trying to figure out the best way to sync data between Android phone and tablet?
I am the biggest fan of Firebase around but I'd rather avoid using Firebase or servers if at all possible. Does Google offer an easy way to sync data between google devices using the same google account, via Google Drive on Android?
There's content that will be favorited and pre-existing items (i.e. not user generated or customised content) that need to be checked off in their lists. If those items are removed or favorites are added on the phone for example, that change needs to be replicated on the tablet. What's the best and most cost effective way to implement this? Firebase?

Firebase is probably the easiest and cheapest route (ie free).
You can hack together Google Drive to sync user data, but FB will be so much easier.

Related

How secure is BitcoinJ in production environment?

I am completely new to the Bitcoin scene. and have been researching a lot about it. I have also read the original white paper on it. I was looking into making an Andorid wallet where I could send and receive bitcoin. I successfully made that application I do have some questions though, I couldn't find these answers online.
I used BitcoinJ to make the Android bitcoin wallet. So here goes my questions
1) Using the latest version of BitcoinJ is this library safe to use in a production enviroment?
2) What other security features can I implement to make wallets secure as possible if im going to store addresses in a NoSQL db.
3) From the limitations section it says this:
The Wallet code doesn’t scale well. All transactions that were ever relevant to the wallet are loaded into memory, all the time, and re-written every time the wallet is saved. This results in a simple on-disk format accessible to many kinds of apps, but has poor performance for heavy users. In time we’ll probably switch to a log structured wallet file format to solve this.
How likely is that to affect a production application on a large scale?

Best way to store user's data for my app?

I'm developing the first app I would like to release on the play store, and I can't seem to figure out what would be the best way to store data.
User's will input a lot of numbers, which will be used to create different type of graphs. For that reason I need to be sure the data will never be lost, even if they use a new/different Android device. At first I was thinking about a database, but I'm still not sure if my app will be popular enough for me to host a database and spend cash, so I figured it wasn't the best option. Plus, it would require users to create an account.
After some thought I thought I could give the user's the option to either not create an account (but might lose their data in the long run) or create an account but I would still need to maintain a database.
Someone told me they hate creating accounts and said I could just use the Google Drive API for Android. I was looking at the doc and looking at some examples but it is a bit confusing. I would like to read/write/update a sheet, but I can't even seem to find examples on how to do that. There would also be Dropbox.
What would be the best option, in my case, to store data?
I think what suits you best would be Google's Cloud Save, I've never used it but it sounds like it will suit you best!
I'd go with Google Drive. I use it on my app. You have no cost, and almost every Android user has a Google Drive account. Keep looking and you will find good tutorials about it.
Or you could use also Parse. Very easy to work with. And free until a certain usage limit. www.parse.com

Is there any way to determine whether the same individual who have visited your website also downloaded and installed your phone app?

Currently, I'm looking to see if there is a way to sync the information we've obtained through an online site with the information we use on a phone application.
All I need to know is that the user that visited our site is the same user that is using our phone application, No stats and preferably no one needs to enter a thing.
You won't get that from Apple, because of their history with privacy concerns, but you could do something like generate an identifying number in your app, that your web site asks for, that would tie the two together. Of course, you'd have to make allowances if your app is deleted from the device, then re-installed, to either make sure you're generating the same number, or other such solution as befits your requirements.
The first thing that would come to my mind is Google Analytics, available for different platforms and services (i.e. Youtube, etc). You would have to go through Google Analytics API to figure out a way on how to track a particular customer visit across several location/platforms.
See Hello Analytics example of Google Analytics API
See Data Feed API
Ok, so far I've answered my own question for androids. Apparently you can pass a referrer param through google play which actually allows your app to receive the parameter and they even have an app that test this functionality.
https://play.google.com/store/apps/details?id=net.stevemiller.android.referrertest
now I have yet to test this, nor is it a possible solution for iOS.

How to combine the datas of individual apps on google analytics?

I have several apps tracked on Google Analytics, around 50 apps split into 2 accounts.
I get all the datas I need for each app (tracking specific events for instance), but it seems like there is no way to elaborate a report to consolidate them in one single report.
Is there a way to elaborate this report that I didn't find ?
Is there any common tracking code I could ask our developers team to set within each app, to be able to get all the datas in one view on google analytics ?
Thanks !
There is no way from within the interface to generate reports that span multiple properties or accounts.
However you can use either the API via a 'proper' programming language or pull data from multiple properties and accounts into a google spreadsheet using Google Apps script.
Google provides a ready made spreadsheet, which alas has several shortcomings compared to a homebuild solution, namely that it does not auto-update and does support trigger to update data automatically.
Once you have imported your data (which will go into several worksheets) you can use all the usual spreadsheet functions to combine data (and do statistics, produce graphs etc).

Read data about an application from the android market

I've noticed lately that some app recommender programs seem to get data off the android market. I'm wondering how I could retrieve information, such as screen shots, description, developer, number of downloads, rating, etc...
I've done many searches and I haven't found any solutions. It would be nice to be able to use that info to be able to see a rating for an app inside an app chooser, for example. Or perhaps be able to track changes and rating over time and version history, etc...
Is there an API to access that information? Is there a way to parse the data from a website? Or is there a complicated hack involved? Any information is appreciated...
There is an API currently hosted on Google Code. I've made use of it in one of my own apps and I think it works quite well. You are able to access everything that is visible in the market including comments and screenshots.
http://code.google.com/p/android-market-api/
Is there an API to access that
information?
Not a publicly supported one offered by Google, sorry.

Categories

Resources