// Path: sthlmtraveling/src/main/java/com/markupartist/sthlmtraveling/provider/PlacesProvider.java
// public static final class Places implements BaseColumns {
//     private Places() {
//     }
// 
//     public static final Uri CONTENT_URI = Uri.parse("content://"
//             + PlacesProvider.AUTHORITY + "/places");
// 
//     public static final String CONTENT_TYPE = "vnd.android.cursor.dir/vnd.sthlmtraveling.places";
// 
//     public static final String PLACE_ID = "_id";
// 
//     public static final String SITE_ID = "site_id";
// 
//     public static final String NAME = "name";
// 
//     public static final String PREFERRED_TRANSPORT_MODE = "preferred_transport_mode";
// 
//     public static final String STARRED = "starred";
// 
//     public static final String POSITION = "position";
// }


import android.content.ContentProvider;
import android.content.ContentUris;
import android.content.ContentValues;
import android.content.Context;
import android.content.UriMatcher;
import android.database.Cursor;
import android.database.SQLException;
import android.database.sqlite.SQLiteDatabase;
import android.database.sqlite.SQLiteOpenHelper;
import android.database.sqlite.SQLiteQueryBuilder;
import android.net.Uri;
import android.provider.BaseColumns;
import android.util.Log;
import com.markupartist.sthlmtraveling.BuildConfig;
import com.markupartist.sthlmtraveling.provider.PlacesProvider.Place.Places;
import java.util.HashMap;
package com.markupartist.sthlmtraveling.provider;




public class PlacesProvider extends ContentProvider {

    private static final String TAG = "PlacesProvider";
    private static final String DATABASE_NAME = "places.db";
    private static final int DATABASE_VERSION = 1;
    private static final String PLACES_TABLE_NAME = "places";
    public static final String AUTHORITY = BuildConfig.BASE_PROVIDER_AUTHORITY + ".placesprovider";
    private static final UriMatcher sUriMatcher;
    private static final int PLACES = 1;
    private static HashMap<String, String> sPlacesProjectionMap;

    private DatabaseHelper dbHelper;

    static {
        sUriMatcher = new UriMatcher(UriMatcher.NO_MATCH);
        sUriMatcher.addURI(AUTHORITY, PLACES_TABLE_NAME, PLACES);

        sPlacesProjectionMap = new HashMap<String, String>();
// Path: sthlmtraveling/src/main/java/com/markupartist/sthlmtraveling/provider/PlacesProvider.java
// public static final class Places implements BaseColumns {
//     private Places() {
//     }
// 
//     public static final Uri CONTENT_URI = Uri.parse("content://"
//             + PlacesProvider.AUTHORITY + "/places");
// 
//     public static final String CONTENT_TYPE = "vnd.android.cursor.dir/vnd.sthlmtraveling.places";
// 
//     public static final String PLACE_ID = "_id";
// 
//     public static final String SITE_ID = "site_id";
// 
//     public static final String NAME = "name";
// 
//     public static final String PREFERRED_TRANSPORT_MODE = "preferred_transport_mode";
// 
//     public static final String STARRED = "starred";
// 
//     public static final String POSITION = "position";
// }


// Path: sthlmtraveling/src/main/java/com/markupartist/sthlmtraveling/provider/PlacesProvider.java
import android.content.ContentProvider;
import android.content.ContentUris;
import android.content.ContentValues;
import android.content.Context;
import android.content.UriMatcher;
import android.database.Cursor;
import android.database.SQLException;
import android.database.sqlite.SQLiteDatabase;
import android.database.sqlite.SQLiteOpenHelper;
import android.database.sqlite.SQLiteQueryBuilder;
import android.net.Uri;
import android.provider.BaseColumns;
import android.util.Log;
import com.markupartist.sthlmtraveling.BuildConfig;
import com.markupartist.sthlmtraveling.provider.PlacesProvider.Place.Places;
import java.util.HashMap;

package com.markupartist.sthlmtraveling.provider;




public class PlacesProvider extends ContentProvider {

    private static final String TAG = "PlacesProvider";
    private static final String DATABASE_NAME = "places.db";
    private static final int DATABASE_VERSION = 1;
    private static final String PLACES_TABLE_NAME = "places";
    public static final String AUTHORITY = BuildConfig.BASE_PROVIDER_AUTHORITY + ".placesprovider";
    private static final UriMatcher sUriMatcher;
    private static final int PLACES = 1;
    private static HashMap<String, String> sPlacesProjectionMap;

    private DatabaseHelper dbHelper;

    static {
        sUriMatcher = new UriMatcher(UriMatcher.NO_MATCH);
        sUriMatcher.addURI(AUTHORITY, PLACES_TABLE_NAME, PLACES);

        sPlacesProjectionMap = new HashMap<String, String>();
        sPlacesProjectionMap.put(Places.PLACE_ID, Places.PLACE_ID);