haxe vs native - Android Q&A, Help & Troubleshooting

hello,
i am not a programmer, but i used to do as3. and i felt quite comfortable with it. but flash is dead and still, i am not a rogrammer. so i do not want to learn a lot of new languages. but i dont want my as3-"skills" to be wasted . so i found haxe and it sounded quite promising. similar to as3 and compilable to most common platforms. so..
so you know haxe?
do you use it?
what are the restrictions in comparison to native java development?
is it really as easy as they claim to develop for different platforms?
tyvm!
kws

Questions should be posted in Q&A forums, not Development forums.
http://forum.xda-developers.com/announcement.php?a=81
See rule #15
Thread moved.

We are using haxe and haxeflixel at the moment. And the latest version is pretty good.
The only problem we have is to export our games to html5.
Building for Android, iOS, Windows, Linux and MAC works great.

Related

[Q] Starting Android Development

Hi,
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 what so ever 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
PS. I am not allowed to post in the Developer forum which is why I post here.
Is there a better place to ask this question?
I am not yet allowed to post in the developer forum?
marlar said:
Is there a better place to ask this question?
I am not yet allowed to post in the developer forum?
Click to expand...
Click to collapse
Dev forum is not the place for Qs, they are for development projects and developer discussions, this is why it is limited (it is not a support site).
Probably best place is here:
Android Development and Hacking -> Android Software Development
There is a thread which is the same/similar question as you too:
http://forum.xda-developers.com/showthread.php?t=1173176
I'd recommend learning the basics of android and java first, since you can be sure that tools like Titanium (I've not used it though) will probably run in to some issues so you'll need some basic understanding to resolve.
As mentioned in that thread there are plenty of examples for the basics, although I have found it difficult so far to make that extra leap on to the more advanced stuff yet.
After you got some basic knowledge of Android, I would recommend going through alot of the android questions at stackoverflow.com
(I am not yet allowed to post direct link to questions tagged with android)
You learn alot of tips and tricks this way that you otherwise would have missed
A lot of it is actually pretty self-explanatory once you set up the tools (as least if you're familiar with Java... I had a bit of a problem with the whacked way callbacks are handled, since Java is well... not what I use every day).
There are samples included (including the standard Android application template) that will already tell you how the Android UI system works.
Aside from that there are a lot of good articles on the Android dev site that should get you started quickly with the way Android uses resource files. It's not at all complicated.
The specifics of course depend on what you want to do. My guess would be simple form-like applications... the articles there cover that part quite nicely.
I'd do native development first, then look at cross-platform tools so you can better evaluate the drawbacks they have. The Android platform is tuned to be as simple as possible for simple projects... just try to ignore what your guts tell you and don't worry about threads, memory and so on and you should be fine.

[Q] What are your top 5 favorite Android oriented articles?

I am putting together a presentation on the iOS and Android platforms as part of an educational lecture series I'm going to start doing here in the next few months. The main goal is to educate people on how to use their new smartphone and or educate them on which platform suits them best.
Right now I'm looking for more material to mull over. . . Show me what you've got!
Not sure why type of info you're looking for exactly. Here's a few links you might want to read to get started:
http://www.android.com/about/
http://en.wikipedia.org/wiki/Android_(operating_system)
http://developer.android.com/index.html
Well as almost everything you can take a base on wikipedia and their owners page and from there the fastest way would be to google every feature separated and search or make a comparision table (ive seen lots of them online) and comparing them with images from both devices an iPhone and for example a Galaxy S2 or a Galaxy Nexus or an HTC Rezound or your favorite and here are some of the pages you should look:
Android:
http://en.wikipedia.org/wiki/Android_(operating_system)
http://www.android.com/about/
http://www.engadget.com/2011/12/01/android-4-0-ice-cream-sandwich-review/
http://www.google.com/phone/#manufacturer=all&category=all&carrier=all&country=all&reset_filters=1
iOS:
http://en.wikipedia.org/wiki/IOS
http://www.apple.com/iphone/ios/
http://www.engadget.com/2011/10/12/ios-5-review/
Both:
http://en.wikipedia.org/wiki/Mobile_operating_system#Mobile_OS_comparison
http://www.pcworld.com/zoom?id=208491&page=1&zoomIdx=1
That are the basics but if you want to make a real presentation you should include Windows Phone 7
Thanks guys, I'll check this stuff out! How I've gotten most of my stuff so far is Reddit and Google, this should help flush out some more of the presentation quite nicely.
*GalaxyDev* said:
That are the basics but if you want to make a real presentation you should include Windows Phone 7
Click to expand...
Click to collapse
Only problem with that is that I'm working solely with devices that I already have experience with, things that I've actually used. I have NO experience with Windows 7 devices. Considering that their market share has decreased, from 2.7% to 1.5% in the last few months, I don't see much of a reason to prioritize the inclusion of the Windows 7 platform. Depending on how things go the next few weeks, I may try to include RIM (BlackBerry). . . but the two main contenders are iOS and Android, mainly because of their vast market share and my experience with them.
Keep em comin guys!
Please use the Q&A Forum for questions &
Read the Forum Rules Ref Posting
Moving to Q&A
Please use the Q&A Forum for questions &
Read the Forum Rules Ref Posting
Moving to Q&A
For your purpose i would recommend articles about android vs ios.
There's a good one on geek.com called "Android vs. iOS vs. Windows Phone 7". You'll have to search it on google because i cant post urls sorry.

HTML5 and Android development tools?

I am new Android developer.
I have a few questions about tools for Android development.
1) What is the best tool for Android development?
2) Can I only use HTML5 to develop Android software?
You can use browser based technology, but if you want to develop apps then you're better looking at Eclipse and Java. Everything you need (Eclipse, Java EE SDK and Android SDKs) is free and easy to find.
There's also the Android developers site, which has a vast amount of helpful info...
http://developer.android.com/index.html
Also, if you're going to be learning this from scratch, I would strongly recommend signing up to Stack Overflow. It's a bit like xda in the respect that if you can think of it, someone has probably already asked it. It's a really great site for coding issues...
http://stackoverflow.com/
Good luck, and have fun
.
Thread moved to Q&A due to it being a question. Would advise you to read forum rules and post in correct section.
Failure to comply with forum rules will result in an infraction and/or ban depending on severity of rule break.

[Q] Knowledge needed for developing android.

Basically i want to learn how to develop and program for android to create my own apps as well as learn how to edit ROM's and menu's etc.. I have no idea what knowledge is needed... id love to make a career out of it... it seems interesting, fun and challenging. courses to take would be great as well as programs ill need knowledge in aswell as uni courses even... thanks in advance.
Please use the Q&A Forum for questions &
Read the Forum Rules Ref Posting
Thanks ✟
Moving to Q&A
There have been quite a few tutorials mentioned on the portal recently, for both app development and more low-level ROM/kernel development. I suggest having a read through the last month or two of posts...
http://www.xda-developers.com/
Learning how to Develop and Program
noah93 said:
Basically i want to learn how to develop and program for android to create my own apps as well as learn how to edit ROM's and menu's etc.. I have no idea what knowledge is needed... id love to make a career out of it... it seems interesting, fun and challenging. courses to take would be great as well as programs ill need knowledge in aswell as uni courses even... thanks in advance.
Click to expand...
Click to collapse
If you have no prior knowledge of Programming like me you should defiantly take some free online classes. MIT and Harvard have some excellent classes online for beginners. Here is the thread with a bunch on Online classes you can take.
http://rootzwiki.com/topic/602-free-online-programmingcs-courses-for-beginners/
Now I decided to do that and also i just dived right in to a Rom with Android Kitchen to understand what it actually is, how the files are compiled, and what you can and can not change. By doing this i was able to understand how to Build a slightly modified Rom from CM9 Source and successfully flashed it to my Bionic.Here is the thread i followed to do this.
http://forum.xda-developers.com/showthread.php?t=1272270
Last but not least Android SDK. Install it, do tutorials, and just plain mess around. You can learn alot by doing as well.
http://developer.android.com/sdk/index.html
Well Good Luck with everything and i hope this helps.
-Bra!n_5torm

samsung galaxy develpment

hello all;
i'm a frequent user and supporter of the site, and i have to say i love the site and the people here.
now to more pressing matters i'm trying to find resources and read more and more about linux android development (completely got rid of windows by now ) IT'S USELLESS!!!! to me after a few months of constant linux use. yes linux takes some time, before you figure things out but it's a great OS.
anyways, i've looked in the general developers forum section, and there is just SO many ways that people say you should start (from scratch) and one is contradicting the other (sometimes).... so here is the actual question to the experienced developers out there... where do you guys start ?
little background:
basic C & C++ knowledge
some java.
(i used to tinker mostly with hardware before i dug into android)
any suggestions ??... which guides, sites ?, classess ?? any and all advice appreciated. and i hope it's ok to post this here, and if it's not (mods i'm sorry).
thanks.
rom5566
I don't think this particular project is active anymore, but I have been meaning to check out the Coding Green Robots series myself:
http://www.ustream.tv/channel/coding-green-robots/videos
I think if you have a specific problem with a project you are working on, people on XDA will help you. For a general intro, I think a book would be the best. Also, don't forget about the Android developer website. There's a training section, including "Building your first app": http://developer.android.com/training/basics/firstapp/index.html

Categories

Resources