←back to thread

Android

(www.avc.com)
168 points okeumeni | 10 comments | | HN request time: 0.039s | source | bottom
Show context
srwh ◴[] No.1798354[source]
We discussed this before... but... what if Microsoft developer tools are better than Apple (xcode) and Android (eclipse) ? what if any guy can develop some software in a few days while doing the same for Android and the Apple takes 2x o 3x? what if Silverlight experience is better than html5 or native UIs? And... what if connecting games between desktop, xbox and mobile works?

Many "What IFs", but for me the developing tools and silverlight are key. Also on the RIM side QNX is a very promising bet against Linux/iOS/Windows, the demo doesn't feel real, but QNX is a strong OS.

replies(1): >>1798376 #
mahmud ◴[] No.1798376[source]
Have you written code for Android? To make it any easier, you would have to advance the state of IDE and language integration by a few decades. Sure, it doesn't let you draw widgets by hand and attach callbacks all in an instant, like Visual Basic, but, for an API, it the simplest, most obvious thing you can imagine.

And FWIW, I do my Android hacking with emacs and a shell buffer.

replies(2): >>1798418 #>>1798474 #
1. endtime ◴[] No.1798418[source]
I haven't seen the Android docs, but for building an app with a GUI I genuinely can't think of anything better than the WinPhone7 SDK.
replies(1): >>1798492 #
2. mahmud ◴[] No.1798492[source]
What do you think makes WP7 superior to Android? Please be as detailed as you can; this is not an argument, it's a feature request :-) A million lurking volunteers, bored but capable as they are, will take it upon themselves to improve Android before Google gets around to it (it's a vicious race for good hacks.)
replies(2): >>1798591 #>>1798693 #
3. tomerico ◴[] No.1798591[source]
I can share my experience from developing with Silverlight and c# for a few years (Though for the past year I've developed exclusively in java).

First of all the language. c#, especially in the latest iterations has become incredible. Featuring the goodness of both statically and dynamically typed languages. It has become very elegant and powerful.

Sadly, I can't say anything similar on Java. Is has been very slow to advance, very conservative when advancing, and the tools are still so slow (At least eclipse).

Regarding GUI development on Silverlight. Microsoft has done many things right with it. It has the best separation of UI and logic that I have seen built right into it. They have xml files to represent the UI (In the same way web has HTML), and the framework is as flexibly as could be (e.g. it wouldn't take you more than a minute to create a scrollbar that looks like a clock for example (If you have the graphics ready).

And the most important of all - they have a UI editor built for DESIGNERS. It encourages you to worry about the UI look and feel, and not on the logic behind it. It has tools in it from the designers world, and encapsulate a lot of headaches (E.g. setting a gradient direction is done by dragging a line over the area, and not by setting some numbers).

In addition, Silverlight has the advantage of being a second generation after WPF. Microsoft has learned from its mistakes with WPF, and simplified Silverlight dramatically. They could do that because Silverlight was a new technology which didn't have the requirement to be backward compatible.

replies(1): >>1798628 #
4. mahmud ◴[] No.1798628{3}[source]
Excellent!

Android allows you to define your UI in XML as well[1]. It's not that novel, Flex does the same thing too. But not to be too dismissive, it would nice to hear of experts in both to tell us what Android might be lacking.

Regards UI editor, yes, Android doesn't have any WYSIWYG UI editors. There is one, but it's 3rd party and not as polished as you describe MS's to be.

--

[1]http://developer.android.com/guide/topics/ui/index.html

replies(3): >>1798813 #>>1799148 #>>1801149 #
5. MrScruff ◴[] No.1798693[source]
Why do you believe this to be true? While the Linux desktop has improved incrementally over the years it has remained a good distance behind it's proprietary rivals.
replies(1): >>1798982 #
6. kenjackson ◴[] No.1798813{4}[source]
With respect to Android vs WP7 controls is the lookless nature of Silverlight controls. This allows you to completely reskin and add new behavior to an existing control while maintaining all of its current behavior.
7. cryptoz ◴[] No.1798982{3}[source]
I disagree with what you're saying, actually. While I know I'm biased as an Ubuntu user at home, I think that MS Windows and Apple OS X are far behind the Linux world when it comes to - for example - window management. In Windows 7, there's no way to make a window stay on top, if you hook up two monitors, you only have one taskbar, etc.

Another example is package management. If you want to mount an ISO in Windows, you have to scour Google for a while attempting to find a spyware-free available download. It's a garbage situation in Windows.

Linux, however, has amazing window management capabilities as well as package managers.

Now, if we turn to ease-of-use, I'd like to remind you that Google Chrome OS is coming out in one month (ish). While it is a proprietary OS, there is an open source / free software version called Chromium OS. This is a Linux OS that looks totally easy to use and will be natural for non-Linux people to handle.

I very strongly disagree that the Linux desktop is "a good distance" behind its rivals.

replies(1): >>1799137 #
8. MrScruff ◴[] No.1799137{4}[source]
Linux (or more specifically the free desktop) is a great deal ahead of the Mac in terms of user choice, but falls down in terms of quality of implementation.

I'm a Fedora Core user at work (and have been for the better part of a decade) and am consistently appalled at the unreliability of things like sound and clipboard management. Areas that are completely taken for granted on other platforms.

9. tomjen3 ◴[] No.1799148{4}[source]
Android may allow you to design your ui in xml, but go read a tutorial on custom styling WPF -- I were much doubt you can:

create a new list box which works exactly like a normal listbox would but the items in it are replaced by whatever you write between <datatemplate></datatemplate> tags, and all the bindings you make in the data template are automatically set so that they are bound to the object they represent (ie the dynamic properties in data template 3 are bound to object 3 in the source list). And the entire thing takes only about 30 lines of xml.

Bind any property on any object to any property on any other object

Have any properly which is bound to any other property be automatically updated when the value of that property changes

Attach new properties to any xml element, and execute code when that property changes (useful to change a bool in one class to cause a window to close in another)

You can create entire master detail system and bind them together without haveing to write a line of c# code to tell it how it should look or what it should do -- which means that (if you structure your code right) that you can create unit tests that check that when one button is clicked, an item is removed from a list, etc.

Again, MS have created something that is really, really far ahead of anything else here. Too bad it is windows only.

10. apetrovic ◴[] No.1801149{4}[source]
I wrote some code for Android, and I'm currently working on WPF application for windows (which should be similar to Silverlight). Saying that Android XML UI description files are comparable to XAML + Visual Studio XAML designer + Expression Blend is like saying that C# and Java are the same because the source code for both languages can be written using vi - technically it's correct statement, but it completely misses the point.