android-properties 0.2.2

Rust-based Android properties wrapper
Documentation
1
2
3
4
5
6
7
8
9
10
11
use android_properties::AndroidProperty;

const HELLO_WORLD_PROPERTY: &str = "hello.world";

fn main() {
    let mut hello_world = AndroidProperty::new(HELLO_WORLD_PROPERTY);
    match hello_world.value() {
        Some(_value) => println!("{}", hello_world),
        None => println!("Property {} not found", hello_world.name()),
    };
}