Setup up Eclipse for android - android

I am just beginning to understand programming and over the past few days I have been trying to properly set-up my Android Eclipse to start programming. I also tried to install cocos2dx but still with no success. My question is - How do I properly set Eclipse for android and any additional things like cocos2dx to start making a game for example like Flappy bird or something like that? Do I need anything special for it?

Libgdx, in my opinion, is the way to go. Even Cornell University use it for their game programming courses. See here for their advice on the matter
http://www.cs.cornell.edu/courses/cs4152/2014sp/materials/android.php
And, here is a link to get you going
http://www.kilobolt.com/zombie-bird-tutorial-flappy-bird-remake.html
It uses libgdx extensively.

For game development you can consider something like Corona SDK. You can create a cross platform game which would run on iOS, Android and even Windows Phone.
More information here: http://coronalabs.com/products/corona-sdk/
If you would like to stick with Android, then I recommend to use Android Studio rather than Eclipse. Google gave up on Eclipse and actively moving towards the Android Studio:
https://developer.android.com/sdk/installing/studio.html
Games development is not straight forward. Maybe you should consider to learn application development first? Udacity has put a course together with Google, which can help you to understand how Android development works:
https://www.udacity.com/course/ud853
You also mentioned that you are new to programming. You should probably start with a lower level then Android development. Maybe start from learning Java?
https://www.udacity.com/course/cs046

Related

Convert Spritekit Game to Android?

Are there any new options for converting a spritekit game to android? It seems the only options are to recode everything in Java or to use Cocos2D, LibGDX, etc.
Unfortunately ... no :{
And the cross-platform SpriteBuilder with the Apportable service that let you convert a Swift Cocos project to Android is no longer available (they got bought out by Google I believe).
SpriteBuilder is still available on GitHub but it's not active afaik and is abandoned.
So... what to do?
I would focus on iOS... you can make your game "cross platform" by converting to macOS and tvOS... This is where all of the money is in the market... Apple products...
If your goal however is cross platform, then you can look at Xamarin.forms alongside CocosSharp which will give you write once run everywhere games in C#
You also have regular Xamarin available to write gameplay code in C#, and share it across Android and SpriteKit wrappers written in C# as well.
Another thing to look at is Silver which has Swift wrappers for Android.. thus letting you port Gameplay code almost directly...
In all scenarios you will have to find another game engine for whatever Android solution you use..
IMO, developing with Swift for Apple is much easier and more fun than anything I've ever done with Android dev, even though I prefer Android devices (go figure), and since the revenue is higher it is sort of a no-brainer for starting up.
There are no easy options for supporting Android with a SpriteKit game, but with a little bit of work and not too much difficulty you can recode your game to use Cocos2d-x. I just completed such a project for my game. It took me about four months working half time. I've posted some tips here: http://doffen.org/porting-spritekit-to-cocos2d-x.
I would suggest to have a look here: http://processing.org/
and here : http://www.ricardmarxer.com/fisica/
Fisica is a wrapper of jBox2D for Processing and is quite easy to use. There are a few tweaks for android but nothing too hard.
I did it in the opposite direction (converting my fisica-based game to SpriteKit) and it was quite easy to create regex replacement to easily migrate to swift syntax.

business processes Framework (Xamarin or ReactJS)

maybe someone can help me. In near future i'm going to develop a business processes application like this :
https://play.google.com/store/apps/details?id=de.semture.cubetto
https://play.google.com/store/apps/details?id=com.showgen.processcraft
Now i would like to know if there are some already existing Frameworks or projects for that. I just want play arount with that subject to get a feeling how it works and what i have to do. I'm planing to make it available for Android (highest priority) and Web (Ios and windows arent so important right now).
So my first question is. Are there any Frameworks, libs, project availbe for something like that?
I've already searched for some frameworks but without no success...
And the other question would be what Tool or language should i use ?
Currently i'm working with Visual Studios 2015 Xamarin (xml & C# based language). We all know that i can make crossplattform apps with xamarin. But some minutes ago i've heard that there is a language/Framework named React.JS, that is also for android ios and web apps.
Now my second question:
which one should i work with ? Xamarin or React.Js ? Which one would better fit to my project and what are the main differences ?
I hope someone could answer that :)
Thanks in advance
This really comes down to personal preference and what you are trying to accomplish. If you are a C# developer, then Xamarin might be your best bet for android. With using ReactNative, it will be a little easier to create your web app from since it uses React. If you are trying to have a native feel for the android app, you will still have to know some core android development for both platforms. If you aren't super worried about the look, feel, and performance of it being native, then you can look into ionic which is built on top of Angular, and this you can use as a web application as well as build it for android.

can i use c4droid under bluestack to develop android games using c++?

Since few days i started developing android apps after 5 years of c/c++ coding , i know the need to learn java for android and i have no problem with it , but i prefer to continue using c/c++ , after long web search i found that the simplest way is by using c4droid ,since i don't currently have a android device , i think that my best solution is to run c4droid under blue stacks emulator and that way i will have no need to setup the NDK or "c++ builder" , now i have a little doubt , if that way is useful for serious game programming !! i know that c4droid support sdl and opengl and theoretically i can append any library in it , but can it reach such degree of confidence especially under blue stack emulator ?
Using the Android SDK is preferable over a simple app, however no one says that you cannot use it under Bluestacks. The results depend on you.
EDIT:
If you find it comfortable and you get the same results you'd get with the "official" way, why not do it your way?

Android programming and frameworks / IDEs to use?

I'm quite new to Android programming, I'm mainly a .NET guy =)
I've done several projects in Windows Phone, and I feel pretty comfortable with the MVVM pattern, C# and so on
However, I want to get into Android development, because it's an important platform
I wanted to know what's the best free approach where I can reuse some of my skills to reduce the learning curve
I've been investigating and I saw several options..
Xamarin seems like the best of everything, were you can use cross platform code using visual studio. This is great, but you have to pay to use it (even if I use the free version, I may want to publish some apps later, but don't want to spend that amount of money just to do a couple of apps on my own). So I'd say it's out of the queestion
I've seen something called MVVM Cross, however I don't know if that requires Xamarin or something else to work?
If I use pure android development frameworks, what's recommended? I've tried Android Studio, which is not that bad as eclipse, but compared to visual studio it has a long way to go. However it seems that the only way to use visual studio and android is to use xamarin..
Also, is there any approach to android programming that's the best? (as MVVM is the best for windows phone apps and the pattern embraced my microsoft)
Thanks!
I'm not sure it's a suitable question for SO...
Anyway, here is my opinion regarding the IDE.
Eclipse + ADT-plugin was the "official" IDE supported by Google. But Google decide to develop an other solution based on IntelliJ : Android-Studio.
So Eclipse is the legacy IDE and not the best choice if you are new to Android development.
On the other hand, Android-Studio is still in early development stage. I tried it a few weeks ago and in my opinion and for my use case (quite huge multi-module project) there was too many issues to work efficiently with it in it's current state.
Third option: IntelliJ-12 (free edition) is my current choice. It offers a smooth integration with android tools. It is stable. The UI is very similar to Android-Studio (and so switching to Android-Studio when it will be ready will be an easy step).
This is an other alternative for crossplatform app making:
www.phonegap.com
I don't know how relevant this is to your Question,

Starting Android Development: Native or cross-platform?

I am an experienced professional programmer who wants to delve into Android programming. I also wish to investigate cross-platform programming using tools like PhoneGap or Titanium.
However, I am a bit in doubt of which learning strategy is best.
One approach is to get a good feeling of the Android environment and later on explore the possibilities of the cross-platform tools.
Another approach is to jump start using say Titanium (which to me looks like the better option of the two mentioned) and then after a while look into the underlying Android building blocks. The reason why this approach seems worth considering is that although I have earned my living on programming for 20 years, I have no experience whatsoever with Java. And the feeling of getting something done has always been encouraging to me.
What do you think? Does option 2 make sense, or would it be more sensible to get an understanding of the Android environment first?
Thanks in advance,
Martin
I think that all depends on what will you develop:
If you want to develop simple interfaces (parsing XML/Json/...) with some forms and nice transitional effects, then Titanium is yours.
However, the most advanced functionalities aim the iOS platform. For example, the augmented reality module or the push notification are not supported for Android.
On the other hand, if you want to develop advanced interfaces (Games for example), then you have no choice: Android SDK is the best way (you can use Flash for Android but it doesn't support very first Android OS versions).
In all cases, you have to understand how the Android platform works.
I had a similar decision to make, although I am not an experienced programmer like you with vast experience , I had no java knowledge and I needed to write an android app for a project in grad school ,and i'd tend to agree with you on which is the better option , although reading the dev guide and grasping the basics will be a must. And like Zakaria says , it also depends on what you plan to develop.
in my case I learnt basic java first , then used the SDK for my project. Its not that big a learning curve actually , I did not find too many problems with the API.

Categories

Resources