Learn notes-android simple Notepad (three)-Add a picture

Source: Internet
Author: User

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:

  1. I wrote the wrong code myself.
  2. 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.
  3. 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

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.