Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 9 years ago.
Improve this question
Where can I find a good thread/concurrency example app for android?
I see lot of examples using AsyncTask, but on android API guide is stated:
It is highly recommended you use the various APIs provided by the
java.util.concurrent package such as
Executor,ThreadPoolExecutor and FutureTask.
Therefore looking for a good app, that mixes all these classes.
Hi i started last month to develop on android platform (but I use java since 2008) so maybe my answer could be not totally correct. I'm my apps I use async task only for very short a sync operation and for the other cases I use threads and executors combined with broadcast receivers.
For good quality documentation about concurrency I recommend you the Sun/Oracle Jdk documentation. Standard jdk band dalvik have almost the same behavior, I said almost because dalvik was written mainly for embedded systems with low computational power and low resources in general.
http://docs.oracle.com/javase/6/docs/technotes/guides/concurrency/
Hope this will help you
You can download this sample project for use of threads and AsyncTask:
http://www.sgoliver.net/blog/wp-content/uploads/2012/07/android-hilos-asynctask.zip
The example belongs to the website www.sgoliver.net. This is a great website in Spanish and you can see many examples to learn programming on Android even if you do not know Spanish.
Hope this will help you.
Related
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 9 years ago.
Improve this question
This is kind of just a general question. I am relatively new to Android programming and I find myself constantly on the android tutorials to get help on topics I want. Consequently a lot of my code resembles such tutorials. Is it bad for me to publish these applications if they use the android code tailored to my needs?
Thanks for your help. I know these moral issues are kind of tough.
If you take refernce from other android code written and released by others, check the license for the code and according use it in your code and can publish your app. For example any code released under GPL license can we used directly.
There are very helpful Tutorials:
http://vogella.com
http://androidhive.com.info
Not really - the purpose of these tutorials are to help you get started on your application. They are meant to serve as templates. But if you are taking licensed code from somewhere then you might want to be extra careful. But as long as you are using tutorials as just a template for your application, you are fine.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 9 years ago.
Improve this question
I'm quite new to the Android world, and, due to work needs, I'm trying to get in.
Whilst I'm not particularly afraid of the "thinking" code (i.e. Java), I'm a bit confused when developing the user interface.
Since I found that the simplest yet most effective way to learn something is copying from those who are the best, I'm wondering if there's some resource or something, out there, well done.
I mean: do you know some open source app, from which I can build my own knowledge about Android layouts? I wasn't able to do it on my own, even though I wondered quite a lot!
1) A good summary on everything UI design in Android can be found here.
2) The best place to get started is directly from the official website.
And here are relevant examples that are considered as good design in Android.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 9 years ago.
Improve this question
I am interested in starting Mobile application Development.There are many suggestions on internet but,I wanted to have some starting guidelines from professional People out there like how they do it and what they use also
1.I want to develop Android Applications can you suggest me Simulator as well as good Starting Point(like links to tutorials)?
2.I have worked on c/c++/c# so is it going to be hard to learn Android?
I know this is a bit theoretical
question that may invoke long
discussions but i wanted to set
starting point not only for me but for
others who see this thread so that
they do not have to post question,Yet
get answer that how it is
professionally done
You need the android SDK (including emulator)
You should learn "android" as an operating system / middleware, but the applications are written in Java (using android SDK as well). The tutorials and documentation that are in the android developers' site are pretty good and will give you the basics, but you should learn Java in order to create applications on android.
Unlike other "Documentation sites", the android documentation is really really helpful and easy to understand for new-comers.
p.s. I am ignoring native code and C libraries in purpose.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 9 years ago.
Improve this question
I am currently reading beginner programing with java for dummies second edition by barry burd, when i finish should I start learning android (if so any recommendations) or more java (again recomendations greatly appreciated) tyvm in advance
I do not know of your personal motivations, but I would say that java is always a better choice for learning your way around. In Java, you can easily run and test your program, without having to worry with load times of emulators or having to look among the emulator's log window for your own occasional debug messages.
Doing so will not be limiting to you, in the sense that Java is a universe in itself (as is Android).
Android is a mobile platform easy to get started with though, but having a stronger background of how things work in Java will benefit you there, and that background will eventually be faster to achieve by using Java for a start.
Depends on how comfortable you are with Java at the end of the book. Much more important than just reading a book, is actually writing some code. Try to think of something that interests you, and write a program for it (400+ lines of code), and see if you feel like you're not having much trouble. If you are, more java, if not, you can go ahead and try the android API. Its not easy, mind you.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 9 years ago.
Improve this question
I'm looking for a SIP stack to use on the Android platform. Since it's for a client, to be used for commercial purposes, GPL'ed stacks are not feasible.
What would you recommend, SO?
As of Gingerbread, a SIP stack is built right into the API, in the android.net.sip package.
There's some demo code that shows how to use it here.
You can use the JAIN SIP Stack, it should run out of the box. I did try it 1-2 years ago See my blog post with an example about it http://jeanderuelle.blogspot.com/2008/10/jain-sip-is-working-on-top-of-android.html
RADVISION, the company I work for, also offers a SIP stack solution with a commercial license that is suitable for Android: http://www.radvision.com/Products/Developer/VoIP-Developer-Tools/SIP/default.htm
There are other Android related SIP solutions as well, but this is the "general purpose" one.
Alexander Lucas mentioned the Android SIP stack. There's a review of it here that points out a few missing items: http://www.onsip.com/blog/leo/2011/01/05/our-evaluation-of-android-gingerbreads-native-sip-calling-with-the-nexus-s
A couple of other things to consider are that the phones supplied by carriers may have the SIP stack blocked or crippled, and that the Android SIP stack is not available on the iPhone or other devices. Many commercial stacks are available ported to Android, iPhone, Symbian, Win7, etc so if you develop for several platforms, your job is easier
I recommend TeleSoft CompactSIP. And I believe in it so much, I chose to sell it. See http://www.telesoft-intl.com/DS_Android.html