Apache Cordova is a framework that lets you build mobile applications using HTML5, CSS and Javascript for different mobile platforms. But because the applications you build with this framework live in a layer on the top of the native development tools of the targeted platform, they're slower than equivalent applications that are written using the native development tools. As is mentioned [here](https://en.wikipedia.org/wiki/Apache_Cordova#Design_and_rationale): > However, the use of Web-based technologies leads some Apache Cordova applications to run slower than native applications with similar functionality.[27] Adobe Systems warns that applications may be rejected by Apple for being too slow or not feeling …

Member Avatar
Member Avatar
+0 forum 3

Hi, I have been working on JNI. I have one doubt. When I call any native method from android activity (Java code), then we get jclass object from jobject instance we get in the native method as a parameter. Why do we need it actually? Here is a snippet from one website: JNIEXPORT void JNICALL Java_TestJNIInstanceVariable_modifyInstanceVariable (JNIEnv *env, jobject thisObj) { // Get a reference to this object's class jclass thisClass = (*env)->GetObjectClass(env, thisObj); // int // Get the Field ID of the instance variables "number" jfieldID fidNumber = (*env)->GetFieldID(env, thisClass, "number", "I"); if (NULL == fidNumber) return; // Get …

Member Avatar
+0 forum 0

Hi, I hope I've posted this in the right place, please just tell me if not. I've been having an issue with connecting to a database from a website and have recieved this as an error message: *Array ( [0] => Array ( [0] => IMSSP [SQLSTATE] => IMSSP [1] => -49 [code] => -49 [2] => This extension requires the Microsoft SQL Server 2012 Native Client. Access the following URL to download the Microsoft SQL Server 2012 Native Client ODBC driver for x86: http://go.microsoft.com/fwlink/?LinkId=163712 [message] => This extension requires the Microsoft SQL Server 2012 Native Client. Access the following …

Member Avatar
Member Avatar
+0 forum 3

Heelloooo good day. Thanks for seeking to help. I am creating a Java program(obviously). At the end of my work I wish to install it as (a)an .exe file. However I wish that after its installation, file type association would have been setup automatically(I phrased that latter part of the statement like that, because I'm not sure if file association can be coded, or if it must be accomplished via other tools). I have ruled out JWS(Java Web Start) though. SO once again: 1. Program must be a(an) .exe file. 2. And the installation process should seamslessly create the file …

Member Avatar
Member Avatar
+0 forum 6

I am in the planning stage of a project that involves a website, desktop and mobile apps. To save time and get on as many platforms as possible, I would like to develop the apps as hybrids, with as little native coding as possible - preferably none at all. So what is the best way to go about developing hybrid apps? I wasn’t to get on ios, android, windows, blackberry and ubuntu phones. Also, what are the limitations of hybrid apps? Other than access to the native libraries and such, as far as interface, gestures and basic hardware control? My …

Member Avatar
Member Avatar
+0 forum 1

Hi, I've been playing about with native classes and looking to extend them - well just the DateTime class actually. I was hpong that there would be a way to avoid using a constructor, but I can't seem to figure out how to store a 'startup' timestamp, `u` without it. I'm assuming this property is essential for the `reset()` method. Everything seems to work OK, as long as I supply a valid TimeZone. class diaDate extends DateTime{ private $u; public function __construct($time='now', $timezone='Europe/London') { parent::__construct($time, new DateTimeZone($timezone)); $this->u = $this->format('U'); } public function __toString() { return $this->format('Y-m-d H:i:s'); } public …

Member Avatar
Member Avatar
+1 forum 6

Is it possible to make some privileged instructions (eg sti, cli) available via some Java's API? (That is, to build a Java's library that would provide sti() and cli() as static methods) (Suppose this library is buit for a specific machine, not meant to be portable or anything) I've heard of the `native` interface which would allow one to interact with some C-code from a Java program. So I just wonder if we could use it to call into some C-procedure which could call some assembly procedure that does the sti/cli instruction. (`Why on earth would you want to do …

Member Avatar
+0 forum 0

(Note: This was previously posted at [url]http://www.ruby-forum.com/topic/3426459#new[/url] , but received no responses after four days.) When attempting to install ruby-debug19 on a Windows 7 partition, I have gotten the following error sequence: [code] ERROR: Error installing ruby-debug19: ERROR: Failed to build gem native extension. C:/Ruby193/bin/ruby.exe extconf.rb checking for rb_method_entry_t.called_id in method.h... no checking for rb_control_frame_t.method_id in method.h... no *** extconf.rb failed *** Could not create Makefile due to some reason, probably lack of necessary libraries and/or headers. Check the mkmf.log file for more details. You may need configuration options. Provided configuration options: --with-opt-dir --without-opt-dir --with-opt-include --without-opt-include=${opt-dir}/include --with-opt-lib --without-opt-lib=${opt-dir}/lib --with-make-prog --without-make-prog …

Member Avatar
+0 forum 0

I am trying to simplify Maven to use one POM to do both a 64 bit build and a 32 bit build. I have tried to separate the build into two separate executions however I am required to set the compilerExecutable tag specified by the maven-native-plugin to point to either the 32 bit cl.exe or the 64 bit cl.exe. Has anyone every done this before or know of a way to build two architectures in one project?

Member Avatar
Member Avatar
+0 forum 1

Hi, I have a Toshiba NB300 laptop running win7, and I'm trying to run some software that requires a screen res of at least 1024x700. Unfortunately, the max res of this laptop is 1024x600. I have searched the web looking for a solution for this, people with similar issues had been advised to uncheck the 'Hide modes that this monitor cannot display' button in the properties menu, or reduce the screen refresh rate however these appear to be disabled. I understand that the quality might be reduced significantly but is there any work around besides returning my laptop? I don't …

Member Avatar
Member Avatar
+0 forum 7

I want to make a native win32 program that simply moves the cursor to x=100 y=200 on the screen, and then clicks the left mouse button once. Where do I start? For once, Google got me nowhere. I use VC++ 2010 to compile.

Member Avatar
Member Avatar
+0 forum 7

I came across this application called [URL="http://www.eziriz.com/dotnet_reactor.htm"].NET Reactor[/URL] and this text was very interesting, "In combination with the Native EXE File feature and NecroBit, .NET Reactor is able to convert managed methods into REAL x86 native code." I guess it works a bit like a compiler? I tried this with a simple exe and it seems the same, (with a nag messagebox at the beggining) but i haven't been able to test it on a computer without the .NET Framework. This seems like an extremely major feature, but it doesn't look like a very well-known program, am I missing something? …

Member Avatar
+0 forum 0

I have been working with Monodevelop's C# on Linux. Pretty incredible. If you stick within the .net framework it seems to be really pretty complete. However, what if you wanted to call a native Linux function from a Linux library (eg using native Linux sockets instead of the .net provided sockets)? Any idea if that is possible? I spent my usual half a day doing google searches and came up with nothing.

Member Avatar
+0 forum 0

The End.