[AD] [alleg:bugs] #382 Remark about README_android.txt

[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]



[bugs:#382] Remark about README_android.txt

Status: closed
Labels: android
Created: Fri Jan 18, 2013 12:49 PM UTC by W.Boeke
Last Updated: Fri Jan 18, 2013 12:49 PM UTC
Owner: nobody

Hi,
In README_android.txt, near line 60, it is stated that the package name should be modified. However that must not be done because the native methods can't be found then, as their names are derived from the package name and are hard-wired in the C code (for instance in android/android_system.c). It is better to keep AllegroActivity.java unmodified, and subclass AllegroActivity like this:

package org.myproject.app;
import org.liballeg.app.AllegroActivity;
public class MyProject extends AllegroActivity { }

(file: MyProject.java)

The rest of the README file is correct. Near line 120 it is stated: Run ant debug. More convenient is: Run ant debug install, because then you do not need to know the name of the .apk file.


Sent from sourceforge.net because alleg-developers@xxxxxxxxxx is subscribed to https://sourceforge.net/p/alleg/bugs/

To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/alleg/admin/bugs/options. Or, if this is a mailing list, you can unsubscribe from the mailing list.



Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/