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.


beginnergeek

3 posts

Wannabe Geek


#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
davidcole
6034 posts

Uber Geek

Trusted

  #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

Home Assistant: Gigabyte AMD A8 Brix, Home Assistant with Aeotech ZWave Controller, Raspberry PI, Wemos D1 Mini, Zwave, Shelly Humidity and Temperature sensors
Media:Chromecast v2, ATV4 4k, ATV4, HDHomeRun Dual
Server
Host Plex Server 3x3TB, 4x4TB using MergerFS, Samsung 850 evo 512 GB SSD, Proxmox Server with 1xW10, 2xUbuntu 22.04 LTS, Backblaze Backups, usenetprime.com fastmail.com Sharesies Trakt.TV Sharesight 




Linuxluver
5828 posts

Uber Geek

Trusted
Subscriber

  #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've been on Geekzone over 16 years..... Time flies.... 


KevDaly
61 posts

Master Geek

Trusted

  #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.



beginnergeek

3 posts

Wannabe Geek


  #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!

lchiu7
6475 posts

Uber Geek

Trusted

  #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?




Staying in Wellington. Check out my AirBnB in the Wellington CBD.  https://www.airbnb.co.nz/h/wellycbd  PM me and mention GZ to get a 15% discount and no AirBnB charges.


Linuxluver
5828 posts

Uber Geek

Trusted
Subscriber

  #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've been on Geekzone over 16 years..... Time flies.... 


Aaroona
3196 posts

Uber Geek


  #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





News and reviews »

Air New Zealand Starts AI adoption with OpenAI
Posted 24-Jul-2025 16:00


eero Pro 7 Review
Posted 23-Jul-2025 12:07


BeeStation Plus Review
Posted 21-Jul-2025 14:21


eero Unveils New Wi-Fi 7 Products in New Zealand
Posted 21-Jul-2025 00:01


WiZ Introduces HDMI Sync Box and other Light Devices
Posted 20-Jul-2025 17:32


RedShield Enhances DDoS and Bot Attack Protection
Posted 20-Jul-2025 17:26


Seagate Ships 30TB Drives
Posted 17-Jul-2025 11:24


Oclean AirPump A10 Water Flosser Review
Posted 13-Jul-2025 11:05


Samsung Galaxy Z Fold7: Raising the Bar for Smartphones
Posted 10-Jul-2025 02:01


Samsung Galaxy Z Flip7 Brings New Edge-To-Edge FlexWindow
Posted 10-Jul-2025 02:01


Epson Launches New AM-C550Z WorkForce Enterprise printer
Posted 9-Jul-2025 18:22


Samsung Releases Smart Monitor M9
Posted 9-Jul-2025 17:46


Nearly Half of Older Kiwis Still Write their Passwords on Paper
Posted 9-Jul-2025 08:42


D-Link 4G+ Cat6 Wi-Fi 6 DWR-933M Mobile Hotspot Review
Posted 1-Jul-2025 11:34


Oppo A5 Series Launches With New Levels of Durability
Posted 30-Jun-2025 10:15









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.