Hacker News new | past | comments | ask | show | jobs | submit login

'intent' worked well for me. With intents, it took only few lines of code to scan and de-crypt a QR image (thanks to zxing). Without intent, it would have taken weeks to implement such feature.



What happens if the app that provides that intent isn't installed on the user's phone? Are they prompted to install it?


No. The idea behind intents is that the calling app doesn't know (or care) who handles the action. You just fire off a message that says "Hey, someone handle this", and the OS takes care of the rest. You would need to prompt the user to install an app to handle the intent if they don't have one already.




Join us for AI Startup School this June 16-17 in San Francisco!

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: