My game runs on the Desktop, but when I launch on Android I can see these messages appearing in the log.
04-01 21:50:10.314: D/ActivityThread(21047): setTargetHeapConcurrentStart:2097152
04-01 21:50:10.334: D/dalvikvm(21047): Trying to load lib /data/data/com.vulcanic.flickit/lib/libgdx.so 0x41e53a48
04-01 21:50:10.334: D/dalvikvm(21047): Added shared lib /data/data/com.vulcanic.flickit/lib/libgd
Here is the program I am trying to debug:
Code:
#include <stdio.h>
int i = 5;
int main(void)
{
int x = 3;
display(x);
return 0;
}
void display(int x)
{
for ( i=0; i<x; ++i ) {
printf("i is %d.\n", i);
}
}
This code is coming from here Peter's gdb Tutorial: Stepping And Resuming.
I am new to using a ViewPager, but the initial screen on my app is a ListView that the user can add/remove new items to, then clicking on one of the items brings them to a "details" fragment based on an id that is passed. I'd like for the user to also be able to swipe from the listing through to each of the details.
I have the ViewPager working, except the id's are always off by one.
I'm running on Ubuntu 12.10 64bit.
I am trying to debug a simple assembly program in GDB. However GDB's gui mode (-tui) seems unable to find the source code of my assembly file.
I've downloaded the android source and built it. Is the next step to wipe out what's on my Galaxy tab with this build. Boot then attach the debugger? Can I use the android source with the emulator? I'm trying to debug a performance issue and I need to breakpoint into the OS.
Java source:
public void onEventListener(final int eventID, final int arg1,
final long arg2, final String message)
{
Log.d("TEST", "onEventListener() is called - eventID = "+eventID);
}
JNI code:
JavaVM* gJvm = NULL;
pid_t _vm_tid = -1;
JNIEnv * jEnv = NULL;
jclass native_cls_id = NULL;
jmethodID _onEventListenerID=NULL;
jobject m_nativeObj = NULL;
jint JNI_OnLoad(Jav
I use ubuntu version 12.10 64 bit.
I am new to eclipse plugin developement. I want to create my own custom template(different package structure, ui layout etc) for android application project in eclipse. In other words, the option for creating an android project using my template should come up as an option to eclipse. I have downloaded the code for ADT.
My listview is not being populated with the data I am pulling from a MySQL database. I have tested the web service and everything is perfect. I was debugging it and I noticed that when I set a breakpoint inside my asynctask it never went there. I stepped from the execute command and it never went inside. Everything runs fine with no errors. I am confused and new, please be gentle.