SWILIB API (ELKA)    
Loading...
Searching...
No Matches
java.h File Reference
#include "base.h"
#include "csm.h"
#include "wstring.h"

Go to the source code of this file.

Data Structures

struct  JAVA_HEAP_SLOTS
 Java heap slots, allocated at the VM start and never freed by the firmware (see RamJavaHeapSlots). More...
 

Typedefs

typedef struct JAVA_HEAP_SLOTS JAVA_HEAP_SLOTS
 

Functions

char * GetLastJavaApplication (void)
 Get the name of the running Java application.
 
int IsNoJava ()
 Check if Java is NOT running.
 
int8_t * RamIsRunJava ()
 Check if Java IS running.
 
int runMidletLinkablely (const char *midlet, WSHDR *filename)
 Open file with java midlet.
 
void StartMidlet (char *midlet)
 Start java midlet.
 
int * RamJavaVMStarted (void)
 "VM started" flag: 1 while the Java VM exists, cleared when the VM ends.
 
int * RamJavaExitPopup (void)
 Java exit popup flag: 1 while the "exit Java" popup is shown.
 
JAVA_HEAP_SLOTS * RamJavaHeapSlots (void)
 Java heap slots (see JAVA_HEAP_SLOTS).
 
void ** RamJavaVMHeaps (void)
 Heap pointers reused by the next VM start; a non-NULL entry equals heap[i] of its JAVA_HEAP_SLOTS slot.
 
int JAM_StartApplicationClass (WSHDR *class_name, int unk1, int unk2, int unk3, int unk4)
 Start a Java application by class name, as the firmware's FlexMenu_start does at boot for L"com.siemens.mp.app.flexmenu.MenuContainer" ("JAM_StartApplicationClass(%Pw)", csrc/core/jam_start_handler.c).