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
1 answer

Emitting native code (for a specific platform)

How do you get started generating native code for a target platform? I've got (some) experience and (some) skill in C++, and am interested in going and writing my own compiler (for C++). But I've got little idea how I'm going to turn the end result…
Puppy
  • 144,682
  • 38
  • 256
  • 465
2
votes
1 answer

Create a native bundle for a JavaFX application that has a preloader

I have a JavaFX application that uses a preloader. What I'd like to do is package it up as a native bundle (Mac app or Windows exe file that contains a copy of the Java JDK) so users who don't have the right version of Java on their computers can…
corpico
  • 617
  • 3
  • 16
  • 26
2
votes
1 answer

Does it make sense to obfuscate internal company application (APPX) on Windows Phone 8.1?

So, I am trying to make our internal company application as secure as it's possible. The app is internal only, thus not available in the store. It's written in .NET C#. I am considering obfuscating the application before deploying it on company…
Dominik Antal
  • 3,281
  • 4
  • 34
  • 50
2
votes
1 answer

Building cross-platform(Linux, Windows) java JNI application with maven

I want to build Java application which uses JNI and code in C. Moreover I want make my app cross-platform by compiling native code and packaging native platform-dependent libraries within JAR file. I was following this guide but it is not working.…
Grigory Rozhkov
  • 85
  • 1
  • 12
2
votes
5 answers

surfaceflinger test program

I want to write a native application in Android for testing surfaceflinger. Is there any simple program that shows how to create surface, register buffers and post buffers on Surfaceflinger.
2
votes
2 answers

Running a Java program with a .dll from Adobe AIR's native process

I would like to be able to operate a scanner from my AIR application. Since there's no support for this natively, I'm trying to use the NativeProcess class to start a jar file that can run the scanner. The Java code is using the JTwain library to…
Donny
  • 89
  • 1
  • 4
  • 9
2
votes
1 answer

How to free memory allocated by native method on Java side?

I am trying to pass a byte array (with random data) from native to Java and I am not sure if this causes any memory leak or not. Here's the C++ code. JNIEXPORT jbyteArray JNICALL Java_com_sample_test_jni_TestJNI_return_1byte_1array (JNIEnv *env,…
tilmik
  • 143
  • 1
  • 2
  • 11
2
votes
3 answers

How to print out native stacktrace in Java?

I would like to print the stacktrace of native methods calls of a Java application. The Thread.dumpStack() is only printing java methods calls.
Bionix1441
  • 2,135
  • 1
  • 30
  • 65
2
votes
1 answer

How do I understand and fix error while compiling Linux kernel for embedded system

While trying to compile the following file: /* * linux/arch/arm/mm/proc-syms.c * * Copyright (C) 2000-2002 Russell King * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public…
user3326293
  • 817
  • 1
  • 14
  • 37
2
votes
0 answers

Suppress "[executable].exe has triggered a breakpoint" when debugging an assert

When native c++ code (in debug) makes an assert, this dialog pops up.. Pressing "Retry" (to debug the application), will then cause Visual Studio to show a second, rather redundant, dialog. Is there a way to suppress the "... has triggered a…
CurtisHx
  • 746
  • 3
  • 11
  • 30
2
votes
1 answer

pass an array of mat from native code to java code using CallVoidMethod

I would like to pass an array of arrays calculated from a native method in a Java class. To do this I thought to call the method setTarghet from native code to set each vector field. I think it's a good idea. this is a java class: public class…
2
votes
1 answer

Hybrid vs Native mobile app sensors

The application we are planning to develop will make heavy use of some of the sensors of the device. More specifically the GPS sensor, the accelerometer and gyroscope. We have to decide which is better to make one hybrid application for all…
Angel Venchev
  • 697
  • 1
  • 7
  • 18
2
votes
1 answer

Gradle C/Native Plugin: Directory Structure, Platforms and Flavors

I have a simple C program (helloworld) compiling and building on my Windows 7 machine (via MinGW) using Make. I would now like to switch my build system to use Gradle (personal reasons, no disrespect to Make!) and am trying to wrap my brain around…
smeeb
  • 27,777
  • 57
  • 250
  • 447
2
votes
0 answers

Reason for sun.misc.Unsafe.park(Native Method)

I have the following method, private void addToContainer(DefaultFormBuilder build) { /* Build the UI*/ //The UI is built by reading from an XML. /* Add items to Array list */ …
user3164187
  • 1,382
  • 3
  • 19
  • 50
2
votes
1 answer

Error while recording native application using HTTPS over SSL via JMeter

When trying to record mobile native application using JMeter, getting below error :- 2015/04/18 10:43:22 WARN - jmeter.protocol.http.proxy.Proxy: [50309] Empty response to http over SSL. Probably waiting for user to authorize the certificate for…
Thonas1601
  • 1,347
  • 2
  • 9
  • 11