Android photos and positioning to get the address watermark image above

Source: Internet
Author: User

This is my watermark http://www.eoeandroid.com/thread-206223-1-1.html.
This is what I force on GPS
Http://www.eoeandroid.com/thread-206003-1-1.html

This was sent when I got off work today.

Http://www.eoeandroid.com/thread-206311-1-1.html

Source code: Click to open the link

Today, I made a small demo for a day at the company, mainly because I saw the current address when you looked at the iPhone, just wondering how to implement it on Android, in the morning, I found some information and started to work in the afternoon. It's still quite smooth. Most of the work has been done now. It's up to you later.

Implemented functions:
1: Android photo taking function.
2: Android camera save SD
3: force turn on the GPS, no prompt (as long as you phone root, some do not use root 2.2 or above can force turn on)
4: watermark, get the photo address, get the photo time, then add the watermark to the image, save the image, and check the myimage folder in the SD directory!
5: None

Where there is a problem:
1: two types of images are saved during storage. This is a good solution. You can check the source code and click OK.
2: currently, only WiFi can be used to obtain the address base station. I still cannot test GPS in the house, so I didn't do it.
3: The image is a bit unclear after compression, but it is not a problem. You can remove the compressed part of the code.
4: None

:

After opening the image saved in SD, you will see that the watermark has been attached to it.

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.