Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 5 years ago.
Improve this question
The game itself is not complex at all -a simple board game. But complexity comes from the fact that when 1 player makes a move, the opponent must get this information immediately.
Obviously this is the responsibility of the backend. I plan to use Firebase for this purpose, but I am not sure if Firebase is capable to pass thru tons of messages like this. And I know it has cons because it's cheap and mBaaS cloud service.
Reading the docs did not tell me much - only bragging how they can do this all.
Does anyone have personal experience with Firebase and real-time game that exchanges a lot of messages between 2 players?
Do I need any special setup in the code?
Yes it is definitely suitable. I build a game for iOS using firebase as backend and it is capable handling that messages. You don't need any special setup just include the sdk and configure Firebase in your Appdelegate class and voila start using your real time database.
Short description: Firebase is a cloud hosted Realtime Database. The data is stored as JSON and synchronized in realtime to every connected client. When you build cross-platform apps with our iOS, Android, and JavaScript SDKs, all of your clients share one Realtime Database instance and automatically receive updates with the newest data[Description from Firebase].
Related
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 4 years ago.
Improve this question
Some context: The Db already exists and the app is for internal use of the company, that's why I'm not doing an API.
I need to connect my app to an SQL server to execute a query and retreive data from it.
I've already tried with this plugin but no succes SqlJocky5
Someone have done something similar already with flutter? How you did it? there's another library for connecting the app with a sql server?
So, What I'm looking for is if there's a library to do it like in Xamarin Forms (SqlClient) or in Android Studio Java (JDBC Driver).
I tried to ask a question and I got block because I didn’t answer some question.
Here is the answer:
From https://groups.google.com/forum/#!topic/flutter-dev/GO9ilukcoN4 from #Abner Hernandez
First: you need a SQLServerSocket: https://github.com/nippur72/SqlServerSocket is free and works!
Second: you need a client https://github.com/nippur72/SqlServerSocket (look in DartClient folder).
I did several connections and it works very well.
Of course, it is not as "easy to use, with 2 or 3 clicks and less programming..." but yes, you can "implement a simple SELECT * FROM XXX and show the results on both devices (IOS and Android) with Flutter." I did it.!
Yes I tested it with my remote sql and is working on CRUD. I didn't test for extensive query yet.
günter-zöchbauer gives the best practices.
You should use AQUEDUCT aqueduct.io and create a web api so your Flutter app connects to the server more securely.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 6 years ago.
Improve this question
I am creating my first Android application. This will be something like a Diary or Notebook.
Andorid part is almost done and I don't know what should I do next.
Should I use data base, server....
Or can I use Drive API instead of both?
Thank you
If you're creating a note or a diary app, your better off using some sort of database, whether that's a local SQLite database on the device or a remote database.
If remote it will need some sort of web service to communicate with the database as Android doesn't support connecting to remote mysql databases such as MySQL.
Whether the database is local or remote, it doesn't matter but this would be the better option. If it is stored in the database you can store and retrieve the meta data more easily, such as creation time, title, etc whereas in Google Drive you would either need lots of files or store the data in 1 file in a particular way that you can then parse to get the meta data out.
You could however, export the data from a database and store that on Google drive that can be used as a backup/restore option.
This is a variation on the perennial rdbms vs networked filesystem approach. Many large projects I have worked with have used both, even together. Usually an RDBMS gives you more flexibility and easier development, while a networked filesystem approach works better when you are working with other tooks which expect file-level access.
The simple answer is yes you can but it probably is not worth it. You end up having to do a lot of work yourself to implement what SQLite can offer you. And in the case of Google Drive, latency will likely be a killer.
So keep your data local and fast. And work with something that gives you the flexibility you need.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 6 years ago.
Improve this question
I am trying to find any open source platform using which i can implement chat-bots in my application. I have done RND on this but no luck. If some one already done something like this and implemented chat-bot in his/her application. Then please help me out here. Please send me some links using which i can implement chat-bot in my application. Thanks in advance
Basically, Chat-bots has two parts. 1) natural language processing and ii) chat backend system(like push notifications, chat status, online/offline presence, typing indicator, forwarding etc).
For first part, you can use any of NLP APIS like one from google,Microsoft etc. It totally depends on your usage case and business which apis suits you best.
For second part, you can use any of the chat backend service like Applozic or build your own. For Client side implementation, you can explore our open source client repositories here.
PS: I am co-founder at applozic.
You can use Botlibre. They provide android api with documentation for implementing a chatbot. However first you have to create a chatbot there and use credential to connect from android.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 6 years ago.
Improve this question
I'm currently developing an android application. It stores user login and sign up information using Firebase.
The challenge I'm faced with is finding a suitable database to store information from websites which I would gather myself and allow the app to automatically update and include that information.
Firebase doesn't have a GUI that can create tables and records, so it does not fully meet my requirements. It'll only be used for user authentication.
I've read answers to questions similar to this and saw alternatives such as:
AWS
Buddy
Kinvey
I currently don't have the budget to pay for a premium service so I'm looking for a free and reliable one until I can upgrade.
To sum it all up, I want a online database with either a GUI or text based (preferably SQL syntax), that is reliable and easy to understand.
For my first Android app where I developed it from my diploma thesis and to learn about android philosophy I used MongodDB.
MongoLab has free services to store your documents there. I used Java so you may have to look the MongoDB for java documentation, you can find it easy on the internet and the documentation is very explainable.
Also, for security reasons you may have to develop a restfull API and as a result you may have to use (for example) the PHP API of mongodb to cummunicate with a server and get the query results from there and use them for your Android app. You may have to search about how to get json data from a server to your android app but there are many tutorials about this too.
I have to mention that I am not an expert on which databases are the best to use for Android apps but MongoDB did the work for me.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 6 years ago.
Improve this question
I want to host the backend of my Android app in the cloud (a couple of .NET web services and a small database; nothing else by now; maybe a website if things go well).
The problem is that I'm not sure which option to use: Google Cloud allows PHP, Ruby, Python, Go or Java only. Then there is Rackspace, Azure, Amazon Cloud... I found this list but... I'm a little bit overwhelmed.
I will start small, with just a few users, so by now I don't need something expensive or complicated (no big data or redundancy).
What would you recommend?
Amazon offer you a free tier, may be you could use it for testing purposes
https://aws.amazon.com/free/
I suggest you can use Azure Mobile service. This service has the seamless integrated with project .net or Node.js backend. https://azure.microsoft.com/en-us/documentation/articles/mobile-services-dotnet-backend-android-get-started/
For testing purpose, you can use the free 1 month trial: https://azure.microsoft.com/en-us/pricing/free-trial/
Some dummy question further: no matter which option I use, I need to register some domain to access the web app (SOAP / REST) from the android client device, right? Or am I provided with some IP / domain to refer to the app?
If you use WCF host your webservice on Azure, I suggest you can use the domain name to implement into your Android application.
I have store my application configuration information into Azure Blob Storage. My Android application could get the REST endpoints,domain name,IP and so on information from Azure Blob storage before my application request WCF service on Azure.