Android Open Source - GL2libpng-android J N I Glue






From Project

Back to project page GL2libpng-android.

License

The source code is released under:

MIT License

If you think the Android project GL2libpng-android listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.

Java Source Code

/*
 * Copyright (C) 2007 The Android Open Source Project
 */*www . j av a  2  s  . com*/
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *      http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

package com.fakhir.GL2libpng;

import android.content.res.AssetManager;

// Wrapper for native library

public class JNIGlue {

     static {
         System.loadLibrary("JNIGlue");
     }

    /**
     * @param assetMgr handle to the current Asset manager
     */
    public static native void Init(int width, int height, AssetManager assetMgr);
    
    public static native void Step();
    
}




Java Source Code List

com.fakhir.GL2libpng.GL2View.java
com.fakhir.GL2libpng.GL2libpngActivity.java
com.fakhir.GL2libpng.JNIGlue.java