It does not matter from where you are publishing your content. The only thing that matters for earning money through blogging is content. If you are capable of blog post publishing from your smartphone then you can earn money.