Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Andorid常见内核函数 #8

Open
foxleezh opened this issue Mar 1, 2018 · 0 comments
Open

Andorid常见内核函数 #8

foxleezh opened this issue Mar 1, 2018 · 0 comments

Comments

@foxleezh
Copy link
Owner

foxleezh commented Mar 1, 2018

Android在C/C++封装了许多好用的API,记录一下,方便阅读

1.android::base::Split

分割字符串,用法

std::vector<std::string> pieces = android::base::Split(entry, "=");
        if (pieces.size() == 2) {
            fn(pieces[0], pieces[1], in_qemu);
        } 
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant