Is there an official Android section View? - android

List sections are used quite a lot in Android through out Google's own applications and in some of the framework's features as well, i.e. preferences.
This made me wonder if there is an offical section View available in Android? If so, it seems to be hidden.
Here's a picture from the Android Design site that shows what I'm talking about:

This made me wonder if there is an offical section View available in Android?
No, sorry. There are plenty of libraries for this, and you can probably grab some code out of AOSP for it as well, but there is nothing in the SDK for it. Just because the design folk think it is a good idea does not mean that we actually have code in the SDK to leverage such ideas.

Related

Sidemenu with Special effect for Android

We have an IOS/Android app that is being redesigned and we're really happy with it,
Since IOS7 we are able to be more creative in terms of UX/UI and it's really wonderful.
My problem is with Android, it IS my favorite platform both in terms of Development possibilities and general ideology but for some reason it's lacking the rich content world of IOS.
We've designed a sidemenu with the following effect which is really amazing and we love it, but we can't recreate it for Android, i've consulted with several developers and they all gave me the same answer "it's a system limit".
My question is - Is it possible to recreate those effects in Android, if not then why (what's the actual limit) and if Yes, then what am i missing ?
We've designed a sidemenu with the following effect which is really amazing and we love it
You're welcome to your opinion. Personally, that would drive me nuts, and I have no idea what benefit it would give users over a regular navigation drawer.
Is it possible to recreate those effects in Android
It is unclear what specific effects concern you.
Can you resize content, such as the original content shown in the video? Yes.
Can you slide content, such as the original content shown in the video? Yes.
Can you fade in content, such as the items of the menu? Yes.
All of this is covered in the documentation. Particularly if you are targeting API Level 14+, property animation is usually the way to go, and you can try NineOldAndroids for a partial backport of those capabilities if you need to support earlier API levels.
If I missed concerns of yours, please comment, or perhaps edit your question.
To put it bluntly, user experience.
Providing an experience consistent with the Android operating system is a Priority for Google and by placing some limitations on the way you develop the UI of your app it can ensure an experience that is familiar from app to app.
You can see the UI guidelines here:
http://developer.android.com/design/get-started/ui-overview.html
Out of interest have you had your app approved by Apple yet?
Also.. Android does allow you to use a "Sliding Drawer" menu which is very similar to your effect which you could use to meet your goals (without the effect of course).
Check out the below mentioned git project. It has so many slide menu styles/animations. You can use the one you want or customize as per your need.
https://github.com/jfeinstein10/SlidingMenu
Check the below android app for the above mentioned GIT project
https://play.google.com/store/apps/details?id=com.slidingmenu.example

How to use android.webkit.PluginStub

I create a Android App with WebView ( embed, as main UI | HTML5 app).
Also, I have some code to render 3d stuffs, in order to embed my 3d render, I think i need to create a plugin for showing up in WebKit.
I find "android.webkit.PluginStub" , I search google and stackoverflow, didn't find any useful example.
Any one has any experience on PluginStub, can you share ?
There is an example in the Android sources at development/samples/BrowserPlugin, I haven't tried it as Android developers Dianne Hackborn and Roman Nurik had said there is no actual support for them, anyways give it a try, who knows :)

Android terminology

I have created a few apps with basic features with the help of tutorials. But when I decided to explore the next level of features, I didn't know what the features were termed, and hence found it difficult to get help (features like fling, horizontal view paging, and so on). What is the indicator of the view paging called? How does one do it and with dynamic pages?
Your best bet is to go here and read.
Android Dev
Also check out commonsware books on developement. This is the best way to get started.

add a menu to my application

I'm starting in android. I want to add a menu to my application
How can I do it.
Thank you in advance.
The documentation offers a listing of the full features of Menu including ways to get started using them in your applications.
Furthermore, the Android Developers site also has a great guide covering the various uses/styles/etc of Menus in Android.
I would highly encourage you to look at the documentation at the Android Developers site simply because it is well done and gives thorough answers to these types of questions (particularly getting started questions).

Where to find Android Development Homework Problems

Ok so I am starting off with android development and I have found a bunch of useful tutorials so I am set there. What I am looking for is a resource that provides homework style problems to do and has the answers downloadable so I can check my solution against the "official" solution.
So for example instead of the notepad tutorial it would be: "Build an application that you can create, edit, delete notes, ...etc.". Ideally the "official" solution would have some explanation as to why they built it the way they did. (so a tutorial at the tail end)
Anyone know of any resources that provide their tutorials in this format?
Thanks.
Okay, here's one: build me an app that allows the user to make, modify, and store notes. The 'official' answer is the Notepad app in the 9th level of the api. (Note that this is different from the notepad tutorial).
The point is that asking questions is easy, the harder part is actually making a program that does the job. And #Roflecoptr is right, at this level it can be implemented very differently. But if you want that mindset, you can write your own 'homework' easily. Just think up a few things you want that are simple, build it, does it do what you want well? Then you pass.
Despite for very trivial problems I dont think this is possible, because there are way to much possible implementation possibilites so that you can't compare your solution to the "official" solution.
But why do you need something like that? If you want to learn to program on Android, you can just follow some tutorials you've already found and then modify them, adapt them to your needs. When you get more used to the development of Android apps you can just get some ideas on tutorials/android development sites and then implement your own solution. There is plenty of help available here on SO and on other development sites, which will help you if you really get stuck.
You could always go to the Android Samples page, and without looking at their implementations, do your own and compare. The samples page is here:
http://developer.android.com/resources/samples/index.html

Categories

Resources