Showing posts tagged iphone

Apple, What Are You Doing?

This is my thoughts about the new iPhone that Apple just introduced today. I’m writing this as I watch the keynote. (it was written yesterday at night so I decided to publish it today. I haven’t reviewed or modified it.)

iPhone 5

The name

Seriously Apple? I really loved that you called the iPad 3 the new iPad, which is a lot better for you and for the people since now most of what you’re going to do is just do some iterations like you did from the iPhone 4 to the iPhone 4S. Calling it the iPhone 5 makes no sense.

The bigger screen

That looked like a nice addition in the beginning, but it will become a hell. A lot of apps are going to have those crappy bars, could you guys do what Android does and just re-align the pixels? Most of the apps really have no reason to “take advantage” of that bigger screen. Also that aspect ratio is just the worst one ever. It will also start a little more fragmentation to the platform.

That back

Seriously that back looks like a generic chinese phone back. It is just so ugly. I would prefer if it was made all of the same color/material which would make a lot more sense.


Stock Apps

Shared Photo Stream

Haha, I had to laugh when I saw this. That’s really the worst thing ever. They forgot that today our friends have different devices, usually they are half iOS users and half Android users, also Instagram does this a lot better and in a lot better and more social way.

Siri

Nice new additions to Siri (I’m talking about the sports stuff). I hope that’s international because if that’s only for the USA you just made a stupid decision.

iTunes

The new additions to iTunes were really awesome. The new Mac app UI is really great. I loved the clean interface.


iPod

The nano

The new iPod nano is really awesome and a lot better than the current generation. If I didn’t used my phone as my music player I would buy it for sure. By the way I still can’t understand why someone would use the iPod nano to watch a movie or look at photos.

The touch

The back really looks like crap. It’s really thin and light, but the only market for that is kind of device is for children that their parents doesn’t want to give them a smartphone. Also I had a “WTF?!” moment when they showed that wrist wrap they are calling iPod touch Loop.


Conclusion

Sadly Apple haven’t got me back. I’ll continue to develop for BlackBerry, I think they are doing a better work to innovate with BlackBerry 10.

How To Setup And Use NativeControls In PhoneGap

NativeControls

As many might know the most used plugins in PhoneGap for iOS are NativeControls and ChildBrowser, but installing plugins is a bit tricky and you can’t easily find this kind of help around the internet, for example in my case I’ve learned by reading about plugins installation in PhoneGap and doing tests, so on this post I’ll cover the entire setup and usage of NativeControls (but you can use this for any other plugin in the iOS repo) in a very simple and informative way that even a PhoneGap beginner can understand. I’ll assume that you’ve already had installed and configured the Xcode environment on your Mac and is familiarized with the latest version of it. The first thing you must do is download the phonegap-plugins repo archive and extract it anywhere you like. Now go to the extracted folder and go to iPhone/NativeControls and copy the NativeControls.h and NativeControls.m to the //Plugins folder on Xcode, then move the NativeControls.js to your desired place in the www folder. After all this copying and pasting you must open your PhoneGap.plist under //Supporting Files and add a new item to the Plugins array with the Key and Value NativeControls and the Type String, at the end your project should look something like this:

Xcode

Now you’re ready to start diving into the code. The first thing you should do is include the required Javascript files into your index HTML source in this order:

The next thing to do is go to your main Javascript file, which contains the onDeviceReady event set and put the NativeControls initialization code there. On this example we are going to use the TabBar component to output something like this:

TabBar

As you might have noticed I’m using the Glyphish Pro icon pack there, which you can get for $25, but it’s worth every cent, since it’s such a complete icon pack for your TabBars and more. First of all you should initialize a NativeControls variable and create a assign a TabBar to it using this code:

Then you can start creating a icon/button for a tab using this JSON structure:

The first item is the name variable, the second is the icon label, the third is the icon path and the last one is a function that should be called every time icon is clicked. Be aware that you should insert the icon path relative to the project folder! About retina icons I really encourage you to check out this explanation on how to organize them. After you added all the icons you want to the TabBar you should show it in the screen. Then start to place the icons (the order you declare on this function they will get placed) and finally assign a TabBar to be active as the app is fired, just like this:

If you want you can choose from the pre-defined TabBar icons that Apple include by default on their SDK by using these keywords as the icon item:

  • tabButton:More
  • tabButton:Favorites
  • tabButton:Featured
  • tabButton:TopRated
  • tabButton:Recents
  • tabButton:Contacts
  • tabButton:History
  • tabButton:Bookmarks
  • tabButton:Search
  • tabButton:Downloads
  • tabButton:MostRecent
  • tabButton:MostViewed

Remember that the label will be unusable since these will overwrite it, but you should put something on the label item or it won’t work. I’ve uploaded the full source code to my Gist and you can check it out at Example of NativeControls in PhoneGap. After all this hard work you’re ready to compile your application and test it. If you followed the instructions correctly everything should work. If anything goes wrong please drop us a comment and will be my pleasure to help you. Also leave a comment with your thoughts on this article or suggestions.

The Perfect App For Cydia App Developers

Sometimes Apple reject apps that I develop and so I have to publish them at Cydia. The problem is that you need to make your icon design manually instead of letting Apple crop, add the glass effect and the shadow. Today I was searching at Google for this and I found a great app on Cydia called IconMaker, it does all the work for you instantaneously and just by clicking a button.

Every year it’s the same thing, at the same times too.

Every year it’s the same thing, at the same times too.

Google Taking Advantage of Safari’s Security Flaws

So today Google was caught taking advantage of a Safari (and Mobile Safari) security hole. They were able to store cookies even if the user doesn’t have their browser cookies enabled, so Google could know if the person is logged in to their network and use the information to activate the +1 buttons, also they affirmed that the cookies do not collect personal information.

I think this is a very fair point and since the security hole is known since 2010 and Apple has yet done nothing to correct it the best thing Google can do is take advantage of it to deliver a better experience to their end user.

The iPhone Has a Special Flavor For Sure

I have a lot of mobile devices, including a Galaxy S, a HTC Titan and a iPhone 4, which are my daily drivers. I always carry them with me wherever I’m going, but as soon as I get back to my iPhone I feel a lot better.

For some strange reason iOS has everything I need and want. It looks like I’m a lot more productive while I’m using it. Apple really made it right, just like the Macs and Mac OS X.

PS: This post was made using my iPhone