I’m rather new to Android Dev and I’m stuck at the very last part of my app. I’ve made a barcode scanning app (thanks Zxing) and would like to search the result on a website.
So for example if I wanted to search my result on http://www.trademe.co.nz how would I go about doing this?
So far I’ve gotten the String and opened the browser I just don’t know how to import the text into the right textbox and search it.
The web part of my code.
private void openBrowser(String contents, String format) {
Intent i = new Intent(Intent.ACTION_VIEW,
Uri.parse("http://www.trademe.co.nz"));
startActivity(i);
}
Sorry if I’ve done something wrong, this is my first post!
Thanks is advanced for any help 🙂
Try this (and mark this as an answer if my answer solve your problem)
}