Questions tagged [native]

An application designed to run in the computer environment (machine language and OS) being referenced. The term is used to contrast a native application with an interpreted one such as a Java application that is not native to a single platform.

An application designed to run in the computer environment (machine language and OS) it is being run in. The term is used to refer to a locally installed application in contrast to various other software architectures. For example, it may contrast a native application that runs by itself with an interpreted one, such as a Java applet, that requires interpreter software in the machine. A native app may be contrasted with an emulated application written for a different platform and converted in real time to run. In addition, a native app may be contrasted with a Web application that is run within the browser.

Useful Links: native-app-vs-mobile-web-app-comparison

4712 questions
2
votes
0 answers

Unable to acquire context: EGL_BAD_NATIVE_WINDOW:A native windowtype argument does not refer to a valid native window

I am developing an Android application entitled "Virtual companion using voice exchange. Now i encountered a problem after i build my Unity project into Android version. As i install and test my app over an Android phone, i received an error…
jyambao
  • 21
  • 5
2
votes
1 answer

Can monodroid .so files be managed .NET code?

Is the .so files generated by Xamarin Monodroid (libmonodroid.so and libmonosgen-2.0.so) managed code or native code? From this SO post it appears they are actually .NET IL binaries (not native machine code). An answer even suggested the…
Nederealm
  • 447
  • 4
  • 15
2
votes
3 answers

How to use the standard Windows defines in a C# program

In C# program I have an implementation of the following function: int Test(); Which is defined in the native part of a program (which is written in C++) as follows: HRESULT Test(); or possibly: DWORD Test(); So while implementing the functions I…
Kirill V. Lyadvinsky
  • 97,037
  • 24
  • 136
  • 212
2
votes
1 answer

Integrate Mobile Vision Barcode API into android app

I am developing a BarcodeScanner app on android. Google has release the native Mobile Vision API link for android barcode.So i want to use the android native barcode API instead of any third party library. So to sum up my problem : 1- How to…
Chandra Sharma
  • 1,339
  • 1
  • 12
  • 26
2
votes
4 answers

What are native libraries and native methods interface in JVM?

I came across this figure while studying JVM. I understood all the components except "Native method interface" and "native method libraries". What are those exactly?
eatSleepCode
  • 4,427
  • 7
  • 44
  • 93
2
votes
1 answer

Unsafe C# - passing an unsafe pointer to a method

I receive an unsafe byte* type pointer to a 2-dimensional dataset in one of the methods of my class. I want to define another method in the same class that will do some pointer arithmetic on this pointer. When I tried to define the method as…
The Vivandiere
  • 3,059
  • 3
  • 28
  • 50
2
votes
0 answers

Java JNI: EXCEPTION_ACCESS_VIOLATION: Failed to write core dump

I am attempting to write a native method for use in java, for speed purposes, and it doesn't work. It compiles ok, but sometimes it does absolutely nothing, sometimes it says this: `Execution protection violation # # A fatal error has been detected…
Nate Young
  • 96
  • 5
2
votes
0 answers

How to debug Android native C++ modules in Release mode?

I have an Android app with a native C++ module (.so) developed with VisualGDB and Visual Studio. In Debug mode I can debug both the Java code (with Android Studio) and the C++ code (with VS), and everything works fine. In Release mode I get an error…
Poiana Apuana
  • 1,406
  • 1
  • 10
  • 16
2
votes
1 answer

Java JNA call will not run native code, causes application to stall

I'm using JNA (Java Native Access) to call a native method from Java to C. The native method (int funcServer(int param1)) is a basic unix socket listen. But regardless of whether I do the optimized JNA Direct Mapping or the Interface Mapping, JNA…
user4691169
2
votes
1 answer

Android app failed to load native library

I had add the .so file into my project, the path is 'src/main/jniLibs/armeabi/libAndroidIDCard.so'. The APK file is already contain this library at 'lib/armeabi/libAndroidIDCard.so'. I load this library as follows: static { …
nuaa_tiger
  • 31
  • 1
  • 9
2
votes
1 answer

Need example how to recover opengl in native code after new onSurfaceCreated

I am almost done creating a game for android using a port of irrlicht 3d engine to android. All code except a minimal frame work to make the native calls and play sounds is written in C++. Even the opengles display is created in c++ code using…
roguetreasure
  • 73
  • 1
  • 5
2
votes
1 answer

Node.js native file upload form

i have a question: Is there any way to create native file upload system in node.js? Without modules like multer, busboy and others. I just want save it from file form. Like:
user3075373
  • 44
  • 1
  • 4
  • 19
2
votes
4 answers

AIR 2.0 NativeProcess is not supported problem

I have built a application that use a nativeProcess to open exe. The application into Flex Builder 3 run whitout errors. Then the problem come when I export the aplicaction AIR in .air and install the applicaction in the developer pc or other…
Fran
  • 21
  • 2
2
votes
1 answer

More heaps found in each dump, where do they come from?

I am investigating a native memory leak through WinDbg. With consecutive dumps, !heap -s returns more heaps every dump. Number of heaps returned in the first dump: 1170, second dump: 1208. There are three sizes of heaps that are returning a…
yowslymie
  • 31
  • 5
2
votes
1 answer

native dependencies in gradle

I want to build a java project with several dependencies in gradle, some are jar dependencies from the maven central repository, some are other java project dependencies, but there is also a native JNI dependency. I've managed to build the native…
christianPro
  • 39
  • 2
  • 4