How to switch languages through floating windows

Source: Internet
Author: User

Today, we bring you a little bit of language switchingProgram.

The main features of this program include:

1. Use a floating window and click double-click events

2. Use the platform signature (local_certificate: = platform, because Android does not allow normal third-party apps to switch languages)

Iii. boot

4. A simple setting page

CodeIt should be compiled under pakages/apps. Find floatswitcher.apk In the OUTFILE.

Through this program, you can understand:

How to Use local_certificate in Android. mk;

How to implement a floating window

How to implement your own settings page

And how to enable startup.

If there are few codes and a lot of comments, no code will be pasted. (in Linux, garbled characters are opened on the WordPad in windows)

Code Link

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.