Tuesday, August 13, 2013

iOS 7 app icon size and graphics needs, which iPhone/ iPad apps do to support iOS7

Things iPhone and iPad apps for iOS7
  • Update the app icon

    In iOS 7, app icons for high-resolution iPhone and iPod touch are 120 x 120 pixels; for high-resolution iPad, app icons are 152 x 152 pixels.
    iOS 7 doesn’t apply shine or a drop shadow to the app icon. iOS 7 still applies a mask to make app icon corners rounded, it uses a different corner radius than earlier versions of iOS.

  • Update the launch image to include the status bar area if it doesn’t do for existing apps.
  • Support Retina display and iPhone 5 in all your artwork and designs, if you’re not doing so for existing or new app.

Wednesday, April 24, 2013

iPhone and Android : Native app vs Web app

I strongly recommend Native app, why?

1) performance issues, like speed or rendering of view and their responsive-ness on tap/touch -- for rich looks, function smoothly and quickly, views animation native is the best choice!

2) Native SDK has all access to device features and APIs , but in web its very poor (limited); Framework for hybrid apps can help though (but not up to the mark).

3) we experienced: Web apps aren’t ‘write once, run everywhere either anymore. i.e. different layout, browser dependency, java-script engine

4) Discover-ability as app is on app store (and user expects iPhone/android app there) is  more straightforward

5) Push notification, Client server architecture based apps in distributed environment with offline storage 

6) Better operability, runtime diagnostics information, optimized (test and analyze with tools available with XCode iOS SDK and Eclipse ADT ) 

7) Why should not we build app on technology as of existing SDK? i.e. Objective-C based in iPhone and JAVA in android.

*my personal notes/knowledge I gain by learning.

Saturday, March 23, 2013

Robolectric java.lang.RuntimeException: Unable to find path to Android SDK

Error: Robolectric java.lang.RuntimeException: Unable to find path to Android SDK

Fix for MAC OSX Eclipse android project setup with Roboelectric unit test framework:

1) Add Android sdk dir to the bash_profile, first open the file:

sudo vim ~/.bash_profile 
then add the following line:

NOTE: replace ANDROID_SDK_PATH' with the android SDK file path i.e. path to android-sdk-mac_x86; e.g. in my case: ANDROID_SDK_PATH = /Applications/Dev/android-sdk-mac_x86

2) Create a file local.properties in the root directory of your Android project, and add the line:

Error should be fixed; Run your JUnit configuration test project now! ;)

Wednesday, February 27, 2013

testflightapp android is about to get live soon

TestFlightApp Android is in private beta release. Mobile app developer’s will get a unified solution for managing beta-testing on both iOS and Android.

Android developers and testers can now enjoy the benefits of TestFlight including beta management, distribution, tracking, and centralized feedback. TestFlight streamlines the beta-testing process so developers can spend time building better apps vs building tools to manage their beta-testing.

Visit this page to sign up for the Android private beta.


Saturday, September 22, 2012

iPhone 5 graphics default / splash image size and name

Hey geeks!

A new big screen iPhone device (iPhone5) is now in the market, To support this 1/2" bigger screen apple recommends (Following is the Email I received):
"If you are updating your app for iPhone 5 and iPod touch (5th generation), you must provide additional screenshots to support the new screen dimensions for the App Store."

The new screenshot dimensions are:

640 x 1136 (portrait)
640 x 1096 (portrait)
1136 x 640 (landscape)
1136 x 600 (landscape)

To support default splash on retina and non-retina display older iPhone devices, we used to have default.png (320px X 480 px) and default@2x.png (640px X 960px), To support iPhone 5, now we need to add an image of size 640px x 1136px in your resources folder.

name:  Default-568h@2x
Size :  640px x 1136px

Hope this helps!

note: Make sure It meets apple guidelines as well. Its just a information and update to help you guys with my personal notes/knowledge I gain by learning.

Saturday, June 30, 2012

iPhone popover overlay view over navigation controller bar issues & fixes

I was trying to add a popover view to my iPhone app, To get this done there is a nice and popular solution
(i.e.  popover implementation for iPhone with same API as the UIPopoverController for the iPad)
While adding it on navigation controller bar, I found 2 issues:

Issue #1:  It was not appearing on app launch but on app resume.
Solution : In WEPopOverController controller class

- (void)presentPopoverFromRect:(CGRect)rect  inView:(UIView *)theView   permittedArrowDirections:(UIPopoverArrowDirection)arrowDirections animated:(BOOL)animated {}

change  from [keyView addSubview:backgroundView];
to [theView addSubview:backgroundView];

Issue #2. It was hidden behind nav bar.
Solution : With Instance of WEPopoverController, presentPopoverFromRect:inView:permittedArrowDirections:animated:, Instead of presenting it in self.view I have presented it further up in the view hierarchy (I did in self.view.window)