Check-in [e4fd5c80fd]
Not logged in

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Objtain class directly
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: e4fd5c80fdf66f6984488d792a6aa4a4503329fc
User & Date: bernd 2014-01-20 01:51:10
Context
2014-01-20
22:31
Debugged media player example check-in: 27f5c22f2a user: bernd tags: trunk
01:51
Objtain class directly check-in: e4fd5c80fd user: bernd tags: trunk
2014-01-19
22:49
Recreate player for different movies to get correct texture size check-in: 137419d299 user: bernd tags: trunk
Changes

Changes to gles2/jni-helper.fs.

3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
require jni-tools.fs

also android also jni

app obj @ Value clazz

: gforth-class: ( -- )
    clazz env tuck JNIEnv-getObjectClass() to jniclass ;

gforth-class:

\ jni-sfield: INPUT_METHOD_SERVICE INPUT_METHOD_SERVICE Ljava/lang/String;
\ jni-sfield: POWER_SERVICE POWER_SERVICE Ljava/lang/String;
: INPUT_METHOD_SERVICE js" input_method" ;
: POWER_SERVICE        js" power" ;







|







3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
require jni-tools.fs

also android also jni

app obj @ Value clazz

: gforth-class: ( -- )
    app cls @ to jniclass ;

gforth-class:

\ jni-sfield: INPUT_METHOD_SERVICE INPUT_METHOD_SERVICE Ljava/lang/String;
\ jni-sfield: POWER_SERVICE POWER_SERVICE Ljava/lang/String;
: INPUT_METHOD_SERVICE js" input_method" ;
: POWER_SERVICE        js" power" ;