I have a question about creating an Android application.
I have a website (dating service) and it has "Desktop Version" and "Mobile Browser Version". These two versions differ in design and few functions (but they are one, one registration for one user). I want to make an Android application like the "Mobile Browser Version", so that it is also connected with my website (one registration for one user).
How to do it?
I installed Android Studio and connected to Firebase.
You can do two things (easy and hard )
1) easy way is if your website is responsive then you can use a webview of android with your website link that don't need any other customization.Just one splash screen and a webview in Mainactivity.
2) (Hard one) you can make API to pull and push data from/to database,this need, you have to make app from scratch and need some times.For this you must have deep knowledge about Retrofit,Recycleview etc
If you have already have a database connected with your website then you need to make an API service to connect android application with your website. You can restrict users having multiple accounts by making their email or mobile number primary key if you have a relational database. or you can use firebase but you also need to connect the website with the firebase account otherwise it will act like a separate service.
Related
I want to restrict users to login from one device only using java for the app and I want to know how it possible to do the same thing for the web and if there any better solution.
I have a new project at hand where I need to make two android applications
1)Main Controller application (be installed in one device say its name be X)
2)Sub Child application (be installed in devices that need to be controlled by X )
So I want to get an idea/picture about how one android device like (2) can be managed fully(i.e. blocking applications or making them accessible for some interval / block calls / track location of user ) from another device like (1). So far I searched Google ,asked my seniors about the same but none was able to help me out.Found many scattered info (like need enterprise app to do this i.e use android management API or Device admin ) but not being able to get any clear idea about the work flow.
Thus now this the last place I can think of for helping me out with this work flow.
Reference
Update: Based on what #Fred said i.e. to use android management API (also based on the answers that he posted here) could we somehow have own custom web server and manage the interactions that EMM console does with all the child apps through our own API's(the same API's which we would call from the parent app.) ???
In other words instead of controlling form the EMM console, I would like to control those child application from another parent android application.
By FCM or Socket programming you can easily communicate with other app. Suppose 2nd app receive a call then 2nd app call a api of server about the information, then server knock 1st app by fcm or socket, then 1st app make a decision and submit the decision to server by API, And finally server submit the decision to 2nd app by FCM or socket.
You can check out the Flyve MDM which is an open source mobile device management solution including both agent app and web panel for management.
I am studying the feasibility of developing a mobile application for Android, for traders, where the client-side installs on a smartphone (A) and of course, through Google Play, and server-side installs itself in another smartphone (B) that installs via the Play also.
B through the merchant takes pictures of your items and upload adding a description (this article) for the application server side, in ways that the user A, which has the side application client can enjoy the products.
In short:
Capturing data to the server must be made through an Android phone that can take pictures of products and upload to the system and adding text to describe the product.
Consultation of products will be made by a mobile phone with Android as well.
Is it possible to do this? If not, I would appreciate to give me suggestions on how to do this. But I wanted to try not to make using computers (PC / Mac) or web app to load the data to the application. I want a system purely mobile. Maybe will use the computers to store the BD system only.
When you say the server side is a phone app, you imply that the phone is always on, the app is always running, and you need no central storage whatsoever.
You also lose any ability to keep analytics for your service, which is a crucial part of any startup.
If you want your app to have the server available even 80% of the time, and you want to keep a central database of what's going on, you must have some server you can control.
There are a lot of very cheap and manageable cloud solutions, so you don't need to buy an actual server.
I have been asked to write a mobile android app to interface with a website. When pulling content from the site, I don't think scraping the site would be very efficient. I would like to interface with the database. Think of the scenario as facebook mobile app interfacing with the facebook databases that fuel facebook.com (so there's a mobile app, a web app, and a database in this equation). Would I just create a db account for the mobile app and then every phone using that app would use the same database account (This sounds like a terrible idea imo)? The user will be asked to authenticate in the app before they can start getting information from the it.
In general you don't want to be accessing the database directly via the phone (if that is even possible). The more standard way with mobile clients is to build a set of RESTful APIs that you can invoke via normal HTTP GETs and POSTs. These will present the data in a more lightweight (JSON, XML) way to the app, so that the "decoding" effort is reduced. Authentication is done via standard HTTP AUTH. That's the short version.
I have developed 3 android applications and hosted in my own site.
Can someone please help me in the following questions I have:
A. With my own Client
1. How to do Silent Installations?
2. How to do Multiple Installations from a URL(User Checks multiple applications from the site and clicks on Download button. And it download applications one by one)?
3. How can I get the information on the uninstalled myown apps from the user mobile. Or how can I check whether one application is installed there or not?
B. Can I Leverage Google's Client services in the Andorid OS to do the above things (Avoiding to create my own client)
Create a custom build of android with your own original system-certificate application market/installer which talks to your servers rather than Google's.
Otherwise you are talking about spoofing Google's credentials, which is a topic for security research, not development.