Finally encountered a bug ...
I was also very puzzled, why the Geek College official video in the demonstration camera function when the use of the real machine, rather than the simulator. You know, simulators can also simulate the use of cameras. So that makes no sense.
At first I was very young and thought it was because the simulator was not very good, and then I learned the clue when I ran it on the emulator.
Damn it. This is the mother of a bug program, okay?
According to the current problem, the bug should be in my own code. But all of my code is followed by the code of the video.
The current speculation:
- I wrote the wrong code myself.
- Geek College This set of tutorials is only instant and individual. The current phone does not have to be able to run, or the code in it can only run under the Qualified SDK.
- Issues with permissions. My local simulator error is that the cursor did not get to the object. This object is passed to the database data. But this time is very fun, the mother of the database no data ... The first time the real machine running the database how could not have data. No information how to add? Can't add how to have data?
So I can only check it tomorrow. It's late today, isn't it?
Learn notes-android simple Notepad (three)-Add a picture