Skip to main content

Featured

What product will never become obsolete?

  Identifying a product that will never become obsolete is a inspiring task due to the rapid pace of technological advancements, changing consumer preferences, and evolving market dynamics. However, certain products have demonstrated enduring value and adaptability throughout history, making them seemingly resistant to obsolescence. While no product is immune to potential replacement or transformation, several categories stand out for their resilience and timeless relevance. 1. Food and Agriculture: Food is a fundamental requirement for human survival, making agriculture an industry that's unlikely to become obsolete. While farming methods and food production technologies evolve, the need for sustenance remains constant. Innovation in agricultural practices and the development of sustainable farming techniques may change how food is produced, but the demand for nourishment will persist. 2. Healthcare and Medicine: The healthcare industry, including medical treatments, phar

Port your applications from Android to iOS easily

Many times we have wanted to have an application on our device with the iOS operating system that is only available for the Android operating system and we have not been able to find a way to make it work or find a version for the Apple operating system.

Despite the discrepancies between the two companies, the internet giant has wanted to make available to the user a tool to port the applications programmed in Android to iOS .

The program is a code translator, which is capable of translating the Java code of Android applications into C code, which is the one used by the iOS operating system.

Do you want to know more details about this application?

The application, named j2objc , is not a Java emulator or any other type of platform. IOS applications have a C or C ++ language object code, so it is necessary to carry out a translation of it. Also, you need a C code helper compiler that will generate the iOS executable.

Installation of everything you need

The most important and main thing is the installation of the Java to C code translator. This can be done from the following link: j2objc . However, you will also need to install a compiler to generate an executable from the translated C code. The compiler to use could be LLVM Compiler . 

It is recommended that all this be done on a Linux operating system, since the translator is only available on this platform or even on a Mac OS operating system, which we will detail later. In the case of having Linux, in many cases a C compiler is already installed by default, so the installation of LLVM Compiler would not be necessary.

Alternatively, you can have a virtual machine with  Mac OS X 10.7 (Lion) or higher ,  Xcode 4 or higher, and JDK 1.6 installed on the system. We will also need Apache Maven

Once we have all this ready, we need our Java program. If you are interested in developing simple applications in Java and learning to program in this language, don't forget to go to our Java Course .

Simple translation process

The translator is responsible for including all the necessary libraries in the C code, so it will not be necessary for you to have knowledge of this language, although it is very similar to Java syntactically speaking. There are some complications once the generated C code has been compiled, but j2objc has a FAQ with manuals indicating what to do in each case.

 

Techcrunchpro    thepinkcharm  themarketinginfo   worldmarketingtips technologybeam

Popular Posts