Hi can anybody have a suggestion on how t implements this simple android chat app in github? https://github.com/firebase/AndroidChat . i need to implement that link for exercising on how to create a simple chat application for android using firebase live. It says there to change the URL in “mainactivity” afterward i do not have any idea at all. i am new in firebase and did make some research on how to manage app. unfortunately I’ve seen this source in github. But the thing is that I don’t have any idea on how to implement it. Suggestions guys on how to run into i think HTML and it will be link on my URL in firebase?
Hoping someone can view this.
It says you need the URL to point to your own Firebase server. It is free and easy to create.
When you stand on the Viewing my first app screen in Firebase, you can see your Firebase's URL in the browser, which is what you need in MainActivity.
Have you checked out the Firebase quickstart guide?
If you take a look at the sample project's dashboard in your browser, you can see this data structure:
chat
randomlyGeneratedMessageId1
author: "jane1994"
message: "hi there"
randomlyGeneratedMessageId2
author: "johndoe"
message: "asdasd"
You are going to have the same data structure. It is automatically created if you write and send a message from the example app.
EDIT:
It is much simpler than you think. No localhost or anything is involved. Steps:
Have a Firebase account
Log in
Click here
Now you can see all the data you have in the cloud. It is already live. If you give the .apk to any friend and they run the app on their Android device, they can already send data through the app to your own server.
EDIT2:
The thing you found on GitHub is an Android Studio project. You can only open and run it using Android Studio.
After you compile the project using Android Studio and you have the .apk, you can use it as any other .apk.
Related
We have a requirement to create a deep link from the backend rather than from the Android/IOS app side.
Initially, they were generated by the Mobile application side, and now we need to generate the same with spring boot. We checked some websites and it seems like Firebase is a better option, but the samples were only for Android and not spring boot. We even tried adding a few Maven dependencies, but we were getting this error Missing artifact.
We also tried this website which gave the Java code for the same, but we couldn't find the dependencies for NavDeepLinkBuilder. We were able to add PendingIntent and R into our code but some of the parameters inside R were not available, even with different versions.
The requirement is to share a Deep link via sms when triggered from the UI (we are using React JS), which on click would open a Mini app inside our App. After all the research we did we think that it is only achievable via Android/IOS. So can anyone suggest any methodology by which a Deep link can be created with Spring boot, or is it possible with React JS?
Sample of actual URL and deep link created from App side
Actual URL: https://www.sampleminiapp.com?appId=$miniAppId&name=$name&userId=$merchantUserId&docId=$docId&url=$url&helpUrl=$helpUrl&policyUrl=$policyUrl
Deep link: https://digimoney.page.link/R66vtn9pSzMhLx1P6
i want to use the Telegram API to create an Android app that works with Telegram data.
I already registered a new app and i have an api_id and an api_hash.
The problem is that i don't know what do to next, i tried to read the documentation but i find it really messy, it just jumps from create the app to authentication but doesn't explain how to setup android project and other necessary things.
I already tried to search some android project as this:
https://github.com/DrKLO/Telegram
But when i start it simply doesn't works and send NDK errors.
Does someone can explain me the steps to do next?
i was working on android home automation app , basic things to take care while doing this user based app like , i should sync data with server on i should keep data in local, please give me links of libraries if some one worked . help me to build this product .
Use firbase database provided by google its way easier to handle data syncronization and offline maintainance.doc link here
also a youtube link if you have no idea how firebase works video tutorial link
I would like to include a menu item in my Android app (built using Cordova/PhoneGap) that provides users with the ability to invite their friends to download the app from Google Play.
Does anyone know of an existing solution for this? I have not had much luck finding one.
On BlackBerry10, this is extremely easy to do (literally 1 line of code). It leverages the OS and BBM to share the download URL of your app with your closest friends:
blackberry.bbm.platform.users.inviteToDownload();
link
Please tell me something similar like this exists for Android (iOS?) ? Thank you.
I use this plugin and works perfectly: https://github.com/EddyVerbruggen/SocialSharing-PhoneGap-Plugin
It's a sharing plugin that allows a lot of configuration options. You could configure it so users share a link to your app on Google Play. The documentation explains how to set everything up.
I have a problem with my app and I don't know if the problem is obvious.
I have managed to post things to my facebook wall using the app I have created for Android.
But when I distribute this app to my testers, they don't get to the login window. The app is terminated before the screen appears.
I have used the tutorial:
http://developers.facebook.com/docs/mobile/android/build/
Can somebody help me. Are some things I can check or is there a more thorough explanation available on the internet?
you need to follow following steps,
1.) go to https://github.com/facebook/facebook-android-sdk/tree/master/examples
2.) download the example named Hackbook.
and execute it , this is working example of facebook integration with android
Here condition is that you must have App ID and App secret.
if is there any problem let me know.