Menu
Menu
DaniWeb
Log In
Sign Up
Read
Contribute
Meet
Search
Search
About 91 results for
jobject
- Page 1
convert jobject to jboolean in JNI
Programming
Software Development
7 Years Ago
by nitin1
… function from cpp code. I am accepting the result as
jobject
. 1. Added key as "key1" & value as…
Google Places show more places on click
Programming
Mobile Development
8 Years Ago
by spud91
…; PlaceJSONParser placeJsonParser = new PlaceJSONParser(); try {
jObject
= new JSONObject(jsonData[0]); /** Getting the… the elements in the 'places' array */ jPlaces =
jObject
.getJSONArray("results"); } catch (JSONException e) {…
Keylogger
Programming
Software Development
10 Years Ago
by rubeea.jaffari
…= NULL; static jmethodID callBackToStoreWindowName = NULL;
jobject
object; static JavaVM *JVM = NULL;…(handleKeyboardHook); } } void Java_org_suhail_keylogger_HelperClasses_NativeMethods_initializeJNIVars (JNIEnv *env,
jobject
obj) { jclass cls = (*env)->GetObjectClass…
Linker Error>Undefined reference error to xyz
Programming
Software Development
18 Years Ago
by rony
…more are required. JNIEXPORT jint JNICALL Java_JavaCode_sumsquaredc(JNIEnv *env,
jobject
obj, jintArray ja) { // Data from any additional… * Signature: ([I)I */ JNIEXPORT jint JNICALL Java_JavaCode_sumsquaredc (JNIEnv *,
jobject
, jintArray); #ifdef __cplusplus } #endif #endif[/code]<< moderator…
ASM -> C function call problem, pointer issue
Programming
Software Development
14 Years Ago
by JasonL220
…/* invoke the real native function */ static void dispatch(JNIEnv *env,
jobject
self, jobjectArray arr, ty_t res_ty, jvalue *resP) { #define MAX_NARGS …FID_CPointer_peer); for (nwords = 0, i = 0; i < nargs; i++) {
jobject
arg = env->GetObjectArrayElement(arr, i); if (arg == NULL) { c_args…
JNI Help java.lang.UnsatisfiedLinkError
Programming
Software Development
13 Years Ago
by killerthc
…"Helloworld.h" JNIEXPORT void JNICALL Java_JPokerBot_Process_hello (JNIEnv *,
jobject
) { printf("Hello world!\n"); return; } [/CODE…: hello * Signature: ()V */ JNIEXPORT void JNICALL Java_helloword_hello (JNIEnv *,
jobject
); #ifdef __cplusplus } #endif #endif [/CODE] helloworld.java [CODE] …
Re: JNI Help java.lang.UnsatisfiedLinkError
Programming
Software Development
13 Years Ago
by killerthc
… "Helloworld.h" JNIEXPORT void JNICALL Java_helloworld_hello (JNIEnv *,
jobject
) { printf("Hello world!\n"); return; } [/CODE…: hello * Signature: ()V */ JNIEXPORT void JNICALL Java_helloworld_hello (JNIEnv *,
jobject
); #ifdef __cplusplus } #endif #endif [/CODE] helloworld.java [CODE] import…
Re: JNI Help java.lang.UnsatisfiedLinkError
Programming
Software Development
13 Years Ago
by stephen84s
…]#include "Helloworld.h" JNIEXPORT void JNICALL Java_helloworld_hello (JNIEnv *,
jobject
) { printf("Hello world!\n"); return; }[/CODE] Now I… like this:- [code=C] JNIEXPORT void JNICALL Java_helloworld_hello (JNIEnv *env,
jobject
obj) { [/code] BTW another question, where are you loading the…
diff between jstring & jclass in JNI
Programming
Software Development
7 Years Ago
by nitin1
… android activity (Java code), then we get jclass object from
jobject
instance we get in the native method as a parameter… snippet from one website: JNIEXPORT void JNICALL Java_TestJNIInstanceVariable_modifyInstanceVariable (JNIEnv *env,
jobject
thisObj) { // Get a reference to this object's class jclass…
jni programming error
Programming
Software Development
16 Years Ago
by paurik
… = env->GetFieldID(OSINFO, "Processes", "L");
jobject
OSINFOobj = env->NewObject(OSINFO, OSIConstructor); char* OSN="Hello…
Help me with ArrayList
Programming
Software Development
14 Years Ago
by Stefano Mtangoo
…; public class MainClass { public static void main(String args[]){ Listed
jobject
= new Listed(); } Listed lst = new Listed(); } class Listed{ Scanner getValues…
JNI difficulties
Programming
Software Development
14 Years Ago
by gajen007
… "First.h" JNIEXPORT int JNICALL Java_First_squired(JNIEnv *env,
jobject
obj,jint x,jint y) { y=x*x; return y…
Warning: in_array() [function.in-array]: Wrong datatype for second argument
Programming
Web Development
14 Years Ago
by kurakar
… = array(); /** * Constructor */ function __construct($config = array()) { $this->_state = new
JObject
(); //set the view name if (empty( $this->_name )) { if…
help with JNI
Programming
Software Development
13 Years Ago
by shoikatroy
… could someone help me out pls... jstring Java_com_example_hellojni_HelloJni_stringFromJNI( JNIEnv* env,
jobject
thiz,jstring javaString ) { using namespace std; const char *nativeString = env…
help with JNI
Programming
Software Development
13 Years Ago
by shoikatroy
… someone help me out pls... [CODE] jstring Java_com_example_hellojni_HelloJni_stringFromJNI( JNIEnv* env,
jobject
thiz,jstring javaString ) { using namespace std; const char *nativeString = env…
Native Methods in Java
Programming
Software Development
13 Years Ago
by obscurecoder
… <stdio.h> JNIEXPORT void JNICALL Java_NativeDemo_test(JNIEnv *env,
jobject
obj) { jclass cls; jfieldID fid; jint i; printf("Starting…
How To Call exact api in vendors dll..
Programming
Software Development
13 Years Ago
by Kshawn
…> typedef int (*MYPROC)(); JNIEXPORT void JNICALL Java_HelloWorld_print(JNIEnv *env,
jobject
obj) { HINSTANCE hinstLib; MYPROC ProcAdd; printf("in the function…
JNI Question. Need Help
Programming
Software Development
12 Years Ago
by SandraM
…(){ printf("OnButtonStart"); } JNIEXPORT void JNICALL Java_JniComm_openDevice(JNIEnv *env,
jobject
obj){ m_DeviceID = StartUp( GetConsoleHwnd2(), WM_VX); } Can i call from the…
Re: JNI Question. Need Help
Programming
Software Development
12 Years Ago
by JasonHippy
… the JNI function: [code] JNIEXPORT void JNICALL Java_JniComm_openDevice(JNIEnv *env,
jobject
obj){ yourclass::SetDeviceID(); // Call the new function here... } [/code] This…
Access to ListBox after download data - Silverlight for WP7
Programming
Software Development
12 Years Ago
by martindeveloper
… DownloadStringCompleted. From DownloadStringCompletedEventArgs I get the JSON respond and by
JObject
.Parse() (Newtonsoft.Json.Linq) create a object. From that object…
How to fix an UnsatisfiedLinkError for native cpp function in Android (ndk)
Programming
Software Development
11 Years Ago
by dorien
…> #include <jni.h> jstring Java_com_optimuse_app_OptimuseAppActivity_generate(JNIEnv* env,
jobject
thiz){ return env->NewStringUTF("Hello from JNI !"…
Re: How to fix an UnsatisfiedLinkError for native cpp function in Android (ndk)
Programming
Software Development
11 Years Ago
by dorien
The cpp syntax was a bit different from the c you see everywhere... extern "C" { JNIEXPORT jstring JNICALL Java_com_optimuse_app_OptimuseAppActivity_generate(JNIEnv* env,
jobject
thiz){ return env->NewStringUTF("Hello from JNI cpp!"); }}
JNI-C++ Crashes :S
Programming
Software Development
11 Years Ago
by triumphost
… = Foo.Height(); } JNIEXPORT void JNICALL Java_Library_GetGLBuffer(JNIEnv *env, jclass cls,
jobject
buffer) { std::vector<unsigned char> TEMP; int Width…
Re: JNI-C++ Crashes :S
Programming
Software Development
11 Years Ago
by triumphost
….bmp"); } JNIEXPORT void JNICALL Java_library_Library_GetGLBuffer(JNIEnv *env, jclass cls,
jobject
buffer) { /* The following crashes it.. unsigned char* bb = (unsigned char…
VB Net Background Worker freeze when updating the GridView
Programming
Software Development
3 Years Ago
by hakim_8
… NORMALLY WITHOUT FREEZING Me.Invoke(Sub() For Each item As
JObject
In array Dim status As String = If(item("Status…
Re: Need help linking java to c with multiple OS support.
Programming
Software Development
15 Years Ago
by Mr.UNOwen
… openPort * Signature: (C)I */ JNIEXPORT jint JNICALL Java_OneWayCom_openPort (JNIEnv *,
jobject
, jchar); /* * Class: OneWayCom * Method: send * Signature: ([III…)I */ JNIEXPORT jint JNICALL Java_OneWayCom_send (JNIEnv *,
jobject
, jintArray, jint, jint); /* * Class: OneWayCom * Method: end …
Re: Parse data from json without knowing index
Programming
Web Development
9 Years Ago
by gabrielcastillo
….com/id/spekat/inventory/json/730/2'); $
jobject
= json_decode($jstring); echo '<pre>'; print_r($
jobject
->rgInventory); echo '</pre>…;'; foreach($
jobject
->rgInventory as $k => $v){ echo…
Re: Why is the main method static?
Programming
Software Development
19 Years Ago
by LunLun
… sure the main method is public */ jint mods; jmethodID mid;
jobject
obj = (*env)->ToReflectedMethod(env, mainClass, mainID, JNI_TRUE); if( obj…
Re: compiler as the final year project.
Programming
Software Development
15 Years Ago
by mdew_47
… <string.h> JNIEXPORT jstring JNICALL Java_project_test (JNIEnv *env ,
jobject
obj, jstring s) { char (*str)[40] =(*env)->GetStringUTFChars(env…
Re: Moving the cursor and clicking the mouse button (native win32)
Programming
Software Development
13 Years Ago
by morelve
… ix,iy; INPUT *click; JNIEXPORT void JNICALL Java_hio_click(JNIEnv *env,
jobject
obj) { printf("it works!\n"); click = new INPUT…
1
2
3
Next
Last
Search
Search
Forum Categories
Hardware/Software
Programming
Digital Media
Community Center
Latest Content
Newest Topics
Latest Topics
Latest Posts
Latest Comments
Top Tags
Topics Feed
Social
Meet People
Forums
Top Members
Community Functions
DaniWeb Premium
Newsletter Archive
Markdown Syntax
Community Rules
Developer APIs
Connect API
Forum API Docs
Tools
SEO Backlink Checker
Legal
Terms of Service
Privacy Policy
FAQ
About Us
Advertise
Contact Us
© 2024 DaniWeb® LLC