what are the names of these controls in Android? - android

If you look at most Google Play Apps like
Google Play Magazine
:
Google Play Music
How do you call it? On a scale from 1 to 10 based on beginner programming level skill, how do you rate the difficulty of implementing them? Where are the best places to start?

It's called Navigation Drawer.
There is an example from the official documentation on how to implement them. In my experience, I would say it's easy to implement to a simple one. But as such in above picture, it's a little more tricker but I've seen some examples.

Related

Google 360degree StreetView like effect in Android

I am not sure how to achieve an effect like Google's 360 degree StreetView in Android. I have even came across the similar features in commonfloor's app. It has a 360 degree panaromic effect as shown in the link - CommonFloor's Live Tour
I have researched about this and couldn't find much resources. I am not even sure where should I start from? Are there any libraries already available for the same?
Found a library PanaromaGl but it has not been maintained since 2 years. Are there any alternatives before I decide to go for this library?
Thank you in advance

android turn-based multiplayer custom invite screen

I am trying to create a custom UI screen for the "player picker UI" that comes with google play services for turn based multiplayer. The default one can be seen here:
https://developers.google.com/games/services/android/realtimeMultiplayer?hl=fr-CH#invite_players_option
That page(which is real time I know) mentions how to use the default UI and that a custom UI can be used, but does not mention the actual methods to customize the look. I'm not a fan of the huge icons, and would rather a simple list. I have been trying to research this out for a few days, and have found nothing.
I am looking for any help on which methods I need to call in order to customize. Is it done in the onActivityResult method? Has anyone had any luck doing something similar?
Thank you
It means that you can create your own UI from scratch, and interact with Google Play Services using the provided API. They do not provide a way to customize the look of the player selection UI that google provides.

3D Follower Perspective in MapsFragment on Android

I'm wondering if it's possible to switch to a "navigation view" with the Google Maps API.
By navigation view, I mean the "3D Follower Perspective" one experiences when using Google Maps API to navigate to a certain location.
I do not want to use any navigation functionality, I just want something like this follower perspective.
I've seen this view on a Windows Phone App and it additionally used about every sensor the device offered, such as compass and gyroscope to achieve almost some kind of an augmented reality feeling as the map turned the same way as oneself did.
Is anything comparable available on Android?
This is certainly possible.
Google I/O 2013 had nice demo that shows something similar to what you want to achieve.
Start watching at 21:30: http://www.youtube.com/watch?v=_oZiK_NJuG8
They actually show some code there that you will use.

Create custom google now cards

Google provides a variety of 'cards' for Google Now (http://www.google.com/landing/now/). Is it possible to create your own cards? The system looks pretty modular, but I haven't found any documentation or instructions to do so. (I believe you need to supply the content of the card, and some way of signaling when it is supposed to be shown. There is probably just some interface that you have to implement.)
If there is no documented solution, a hackish/undocumented way would be ok, too. I'm mostly curious how it works.
Edit: Specifically, does somebody have knowledge about the internals of Google Now, e.g. by decompiling the .apk? What I've seen suggests it is pretty modular, and it should be fairly easy to drop another class into the .apk, or to maybe inject code using Cydia Substrate. I know that there is (as of Nov. 2013) no official way to add new cards.
There is currently no way to do that. Google makes its own cards and custom application cannot register any cards. But I hope it will be possible in future.
Actually Google announced last week that developers can now develop custom Google Now cards:
http://www.google.com/landing/now/integrations.html
However, a developer guide seems not available yet.
Edit:
On the end of the page they point out that:
We'll let you know when we are able to onboard more partners
There is a work-around that will soon allow you to place cards in Google Now's stream at a particular time or a particular location: Use Google Keep (https://drive.google.com/keep/)
You can create a new card at Google Keep with a time based or location based reminder, depending on which the relevant card will show up in Google Now.
Since Google Keep is now in Drive, the API is expected to be available soon (keep a lookout for it at http://discovery-check.appspot.com/ )
There is not way to do this by your own at the moment. If you really want to do it you can fill in this form: https://services.google.com/fb/forms/nowintegrations/. You can ask Google if they want to cooperate to create a Google Now card.
Note quite an answer, as it is still not possible to create Google Now cards, but you can now hook into the Google Now search function (basically Android's Siri) and provide custom search results. For example you can say "show me the lyrics to..." and it opens a lyrics app.
Here is a link to the project which is based on the Xposed framework.
Just guessing from my impression of the Google Search apk (which includes all the Google Now functionality and even the home screen on KitKat), it should be possible to use a similar technique to inject cards into the app - however since the app is huge and very complicated, it will be a lot of work. I'd keep my eyes open on the xda-developers forums, wouldn't be surprized if someone there solves this in the future.
It appears that there is developer documentation on how to push google now info via email, eg. flight details, restaurant reservations etc.
https://developers.google.com/schemas/now/cards
I have yet to dig into this, but may update this answer if I discover anything significant.

the best componenents to use in UI?

i'm working on an app that records audio. the sample is saved on the sd card. At the moment my UI just has the buttons to record,play and reverse the sample. what i'd like is a way to specify a file name for the sample and a menu to play previously recorded samples. could someone tell me which widgets would be best for this. i'm thinking textbox/keyboard, context menu or some sort of list. not sure of the terminology.
thanks
I would really recommend this:
Google IO 2010 - Design Patterns - Video
If you don't have that much time just check the slides:
Google IO 2010 - Design Patterns - Slides
Video is much more comprehensive though!!! Good luck!
Me and others already answered some sort of a similar question here:
Prettifying my Android App?
Buttons are the best components to use. Who'd disagree on that? :) You ask us to design a UI layout for you? Be more specific. Check out the available UI widgets and design something nice. It's your app.

Categories

Resources