I am currently working on a project and I want to make different tabs. Like the app flipboard
I am making my app in android studio and I am done with the "home page", but I don't know how to make a new tab.
I also want to make like a sign in page for when people first open the app like facebook.
For lasst I also want it to have google maps in it.
But I don't know how to do that either.
So my question is how do you do that or is there a book / website where you can get all the information about this and android studio in general.
Your question is too broad and I don't think anyone is going to write up the code for you. A simple google search has given me this:
For Facebook login, implement Facebook SDK:
https://developers.facebook.com/docs/android/getting-started
Google Maps:
https://developers.google.com/maps/documentation/android-api/?hl=en
Google's SDKs also support user login, which you could use together with Facebook.
For "creating new tabs", apparently I can't post more than two links in my post since I don't have enough reputation, but google "android how to make new activity".
For the Tabs you can use the Android Action Bar:
Tutorial
For the Map you can use the Google Maps API, its easy to understand ;)
Google Maps
I am using this guide based on SlidingTabLayout . And i think it will help you perfectly .
Related
Is it possible to call Google Translate popup (only the popup, and not the whole Google Translate app) from my application, using intent or something else?
I'm using B4A (Basic for Android) platform, so if it is possible, please guide me based on B4A. However Java solutions can be useful too and they are also welcomed. Thanks.
You can use Google Translate api in php and call it from b4a
So I'm trying to get a google sign in working for Unity
I'm stuck however.
I'm trying to convert an example into a Android library, which would call the sign in intent.
I've tried searching but with no leads.
This shows that you need to extract all the extra libraries and add them to your unity project, seems like a good lead.
If anyone has done it, could you point me in the right direction?
You can use Firebase Authentication for Unity to add Google sign-in. It's easy to implement with examples on their page, and you can also add Facebook, email, and other other sign-in services. I highly recommend trying out some of their other products like Analytics too.
I'm in the process of making an alternative facebook app for android, but I have no idea where to start. I'm looking at the Facebook SDK but that seems like it's used for people who want to use Facebook as their platform for their own seperate apps. I want to make a login screen like facebook login screen, and I'm looking at their SDK but their SDK seems like it's for completely different apps that use facebook as their platform. I'm just really dumbstruck about how I would do this facebook alternative. I'm pretty new to programming aswell. However, making something like a facebook app alternative, where would I start?
well, the Facebook SDK fits your need flawlessly.
users will have to grant you the privileges to read & write on their behalf and then, the SDK is the limit.
i suggest you take a look at the Getting Started guide & search 4 a good library.
I'm trying to implement an Android activity witch shows a list of images of the user's friends that use the same app also (like in Tinder app). I've searched the web for days and everything I found is too old or doesn't seem to work properly (mainly because they are all based on earlier versions of facebook SDK).
Can somebody please attached an explanation, or even better, an open source of example like that.
There's an example in the docs. I wonder how you didn't find that...
See
https://developers.facebook.com/docs/android/scrumptious/show-friends
for my GoogleMaps API to run, the user needs to install Google Services.
I don't want my user to feel obligated to do that. I wonder if it is possible for me to create a fragment or something like a WebView and access Google Maps through browser (frame in my app) and the user doesnt need to install google services.
Any advice, tutorial or example would be very appreciated. Thank you very much for your time!
You have to use WebView element and simply use this:
WebView browser = (WebView)findViewById(R.id.browser);
browser.loadUrl("maps.google.com");
Or use this