Add webmap from arcgis online to Android

09-22-2014 03:08 AM
New Contributor

I am trying to add a web map from ArcGIS online, but the application crashes every time I run it. I tried initiating the map from Java as well as XML. this is the map:

   A snippet of my code :

public View onCreateView(LayoutInflater inflater, ViewGroup container,

            Bundle savedInstanceState) {

  View rootView = inflater.inflate(R.layout.fragment_home, container, false);

  m_MapView = new MapView(getActivity(), "", "", "");

     return rootView;

0 Kudos
0 Replies