[android-developers] Error inflating class fragment

2016-06-05 Thread 'Bost' via Android Developers
I have published an app which uses Google Maps Api V2. The app works fine 
since the Api V2 with GooglePlayServices was introduced. Since some weeks 
ago I received some stack traces withe the following error:
java.lang.RuntimeException: Unable to start activity ComponentInfo{cnglpg.
finder/cnglpg.finder.lib.MapManager}: android.view.InflateException: Binary 
XML file *line #15*: Binary XML file line #15: Error inflating class 
fragment
  at android.app.ActivityThread.performLaunchActivi

The error was reported only by users with a Xperia Z5 device, running 
Android 6.0.
The app was tested on an emulator with Android 6.0 and on NVIDIA Shield 
Tablet 6.0 

Here the layout xml file:


http://schemas.android.com/apk/res/android";
android:id="@+id/my_drawer_layout"
android:layout_width="match_parent"
android:layout_height="match_parent" >

http://schemas.android.com/apk/res/android";
android:layout_width="match_parent"
android:layout_height="match_parent" >

**










 






 






The fragment tag on line 15 (in bold) uses the class attribute. Should I 
use the attribute android:name instead or both?
Has anyone experienced the same error? How to overcome it?

-- 
You received this message because you are subscribed to the Google Groups 
"Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
To post to this group, send email to android-developers@googlegroups.com.
Visit this group at https://groups.google.com/group/android-developers.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/android-developers/30df2491-2137-42c7-b629-7f608527b9c9%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[android-developers] Re: Google Maps Android GPS App

2016-03-04 Thread 'Bost' via Android Developers
I think you have to rework your requirements.
Assumed, that it is possible, to get all routes with a defined distance (on 
the route) from a given location, how many routes you will get, if your 
location is for example at the center of London? There will be a huge 
number of possible routes. By the way, to determine the distance on a 
route, you first need the route. So the distance cannot be parameter for 
determinig a route.
Regards, BO


Am Donnerstag, 3. März 2016 00:41:57 UTC+1 schrieb Simon Leen:
>
> I am working on an Android Running App and currently trying to implement a 
> user chosen distance route. 
> I have been looking with a few weeks and cant seem to find anything that 
> can help. 
> I have user location and updates working but the problem is I don't want 
> to set a defined destination. 
> I would like to be able to input a chosen distance be it 5 km and have a 
> route/multiple routes displayed with the destination being the end of the 
> distance.
> Any help would be greatly appreciated.
> Thanks
>

-- 
You received this message because you are subscribed to the Google Groups 
"Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
To post to this group, send email to android-developers@googlegroups.com.
Visit this group at https://groups.google.com/group/android-developers.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/android-developers/cbb2ac0c-9031-4641-8435-e667b13d1361%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.