Meteor Mongo and Android App Sharing DB - java

I am trying to create a meteor project that allows android apps to access its DB.
We have understanding of Meteor (me) and Java android development (friend).
Could anyone experienced in this field give a simple guideline on which keywords to search, or give a brief guideline of how to approach this.
I was thinking of creating a meteor server, then somehow allowing the android app to access MongoDB.
I am pretty experienced with simply making a web app with Meteor and Meteor mongo, but I have no experience opening the database to external apps.

Meteor uses the DDP protocol. So you can build your backend with Meteor, and then connect to it with any app (native Android app for example) through the DDP protocol by using a library for Java. A list of DDP libraries is maintained here. You should be able to find something for Android.

Related

MongoDB with Android Studio

ALL questions I saw here is too old for understanding so I'm asking a new one.
Im building a social media app that stores data, and will ,at the end, send notification even when the app is offline.
Is MongoDB is a good choice to use with Android Studio to my project ?
I understood that I need first to connect it to Realm and by Realm I use MongoDB.
Do you think its a good DB to use with Android? if it is, do you have any good guides for it?
If not, is there any other DB to use that is easy to learn\use?
PS
I dont want to use Firebase, because of its pricing.
Thank you .
MongoDB is also available for android
The only problem is that it does not have well-structured documentation for android..
I recently managed to connect my android application to the remote database
here is a sample unit application
https://github.com/i-sachinkumar/MongoDB-for-Android
Its readme file contains all the steps to be followed in the back-end as well as in the android studio
Enjoy

How to make a mobile app using HTML CSS and JS?

I am planning to develop a mobile app using HTML CSS and javascript.i plan on storing data in a local file instead of a database.how can I develop this? any ideas? The app will run in the browser of the mobile device. (this eliminates login)
The concept of the project is good.ive also designed the UI.
I think you're talking about making a website with a javascript app in it. Mobile apps are made with swift for IOS and android apps are made in java or c++.
There are programs that will take your website and put it inside an application container (mostly for android) but these programs are not recommended.
I would recommend learning swift or Java or c++ and make an app or using your html/css/javascript knowledge to make a web application.

How do I connect a Java class from Raspberry Pi my firebase project?

I am trying to connect my Java class to firebase but I can only find documentation for how to do so through Android. I am planning on uploading the Java class to a raspberry pi and I need to connect it to firebase so an Android app will not work.
There are two SDKs for Firebase that are relevant, but don't apply here. I'll still list them:
The Firebase SDK for Android, which is meant to be used in Android apps.
The Firebase Admin SDK for Java, which is meant to be uses in JVM applications that run in a trusted environments, such as a server you control.
Your target deployment systems seems to fit neither of those, so (as said) these likely don't apply.
In that case, the best option is probably to check if there's a REST API for the Firebase product(s) that that you are trying to use, and call those with HTTP calls from your Android app.

Resources for developing Android apps with databases

I'm looking for some resources on developing Android apps with a connected remote database safely and securely. The idea is to have users log in to a personal profile which can be populated with text data, files and images. The app will also have geolocation, text/video chat and some other features but first things first.
I was reading it is bad practice to connect to a remote database, say MySQL, through an app directly and that something called REST API is the preferred and safe method of communication. Are there any good guides/examples on how to connect to to a remote DB in this fashion? Tips?
I have have some school experience in Java but I'm new to Android development.
Thank you!
Have you tried Google's Firebase?
You can learn more here:
https://firebase.google.com

Using google analytics android for desktop application

I am on the lookout for doing analytics for a desktop application written in Java. I came across two services viz: TrackerBird and DesktopMetrics , but for a small time developer like me , those services are not affordable.
Google analytics has android support. So I was wondering if I could use the same in the desktop application which is on Java.I am looking for a headsup if anyone has implemented the same and tips on how to proceed on using GA on desktop.
the SO link here says no , but I think it can be done.
Here is the link of google code on using GA in android , says it should bind to an application context. I was wondering if I could hack it to work in a desktop app.
There is no Google supported library for GA on desktop Java. The Google Analytics Android library has a lot of dependencies on Android infrastructure (for extracting basic user information, maintaining persistent state, and tracking application lifetime). But, since GA just boils down to HTTP image requests, it should be possible for a desktop Java app to mimic those. I have not used it, but this library looks like what you want: http://code.google.com/p/jgoogleanalytics/
For more details and other useful links see Manually sending data to Google Analytics
Have you thought about using Mixpanel? It gives you 25,000 to 175,000 free data points a month and has a Java integration library:
https://mixpanel.com/docs/integration-libraries/java

Categories

Resources