Flex vs Eclipse for Android applications?

I am a beginner in this so I am not sure what would be better. I read that Android API is targeted towards Eclipse, however, I read that Flex allows you to use your apps on Android and iOS at once, reducing the need for two apps.

The kind of app I am building will involve reading data from the gyro, and making some calculations, then reporting it to a server.

Would Flex allow me to do that?

Answers


First off, better is always a subjective choice and depends on a variety of factors, so I can't really tell you which option is better for your situation.

I read that Android API is targeted towards Eclipse,

I believe the Android API is based on Java; and Eclipse is one IDE that you can use to code Java. There are others, check out this question for good details.

I read that Flex allows you to use your apps on Android and iOS at once, reducing the need for two apps.

That is correct; using Flex, you can create release builds for multiple platforms, including Android and iOS [and Blackberry Playbook and Desktop and browser based desktops]. For Android and iOS deployment you can probably use the same exact code base w/o issues; however you may want to consider different layouts for tablets vs phones.

The kind of app I am building will involve reading data from the gyro, and making some calculations, then reporting it to a server.

I do not believe that Flex (or more specifically AIR) has native support for Gyro; however you should be able to build a Native Extension to access that. Here is some info on building a Gyro Native Extension.


Need Your Help

Google Earth plugin key not required, and not working either

google-earth google-earth-plugin api-key

The Google Earth browser plugin apparently no longer requires a key and it's impossible to request one.

Rename item in a listview c# WinForms

c# winforms listview rename

i would like to know how can i change the name of a ListView item in the traditional select>F2>edit>enter manner. How can i open that little editable textbox just over the item?

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.