EmbeddedRelated.com
Forums

Mobile Device Programming

Started by Tim Wescott May 12, 2011
Any good references on programming for the iPhone, iPad, and devices 
using Android?  Somehow this looks like a perfect topic for an O'Reilly 
book.

I'm getting rumblings of interest, thought I should check things out to 
see just what it's like...

-- 

Tim Wescott
Wescott Design Services
http://www.wescottdesign.com

Do you need to implement control loops in software?
"Applied Control Theory for Embedded Systems" was written for you.
See details at http://www.wescottdesign.com/actfes/actfes.html
On 2011-05-12, Tim Wescott <tim@seemywebsite.com> wrote:
> Any good references on programming for the iPhone, iPad, and devices > using Android? Somehow this looks like a perfect topic for an O'Reilly > book. > > I'm getting rumblings of interest, thought I should check things out to > see just what it's like... >
I don't know about the Apple world, but for Android you may want to start by reading the Android tutorials and the SDK manuals. The tutorials are either in the SDK or on the SDK website IIRC and the impression I have 6-9 months later is that they were well written. I looked briefly at learning the Android environment last year (before deciding to do some long pending embedded projects instead :-)) and I came to the conclusion that there was nothing in any of the books I looked at in the technical sections of the local bookshops which wasn't already covered by the Android documentation. You may also wish to think about if you want to get into the Android NDK world, or if you wish to remain with the SDK. Simon. -- Simon Clubley, clubley@remove_me.eisner.decus.org-Earth.UFP Microsoft: Bringing you 1980s technology to a 21st century world
On 05/12/2011 11:42 AM, Simon Clubley wrote:
> On 2011-05-12, Tim Wescott<tim@seemywebsite.com> wrote: >> Any good references on programming for the iPhone, iPad, and devices >> using Android? Somehow this looks like a perfect topic for an O'Reilly >> book. >> >> I'm getting rumblings of interest, thought I should check things out to >> see just what it's like... >> > > I don't know about the Apple world, but for Android you may want to start > by reading the Android tutorials and the SDK manuals. The tutorials are > either in the SDK or on the SDK website IIRC and the impression I have > 6-9 months later is that they were well written. > > I looked briefly at learning the Android environment last year (before > deciding to do some long pending embedded projects instead :-)) and I came > to the conclusion that there was nothing in any of the books I looked at > in the technical sections of the local bookshops which wasn't already > covered by the Android documentation. > > You may also wish to think about if you want to get into the Android NDK > world, or if you wish to remain with the SDK.
What do 'SDK' and 'NDK' stand for in this context? -- Tim Wescott Wescott Design Services http://www.wescottdesign.com Do you need to implement control loops in software? "Applied Control Theory for Embedded Systems" was written for you. See details at http://www.wescottdesign.com/actfes/actfes.html
On 05/12/2011 10:52 PM, Tim Wescott wrote:
> On 05/12/2011 11:42 AM, Simon Clubley wrote: >> On 2011-05-12, Tim Wescott<tim@seemywebsite.com> wrote: >>> Any good references on programming for the iPhone, iPad, and devices >>> using Android? Somehow this looks like a perfect topic for an O'Reilly >>> book. >>> >>> I'm getting rumblings of interest, thought I should check things out to >>> see just what it's like... >>> >> >> I don't know about the Apple world, but for Android you may want to start >> by reading the Android tutorials and the SDK manuals. The tutorials are >> either in the SDK or on the SDK website IIRC and the impression I have >> 6-9 months later is that they were well written. >> >> I looked briefly at learning the Android environment last year (before >> deciding to do some long pending embedded projects instead :-)) and I >> came >> to the conclusion that there was nothing in any of the books I looked at >> in the technical sections of the local bookshops which wasn't already >> covered by the Android documentation. >> >> You may also wish to think about if you want to get into the Android NDK >> world, or if you wish to remain with the SDK. > > What do 'SDK' and 'NDK' stand for in this context? >
SDK is the software development kit for Dalvik applications. Dalvik is a Virtual Machine implementation that is platform independent (like Java, but with a different model). NDK is the native version, running directly on the CPU, without a Virtual Machine.
On May 12, 2:04=A0pm, Arlet Ottens <usene...@c-scape.nl> wrote:
> On 05/12/2011 10:52 PM, Tim Wescott wrote: > > > > > On 05/12/2011 11:42 AM, Simon Clubley wrote: > >> On 2011-05-12, Tim Wescott<t...@seemywebsite.com> wrote: > >>> Any good references on programming for the iPhone, iPad, and devices > >>> using Android? Somehow this looks like a perfect topic for an O'Reill=
y
> >>> book. > > >>> I'm getting rumblings of interest, thought I should check things out =
to
> >>> see just what it's like... > > >> I don't know about the Apple world, but for Android you may want to st=
art
> >> by reading the Android tutorials and the SDK manuals. The tutorials ar=
e
> >> either in the SDK or on the SDK website IIRC and the impression I have > >> 6-9 months later is that they were well written. > > >> I looked briefly at learning the Android environment last year (before > >> deciding to do some long pending embedded projects instead :-)) and I > >> came > >> to the conclusion that there was nothing in any of the books I looked =
at
> >> in the technical sections of the local bookshops which wasn't already > >> covered by the Android documentation. > > >> You may also wish to think about if you want to get into the Android N=
DK
> >> world, or if you wish to remain with the SDK. > > > What do 'SDK' and 'NDK' stand for in this context? > > SDK is the software development kit for Dalvik applications. Dalvik is a > Virtual Machine implementation that is platform independent (like Java, > but with a different model). > > NDK is the native version, running directly on the CPU, without a > Virtual Machine.
And we need a NNDK Native Native Development Kit, compiles on the phone itself. NDK compiles on Linux or Window.
On May 12, 10:48=A0am, Tim Wescott <t...@seemywebsite.com> wrote:
> Any good references on programming for the iPhone, iPad, and devices > using Android? =A0Somehow this looks like a perfect topic for an O'Reilly > book.
Actually, it might be more helpful in a hands-on seminar. We are seriously considering a Droid Boot Camp this summer. I can provide all necessary equipments (I got 6 LG VS740 running Android 2.2) and space. ---------------------------------------------------------------------------= ------------------ Android development seminar (one to two weeks) The Android environment is 90% open sources. However, the last 10% is hidden, either by designs or by omissions. We examine the needs and techniques to solve the final issues, in a real design project. By the end of the seminar, we hope to organize a team to fully implement a Local Development Environment to compile and run projects on the phone itself. Review the Android development environments using: Java Development Kit (JDK) Android Development Kit (ADK) Native Development Kit (NDK) Examine the pros and cons of: Android Debug Bridge SD card interface Rooting Explore the implementations of: Local Development Kit (LDK) Native C compiler Native build environment Custom ISO stack Custom kernel
Basic UI programming for iOS is similar to that of Mac OS X. A good book on=
 the latter is "Cocoa Programming for Mac OS X" by Aaron Hillegas (ISBN 978=
-0-321-50361-9). Of course you will need a Mac and Apple's XCode developmen=
t system (3.2 is free, 4.X is $5 from iTunes). There is also a video lectur=
e series from Stanford on iOS programming on iTunes (look under iTunesU). A=
ctually there are several but get the latest (Fall 2010).

The SDK (free)includes an iPhone emulator. To download code into a real dev=
ice requires you to pay $99 to be an iOS Developer (I guess it requires a c=
ode or maybe you have to go through iTunes - I haven't paid as I just want =
to play around).
On 2011-05-12, Arlet Ottens <usenet+5@c-scape.nl> wrote:
> On 05/12/2011 10:52 PM, Tim Wescott wrote: >> >> What do 'SDK' and 'NDK' stand for in this context? >> >
Sorry. I had just assumed you were familiar with the basic Android components and were looking for how to best learn how to use them.
> SDK is the software development kit for Dalvik applications. Dalvik is a > Virtual Machine implementation that is platform independent (like Java, > but with a different model). > > NDK is the native version, running directly on the CPU, without a > Virtual Machine.
The main Android SDK website is at: http://developer.android.com/sdk/index.html and the NDK website is at: http://developer.android.com/sdk/ndk/overview.html The SDK Hello World tutorial, which also covers most of the basic Android SDK tools, (including command line usage if you are not a Eclipse type of person), is at: http://developer.android.com/resources/tutorials/hello-world.html Simon. -- Simon Clubley, clubley@remove_me.eisner.decus.org-Earth.UFP Microsoft: Bringing you 1980s technology to a 21st century world