Geekzone: technology news, blogs, forums
Guest
Welcome Guest.
You haven't logged in yet. If you don't have an account you can register now.




3 posts

Wannabe Geek


Topic # 57070 2-Feb-2010 14:45
Send private message

Hi there,

I'm a complete programming novice (some PL SQL and JavaScript a few years ago) and wanted to get some advice on developing apps for Android and iPhone. I realise of course that there are two paths to take, Andriod or iPhone, but I wanted to some advice on where to start with either and what everyone thinks is the best OS to develop on. I'm not looking to create the best biggest app, just get enough knowledge to ticker around and develop some basics.

What programming knowledge do I need as a start point?
What should I know before picking up one of the SDKs?

Any help you can give would be great.

Many thanks in advance

Create new topic
3632 posts

Uber Geek
+1 received by user: 401

Trusted

  Reply # 295433 2-Feb-2010 16:09
Send private message

For either of them you;ll probably need to know a bit of C/C++ 




Previously known as psycik

NextPVR/OpenHAB: 
Gigabyte AMD A8 Brix --> Samsung LA46A650D via HDMI, NextPVR,OpenHAB with Aeotech ZWave Controller
Media:Chromecast v2, ATV4, Roku3, Raspberry PI temperature Sensors and Bluetooth LE Sensors,HDHomeRun Dual
Windows 2012 
Host (Plex Server/Crashplan): 2x2TB, 2x3TB, 1x4TB using DriveBender, Samsung 850 evo 512 GB SSD, Hyper-V Server with 1xW10, 1xW2k8, 2xUbuntu 16.04 LTS, Crashplan, NextPVR channel for Plex,NextPVR Metadata Agent and Scanner for Plex


4790 posts

Uber Geek
+1 received by user: 890

Trusted
Subscriber

  Reply # 295451 2-Feb-2010 16:39
Send private message

First: You can't sell your app through the Android market at this point, but there is nothing to stop you selling it through any of the alternate markets or through your own web site - and people pay via PayPal. With Android, you aren't limited to the Android market for selling your app. You can put a free, limited version on the Android Market and tell people who want to buy the full version to go to a point on the Net of your choosing where you will sell it to them. This is how TetherWifi (I've bought it) and "Wifi Tether for Root Users" are distributed.

That said.....

I've got the Android SDK installed on my Ubuntu Linux 9.10 system. They provide you with a lot of sample code and functional examples to learn from. 

You really need to know Java and XML for a start...and I'm getting my head around those. The apps are programmed in Java and the screen content isdefined in XML. They give you an exmaple of why you want to do this with the very first program you write. 

Programmatical screen content drawing is slow and bad....XML is fast and good. :-)  

The Eclipse dev environment they recommend is also a very rich and powerful environment...and requires a fair bit of learning all by itself, independent of any actual programming. Like anything.....it isn't just what you do, it's also very much about the tools you use to do it. 

The best instructions I've found anywhere for setting up the Android dev environment are here. I have some additions and clarifications of my own here in an article about hacking your HTC Magic phone that includes a section on setting up the Android SDK.  

I've been using linux mainly because I can get the USB drivers to work easily with the phone. I've tried it on Windows Vista and no matter what I do, ddms and adb can't see the phone. I'm not alone. There are many others out there in the same position. It seems to come down to your hardware.....and some PCs can do it with Vista...and some just won't....but they all work fine with Linux. 

Once inside Eclipse, the OS outside is irrelevant....and I find Linux consistent with Android...which is also linux.  

I can't comment on iPhone. I've heard people say good things about the development tools and bad things about the lengthy approval process (if approved at all) for any app. Beyond that...no comment. 


 







____________________________________________________
I'm on a high fibre diet. 

 

High fibre diet


 
 
 
 


60 posts

Master Geek
+1 received by user: 1

Trusted

  Reply # 295454 2-Feb-2010 16:46
Send private message

The iPhone uses Objective-C (similar to the OS X version but lacking garbage collection, although that probably won't mean much to you now. Objective-C is a separate and difference (in some ways, weird)language from C, although it's said to be a full superset of ANSI C and you can embed C code in Objective-C programs)
Android development normally uses a dialect of Java + Eclipse (and relevant plug-ins).

As a C# developer I find Android easier because of the similarity of Java and C#, but for now I wouldn't recommend any New Zealand developer bothering with Android - developers from NZ can't submit paid apps to the Android Marketplace, whereas overseas developers can sell their apps to NZ customers. So not only do we lose out on an opportunity, but Google is helpfully handing the first-to-market advantage in our own market to others.
So for that reason, if you're a New Zealander steer clear of Android unless and until Google allows NZ developers to sell their apps on the Marketplace...otherwise we just reward crappy and incompetent behaviour.
I'll probably be writing a blog post whining about this in more detail shortly :-)
It's a shame because it's a nice SDK, although in learning it once you get beyond the introductory stuff the documentation tends to be written for people who don't need to read the documentation.

If you want to do iPhone development you'll need a Mac to do development on, after which the SDK is a free download (a couple of Gig worth as I recall). I just picked up the cheapest Macbook available (which by then was the only non-Pro Macbook available) and it works fine for me.



3 posts

Wannabe Geek


  Reply # 295647 3-Feb-2010 10:41
Send private message

Thanks guys,

 

Think I might get some C++ basics under my belt and then give Objective-C a go and have a play with Apple apps.

 

Thanks again!

4713 posts

Uber Geek
+1 received by user: 75

Trusted

  Reply # 296868 7-Feb-2010 19:26
Send private message

KevDaly:

As a C# developer I find Android easier because of the similarity of Java and C#, but for now I wouldn't recommend any New Zealand developer bothering with Android - developers from NZ can't submit paid apps to the Android Marketplace, whereas overseas developers can sell their apps to NZ customers. So not only do we lose out on an opportunity, but Google is helpfully handing the first-to-market advantage in our own market to others. ..


Interesting. I didn't know that. Not that I plan to do Android development (my programming days are in the distant past) but if I wanted to for fun, I guess I could ask a US friend to submit the app to the marketplace?




System One: Popcorn Hour A200,  PS3 SuperSlim, NPVR and Plex Server running on Gigabyte Brix (Windows 10 Pro), Sony BDP-S390 BD player, Pioneer AVR, Raspberry Pi running Kodi and Plex, Panasonic 60" 3D plasma, Google Chromecast

System Two: Popcorn Hour A200 ,  Oppo BDP-80 BluRay Player with hardware mode to be region free, Vivitek HD1080P 1080P DLP projector with 100" screen. Harman Kardon HK AVR 254 7.1 receiver, Samsung 4K player, Google Chromecast

 


My Google+ page 

 

 

 

https://plus.google.com/+laurencechiu

 

 


4790 posts

Uber Geek
+1 received by user: 890

Trusted
Subscriber

  Reply # 297093 8-Feb-2010 16:16
Send private message

lchiu: Or tweet about it and add it to the SlideMe market and whatever others are around.....and / or sell it direct via a blog page with a link to PayPal.

It's definitely do-able....and not hard. Being invisible in a 25,000-app Android Market might be as a big a challenge. :-)

If people like it, word of mouth will do the work for you.




____________________________________________________
I'm on a high fibre diet. 

 

High fibre diet


2842 posts

Uber Geek
+1 received by user: 73


  Reply # 303421 1-Mar-2010 18:50
Send private message

I myself am looking at developing (or at least playing with) the iPhone SDK.

Im just not sure if I should jump right into that, or learn something else first..

I have done a bit of PHP/HTML and a TINY bit of ASP.. oh and i've done a little MySQL.

Any pointers?





Create new topic



Twitter »

Follow us to receive Twitter updates when new discussions are posted in our forums:



Follow us to receive Twitter updates when news items and blogs are posted in our frontpage:



Follow us to receive Twitter updates when tech item prices are listed in our price comparison site:





News »

New Zealand government to create digital advisory group
Posted 16-Dec-2017 08:47


Australia datum changes means whole country moving 1.8 metres north-east
Posted 16-Dec-2017 08:39


UAV Traffic Management Trial launching today in New Zealand
Posted 12-Dec-2017 16:06


UFB connections pass 460,000
Posted 11-Dec-2017 11:26


The Warehouse Group to adopt IBM Cloud to support digital transformation
Posted 11-Dec-2017 11:22


Dimension Data peeks into digital business 2018
Posted 11-Dec-2017 10:55


2018 Cyber Security Predictions
Posted 7-Dec-2017 14:55


Global Govtech Accelerator to drive public sector innovation in Wellington
Posted 7-Dec-2017 11:21


Stuff Pix media strategy a new direction
Posted 7-Dec-2017 09:37


Digital transformation is dead
Posted 7-Dec-2017 09:31


Fake news and cyber security
Posted 7-Dec-2017 09:27


Dimension Data New Zealand strengthens cybersecurity practice
Posted 5-Dec-2017 20:27


Epson NZ launches new Expression Premium Photo range
Posted 5-Dec-2017 20:26


Eventbrite and Twickets launch integration partnership in Australia and New Zealand
Posted 5-Dec-2017 20:23


New Fujifilm macro lens lands in New Zealand
Posted 5-Dec-2017 20:16



Geekzone Live »

Try automatic live updates from Geekzone directly in your browser, without refreshing the page, with Geekzone Live now.



Are you subscribed to our RSS feed? You can download the latest headlines and summaries from our stories directly to your computer or smartphone by using a feed reader.

Alternatively, you can receive a daily email with Geekzone updates.