Posts tagged ·

iPhone

·...

Touch (-ing) a Roku and a Book

no comments

I received an iPod Touch for Christmas and so with wife’s iPad I have both form factors available.  Though both are “retina” I think so I might need to find an older iPhone or touch to make sure.

Also got a Roku XD/S which seems to need a iPod app to remote control it.  The one’s I find extant seem to be for the Soundbridge, not the Streaming Player. Seems fairly easy to program a remote controller; I found the SDK docs here.  “The External Control Guide” shows that the Roku is discoverable with SSDP and controllable with simple HTTP POSTs, such as

POST /keypress/Home HTTP/1.1

Also, I went to Borders with a gift card and left with Advanced iOS 4 Programming: Developing Mobile Applications for Apple iPhone, iPad, and iPod touch by Maher Ali.  But I returned it a few day’s later because it’s like $29 less from Amazon with free shipping.  (!)  What do I do with my Border gift card now?

the future without Apple

no comments

On July 26th, the Librarian of the Library of Congress allowed that jailbreaking is not an infringement of the DMCA.

Here is the press release:
Librarian of Congress Announces DMCA Section 1201 Rules for Exemptions Regarding Circumvention of Access-Control Technologies

and an excerpt:

Persons who circumvent access controls in order to engage in noninfringing uses of works in these six classes will not be subject to the statutory prohibition against circumvention.

(2) Computer programs that enable wireless telephone handsets to execute software applications, where circumvention is accomplished for the sole purpose of enabling interoperability of such applications, when they have been lawfully obtained, with computer programs on the telephone handset.

See the Wiki page on jailbreaking the Apple iOS.

What will be the effect of this?  I have already heard of a web site you can display in Safari on your iPhone that will allow you to jailbreak it with the push of a button. <Jailbreakme>

Will there be competing App Stores?  A lot of people don’t like to use iTunes, now can there be alternatives? Bittorrent app on your iPad?

An iPhone is a wireless telephone handset so it would be including in this decision. How about an iPod touch? An iPad with or without 3G. An iPod touch or iPad with a skype app or installed?   Or, actually, I would think that having the Facetime app installed (or similar, competing) makes anything a wireless telephone handset.

Seriously, it would be nice to be able to develop an app, using Xcode, package it and distribute it to your friends without going through the Apple app store.  Or conduct a Beta test with a large group of people all over the world.

rotating

no comments

To get the HelloWorld to autorotate is just too simple.  Update the xxxxViewController.m and uncomment the shouldAutorotateToInterfaceOrientation method, and have it return a YES value.


// Override to allow orientations other than the default portrait orientation. –
(BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation {
// Return YES for supported orientations
return (YES); }

But, then, rotated, things aren’t centered properly:

iPad uncentered after autorotate

iPad uncentered after autorotate

so, fixing that will be the next thing I suppose.

I like O’Reilly books….

Nr. 1 simulating iPhone

no comments

Found the answer to my simulator question, how to get Xcode to launch the simulator in iPhone mode instead of iPad mode for a universal app. See here.

  1. Build your application for the Simulator 3.2 SDK. Just build (⌘B) it, not ‘build and run’.
  2. Change your target SDK to ‘Simulator – 3.0’.
  3. Run (⌘⌥R) or Debug (⌘⌥Y) your application.

A bit of a kludge, but thanks Alan, this seems to work.

Did you want to buy an iPad?   [amazonify]B00365F6G4[/amazonify]

Nr. 1

no comments

Write your first iPod app: article

HelloWorld sample app on iPhone simulator

Hello You?

Being me, I had to do a little extra just to stress myself.  I made HelloWorld a “universal” app–which means it should work on the iPhone (and iPod Touch) as well as the iPad.  I used two nibs.  Build and Run always seems to bring up the iPad view in the simulator–have to figure out how to get it to run the iPhone.

It occurs to me that one of the reasons Apple is so successful is due to the very large amount of developer documentation available. IBM and Microsoft are/were pretty good at that too. It’s a monumental task to keep documentation up to date. So much of what is in the Apple OS dates back to NeXT which starting in 1985. ( Wikipedia article).

testing

no comments

I’m trying to come up with a list of restrictions in the iPad/iPhone environment. I’ll be working on that and keep track of them on a different page. In the meantime, one that is annoying me at the moment is that it appears that I cannot test an app on a real device without paying the $99 to join an iPhone Developer Program.  I think there should be a way to, at least, add an app to iTunes & sync.  Hmm.

Switch to our desktop site