building cocos2d ios apps using eclipse - android

I want to create apps for both android and IOS. I want to create IOS app using cocos2dx in eclipse and then convert it to android app(using NDK). how can I create ios app using cocos2d and eclipse in windows? I use cocos2dx v 3.4. I searched about it but I couldn't find any suitable tutorial for it.

You can write the code in eclipse all-right, but in order to build stuff for iOS you'd need to have an .xcodeproj with an appropriate target with all the source files set up for so that xcodebuild can build it.
I suppose it's possible to fiddle with xcode to force it to build via make and to munch up your makefile, but why do that?

Related

Nuget Libray in Unity for other platform

I have a project that used Nuget Libraries and I implemented in Unity using C#. The program worked if I run Unity in Windows, but I wonder is it possible to port this project to another platform using Nuget library inside the code? because Nuget Library is a library for .NET in Windows. I actually want to implement this Nuget Library to LuminOS which can run the application from unity.
If I use Nuget Library in Unity? Is it possible to deploy the games on another platform besides Windows for example for Android, iOS, or LuminOS? Is it gonna work because Nuget package is libraries we use for Windows?
hi i have the same problem except i want to build for android and i have searched for an answer this is what i got:
you should reach to .dll files and put them in package folder and this is the only way it will work on android here is an example:
https://answers.unity.com/questions/743400/database-sqlite-setup-for-unity.html
I managed to make it work some thing you should keep in mind is i think the only way to make it happen is by set your player build settings -> other settings -> scripting Backend to Mono and Api Compatibility Level to .Net standard 2.0

Is there a way to decompile an apk built through Expo and open the resulting project in Android Studio?

I've been building some apps in react native using expo and wanted to see how the code looks in java in Android studio. I'm having trouble using decompiler(I've tried jadx, decompileandroid.com, and CFR). When I open the folder in android studio I can't find any source files other than classes named a,b,c,etc that have maybe 10 lines of code. I can't even find the strings that were in my app.
Does expo build the apk with proguard enabled? If so, is there a way to disable it? I have the react native source, I just want to see the java analogue. Is this a problem solely from using expo?
If you want to use a project you created using "expo" in your Android studio, you need to separate expo.
To separate, run 'expo eject'. This will result in an android file and an iOS file.
this is link about expo eject
ExpoKit is an Objective-C and Java library that allows you to use the Expo platform and your existing Expo project as part of a larger standard native project -- one that you would normally create using Xcode, Android Studio, or react-native init.
You can use the new Android file to run the Android studio.

How to write valid phonegap code to run It on android and ios?

Hello everybody I learn phonegap framework and I have few questions. I want to write app for android and ios. In android I write using Java and JavaScript so If I want to run it on other platform (like ios where is object-C) do I have to depend mostly on JS, move that code to MAC and build ios app??? I dont understand how to use my code in android and iOS... Do I need MAC? Do I need to know xcode?
If you are using cordova you have to use javascript/HTML/Jquery/Jquery Mobile/CSS, everything that you would use for the web.
Regarding the compilation if you have to work with IOS, you must have a MAC and then compile the project using xCode, but you do not need to know him well, you just need to know the process of publication.
For Android, you can instead use Ecplise.
If you want to develop cross-platform on an Android IDE, such as Eclipse then there is no need for a Mac & Xcode outside of testing. However, if you're saying that you already use Xcode and write in Obj-C then have a look at this tutorial to get you started:
http://www.raywenderlich.com/30734/phonegap-tutorial-a-cross-platform-zombie-app
Or this for a JQM/Android example:
http://www.gajotres.net/building-a-native-mobile-app-with-phonegap-and-jquery-mobile-1-4/

Can i deploy to multi platform using phoneGap?

I am developing currently for IOS and Android SDK. So each time i have to do an app i have to develop for 2 separate platforms which take much time. Also i am planning to develop on BB , Windows Mobile etc. I came across Phonegap and i had some questions.
First suppose i am developing on MAC OS and Xcode 4 and i have install the required SDK for phonegap i create a project using the template and start coding in HTML5/CSS3. Once the project is completed how to import it to Android platform? Should i start to create a project and adding phonegap libraries and required jar and right away i can copy paste the HTML5/CSS3 from the www folder scripts into the required directory /assets/www ? If that's the way it suppose to do then i will have to do the same for BB and Windows (of course on a Windows machine) we can do the same?
Many thanks.
build.phonegap.com will build all the needed apps from your web content.

How to run Phone Gap Application in multiple platform?

I have developed one simple application in phone-gap-android using eclipse and android SDK.
As phone-gap support multi mobile platform , I want to run this application in iPhone also.
How can i achieve it ?
For each platform you want to get a port, you need to create a project in the dedicated environment and compile application as native one for each.
Your created source should be shared between project.
Then for example :
to port your application to iPhone, you need a mac with installed Xcode, iPhone SDK downloaded and phonegap one installed.
In xcode, create a phonegap project, import your sources, compile it, and it works !
Instructions on how to set up Phonegap for each OS can be found here: http://phonegap.com/start
If you are lucky, major modifications will not be needed between the devices.
An alternative would be to try PhoneGap Build: https://build.phonegap.com/

Categories

Resources