working with bitbucket and native android development - android

I am new to Android development Platform. Here is what I am currently facing
I am trying to create this app in Eclipse with two more people working on same app. I am using bitbucket over git plugin to share that project with other two. In this app I have used facebook sdk to enable users of app to log in using their facebook login details till everything is fine on my local machine I can run this app and its working perfectly. Now when I commit this code and push it to bitbucket repo other members are not able to see either facebook sdk folder when they pull from bitbucket repo.
My questions
When i have downloaded facebook sdk from git do i need to move it into C:\Users\myname\git\mysampleapp\ or it doesn't matter where i keep it.
I also plan to use Gplus login my app for that i have to use Gplus sdk do i need to do same process as Facebook sdk?

Related

Firebase console sdk setup showing as unfinished

I created an android application on Android studio 3.4.2 and integrated Firebase using the firebase assistant tool provided on Android studio.There is no problem with using the features of Firebase on the app but when going to the developer's console of Firebase and going to the project overview, it appears as if the the sdk setup is not finished ,I tried following the sdk setup steps provided and the setup won't finish at the last stage i.e, "checking if the app has communicated with our servers,you may need to uninstall and reinstall the app". I've uninstalled my app and reinstalled it but doesn't seem to be registering the app on the Firebase server.
I've tried restarting the internet, Uninstalled my app and reinstalled,made sure net connectivity are okay on both emulator and pc
Check your Firebase console projects, Is there any project with the same package name?. If there is any please remove and try again.

AWS Android Project Sign on

I just tried AWS for the first time to build a basic hello world android app with user authentication and I seem to be missing something critical. I worked with Android apps before so I have all the software setup there plus AWS CLI installed I created an android project in AWS Mobile Hub, created user pool, I configured signon/register add on in my new AWS project and I clicked on Integrate button but I'm not sure what's next. I saw on youtube some people had build and test buttons that they used to generate Android Studio project on a menu on the left, I'm not seeing any of that, how can I build a skeleton project in AWS to download so I can finalize it with Android Studio? Any help would be appreciated.
Thank you
Here is a link which teach you step by step on how to build a skeleton project in AWS https://github.com/aws-samples/aws-mobile-android-notes-tutorial/blob/master/tutorial/analytics.md.

Android studio Firebase and Github pushing and cloning

I have created a small project for user register and login in(Authentication) android studio using firebase and it was working fine. Basically i need to keep this project on github, I have moved to project to my desktop and then pushed it to github. My version of the project works, however, the cloned project doesn't seem to work as it just keeps loading when the user wants to register or login.
Also, it comes up with some errors like missing iml's or that the app has multiple slice apk's and need to uninstall.
My question is what steps do I need to undertake to make sure that the application will work when pushed to a github repo and then cloned back from the repo, so that the application runs when downloaded on any pc, and do i have to do anything to the firebase?
since what i see is that everything is in place, package name hasnt changed, all files and dependencies are present.
First of all you didn't specify what authentication you are using. For example if you are using facebook you need to add to the Facebook developers page the sha1 key fingerprint for each device you are going to install the app.
Secondly I have deployed my firebase project to github and working from my mac and windows machine without any problem syncing with Firebase. In firebase project settings as I can see I haven't added any SHA certificate fingerprint.
Make sure that you have added on Github all the SHA certificate fingerprint from any pc that you are planning to clone the project.
First of all i was using Email and password authentication.
Secondly the issue was that the google play was not updated inside of the emulator.
For anyone that runs into the same problem click the three dots at the bottom of the emulator panel and go into "Google Play" and update.
Hope this helps someone!

How to correctly configure Facebook Connect for PhoneGap Build version 3.3?

I’m not finding any recent documentation on how to correctly install Facebook Connect on Android for PhoneGap Build version 3.3. Each time I try to authenticate a user on an android emulator nothing happens. I’m not even sure I am doing the process right. My question is, where in the process am I going wrong?
On PhoneGap’s plugins page for Facebook Connect, it states that you place the plugin XML into your config.xml. I have done so. I have already created an app on Facebook’s developer site and added the Android hash to Facebook.
Originally it seemed that you also needed to include the JavaScript SDK in index.html, but that is not activating the sign in either when I call FB.login().
I have the Facebook app installed on my emulator.
These are the instructions that I have been following:
What is the correct way to install Facebook connect for PhoneGap Build version 3.3?
first you must create an App in facebook and use that [APP_ID] = Your APP_ID as registered on Facebook in your and you APP_NAME .

mobile backend starter import to android studio

This is my first post in StackOverflow.
I am building an android app using Android Studio. This app requires some cloud backend to sync user data across devices. After some research, I came across the Mobile Backend Starter from google which provides a fully deployed app engine backend and a client android application.
The problem is that every video/tutorial out there is using Eclipse to open this client application. When you try to import it to Android Studio, you get an Assertion:Null error.
Another step I tried is that, I opened it in Eclipse, followed google documentation to set
And then tried to import to Android Studio. This time I got an error that the "The filename, directory name, or volume label syntax is incorrect"
Can someone help me out with this? Is it also possible to use the "Generate Mobile Backend" option in android studio? But wouldnt this mean that we cannot leverage the client libraries provided in Mobile Backend Starter?
Edit (to add more details to the question):
If I use the "Tools > Google Cloud Tools > Generate App Engine Backend" method, will I be able to get all the boiler plate code in the Mobile Backend android client?
Also, I tried today to Generate App Engine Backend and point to my existing Mobile Backend Starter app engine project. But this did not bring in end point connections for mobilebackend api. Am I missing something here?
Yes there is an option in Android Studio also for Generating App Engine Backend.
Tools > Google Cloud Tools > Generate App Engine Backend
Here is a nice tutorial on Android Blog for the same
http://android-developers.blogspot.in/2013/06/adding-backend-to-your-app-in-android.html
But look in to this post before doing this as Google App Engine Back-end still uses maven so you need to install that before using it.
Maven needed when generating Google App Engine backend in Android Studio
This is an old question but for those that come to this now the easiest way to get started is with this unofficial build for android studio. Why couldn't google do this themselves?
https://github.com/thagikura/mobile-backend-starter-android-client-with-AndroidStudio

Categories

Resources