Problems Running Earthquake 1
The book does not specify the min required SDK, the target SDK, or the compile with.
I added all the code with min: API 8, Target: API 17.
I'm getting the following errors on EarthquakeListFragment - Errors in FONT RED
1. public class EarthquakeListFragment extends ListFragment {
2. super.onActivityCreated(savedInstanceState);
3. aa = new ArrayAdapter<Quake>(getActivity(), layoutID , earthquakes);
4. setListAdapter(aa);
5. String quakeFeed = getString(R.string.quake_feed);
PS. Number 5. quake_feed. The Strings.xml have the <string name="quake_feed">
Thanks for your help.
__________________
Marcelo Oliveira
MAOWebSolutions.com
|