I am opening an APK in androidthings using this code:
PackageManager manager = getPackageManager();
Intent intent =
manager.getLaunchIntentForPackage("com.lafitness.lafitness.apk");
intent.addCategory(Intent.CATEGORY_LAUNCHER);
startActivity(intent);
Is it possible to make a soft-keyboard available to the app that is opened in this way? Can I programatically enable a soft-keyboard service that is available to all views and intents? If so how would I do this?
I have searched google and stackoverflow with no result for a solution to this. I am running androidthings on raspberry pi 3
If you have a EditText view in focus, the soft keyboard will display automatically. If you want to use a soft keyboard for something else you probably need to create it as a set of buttons and handle each click. It's laborious, but quite straight forward. All in all it works the same way as in Android