Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 1 year ago.
Improve this question
I need some tips, something to give me a way or to brighten my mind. My app idea is a Recipe's Book app. But I imagine the following scenario: user writes recipes in PC (desktop app), and then, when going to cook, at the kitchen, read/ edit the recipes on the Mobile version. Aka the app do the same things in both platforms. The app is simple, basically the data will be text. But my problem is: I only knew how to develop native apps, both mobile or desktop, with local database. Recently I've been developing on xamarin. I'm doing well at it, but My question is: how am I going to share this database? I would need it to be on cloud, right? So how could I be doing that? I just want to understand, not how exactly to do it, but now I dont have a clue on how to do that. And if you have a better platform to develop this idea, I accept tips
You need two things
Database
API
The database is to store the data, and the API is the way your different apps will exchange the data with the API.
API in a nutshell
For example : the desktop will talk to the API to add a recipe to the database, and form the other side the Mobile App will ask the API to get that recipe.
I advice you to start with MongoDB (free tier) and Express it's the fastest way to get started
According to your situation I can advice you to use Firebase Real Time Database, it has all the functionality you want of updating data in real time and fetch it also faster and implementing it is not hard as you need to configure it in your project environment I can refer you to this Page to learn more about firebase , in case you want to refer to their documentation check here.
Related
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 4 years ago.
Improve this question
I am starting to develop a vocabulary app out of necessity without good prior knowledge of the tools that I will have to use. Please excuse the nooby question: your answers, even short and vague, will save me lots of time...
The app is supposed to store entries made by user (words) and display them for learning purposes. Once the words are entered from a mobile device, the database should be accordingly updated on PC. If the entries are made from PC, the database is updated on the mobile phone. What is an adequate way to implement this? If written in C# with SQLite, the database file would have to be imported/exported each time the entries are made which would be painful.
I have just a guess that a kind of a web app will suite the purpose. From you I only need general directions: what languages, what techonology/software/tools. Thank you and sorry for the type of question!
As you stated, you're only at the beginning.
But in order to give you a general guideline to help you started, I would save the DB in firebase DB solutions (they used to have one, now there two). Then, you'll have read and write access to it both from your PC client and your Android client (and any other client that is connected to the internet, like iPhone as well for that matter).
This also lets you to pick any programming language you'd like.
Firebase is Google's set of many handy tools and libraries that help during software and app development. You can read more at the official site: https://firebase.google.com/.
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 5 years ago.
Improve this question
I recently started programming in Android, and I already have done some easy apps, but today I want to ask you how some apps are done, to can be able to develop some advanced app in future.
In particular, I want to know how the apps like Booking, Airbnb, Couchsurfing or Worldpackers and much more existing apps like them in the market work.
I assume that they are web based applications, and maybe have some database from where retrieve data to show results in the webside and in the app, and it also reload this database from website or app?
Is it some software architectural pattern (I don't know the name) for this type of apps I can take a look at and learn?
Do you know if exist some recommended framework which can help you to develop this type of apps?
This are my questions, basically please help me to understant a little more about this kind of code. If you know some app example name, it is also welcome.
The companys that offers those apps have web services that serves datas trough Http/Https to be consumed by applications.
Android uses URLConnection to download data, and libraries like GSON to parse JSON data and DOM for XML and stores internally on SQLite to be displayed to users.
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 6 years ago.
Improve this question
I have a online room booking website whose backend is written in ASP.NET..I wanted to create an android app which will be completely attached with the backend of my website..In my android app I want existing users to login and new users to sign up and then they can book rooms according to availability...So please kindly suggest me the requirement on how to start this project..I am clueless..My website is mobile responsive too..my expectation is great user experience.MY BIGGEST PROBLEM IS...HOW WILL I CONNECT MY APP WITH THE BACKEND SERVER....please suggest me or provide a reference..
If you're web designer and don't know anything about developing mobile application in android/iOS then you should probably try phonegap
You can reuse your website code for Android/iOS application so you do not need to worry about back-end server connectivity or anything else. You just need to make sure that your web UI is mobile responsive. So it's better to use bootstrap/jQuery mobile.It will exactly work in mobile as it's working on web UI right now. Refer phonegap doc for more information.
First you need to separate what are the most important functionalities of your room booking website. Create a list with each one and classify it.
After you do that, create prototypes of screen or create forms for your users asking what are the best features to include in the app.
I recommended you take a look in the Android Material Documentation. This will help you to achieve great user experience.
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 9 years ago.
Improve this question
So I am creating a project with a couple of buddies and I need to create an API. This is my first time creating a big project and creating my own API. I don't know where to start. The project that we're working on will have a website, an app for Android and IOS, and use PostgreSQL. We will be using Javascript and Node.js as well. If there are any tips about creating API's for Android, IOS, and Web please let me know.
I would strongly recommend you read "RESTful Web Services" by Richardson
The book gives a thorough grounding in the "why?" behind organizing resources restfully. Also provides a good outline of different RESTful authentication mechanisms and the pros and cons of each - vital for a mobile app talking to a web-based back-end.
Then, sit back and outline the resources that will be necessary to run your app and have at it!
First of all take paper and pen to start design the architecture and write down all use cases. Also define the way data will be access.
While creating an API for mobile apps we should keep some important things in mind. First what type of API it should be JSON based or XML. And I will prefer JSON for mobile app as its lightweight and will take less time to parse. Also it will be fast to transmit. While XML bit costly.
One of most important thing you should design the api as secure as it could be. Because sensitive information can be sniff by some one. better to use SSL hand shake to make it secure.
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 8 years ago.
Improve this question
I have been doing some research to create an IM application. I saw many sample codes and still trying to decide which method to use. Before starting development I want to ask your opinion if anybody knows how popular IM applications such as Kakao Talk, Line, We Chat, WhatsApp work.
I saw some articles saying to use Google Cloud, and some articles about using XMPP.
I am a kinda new for Android development and before starting development I want to see all my possibilities and choose best method for that.
Thanks for your time.
Well, I would presume they don't all work the same way. There are different techniques one can use to implement a chat client. Each of these companies might have their own proprietory technologies depending on their scale, user base, finances etc.
2 popular options you can check out are :
XMPP - It's supported by most major chat clients and is used by the likes of Facebook (a customized version of it anyway). asmack is a popular XMPP library for Android which might be useful to you.
A Backend-As-A-Service (BAAS) provider like Parse. This will save you a lot of server side heavy lifting and writing backend code like you would have to do if you were considering something like AWS
If this is a learning project, I would suggest implementing a very simple client and writing both the server and client-side code so that you know how the whole stack works. Hope that helps!