How to correct errors in source examples, wording, etc. on the Android API guide.
I found the code repository but I did not find the documentation
You can contribute to AOSP - Android Open Source Project. The process details here: http://source.android.com/source/contributing.html
The API guide sources location is $ANDROID_ROOT/frameworks/base/docs/html/guide
You can browse it online: https://android.googlesource.com/platform/frameworks/base/+/android-5.0.2_r1/docs/html/
AFAIK the documentation on Google's web page (expect pure Javadoc originating from classes within AOSP) is neither part of AOSP nor open source at all.
My best tip would be to contact Google through one of the forums, e.g. https://groups.google.com/forum/#!forum/android-platform
Related
I am pretty sure this question might seem silly but will throw it anyway.
I have started playing around with Bluemix and its fabulous Push, Data, Analiytics and more services. The main point is to develope an Android application leveraging these services. The problem is that I haven't found consistency in the official documentation.
For instance,
Here you'll see that it makes use of some "local" (the download link can be found on the top of that page so that you can copy them into you lib folder) libraries. The push IntentService is com.ibm.mobile.services.push.IBMPushIntentService.
On the other side, in this official sample code you will notice that the IntentService is com.ibm.mobilefirstplatform.clientsdk.android.push.api.MFPPushIntentService.
I hope I have explained my point on this issue.
Both pages seem to be up-to-date so, my dumb question is, what is the difference? and which SDK should I use?
The first link you referenced is for the sun-setting, deprecated 1st generation of Moblie Cloud services on Bluemix, AKA MBaaS. The getting started documentation for MBaaS will be removed shortly. You can see the recent deprecation announcement here.
The sample you link is the correct sample for the 2nd generation, and most recent, versions of IBM MobileFirst Services (IMF). You can find the appropriate documentation for Push Notifications here. You'll notice, all the docs are now hosted on the Bluemix docs page, instead of mbaas-gettingstarted...
Apologies for any confusion this has caused.
Where can I find the SDKs (supporting .jar files) for the "bms-samples-android-bluelist" Sample applications provided by Bluemix? While searching for this I got the below thread. The page is not redirecting to the right page:
URL-> https://www.ng.bluemix.net/docs/starters/mobilefirst/gettingstarted/android_existingproject.html#gettingstarted
Note: I'm using in Eclipse
For that document try changing the "Docs customized for type" field in the top right from Java to Android. This is a known issue and will hopefully be sorted out shortly, but the Android version of the doc has working links.
For the SDKs themselves please take a look at the Bluemix Mobile Services github as they are all hosted there. Here's a link to the Bluemix Service Android Core SDK to get started.
Hope this helps
Okay, here's where I'm at. I used Eclipse to import the code for the SMS/MMS app that is on Android devices. The code on GitHub is at https://github.com/android/platform_packages_apps_mms.git. I used the Import -> Git in Eclipse. Got the code into the environment. Had to manually paste the AndroidManifest.xml file into the project, and also copy over source and resource directories.
Basically, I want to get the Eclipse project to a point where I can run it on my device and it behaves JUST like the built-in app. THEN, I can modify it for my specific needs hopefully. I don't want to have to write all the SMS/MMS functionality from scratch if I can avoid it.
NOW, the problem is: A LOT of unresolveds. I keep reading various places where people are saying that some of the packages aren't REALLY in the SDK and are internal... Why the heck call it an "open source platform" when the source isn't available for the built-in apps that Google provides?! (If this is in fact the case). Further, why would they provide the code on GitHub for the MMS app if in fact not all the code is available and you can't compile it? Seems a little ridiculous to me.
I have read some answers to previous posts where I was just sticking my "toes into the water" so to speak, and people are saying that a lot of these packages are part of the firmware? Seems like there should be some base code for a texting/mms app out there somewhere.
Anyone know of any? (Open source, free, SMS/MMS Android code that I can easily obtain and that don't suck, if in fact I can't use Google's code?)
Thanks,
John
Mms as well as other system apps use private or hidden APIs that are not available through the SDK.
This has nothing to do with not being an open source platform, as you mentioned, but with the fact that you are trying to build the application in a way that is not supported and nobody says it was.
If you want to modify and build Mms, do it as part of the firmware build, using make, not importing the project to be built by the SDK in Eclipse.
The stock MMS app built into a device's original firmware, signed with a private key, and is able to use some private API.
Third party apps can't use the private API for various reasons, one being security. All the source is open if you wish to view it.
You can definitely build your own firmware, or ROM, as some call it, and run your own modified MMS app on it.
I don't know if you can make and install your own MMS app. You can find out by looking through the Play Store for similar apps or looking at the Android developer documentation to see what permissions and API are provided to third party apps.
I am working on a project which uses OsmAnd for the maps. I am doing the R&D regarding the same by going through the wiki links provided. But i am not getting a clearcut idea regarding how to use this library in the android project.
I have searched for the tutorial as well but no luck.
Could anybody help me out with the same by directing me to some tutorial for the basic understanding or by providing the steps of using OSMAnd in android application.
Thanks in advance.
OsmAnd is a standalone application and it's not intended to be used as a library.
Here is a suggestion to developers to allow that and their answer. https://groups.google.com/forum/?fromgroups#!topic/osmand/7q83Mrc449Y
Is there a way to get the Alarm Application source code for customizing the existing default source code availble in Android 2.3.
You can download the app from the Android github mirror.
https://github.com/android/platform_packages_apps_alarmclock
Or on the cyanogen mirror
https://github.com/CyanogenMod/android_packages_apps_DeskClock
And because, you are a nice guy, you are wondering: What is the license of that code?
Glad you asked, because according to the Android documentation and cyanogen's wikipedia page, it's the Apache Software License 2.0
And as we all know, the Apache license 2.0 is a nice license for the all hackers. Even those who intend to make a buck or two. (you little capitalist scoundrels)
Please note that, I didn't come up with that nice cheat sheet. Someone else did.
This is the version that's made and maintained by Google now in a move to keep the apps unbundled from the system so as to provide the apps and updates to everyone even if the OEMs don't provide system update.
Hence It's the one that's available from the Play store to download too. The one that's shared previously is the stock App which is quite old.
https://android.googlesource.com/platform/packages/apps/DeskClock/
As the site of the source may keep changing, best way for you to figure it out is by visiting Android Open Source Project (AOSP) page and searching for the URL of the code.
You can download whole android source tree including alarm app from here:
http://source.android.com/source/downloading.html
Cyanogenmod is dead. So, here's the latest Lineage DeskClock (Apache License 2.0) repository:
https://github.com/LineageOS/android_packages_apps_DeskClock