Tag Archives: apple

IPad, Tool with no Purpose or Technology Masterpiece

iPad? Really?
What is that weird little device that seems to serve no purpose? It’s not a laptop, not phone, not a book nor hot plate.

Well, I am about to find out, and those of you following my blog can too. In fact I’m typing this blog entry with one right now. It’s only spent 4 days in my care to date, but so far this weird ‘little’ thing has engendered itself to me, my kids and a couple of other people whom have had some time to really try one out, beyond a little demo at the local electronics retailer

Even if this becomes little more than an eBook reader, I feel good about the investment. I do think this will find a place in my daily technology and recreation routines.

For instance, I can say already that it’s a fantastic way to enjoy a streamed movie or TV show anywhere you have some network but no TV. My first test of this was to enjoy 3 episodes od Galactica, streamed by Netflix to the iPad. I loved it.

I’ll have much more to say about it as I try out some daily business tasks. One of the first will be setting up some sample photography galleries to show prospective clients.

Another will be use of the device in the day to day administration of systems and IT management.

Stick around as I explore the ups and downs of the iPad over the next month or so.

Along with the iPad I am testing out Apples new Apple TV. Both are getting rave reviews in my house right now.

iPhone tutorial app #5 – images meet the road

Writing code for another iPhone App.

Finally, an app that has moving parts. Things are starting to get interesting.

This next app is again, a View Application (single view). The tutorial indicates that we’ll just have to play some tricks to give the illusion of the changes.. image overlays as you will.

Now.. finally, some code has to be written, so here is the first block that is from the controllers main header file:


hello005ViewController.h

//
//  hello005ViewController.h
//  hello005
//
//  Created by David DeMartini on 10/3/10.
//  Copyright 2010 David DeMartini. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface hello005ViewController : UIViewController {
 IBOutlet UILabel *label;
 IBOutlet UIImageView *uiImageView;
}

// Tell the compiler about these properties of our little object-method pointers
//   nonatomic - let the Apple core code handle the mutability (dynamics) of object
//   retain    - tell compiler that we reserve the right to fuck up our own meory management
@property (nonatomic, retain) IBOutlet UILabel *label;
@property (nonatomic, retain) IBOutlet UIImageView *UIImageView;

// Inform compiler that a Button Action (IB) will be part of this application
- (IBAction)buttonPressed:(id)sendr;

@end

Next, the Implementation file must be written.

hello005ViewController.m

//
//  hello005ViewController.m
//  hello005
//
//  Created by David DeMartini on 10/3/10.
//  Copyright 2010 David DeMartini. All rights reserved.
//

#import "hello005ViewController.h"

@implementation hello005ViewController

// Command synthesis
@synthesize label, uiImageView;  // defined that which needs synthesis

- (IBAction)buttonPressed:(id)sendr {
 
//  This modifies the text in object pointed to by 'label' to this string
 label.text = @"The only thing better than a cute girl, is two!";

 // Defining a pointer to the physical Image file (UIImage)
 UIImage    *imageSource = [UIImage imageNamed: @"top.jpg"];
 // Setting the synthsized object image property to the pointer to image file
 uiImageView.image = imageSource;
}

- (void)didReceiveMemoryWarning {
 // Releases the view if it doesn't have a superview.
 [super didReceiveMemoryWarning];

 // Release any cached data, images, etc that aren't in use.
}

- (void)viewDidUnload {
 // Release any retained subviews of the main view.
 // e.g. self.myOutlet = nil;
}

- (void)dealloc {
 [super dealloc];
}

@end

Now that the primary parts of the code are in place, it’s time to assemble a UI. Adding the main text label (at the top – temporary text displayed for design purposes) and the big button that will cause stuff to execute.

Deep in the UI layout phase using the SDK User Interface Builder.

Shortly after this however, everything went sideways. It would appear there are more brain-dead errors in the book frustrating my progress. It is forcing me to read more and more of the Objective-C documentation than the book suggested I’d have to. But to fix the errors, I must first gain at least a minimum understanding of their nature.

About 5 hours of work. Most of it burned trying to get the last bit of it working… the image swap. Outside of that everything else worked great. With intent to use a fair bit of image swapping when I put the final first app out.. I’d better get a handle on this.


Update: 4-October-2010

After sleeping on it last night, I rebuilt the entire thing from the ground up again. This time going in phases from the initial background image to the label an the button, compiling and executing. That worked perfectly.

Next part I fired up the screen cast the Professor made of him stepping through the process. It then became quite clear (it was not in the book) that the overlay container does NOT reference the second (upper) image directly, but instead is used simply as it’s container. This (of course, being the smart guy I am) made sense the first time around, and I did (what I though) was exactly that. Created a view with not image. Regardless, I re-created my steps this morning, created the empty container, re-compiled and ran. WORKED! Except it looked like doo-doo because the upper level image was NOT properly sized, and the overlay effect did not work. The book (and the screen cast) made it seem like it would expand as required. IT DOES NOT.

iPhone simulator with icon for my 'CuteGirl' app.

So, I referenced the the image view to the top image so I could size and position it to create just the desired effect, then I removed the image association and re-compiled again. This time.. PERFECTION

And the icing on the cake is that it now has a custom icon image for the application. That was pretty simple too. Once I checked online and found that despite what the book said (image size 320×480 which made ZERO sense..) the icon image size should be 57 x 57 pixels and of the format .png (at least the book had the latter part right).


Geek Links:

  • iPhone & iPad Application Custom Icon Design Guidelines
  • Corporation or LLC – that is the question.

    I’ve always been one that is not at all comfortable relying upon a single source of financial well being. Since the early 80’s in one form or another I’ve owned and operated a business.

    Early on I have a little Electronics sales business selling Cell Phones to the well-healed during it’s hayday. It was fantastic. Hardly work, get paid well, and live La Vita Loca.

    I’d take a number of odd jobs during that time, driving computer mag tapes around Silicon Valley, installing car audio systems, systems administrator for a large multi-national corporation, Y2K mitigation for a number of organizations (not the least strange of which was the California Department of Corrections).

    At any rate, as I said, I’m not one that’s comfortable with a single source of income, so I’ve been investigating business structures to determine what my next organization will look like.

    I have plenty of experience being the President and CEO of a corporation, having ran one from 2000 to 2006. The structure offers a lot of advantages, such as dividing income between corporate tax concerns and personal tax concerns. Corporations also have the advantage of having ownership interest in other organizations. But there are also some disadvantages, not the least of which is very strict requirements and regulations on annual meeting, IRS and state tax filings, additional book keeping to track basis and stock ownership (plus managing different classes of stock).

    I was really more of a burden than a blessing to myself, which is to a large degree why I terminated operation in 2006 and became a W-2 wage slave.

    Since that time a number of interesting ideas have popped into my head. One of which are some software product ideas for the iPhone.

    My intent at this point is to move forward on development of 2 concepts. One of which will have a pretty limited market, the other, I hope, to have a much wider market, and is a type of social networking application. The second of which I hope to see wide spread usage. The plan, is for the first app to fund development of the second. That is the plan.

    Before I cut my first line of code, I wanted to know what type of organization I wanted to create. I need to have my business licenses in place, before I complete the Apple Developers Contract. They are quite clear that it won’t be approved for any shoddily / hastily created pseudo-company.

    I’ve done some reason on the Secretary of State’s website, checked a few of the fee structures, and such, but my primary source of research on the business organization from has been from the book LLC or Corporation – How to Choose the Right Form for Your Business“. Author is Anthony Mancuso, Attorney.

    It’s not a long read, about 250 pages, which I spend the last 5 evenings digesting. It’s rather repetitive, which was a little frustrating for me, initially. However, having completed the book I can understand at least one reason for it’s repetitive nature. If anyone were to pick up the book and *not* read the entire thing (why would you do that, well, sometimes I’ve been guilty of poaching the parts of books I need without taking the time to digest the entire tome) they would still get the frame of reference required to get useful information on the topic of interest. I’d say, it’s a modern writing method for the more ADHD nature of our society. In the end, it’s worth dealing with the repetitiveness. It has it’s place.

    Another helpful part of this book is extensive use of examples. More than once I’d read the example 2-3 times to really grok the point, and that was very helpful. The last chapter is also dedicated to some ‘real-world-ish’ examples of business formation decision making. All in all, it was well worth the $25.00 price tag.

    So, what did I decide to do? Well, an LLC is the type that I’ve decided to select for a number of reasons, but the primary ones I’ll list here:

    • Simplicity of formation
    • Limited personal liability for company debt
    • Pass-through tax advantages (this sword cuts both ways though)
    • Fewer operational requirements (no board of directors, meetings, etc.)
    • Simpler tracking of each owners basis in the company

    So, with my new company name selected, and my form of business decided, it’s time to move forward with foundation of the company.

    You know I’ll be sure to post information on that once the State registration has been completed any my licenses granted, EIN number acquired, and finally the domain names registered.

    iPad sales hit 3 million units

    Apple says iPad sales hit 3 million. Wow.. that’s A LOT of people buying something that a lot of the geek cognisti and Windoze apologists said was an under-powered POS that any Windoze tablet (too bad none really exists, isn’t it?) would smoke.

    Sounds like the nay-sayers on this thing need to buy a clue.

    I don’t own one, but I’ve used them. They are VERY slick devices. The UI is wonderfully executed. Personally, I’m going to hold out for the 2nd generation one iPad. With 3 million sold already I think Apple can say they have a hit on their hands! 🙂

    Apple says iPad sales hit 3 million as shares climb

    Also of interest, is reading this article, about how once you go Apple, people tend to not go back to what they were using before:

    What makes Apple so sticky

    For a product that seemed to some ‘experts’ to not have a purpose, or any differentiating quality that would compel people to buy it, I find it amusing that they are having a hard time keeping up with the demand?

    AT&T and iPhone saga continues

    Starting on Memorial Day (2009) my cool, very functional and reliable iPhone, started to piss me off.

    bastards_logoWhile on a motorcycle ride that day, I was unable to receive any signal at all.   My phone kept showing ‘No Service‘.  Traveling with a few other AT&T (non-iPhone users) I found that they had a full 5 bars of AT&T signal.  Great.  My phone is doing something very strange.  Even when I arrived home that evening, the phone was still showing ‘No Service‘.    It was not until the next morning that my phone was showing a signal again.  I wrongfully thought I was out of the woods.

    ip392A few weeks later in Canada, the phone did the same thing;   ‘Searching…..‘   and finally   ‘No Service‘.    Yet everyone else in the group had plenty of access to Rodgers Cellular in Canada.   The most unfortunate part of the experience was that my ATM card had been turned off by Bank of America (another sore point) while in the middle of my trip!  Cutting me off from money, and to top it all off, I could not call them with my non-functional phone!!!!

    Next morning, phone was showing a full signal, and I was able to get a hold of those jackasses at Band of America and get my ATM card re-enabled.

    But signal problems continued back in the US.   Finally,  mid June I got to the AT&T store and explain what’s happening.  This is the same sort where I purchased the phone.   They insisted that the first thing they needed to do was swap out the SIM card.   How that could have any impact on the battery problems I was also having, I was suspicious, but thought maybe it would help with the signal issues.   Didn’t do a damn thing.

    Returning to AT&T store a couple of days later, I find out that they *cannot* perform any sort of hardware swap, exchange or, really anything beyond a SIM card swap on the iPhone.   My options were to wait 2 weeks for a phone to be mailed (no go..  my work requires that they be able to contact me 24×7),  -OR-  drive 30 miles from work (Tacoma), to the outskirts of Seattle, to the uber-geek Apple Store, buried in the South Center Mall.   I hate malls.    After a VERY frustrating 3 hours there, I finally had the phone swapped out, got on my motorcycle and headed to the ferry.  It’s then I really noticed that I had not ‘3G‘ network.   :/   Not a big deal, I was certain I would have it when I arrived here, where I always have 5 bars of 3G.   Turns out, it never did.

    When I had some time to waste, I headed back to the AT&T store to get my network issue resolved.   After 1 hour in the store, I found that they could do nothing, would not even swap the SIM this time.. and they were sending me.. (ta da..)  BACK to South Center, or wait 2 weeks for yet another phone.

    Yesterday I decided to make a day of it, and go out to South Center to swap out he iPhone yet again.    I won’t go into what a cluster it was because nobody told me I needed an appointment the first time, but this time I was prepared, made an appointment at 2:40PM, drove the 70 miles from home to South Center Mall (I hate malls).  I arrived at my 2:40 checking time, and within 5 minutes I was in front of a ‘MAC Genius’  (snicker) and they started the diagnosis process.   This one quickly recognized that I’m not your garden variety tech moron, looked at me and asked in a hushed voice  ‘Well, if you did all the reset tests already, and would just like a new phone, I’ll do that instead of spend 30 minutes doing all the tests’.   Bingo!   I’ll take the phone.    Before it was 3:00PM I was out the door with at FULLY FUNCTIONAL 3G 8GB iPhone.   All covered under the original 1 year warranty on the phone.  Which is good becaue I was have seriously freaked out if the phone I bought last year was not under any sort of warranty!

    This morning I finished ‘rebuilding’ my phone.  Upgrading to iPhone version 3.0,  restored all my contacts, bookmarks and photos.  AND the 3G is still working.   I’m now, a happier camper.

    But it sure was an odyssey in frustration.  And the AT&T corporate store is as useful as a screen door on a submarine.

    Easter Egg Alert:  Every  AT&T hotlink goes to a different non-AT&T website.  There are some interesting stories in there.

    iPhone 3.0 + AT&T == FAIL!

    I was very excited to download and update my iPhone to the latest and greatest version 3.0. It has a lot of great new features in the updated, including cut & paste, network tethering (use your iPhone for mobile 3G internet), and something that is a real pain right now, MMS (Multimedia Message Service — an extension of SMS, which aka ‘texting’).

    This would have been all well and good,  IF   AT&T had gotten off their asses and updated their network in time to support them!    What is most unacceptable, is that EVERY other network provider in the world, supporting iPhone equipment, supports these features!

    Here is a quote from AT&T:

    “We will be offering a tethering plan and MMS for the iPhone,” Mark Siegel, AT&T’s spokesman, said by phone. “But we haven’t announced a date.”

    ref: CNET – Why is AT&T delaying rollout of iPhone tethering, MMS?

    — and —

    “We plan to offer a tethering plan, but don’t have an announcement to make at this time,” the spokesman said. “We absolutely will offer MMS on iPhone 3G S and iPhone 3G with 3.0 upgrades in late summer once we complete some system upgrades that will ensure our customers have the best experience with MMS. These upgrades are unrelated to our 3G network.”

    ref: http://www.wired.com/gadgetlab/2009/06/att-iphone3/

    They have quite an excuse fest ramped up.  I don’t buy it.  AT&T has simply, again, shown it’s lack of vision and it’s  “Were the Monoploy – tough **** attitude”.  If only I had a choice for iPhone provider networks, I’d be gone yesterday.

    Hey AT&T;   You are lucky you are the only game in town.. for now!