Find Jobs
Hire Freelancers

Android/C++ Create Java object and call methods through JNI

£10-20 GBP

Cancelled
Posted over 9 years ago

£10-20 GBP

Paid on delivery
From C++ on Android I am trying to use the JNI to create an instance of a Java class and call methods on that class. I have the JVM setup and a pointer to ANativeActivity. For some reason the method FindClass is only finding Java system classes, so I am using JNI to create a classLoader to then load my own classes. It is the [login to view URL] Android SDK I am trying to use. I need someone to provide an example of how to create a new [login to view URL] and call the "add" method of that instance. Thank you.
Project ID: 6258001

About the project

Remote project
Active 10 yrs ago

Looking to make some money?

Benefits of bidding on Freelancer

Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs

About the client

Flag of UNITED KINGDOM
Grimsby, United Kingdom
5.0
12
Payment method verified
Member since Jul 25, 2005

Client Verification

Thanks! We’ve emailed you a link to claim your free credit.
Something went wrong while sending your email. Please try again.
Registered Users Total Jobs Posted
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Loading preview
Permission granted for Geolocation.
Your login session has expired and you have been logged out. Please log in again.