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

Google Plus Screenshare

I was hoping that someone knows a little bit more about Google Plus's in-browser screensharing capabilities. The flow obviously is: Download some sort of native plugin Visit the website Some magic Bam! There is screenshare What exactly is going on…
2
votes
0 answers

Android WebView Native Crash (libwebcore.so)

I am trying to run this javascript on an android webview: function date_time(id) { date = new Date; year = date.getFullYear(); month = date.getMonth(); months = new Array('January', 'February', 'March', 'April',…
2
votes
2 answers

Passing an array pointer for placing in a hashmap in C++

I'm kinda new to C++ (coming from C#). I'd like to pass an array of data to a function (as a pointer). void someFunc(byte *data) { // add this data to a hashmap. Hashtable.put(key, data) } This data will be added into a hashmap (some…
lysergic-acid
  • 19,570
  • 21
  • 109
  • 218
2
votes
1 answer

Native libraries do not load on XPeria Z with Android 4.2.2

Steps to reproduce the problem: Install a (paid) app from the Play Store on a XPeria Z (model C6602 or C6603) that is using native (C++) libraries. The app will not find/load the native library on start-up. When sending the customer the exact same…
extreamsd
  • 23
  • 2
2
votes
1 answer

VS2012 Native Unit Test Fails with ZLib: "Failed to setup the execution context"

Adding a link dependency to zlibwapi.lib causes all of my unit tests to fail with the message "Failed to setup the execution context to run the test". Unfortunately, the message does not provide enough detail to troubleshoot the problem. It would…
user2319854
  • 33
  • 1
  • 5
2
votes
1 answer

Does fsync of a parent directory guarantee synchronization of meta data of all recursive sub directories?

Currently I am writing an Android application which needs to work with lot of files at native side. Recently I ran into several data loss or inconsistency problems while updating or renaming these files. (All these files are stored within several…
sdare
  • 237
  • 1
  • 2
  • 9
2
votes
1 answer

NGEN.EXE (Does it really compile to native code?)

I have one major question and two minor questions that are all related. Firstly, does ngen.exe actually compile to native exes that you can distribute? There is very little known about ngen.exe. Secondly, is there actually a way to compile .net to…
2
votes
3 answers

How to expose Java enum to native code through JNI

I'm using the enum pattern to define a singleton in my application. I need to access methods of this singleton, but I can't seem to pass the singleton correctly. I've tried passing the enum and creating a jobject as a globalRef out of it like…
mpellegr
  • 3,072
  • 3
  • 22
  • 36
2
votes
1 answer

PhoneGap - Call another application (AngryBirds)

I'm implementing phonegap based application for android and want to call angry birds game from inside the phonegap app. After my quick research here and here I have…
bofanda
  • 10,386
  • 8
  • 34
  • 57
2
votes
2 answers

Communication between C# and Java :Process

I search to make a binding beteewn a Java Process and a C# Process. My last idea is : compile a java process into a .exe, in order to directly launch it from the c# process without pass by java.exe Is it possible? if yes, could you help me a little…
2
votes
5 answers

svg-android imageview not working

I have a need to show svg files in my android app. svg-android seems like the only library that has any documentation and thus my first approach. The only example available demonstrates how to create an imageview attach an svg image and attach it to…
Kevin
  • 388
  • 7
  • 23
2
votes
0 answers

C++ and C++/CLI cooperation

Can you remind me of how to make linking between C++ and C++/CLI? I have it like this: "hashtable" is a native code file with header where i do sample BIG RAM allocation, it compiles ok. "BPSW" is mixed code file with header, which I use as glue…
sdd
  • 721
  • 9
  • 23
2
votes
2 answers

java.lang.UnsatisfiedLinkError - JNI

I keep getting a java.lang.UnsatisfiedLinkError error every time I run my program. I have a native, a wrapper, and the program to call the native through the wrapper. main.h #ifndef __MAIN_H__ #define __MAIN_H__ #include #ifdef…
user2348979
  • 143
  • 1
  • 2
  • 8
2
votes
2 answers

Safe to store pointer in JNI direct bytebuffer?

I want to create a java object wrapper around a native c++ object. I do this by putting the pointer to the c++ object in a direct ByteBuffer like so: java side: public class World { private final ByteBuffer pointer; public World() { pointer…
larvyde
  • 811
  • 1
  • 6
  • 19
2
votes
1 answer

C#/Native: Reading HDD Serial Using SCSI PassThrough

I have written three different methods that make use of native CreateFile and DeviceIoControl calls in order to retrieve the HDD Serial Number (not the Model Number). The first one uses S.M.A.R.T., the second one uses Storage Query and the third one…
Tommaso Belluzzo
  • 23,232
  • 8
  • 74
  • 98