I recently discovered DTLS, however can't seem to find any Android libraries or APIs for its use akin to what SSLSocket is for TLS/SSL. I'm fairly new to Android dev, so any tutorials or posts would also be super helpful :)
I've seen this similar post, however its fairly old and I was wondering what libraries / APIs there are to offer 10 years later. Thanks!
(Too late, I saw, you have already read the other question which points also to Scandium. So I guess, that is not the answer you're looking for ;-) )
You may try Scandium, the Java-DTLS library of the Eclipse Open Source Project Californium. If you have any questions about that, don't hesitate to open an issue there.
Related
I'm currently working on a project aimed to be ported both on Android and iOS.
Actually, it is a library written in C++, and we have a build system for the target platforms that is almost ready.
Despite the fact that it already works, it's quite complex and I was looking for something that can help in simplifying it.
I found the projects ios-cmake and android-cmake and thought that I could give them a try, but they look a bit abandoned and I'm not sure if it's worth it or there exists an alternative nowadays.
Did someone use them recently and can give me his feedback? It would be really appreciated.
Thank you.
I am new to Android system source code. My issue is that while debugging using Android Studio, the control goes to the wrong location in the source file while I step into it, i.e., it goes elsewhere in the source file, not to the method it should have stepped into. I know this issue sounds really silly, but has anyone else encountered it?
Also do you have any recommendations on how I would go about learning how the control flows within the Android system? I could not find many blogs on this topic (nor many questions and answers on StackOverflow about this either), and the Android documentation is not really helpful. I did download and build AOSP, but not sure where to go from there. Any pointers would be helpful!
Thank you in advance.
Debugging android framework libraries or native applications like surfaceflinger is tricky. The documentation on android site leaves lot of details to imagination.
Please start with Debugging Android Framework applications link to understand how to organize your source code, eclipse setup etc. The other articles on that site go into debugging of native applications as well as native libs loaded by Java applications. I suggest start there to save yourself lot of time.
For Android open source project you can see this link https://source.android.com/source/downloading.html
For Access online source you can see this link http://androidxref.com/ it is very good for explore ASOP.
I am Embedded android developer . you can ask me any question related to ASOP on stackoverflow.
I was doing the HelloTabWidget tutorial
http://developer.android.com/resources/tutorials/views/hello-tabwidget.html
and getting errors on the "TabHost tabHost = getTabHost();" statement. I thumbed threw the stackOverflow notes and it seems a few people were having the same problem, and a few received responses along the lines of "Note: Tabactivitity deprecated in latest versions, consider learning Fragments" and discovered I can use ... the v4 support library which provides a version of the Fragment API that is compatible down to DONUT. although I haven't quiet figured out how to do this.
My question is - If the function is deprecated, and causing newbies problems, shouldn't the tutorials be updates to use the new functions? Is their a polite/politically correct way to let the people in charge of the tutorials know that an update may be in order? Or maybe new tutorials exist, and I'm just looking at an old URL?
shouldn't the tutorials be updates to use the new functions
Who exactly are you asking this to? Us? Why would we know why google hasn't updated their docs/tutorials.
is their a polite/politically correct way to let the people in charge
of the tutorials know that an update may be in order?
I'm very sure that they know. They probably have more important things to do. There are TONS of tutorials around the internet. They don't need to update all their tutorials.
Or maybe new tutorials exist, and I'm just looking at an old URL?
Search google. There's TONS of blogs that will give you lots of examples. Including here at stack overflow.
Is "AndroidAnnotations" reliable? I've searched it but couldn't find many articles on it(reviews or tutorials).
I've been considering using this library in my project which already has quite lots of users. Before adopting it, I need a good reputation on it. So my concerns mainly are,
Are there famous products using this library?
Can I say it's stable enough to adopt it for my big project?
Will it be maintained well? (bug fixes, etc)
Thanks in advance.
I am the lead developer of AndroidAnnotations. Let's answer your questions:
Can you rely on AndroidAnnotations?
I think so. AndroidAnnotations is a compile time framework which generates code. The generated code is readable java code, which means that if you need to understand what happens, you can. No magic happening at runtime => you are in control.
We try to maintain a list of external articles / tutorials here.
Are there famous products using this library?
Let's be honest: I don't know. Matthias Kaeppler from Qype talked about AndroidAnnotations at DroidCon London 2011. The frontpage lists the applications that we know for sure are using it. I know there are way more people using it because they ask for enhancements and report bugs, but they usually don't let us know when they publish an app. And of course, the idea of "writing clean and maintainable Android code" is not yet very common in the Android community.
Can I say it's stable enough to adopt it for my big project?
We are using it in our own apps, and we find it perfectly stable. So I would answer yes, but I think you should just try it :-) . Download the 2.2 RC2 (will be released stable soon), follow the instructions and see for yourself. You can do progressive enhancement, and start enhancing only one or two activities. See how it fits you, and let us know if anything goes wrong. And if you do release an app with AndroidAnnotations on the Android market, please let us know, we'll update the front page.
Will AndroidAnnotations be maintained?
Yes, it will. Although it started as a personal project, AndroidAnnotations is now sponsored by a company, eBusiness Information. This company employs people (including me) to work on AndroidAnnotations, with the aim of making it a major Open Source Android framework.
As you can see here and there, we are adding a lot of new features for the 2.2 release. And you won't find a lot of open Defects in the issues, because we concentrate on fixing any bug before adding new features.
I am starting getting to know android renderscript and i've read everything that is on the android developer site, but it seems that there is not enough documentation, examples.. I was wondering if there is maybe a book that also has a part with explanation and some renderscript examples. I want to learn about it in depth, so if someone can provide links for books, examples, tutorials (anything would be of great help) i will appreciate it. Thank u in advance!!!
We are working on this documentation gap and plan to have updated docs within the next few weeks; however, it will still be a work in progress. If you have specific things that you want to do, let us know. In the meantime, there are samples packaged with the SDK that might help you get started: http://developer.android.com/resources/samples/RenderScript/index.html
I've posted a couple of RenderScript articles/tutorials on my blog. If they're of use, let me know. I've been debating whether I should make more, but it's tough to gauge interest in RenderScript.
There's very little documentation on Renderscript at this moment in time. Google has published a few posts about it, including the following on the Android Developers Blog, but apart from that, the information available is very limited.
http://android-developers.blogspot.com/2011/02/introducing-renderscript.html
http://android-developers.blogspot.com/2011/03/renderscript.html
Some documentation is also available here:
http://developer.android.com/guide/topics/renderscript/index.html
You can also find some examples here:
http://code.google.com/p/renderscript-examples/
The Android team has promised to add more documentation at some point in time, and I'm hopeful we'll get some more information when Ice Cream Sandwich launches.