Greetings,
I am trying to complete the Fragments tutorial (chapter 18) but i run into the following problem. The step 18.5 contains the following:
<code>Intent intent = new Intent(getActivity().getApplicationContext(),
DetailActivity.class);</code>
But there is no DetailActivity in the current chapter. In the next chapter there is indeed a DetailActivity activity but it refers to portrait mode.
--
You received this message because you are subscribed to the Google Groups "vogella" group.
To view this discussion on the web visit https://groups.google.com/d/msg/vogella/-/n1qunMQsL6QJ.
To post to this group, send email to vog...@googlegroups.com.
To unsubscribe from this group, send email to vogella+u...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/vogella?hl=en.
I am currently trying to learn about fragments and i am trying to run on emulator this tutorial. I haven't changed anything on the code and i am getting everytime fc(unfortunately, RSS Reader has stoped when i run the app. The emulator is running android 4.1. I get on logcat mistakes which i can not understand or locate on code because i am newbie on android programming and in developing on eclipse.
P.S If needed i can post the log
--
You received this message because you are subscribed to the Google Groups "vogella" group.
To view this discussion on the web visit https://groups.google.com/d/msg/vogella/-/X24P7UhCLTQJ.
The problem still persists. The only logical explanation is that i am doing something wrong with the DetailFragment and MyListFragment registration in manifest xml.sorry for my ignorance but i am a newbie in android developing and i am trying to understand what is going on.
For some reasons I could not get it to work with Android 4.2.2? but now it works fine and the "Binary XML file line #7: Error inflating class fragment" error is gone!
Best regards,
Steen