Month: June 2016

  • How to root Nexus 5 without PC or Mac

    How to root Nexus 5 without PC or Mac

    Attention! Use it at your own risk.
    1. You can turn your smartphone into a brick.
    2. Your phone warranty turns void.
    3. Malware can easily breach your mobile security.

    I’ve rooted my Nexus 5 using KingRoot service.
    High recommended for fast rooting.

    kingroot.net

  • Android: PocketSphinx speech/voice recognition library in background.

    Android: PocketSphinx speech/voice recognition library in background.

    As you know we have Google Voice for voice recognition.

    Here is simple way to implement offline speech recognition using PocketSphinx lib.

    I’ve created simple app which will run Service with speech recognition functionality.

    You can add one keyword here:

    recognizer.addKeyphraseSearch(KWS_SEARCH, KEYPHRASE);

    Sure PocketSphinx have multi-keyword functionality.

    File menuGrammar = new File(assetsDir, "voicecommands.gram");
    recognizer.addGrammarSearch(VOICE_COMMAND, menuGrammar);

    But for me it is’t perfect.

    One-word mode works better.

    Use PocketSphinx if you need only one-keyphrase recognition.

    Here is full documentation:

    http://cmusphinx.sourceforge.net/wiki/tutorialandroid

    My sample project on github

    Download it from github