← Back

ofxAndroidExtendedEditText

github.com/noyanc/ofxAndroidExtendedEditText · @noyanc
OF 0.9 Utilities Android

Android EditText addon for openFrameworks

0 1 Last commit 10y ago Created 10y ago

Forks

Forks pushed to more recently than noyanc/ofxAndroidExtendedEditText itself, plus any admin-confirmed fork with commits of its own — worth checking if you're hitting issues with the original.

jvelazqueztraut/ofxAndroidExtendedEditText by @jvelazqueztraut · ★ 0 · pushed 10y ago

README

ofxAndroidExtendedEditText

Android EditText addon for openFrameworks

This is an openFrameworks addon, which shows an Android EditText and keyboard on the screen, to enter some text value and to pass this value to openFrameworks environment.

Licence: MIT

---- -- HOW TO INSTALL --

1. Copy the files of "src" folder to -> yourofdir/addons/ofxAndroidExtendedEditText/src 2. Copy the files of "scrJava/cc/openframeworks/ofxaddons/ofxandroidextendededittext" folder to -> yourofdir/examples/android/androidEmptyExample/srcJava/cc/openframeworks/ofxaddons/ofxandroidextendededittext 3. Copy the files of "example" folder to -> yourofdir/examples/android/androidEmptyExample/src 4. Add ofxAndroidExtendedEditText to the end of the file yourofdir/examples/android/androidEmptyExample/addons.make 5. Clean&Build Project 6. Run

---- -- HOW TO TEST --

A. Test for cancelling

1. Run the given example. An EditText should appear on the screen with a hint value "Test EditText". 2. See the logcat. On the logcat, you should see: isShown = 1, getText:"". 3. Click Back button of the device. The EditText will disappear. 4. Check the logcat again, you should see: isShown=0, getText="".

B. Test for editing

1. Run the given example. An edittext should appear on the screen with a hint value "Test EditText". 2. See the logcat. On the logcat, you should see: isShown = 1, getText:"". 3. Click DONE button on the device screen. The EditText will disappear. 4. Check the logcat again, you should see: isShown=0, getText="Test EditText". (You can write something on the editor to see your own result)

Get this addon

HTTPS
SSH