Parse server setup
Go to https://www.back4app.com
Click on "Build new app" and follow the prompts of the system
Go to "Server settings"
Next click "Core settings" -> "Settings"
You need to copy: "App id" and "Client key"
Open android studio and paste it ( strings.xml file)
Run and test application.
LIVE QUERY
Go to Server settings -> Web Hosting and Live Query -> Settings
Activate Back4app hosting and set subdomain
Copy url you app, open android studio , find Prfs.java file and paste it
Run app and test
SET AS ADMIN
Open Android studio project
Open file UserFragment.java
Run app on smartphone or simulator, register a new account
Go to UserFragment.java and UNCOMMENT line 80 !!!
Run application and open user
Change your name and save
Open Android studio, go to UserFragment.java and COMMENT line 80 . It is important! If you do not, any user will receive administrator status!
Now you can delete chat messages from the application with a swipe
ADMOB setup
Go to https://apps.admob.com/ and add new app
Following the prompts of the system, get App ID and copy it
Open android studio -> strings.xml file and paste:
Next, get Ad unit and copy it:
Open Android studio -> strings.xml file and paste it:
DEMO
Open android studio and file Prfs.java
Set RECORD_DATA = true
Run app then set RECORD_DATA = false (Otherwise, at the next start, you will duplicate the demo date) / after install set false
Before install data, need:
- open file StartActivity.java and change URL radio stream and name o radio
PUSH NOTIFICATION
It's simple!
Go to onesignal.com signup or signin
Add new app
Following the prompts of the system, fill in all the required fields
You will have a question where to get the keys for firebase?
Remember at the beginning of the instructions we integrated our application with firebase? So there it is.
Go to Firebase console and open app
Next find tab "Cloud messaging" and click
Copy Server key and Sender Id and paste to Onesignal
Then you get: App ID. You need to copy it
Open android studio , find file build Gradle ( module app) And paste it
Run app and test connect to onesignal. If you did everything right, you can send a test push message
APP SETTINGS
Now let's talk about the file Prfs.java
ADS_OFF - on/off show advertising
W_FB, W_TW,W_SITE - social account and si
Application localization
The prepared file for localization with a list of lines is strings.xml
How to localize android app :
Or tap this link : https://www.youtube.com/watch?v=72qURZPIUIA
You need to translate only the file into the language you need, in the application you do not need to do anything else!
FREE ADMIN PANEL
There is a very convenient and free service for managing the Pars server, this is adminca.com
Go to http://adminca.com signin or signup
Add new panel
Enter a name and click "Self hosted"
Now you need to fill in these fields
Where to find them? You ask
Go to your back4app account -> application -> server settings -> core settings and find:
and
Copy, fill in the adminca and click "Create"
If the data is not updated, there is a magic sync button in the panel
Now you can use the convenient control panel. Management is intuitive and clear.
DESIGN
All graphic elements are in the folder drawable
Color Schemes location colors.xml file
Support
We will answer all your questions in our support team. https://simpleapp.freshdesk.com
Unfortunately, we do not answer technical questions in the comments on the product, messengers and mail.
About customisation and setup read this article
Disclaimer
For everything that you do with the application code, you are responsible yourself. You make any changes to the original code at your own risk. We relieve ourselves of any responsibility for the action with the code on your part and the reaction of the approving company (in this case, Google)