[android-developers] Allow custom Android.mk in projects with native code

2015-05-21 Thread Xavier Gouchet
I'm using Android Studio 1.2.1.1, with gradle plugin 1.1. As of today, when we create a project with a jni source folder, the ndk-build tool is run automatically, with a generated Android.mk file, which we can configure a bit in our build.gradle file. Problem is that the configuration is

[android-developers] WearableCalendarContract query doesn't return recurring events

2015-04-14 Thread Xavier Gouchet
I'm creating a watchface for Android Wear which will display calendar events. Based on this page https://developer.android.com/training/wearables/watch-faces/information.html (and the WatchFace sample provided in the SDK), I managed to query the next events for the day, and display them on

[android-developers] XMLPullParser feature not available

2012-10-04 Thread Xavier Gouchet
I'm using an XMLPullParser to read xml files, and I create it using the following lines : XmlPullParserFactory factory; XmlPullParser xpp; factory = XmlPullParserFactory.newInstance(); factory.setNamespaceAware(true); factory.setFeature(XmlPullParser.FEATURE_PROCESS_DOCDECL, true);