188 points · by jacobr · 14y ago · 149 comments
Android: Download Eclipse (Windows, Linux or Mac) and the Android SDK (Windows, Linux or Mac) - no accounts or registration needed for either of these. In your phone menus enable development and connect via USB. In Eclipse make your hello world project, and hit Run or Debug. Enjoy.
Apple: You must buy a Mac. In the App Store (requires an account) or the developer site (requires an account and registration) download Xcode. Create your project. Connect the phone via USB. Right click to enable it for development and then do some song and dance with Apple to get permission to use "your" device for development. (I haven't yet worked out the exact dance required and how much it costs.)
I don't know what it looks like for WP7 but assume it is substantially similar to Apple.
- Download the SDK (free), which includes Visual Studio (For Windows Phone) Express IDE. It also includes an emulator tool. http://create.msdn.com/en-us/home/getting_started Obviously only runs on Windows. - To deploy to your phone, you'll need to become an app hub member ($99 per year). Or there's numerous ways to unlock your phone for app deployment (if you search hard enough). And then you can just deploy from within Visual Studio to a USB connected device. http://msdn.microsoft.com/en-us/library/ff928362(v=vs.92).as...
There's probably more to it, but I personally have yet to deploy a WP7 app to a device. I've written a few test apps though.
Also, found this blog (first in a series of a few) that attempts to develop an app using Visual Studio (for WP7 dev), Mono Touch (for iOS dev) and Mono Droid (for uh, Android dev)... Might be of interested to some: http://nicksnettravels.builttoroam.com/post/2011/04/04/Windo... And the rest of his articles are easier to get to via the archives - http://nicksnettravels.builttoroam.com/archive.aspx#Mobile
What I was more impressed with, they handle signing your xap for release as well; it's all automatic (slightly less so on Android, much less so on iOS).
Hopefully my original post inspires someone to try this with all the platforms. I'm particularly aware of the requirements to create accounts and registrations, the size of downloads, how limited your choice of host environments is etc.
The next fun step is how do you get your hello world onto a friend's device without using a cable or requiring them to be in your presence.
http://developer.apple.com/library/ios/#technotes/tn2250/_in...
How I become a team (of one) admin, or where to find this "iOS Provisioning Portal" are of course left out.
I can understand the hoops if you want to sell your app on the official Apple store, but I think it would be very reasonable to allow devs to create and sideload apps. It's your device, your risk. That seems like a post-Jobs compromise that everyone could live with.
Never in my wildest dreams would I've guessed that the actual programming would be the easiest part.
Remember your first iPod?
Chances are you were forced to use something called iTunes. Now people do not think twice about iTunes.
But back then there was just no sensible reason, from the user's perspective, not to let a user add/remove music from an iPod without jumping through an additional hoop. People had to spend countless hours deciphering the protocol in order to build programs that could do what iTunes did: add/remove music.
Out of the box, the iPod was literally unusable without first installing some Apple software.
No matter how wonderful the design of an Apple device, the hoop jumping just becomes increasingly tiresome. I'm too tired to do the Apple dance.
Adding to that, when iTunes came out, most people didn't put any thought into ID3 tags. When they imported their music, their library became one big mess.
So much for ease of use for end users.
On the device, tap the menu button, then tap "Xterm"
Type in 'nano helloworld.py'
Enter the text 'print "Hello, World!"'
Ctrl-x, ctrl-s to save the file
Enter 'python helloworld.py' and press enter
Of course, as Maemo is based on Debian, you can easily install Ruby, PHP or even a C compiler. Download AIDE from play market
Enable apps from untrusted sources
Start coding
Run your app!
AIDE really is a fantastic achievement, i had a play about with it when my laptop died a few weeks back and i was itching for some coding! It's a fully-fledged development environment with code completion, refactoring and many other cool features. Something surreal about writing android apps on an android device! Installing xcode is staggeringly more pleasant
than installing eclipse in my experience
People saying that don't really know what they are talking about. Installing Eclipse involves these steps:1) install Java, which on my Ubuntu is just "sudo aptitude install openjdk-6-jdk" and that's it
2) download an archive from Eclipse.org and unzip it somewhere
3) there is no step 3
Installing the Android plugin is equally easy. Then there's always IntelliJ IDEA which is probably the best IDE and comes with Android integration built in. The community version was recently open-sourced too.
Or do you mean it's a pain setting up the Android SDK within Eclipse? This could certainly be more stream lined (though I think it's fairly simple to setup as well).
The Apple dance takes a couple minutes to do and costs $99/year.
"Downloading the Android SDK" is actually a dozen
steps of installs, updates, add-ons, setting up
emulator devices and so on.
That's not true. The first time I did it, it took me something like 10 minutes. I must say that I was already familiar enough with Eclipse to install the plugin without much struggling (though it can't get any easier, unless it came built-in). Beginners should also try out IntelliJ IDEA which comes with Android integration built-in. The Apple dance takes a couple minutes to
do and costs $99/year.
That's also not true. It took me somewhere between 2 and 3 hours. And you don't have to pay $99 for getting the Hello World on your phone, but you do have to fuck around with certificates for signing the binary and you also have to read a lot of documentation.These are the Android SDK instructions, and each step can point to multiple others: http://developer.android.com/sdk/installing.html
As for the Apple dance, can you point me to the URL or actual documentation I can follow to get all the certificates, admin and whatever else it wants? All I can find is doc saying I need to do it, but nothing saying how to do it!
You either got lucky or did the Apple dance a lot more recently than some of us. When I did the Apple dance, I had to wait more than a month before my application to be a developer was "approved", then it took weeks to figure out how to get the certificate stuff working. Even after I got it working it was fragile - my ability to put an app on the phone was never something I could expect would just work - it would spontaneously break with a cryptic error for no apparent reason.
Apple have it right once you have installed xcode. And if you only want to run in the simulator, you do not need to worry about certs.
They both could improve, but are also light years ahead of BB.
It involves downloading one archive, unpacking it, running the SDK manager, checking checkboxes for target platforms you want to develop for and waiting for a couple of minutes, until it downloads. You can also set-up emulator devices for the different platforms.
That's quite a short of complications you speak of.
Don't even get me started on emulators. AVD Manager is a joke.
10 PRINT "HELLO WORLD"
RUN
They might sell a few more Mac desktops this way but I can't see it being a large number in the grand scheme of things.
One of the reasons I bought an Android instead of an iPhone was because I can develop for it using the computer I already have.
For Apple to support development on other platforms, as far as I can see the only practical option would be to provide an alternative to the simulator which runs a variant of iOS inside a virtual machine. While this is certainly technically feasible to do, and you could make the argument that they should provide such a tool, it does involve a lot more than simply porting a few user-space tools to run on a different OS. Android also benefits in this regard from using Java, which already has compilers available for all major platforms.
It is also worth nothing that the Android emulator, at least last time I checked, is extremely slow to the point of being unusable. When I was developing for Android I found the only realistic option was for me to test on a real device. The speed of the iOS simulator is one of the main things I prefer about iOS development in comparison to Android.
Even if it cost them a fair amount of money to port it all over, they're Apple so they have the money in the bank. Plus I can imagine the ROI would be fairly significant when you consider how many more people could get into casual iOS development and then potentially make it into a full time thing.
Apple doesn't need to port their software to Windows or Linux at all but simply allow to use OSX in an emulator. Even this is forbidden by Apple (it's not a surprise).
I think it was a huge mistake of Apple to allow iOS development on Macs only. If they hadn' make this mistake almost all people would develop for iOS mobile devices now, and Android wouldn't have had any chance to win. In some sense Steve Jobs himself was the main reason that Android became so successful :-)
> In addition, the cost of a Mac for development ($599 for a mini) is not stopping anybody,
It has stopped me. I have a pretty good PC, and I never accepted that I would have to buy an additional Mac solely to fed my iphone. It's a waste of room and money. For that reason I use Android.
Personally I have a pretty close and loving relationship with my workstation. That's why it needs to be a laptop.
People have written Apps to help you work around how difficult it is (eg TestFlight), but even then your beta testers have to download & sign up for some random 3rd party app, then request your app just to be able to test it. Compare that to Android: enable 3rd party apps via the settings menu, then email them the app.
There's instructions on how to do this at: http://nachbaur.com/blog/building-ios-apps-for-over-the-air-...
Although it saves you from having to email large files, you do still need to collect your users' UDIDs and add them to your provisioning profile (embedded in the app).
It has been a while for me but from what I can recall you are ready to go once you download the blackberry IDE. There may be an eclipse plugin for that now so you don't have to download the whole monster.
This whole process is part of RIM's DNA. A year ago when they were doing the whole Playbook thing it repeated: http://blog.jamiemurai.com/2011/02/you-win-rim/
Quite frankly I know many former Blackberry users but I don't know a single current one. I have no idea why anyone would even consider the platform.
Eclipse and Java work on all 5 computers. XCode works on only one. And because that OS X machine is a desktop, I barely ever use it, which is why I bought an Android instead of an iPhone.
https://play.google.com/store/apps/details?id=com.aide.ui...
I've only done some simple hello world type programs, but I was impressed.
At the same time that lovely naivete about what would happen is exactly why this will never fly.
Apple is the golden goose and nobody will sign off on a risky move that might kill the goose or stop it from laying those golden eggs. If there is one thing that makes CEO's conservative it is very large streams of income. You can take risks when you're small.
If 'the Woz' wants to have a more open platform comparable with Apple then I'm pretty sure he'd find tons of people willing to follow him if he decided to go down that road himself. What will happen is that sooner or later he'll need a business guy to take care of all of those non-technical details and at some point in time after that we'd have a new Apple, just as bad as the old.
Apple has been faithful to its principles since Jobs returned - to offer a few products, not to compete in features and to provide a seamless experience. It's successful because its clients like it that way.
I don't think Woz has as many fans as Jobs had, but I still suspect the "tablet ][" is yet to be invented.
On the other hand, they can learn from others. Android/Google is catching on Apple due in part to a mostly open platform.
Q: is that human nature or indoctrination of democracy at play ...
Apple's biggest strength to me is timing and execution. They didn't invent the tablet, but they made it better and at a time when more people were ready for it.
I think the time is coming that being more open will be an advantage. Right now controlling your entire experience (to me) produces better products. I think Apple will patiently wait for the time and likely execute it correctly.
Should Apple relax restrictions on the app store, sure. However then quality may dip or so users are told.
Should Apple open source more technologies, sure. However it comes with a cost, such as documentation efforts and etc.
Both of these problems are in the critical path of timing & execution. So I highly doubt Apple will do anything.
The Woz has always pushed for an open Apple, and damnit I wish he had it, but I doubt it from happening.
Kind of the similar to what happened with their implementation of the mouse and the MP3 player, they didn't invent these things, but they improved upon them or made them more accessible to consumers at the right time. But I am really keen to see if Apple can continue this pattern without Jobs at the helm.
I don't think they could make the existing product lines more open, but they could explore the idea of a developer version of the iPad. Sure someone would find a way to download music or copying installed software without paying, but I don't think that would be even measurable.
I'd love if it came in beige, with a rainbow logo ;-)
comes with the territory . if you the one and in bed with CIA who's to say open up ...
Microsoft got docked for just bundling IE with their OS. I just installed Netscape back in the day(before switching to IE coz Netscape started sucking). Apple bans all competing browsers. (Windows RT is a different story).
The iOS app store forces developers to use their in-app purchasing with a 30% cut for Apple and bans any links to the developer websites to sell services. The Windows App Store does not require this.
IBM is the new DEC.
Microsoft is the new IBM.
Apple is the new Microsoft.
Linux is the new... err ahh...
BSD is the new.. err umm...
Screw opening corporations. Break the cycle entirely I say.
Now, more seriously, such cycles do exist and we can observe them easily. History repeats imperfectly in subtly different ways. If Apple is to be the new Microsoft, it won't be exactly like it just as Microsoft is not exactly the new IBM - both have learned from their predecessors. Will they make mistakes that doom themselves? Eventually yes, but they won't be the same mistakes that doomed their predecessors.
But what "Open Apple" implies, are things like an "Open" specification for the Dock Connector. And "Open" specifications that invite vendors to write their own device drivers to handle those accessories.
And that's an invitation for third parties to sell crap accessories with buggy or broken drivers and generally annoy the hell out of users who are currently paying Apple a premium to not be annoyed.
Similarly with services. "Open" the specification, allow the world in, and you get crap and esoteric support problems.
Again: things that people pay Apple a premium to not suffer.
And none of this is to say Apple is perfect, or their way is better. They make their mistakes, but they believe they're the right people to fix them. And they naturally support fewer devices, fewer services and fewer use cases. So it's far from appropriate for everybody. But it's damn sure appropriate for Apple's customers.
Woz's statement reads like a musing from someone who doesn't understand why the best of intentions don't always become the best of manifestations.
If you Open Apple, they'll get new, different customers. And lose all the old ones.
Would the devices be as compact and look good if they had a bunch of removable slots in the back? No.. no they wouldn't.
The thing that differentiates Apple from everyone else is that they make simple, classy products which are easy to use. If Apple open up they move into competition with the likes of Dell. This is something they simply don't need to do.
I recently switched back to Windows and the difference! My Windows computer came with a list of dos and don'ts. If I want to keep my warrenty intact I need to keep the box. I shouldn't smoke around it. I should do a yearly inspection to check for dust build ups! With a Mac you plonk it on the table, attach your mouse and keyboard and off you go. I was messing around with cables for ages with my Windows computer.
Look at Apple now. Jobs was right, Woz was wrong. Would it be nice if Apple products were more open? HELL YES! Should Apple do it? No... because then they loose a big chunk of what makes Apple, Apple.
This is the philosophy of Steve Jobs, he even said he did not want to go through surgery first because he did not wanted to be "opened".
This is really interesting, in fact, these points are the ones I found the most interesting in all the media frenzy we got after his death.
In other words, you can buy the great Apple form factor and design, but you don't have to deal with the restrictions of the OS. You could install your own OS.
Obviously this would initially only target hackers. NetBSD can run on some Apple hardware. And there is all the Hackintosh work to build on. Eventually there would be more free OS offerings to install after giving the hacker community some time to adjust to the newfound freedom.
Apple could even sell OSX and iOS separately.
There is a lot of value just in the Apple hardware. Even without the Apple OS offerings. Apple is primarily a hardware company.
*There are some real security benefits from keeping the OS on read-only media.
2. Make the AppStore open and censorship-free and half of the apps will not be able to launch.
3. You need to get rid of script kiddies and lovers of fun and former middle-tier managers and game magazine review writers etc etc to have something that is close to a quality thing. Behold: native development and steep learning curve.
So, keep talking.
one man TOG : http://en.wikipedia.org/wiki/Bruce_Tognazzini another : http://en.wikipedia.org/wiki/Donald_Norman
se the finder has a redundancy slowness to mimic human perception built in ...
This is the big big problem with the stock market.
Companies do lots of things that don't immediately look like profit-gaining moves to investors.
Actually, put another way, do you think that Google is not a corporation, and instead a basket of goodwill, since they market things as 'open'?
need to find a hardware model is all . because software is not paying alone . Apple now gives a free OS with proprietary hardware ... all is well ...
I think he knows it well. Like it or not Apple is AAPL, or there to make money for shareholders. Would "being open" result in more money for the people that bought a tiny slice of a $500 Billion pie? Will any CEO try when they're making $50 Billion or whatever they're making this year in profit? Not sure
Apple devices are abstractions with well-defined interfaces (sets of operations you can perform on them). Not only should the implementation not matter, it is anathema that anyone should know the implementation because that would break the abstraction at a fundamental level.
It's absurd for a bunch of hackers to think about, but this is what has made Apple billions of dollars, and it's what made them the best technology company on the planet: the construction of devices completely defined by their simple interfaces, with all else hidden from the end user.
I once believed that BSD with an Apple interface was the Utopia of computing, but no. And it took me a couple of years to understand why. I came up with a different way to say the same thing: Apple is about productizing computing ideas. But it does mean closing them down. A product is not a platform. And Xcode is just a nuisance to Apple, a requisite rather than a goal.
Sometimes productizing means making the same thing much cheaper, like their first mouse. Sometimes it is making the same thing much more expensive than necessary, like present Macs.
But the common thread is to upsell your costumer. To make him come back. This is all Apple is about. It has the advantage of pampering a prized costumer, but it has the disadvantage of locking you.
To the people saying Apple is the new MicroSoft, at first Apple was the one and only personal computer company. It used to be king of the hill. It was busted when the open-ness of the IBM PC turned out to incur cluster effects.
For all we know, this post-PC era can also witness a similar disruption. esr really thinks Android is already doing it. Lets hope.
But Apple can't do open. It is not that it would "diminish returns". It is that it goes against the very company strategy. It is cute that Woz prefers not to acknowledge it, but that is all.
Then you would agree that Macs are unsuitable for normal users, since they ship with a command line and lots of geeky Unix tools preinstalled?
The device was still a zillion seller.
It seems reasonable to assume that people would not buy Apple products if they were too difficult to use.
It seems reasonable to assume people do not buy them for ease of use. Other competing systems are also easy to use. It seems reasonable to assume they buy them because they "look cool", much more so than any competing product.
It seems reasonable to assume the initial attraction to Apple products is the hardware design, not the software.
But none of this can be proved or disproved unless Apple were to unbundle the two and hackers were allowed to write software to run on the bare metal, not necessarily on top of Apple's development platform.
If Apple is afraid to try this then it shows they have something to fear. It shows they feel the need to exercise command and control over how users use Apple computers.
Apparently Apple's hardware design patents are not enough.
Lots of hackers continue to use Apple laptops because the software and hardware has combined what they perceive as the best quality in the industry. They don't do this because they look cool.
One can't also assume the iPad is the only runaway tablet success because of a cool factor or hardware design. The iPad was laughed at on first release by most geeks and pundits. But then people got to using one and found it more useable than a laptop for many daily tasks.
One also can't look at the iPhone margins without noting the key differentiator: iOS and iOS Apps. Software, in other words.
All companies have something to fear - they're in a competitive business. Apple just seems to be better at it than most (this generation).
As you admit, no one can predict what consumers will choose.
However, a company can actively work to limit consumer choice. They can attempt to control how a consumer uses a product so as to benefit the company, not necessarily the consumer.
I ask you, "What would hackers do if they had choice?"
It's easy to look upon "success" after the fact and conclude a company is good at what they do.
Apple has failed many times. And they may fail again in the future.
I'd like to buy stuff from a "fearless company", not one that places ridiculous restrictions on users (fear of competition?), even when they are at the top.
Hackers use Apple products and endure the annoyances because there are no other choices.
Apple is the new Microsoft.
Success?
Maybe.
But at what cost to the consumer and the computing world at large?
Apple is trying to prevent people from freely programming and experimenting. Sure, people will still buy and use their products, but Apple cannot stop competition. Arguments that hackers should just accept Apple as the new Microsoft are good for a laugh.
Keep them coming.