I've recently found out about Alljoyn and I would like to ask if developing Alljoyn app needs Android devices to be rooted. Also can you point a simple demo to develop apps using Alljoyn. Thanks in advance!
EDIT: Also, can I use services of different release versions? For example using version x on release, then y on the other services. Right now, the current version for Release SDK is 15.09.00a and other services are lower. Is it okay to use them that way?
You don't need root access in order to develop Android applications that use Alljoyn library.
The samples are located in the following folder (SDK Android 15.09a):
core/alljoyn-15.09.00a-rel/java/samples
Not sure about using different version, for instance Core SDK 15.09 and Lighting SDK 15.04
Related
What are the best frameworks or tools for automated testing in Android Automotive?
I read about Spectatio but I couldn't find code examples or anything other than what's mentioned on the Android page.
If you look into CATBox documentation, it's based on Spectatio framework. You can build and run catbox from AOSP by following Build CATBox documentation.
BTW, Are you looking for testing framework for your unbundled applications? (which means app will be installed to Android Automotive through Play or else) or, your Android Automotive builds with preinstalled apps?
For automotive you can just use
CATbox
Spectatio - built on top of UIAutomator
I have php and .net programming experience.
I want to set up a development system on a windows 7 64 bit PC. I could do with database usage at a later date. I want to do it as hard coding not use software that you just drag and drop objects to play games.
I have already downloaded and installed jdk-8u20-windows-x64.exe
What do I need to do next and in what if any order.
Get your Android SDK and Eclipse IDE here
https://developer.android.com/sdk/index.html
As this is not a programming question please use Google Search or a source specific to your problem next time.
It's quite simple really. I would suggest using Android Studio, which can be found here :
Download Android Studio
It says it's a beta version but I have (and I'm not the only one) been using it for production without issues for months now. It's really a question of preference but as far as I'm concerned, I found my productivity to be much higher on Android Studio than it was using Eclipse.
Once it is installed, find the SDK manager and download the latest SDK version, build tools and other things you may need (such as the USB driver for debugging, the support library, ...) :
I highly recommend you go through the training on the official documentation page to start getting used to your new toys :-)
So I'm going to start experimenting with AWS SDK for Android from Amazon and while I imagine it's quite stable and bug free by this point, I want to setup my environment (Android Studio) to check for the latest version of AWS SDK for Android just in case there are package updates while developing. I looked around on the AWS SDK for Android SDK getting started page and there doesn't seem to be anything about this described, even for working in Eclipse which I know should support this kind of functionality.
Is it even possible with Android Studio and the SDK Manager to be setup such that it checks for the latest packages of the AWS SDK, does Amazon host their SDK for Android somewhere it's pullable from in such a fashion, and if so, how do I do it?
So really your best bet here is to pick the current SDK build and stick with it. You aren't exactly sure what they might change, and it might have unexpected issues in your code. Even when you use a dependency management like Maven, you rarely change the version of your dependencies.
But, if you want to stay up to date, your best bet is to check it out from their GIT repo, and stay current that way.
https://github.com/aws/aws-sdk-android
It provides you a link to this repo here...
http://aws.amazon.com/sdkforandroid/
I am interested in the ProfileManager api, but I am to ask some more generic question.
How to include the class for cyanogen mod?Is there any SDK/library package, or shall I download the whole android_frameworks_base project?
How to configure eclipse to use this library?Should I check android_frameworks_base as a library? Or do I have to copy the interface classes over?
Is it possible to limit this app to cyanogenmod on google play?
Thanks in advance.
Follow the steps in the page below. Althought it is for android internal APIs, it is just the same for any CM APIs, so it just works. You might need to restart your IDE after the steps before the APIs are recognised, at least for me to use IntelliJ.
https://devmaze.wordpress.com/2011/01/18/using-com-android-internal-part-2-hacking-around/
I'm fairly late to the conversation here, but as insight for anyone looking further -- CM has spun up a Platform SDK which makes things like the Profile API accessible via a statically linked sdk jar.
Details on the CM Platform SDK can be found here:
https://github.com/Cyanogenmod/cm_platform_sdk/wiki
With prebuilt jars available here (under current and future):
https://github.com/CyanogenMod/android_prebuilts_cmsdk
Are the Linux capabilities (libcap.so) library available for use with Android? If not, how can I compile it?
I would like to use the capabilities-related API in sys/capabilities.h, which is included with the NDK. But when I try to call functions like cap_get_proc(), I get "undefined reference" error.
I would imagine that using this api would go way, way beyond the contract in the Android framework. It might work on some devices, but not on others.
In fact, there's no guarantee, afaik, that Android even runs under Linux. For example, the new Blackberry devices run Blackberry's proprietary OS, but still run Android apps.
Finally, the version of Linux that most Android devices run is a highly-stripped-down version. They didn't include any features that the Android API doesn't need. If Android doesn't need libcap, then it's probably not included.
Perhaps you could tell us exactly what it is you're trying to do.
Here is the link - https://github.com/scopichmu/libcap-for-Android. This is original libcap (was cloned from https://kernel.googlesource.com/pub/scm/linux/kernel/git/morgan/libcap) with supporting of android ndk build. You can build now libcap.so, setcap and getcap for android.
Lots of discussion out there on this topic... google around a bit:
http://permalink.gmane.org/gmane.comp.handhelds.android.ndk/4075
Here someone compiled it and described:
http://blog.umitproject.org/2011/05/libpcap-for-android.html