i want to use volley to access my PHP API in realtime
is that even possible?
can i reflect database changes in my application in realtime like we can do in firebase ?
Related
Iam using firebase to store all the crashes and analytics comming from Android and iOS devices this part is done and iam able to monitor all the events on the firebase console.
Now we have a php admin portal (website) and we wanted to show all the crashes and events data on the website instead of the going to firebase console everytime .
Is there any api that i could use to pull crashlytics or analytics data. I have gone through various articles saying to use bigquery but iam not sure how to implement it. I have tried php firebase admin SDK(kriat) but that does not seem to have any api to pull data.
Thanks in advance
Firebaser here - there is not an API that you can connect to that will allow you to pull crash data from the Firebase console or backend. BigQuery is the route you should take to export data from the Firebase console for Crashlytics and Analytics and do further work on it.
Here are some handy links:
Exporting Crashlytics data to BigQuery
Linking Firebase to BigQuery
BigQuery export schema
I have made forum app (android) it uses web services to send/retrieve data from database (phpmyadmin). Now when a new question is added then everyone using the app should get a headsup notification that there is a new question. After searching every where I found that FCM should be used but I'm not getting how to use Firebase with my existing database because I want all the data to be stored in my database and also show notification.
You can pick what Firebase features you want to use. So if you use Firebase Cloud Messaging, you don't have to use the Firebase Database. You can just stick to your own database and call out to FCM from your PHP code.
Some examples of calling FCM:
How can I send a Firebase Cloud Messaging notification without use the Firebase Console?
Send FCM messages from server side to android device
many of the results in this list
I am new to android development and i am willing to make an Android app for Managing Notes and Task as well as i want to make a Web app for the same using PHP.(For learning purpose like Google Keep).I want both of this web app and android app to work in sync with each other, Just like Google's Google Keep works on Android and Web as well. what would be the easiest way to do this?
Is it necessary to create a REST api for my web app so that my android app can query the web app ?
Also i saw somewhere on internet that i should save all my data in Mysql Database on server and my Android app should retrieve all the data from the server but i if will do this then my app will not be work in offline mode.
Please help, Thankyou .
Yes,You should have a main Database on server and your Android app should retrieve all the data from the server,then Save them in your local database in android that can be same as or lesser than your main database.
Now you can work offline ,and when data has changed in your app ,you should keep them somewhere and sync them with your server database as soon as you got online.
and also you can use push Notification to notify your app that some data has been changed and no longer valid and application should update itself.
It's my idea Hope help you
Is it possible to send data from PHP server to all devices registered in the Google Cloud Messaging app without registering the ids of the devices in the PHP server db?
If not in PHP, is there other way to achieve this?
And one more question..
Which technology should I use to connect PHP Server with the GCM backend for manipulating a datastructure (within Cloud Datastore if necesary) that Android/IOS clients could subscribe to in order to receive PushNotification?
I am writing here because am confused with what information I gathered on the topic I am going to discuss..
There is a phonegap app which had a backend server previously, and it is now removed. So, the client is trying to use a new webservice API (RESTful service) which gives the desired results. The complete requirement of the client is:
Make the app work using new webservice API.
Use an intermediate server app that invokes the new webservice API only once in a day.
The end-users (mobile app users) should get data from the intermediate server. NOT from the webservice API directly.
The result produced by the webservice API is JSON. Now it needs to be handled at the intermediate server and the result should be stored in a database (MySQL, MSSQL or any other). whenever mobile app user requests data, result should be retrieved from the intermediate server. This server gets data from the webservice API periodically.
For this I understood that PHP could be a better option to connect to the webservice API. I tried to get through this http://blog.ijasoneverett.com/2013/02/rest-api-a-simple-php-tutorial/
Can anyone help me getting a full working example of such a scenario? I am comfortable with accessing the data from Server to mobile device but I am not sure how to establish a connection between the Server and the webservice API.
Kindly let me know if I need to provide more inputs here.