I'm trying to make a simple eclipse project that only takes one screenshot using the android-screenshot-library. The thing is that the documentation is very very poor and I'm having a hard time understanding how to set up this very very simple project.
Anyone knowing about some example project in the web? or useful tutorial (step-by-step kind of thing).
Have look at this.
Android Screen Shot Library
Follow the tutorial here. It isn't about pictures and cameras, but it's simple enough to get you started. Then post code of what you have tried and ask and more pointed question: http://developer.android.com/training/basics/firstapp/index.html
Related
I really like some effects in iPad. Especial flipboard, but I am an android developer at the moment, so I want to build an app which has the same effect. But I cannot find any source code about it on the Internet. On youtube I found a video I really like. Can someone help me?
Hey… Here is a quick guide for getting the clipboard effect on your Android phone. Just go through this tutorial for getting it. Hope it will be helpful to you.
http://openaphid.github.com/blog/2012/07/27/how-to-handle-touch-events-for-flip-animation/ there u go, but it is on opengl, and i'm not sure if it supports complex views as ListView. If you want to make one from the scratch i also recommend you this link. It is on Flex, but the principle is similar. http://oreilly.com/pub/a/javascript/archive/flashhacks.html?page=1
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
I'm interested in incorporating the Android UI pattern called "Quick Action". Basically, it's a context menu that doesn't cover up the data that is being acted on. I'd like to implement this but I cannot find some sample code or an API to help me out.
Note this UI pattern is discussed in the YouTube video, http://www.youtube.com/watch?v=M1ZBjlCRfz0#t=15m20s.
Does anyone have an implementation of this or know what Google's standard is for adding this to an application?
Till the official Twitter app is open sourced by Google, you may want to take a look at this implementation:
http://www.londatiga.net/it/how-to-create-quickaction-dialog-in-android/
Really easy to use and works great.
Interesting Question. Android uses this pattern in their Contacts-App. You can get the source using git:
git clone git://android.git.kernel.org/platform/packages/apps/Contacts.git
I did this and quickly grepped it, but I didn't get a conclusive result. I think that's done in "Contacts/src/com/android/contacts/ui/QuickContactWindow.java", but I am not completely sure.
I you google for QuickContact android, there are a lot of images that show exactly the kind of menu that you want, so it seems likely that it is indeed called QuickContact in that context.
Looking at the Documentation, I don't see any inherited classes that you could use to do this for something other than contacts.
So, a few starting points, but no solution from me ;-)
This open source project has the same look and feel for the quick actions popup as the twitter app:
http://github.com/ruqqq/WorldHeritageSite/tree/master/src/sg/ruqqq/WHSFinder
It helps to download the whole project because you need a number of drawables, images, and other resources from that project.
The main demo class is called WHSListActivity.java. The other classes you need is QuickActionWindow.java, and QuickActionItem.java.
After that, it's really easy and works great. I use it for my apps.
Recently I was asked if I could help someone to get quick-started to android programming.
What would you suggest to tell this person?
Would you explain everything by hand or just refer to external links?
Which ressources would you recommend?
This whole issue should not take too much time...assuming 2-3 hours
Once my access to this issue was "Professional android application development".
Java basics are already preconditioned, so there's no need to explain ANYTHING.
For avoiding any misconceptions: This shall be just a quick start, no reference or something like this, so I just need some keywords and a hint how deeply go through it.
In my opinion, everything you really need is here: http://developer.android.com/index.html
All the downloads are easily accessible, the API reference is there, and the Dev guide is pretty well done.
This page has a getting started "Hello World" type tutorial that should work for your quick start: http://developer.android.com/guide/tutorials/hello-world.html
As far as your 2-3 hours goes. I would walk them through the hello world tutorial first as it gives a quick and dirty overview of the most important basics such as getting a project created and a virtual device up and running to test with. It will also start getting into installing and debugging.
That shouldn't take up all of your time so you may want to go into some basics of building a UI and concepts like Activities and Intents. Pointing out the API reference would be great at this point as well. I suspect that most of that 2-3 hours would be up if you get into any sort of detail on these.
Well you already mentioned a book in your question, so I would like to throw out http://commonsware.com/Android/ .
I've been working on an Android project for school, and I still have A LOT to learn, I dont think you can cover much in 2-3 hours. But anyway, with the above book, you can find an example that is similar to what your trying to accomplish(or go over), then look through the source code and what-not.
Aside from the Android Dev. website, the $40 collection of ebooks is the single best resource I have found to date other than Google searched or examples specific to my project.
Sorry if this doesnt really help your cause, but I figured it was worth pointing out.
I'm writing a new app for android and I would like to implement also a first launch tutorial. In particular, the tutorial has to be interactive. Basically, after a user registers to the service, a minimum settings will be required.
I'd like something like today we have into Google Apps, like Sheets, Docs and so far. The exception there is that those tutorials have the aim to explain how the app works. Here I want to have something where user can input some data.
I was looking at ShowcaseView but seems to be deprecated and old in style.
So here the question is: what is the best way to implement that? ViewPager?
I also had a look to this other question, but it did not help too much.
Any advice is really appreciated.
EDIT: I have found this other nice alternative. AppIntro It seems what I was looking for. :)
There are few I found by quick searching Github:
https://github.com/Seishin/showcaseview-android
https://github.com/worker8/TourGuide
https://github.com/amlcurran/ShowcaseView
I'm pretty sure you can find the right one for you ;)
You can do it in several ways that really depends on you and your app. Basically you can create a "Boarding" experience with ViewPager that will go thru the main screen of your app (with static images for example) where you explain the user what goes on in your app. The other way way is an interactive tutorial as the user already landed into your app - you can achieve this with something like Showcase (I'm pretty sure that there are libs on GitHub that are still maintained).
I would recommend Roman Nuriks Wizard Pager code on Github as a starting point. It's not so much a library as a sample code showing you how to do what you want.
The general approach is to use a ViewPager with some form of navigation buttons to move the user forwards and backwards through the pager Fragments.
https://github.com/romannurik/Android-WizardPager