-
Notifications
You must be signed in to change notification settings - Fork 165
Conversation
/cc @eborghi10 @ernestmc |
Hello, |
@blmhemu thanks for the heads up! After this PR is merged, we can update the notification functionality if there's a better way to do it in a follow-up PR. The only thing I'd recommend is keeping PRs as atomic as possible in that case. |
This and rosjava/android_apps#80 are ready. Note that rosjava/rosjava_bootstrap#73 is necessary for this to work; otherwise the new Android Gradle plugin will not be found. |
@ernestmc to build this without merging the PR in
After merging the PR in |
@jubeira I'm currently experiencing the issues related to the EDIT : I ended up compiling |
@yycho0108 sorry for the delay, I've been out for some weeks. I would have suggested exactly what you did. If you are a ROS / catkin user you can place this version of By any chance, did you encounter any problems when using this code? I'd like to get as much feedback as possible before merging it. |
@jubeira It's been some time since I setup the library for the project, but I think when I tried to setup the source dependencies something about how the While the issue was perplexing, compiling the library and linking to it wasn't that painful anyways, so I think it's fine - I haven't had a runtime/build error coming up for the project itself. By the way, thank you for fixing the errors and upgrading |
Update: I updated everything related to Android and I tested building I also added a note to the tutorials about creating Android packages (and projects) here, and updated the required build tools here. It would be great to restore a way to create Android packages from the command line directly; I'll update the issue about that. |
This is awesome! Any idea if I can get to the updated android_core_components through maven? |
@swarmt the PR is open here: rosjava/rosjava_mvn_repo#62. |
I could be doing something wrong here but I can't get org.ros to resolve when targeting your branch. I have however compiled and used your android_core_components no problems on a couple of devices. Thanks for updating it! |
This PR allows creating apps for Android 9 on top of
android_core
.Some notes:
NotificationCompat
was deleted from the support library v27. When upgrading the API target, Android Studio suggests upgrading the support library as well.Notification
class without compatibility libraries is available since API 16. Since devices up to API 15 nowadays represent less than 1% of the total devices around, I strongly suggest raising the minimum API level and stop using deprecated compatibility stuff. API 16 is still really old nowadays, and it's far more useful to be able to develop applications for current devices. Furthermore, starting on November 1, 2018, applications with target SDK < 26 won't be allowed to be released / updated to the Play Store.android_10
andandroid_15
into one Gradle project (android_core
), and bump the package version to0.4.0
.TODO list:
android
command is no longer available, so the command line cannot be used anymore to create new projects. The best approach would be to start on top of an existing application in Android Studio.Any comments regarding this are welcome!
Similar upgrades will be applied to
android_apps
regarding the minimum SDK version.