Extremely long value for EXTRA_CRIME_ID



What is the purpose of the extremely long value for the constant EXTRA_CRIME_ID ??

public static final String EXTRA_CRIME_ID =“com.bignerdranch.android.criminalintent.crime_id”;

I’ve tried with much more short value and it also works:

private static final String EXTRA_CRIME_ID = “crime_id”;



P99, “An activity may be started from several different places, so you should define keys for extras on the activities that retrieve and use them. Using your package name as a qualifier for your extra, as shown in Listing 5.8, prevents name collisions with extras from other apps.”