Mobile City

Join Hands to Build a Smarter India: Sign in | Join now
   Mobile City >> Expert Column
Dont Miss Experts ( 1-4 of 12 )
How to Build a NewsStand
Sourabh Shroff
Sourabh Shroff
Senior Software Engineer
Sourabh Shroff is a Software Engineer from Mumbai University. He has worked in application domain... more>>
These days everyone is talking about mobile and smartphones. Being in the mobile domain I always like to ask executives and businesspeople what is their mobile strategy? Is their organization adapting to mobile? How mobile will change their value proposition??

The other day I was speaking with a journalist and I asked him whether their organization is adapting to mobile. He replied “Actually we don’t know how to go about it.” So I decided to guide him and share with everyone else also.

With the release of iOS5, magazines, newspapers and journals app subscriptions will be in a Newsstand which is a folder that lets you organize your favorite publications easily.


What is the unique feature of the newsstand application?
Instead of slotting into iBook, Newsstand discovers its separate place with new app store for newspaper, magazines and journals. The Icons will be similar to the cover of newspaper or magazines and those Icons can be updated in real time as and when new issue arrives. Also these icons are not like normal app icons but this resembles with the cover of the newspaper or magazines.

How do we create a NewsStand?
Some changes needs to be made in the “info.plist” as depicted in the figure below.




To separate the newsstand app from normal app we need to add one Boolean key in info.plist. The “Application present content in newsstand” needs to be set to “YES”.

OR in XML form

key>UINewsstandApp/key>
true/>

The “Icon files (iOS5)” is a dictionary having 2 keys
1.    Newsstand Icon
a.    “Icon files” Specify the name of Icon file for newsstand. It could be
i.    Normal Icon (icon_newsstand.png)
ii.    Retina display Icon (icon_newsstand@2x.png)
b.    “Binding type” defines the type of newsstand, it could be
i.    Magazine
ii.    Newspaper
c.    “Binding edge” could be
i.    Left
ii.    Right
iii.    Bottom
2.    Primary Icon –Specify the Normal app icon file name.
a.    Normal Icon (icon.png)
b.    Retina display Icon (icon@2x.png)

OR in XML form
key>CGBundleIcons/key>
dict>
    key>CFBundlePrimaryIcon/key>
    dict>
        key>CFBundleIconFiles/key>
        array>
        string>Icon.png/string>
        string>Icon@2x.png/string>
        /array>
    /dict>
    key>UINewsstandIcon/key>
    dict>
        key>CFBundleIconFiles/key>
        array>
        string>NewsstanIcon.png/string>
        string>NewsstanIcon@2x.png/string>
        /array>
        key>UINewsstandBindingType/key>
        string>UINewsstandBindingTypeNewspaper/string>
        key>UINewsstandBindingEdge/key>
        string>UINewsstandBindingEdgeBottom/string>            
    /dict>
/dict>

To download content of newsstand app in background we need to add one more array key in info.plist
“Required background modes” and add item as “newsstand-content”

OR in XML form

key>UIBackgroundModes/key>
    array>
    string>newsstand-content/string>
    /array>

Experts on Mobile
Harshvadan  Jani
Sr. Manager
IDEA Cellular Ltd
Sumanth  S
Principal Engineer
Yahoo
Vivek  Juneja
Engineer
Torry Harris
Vishwesh  Jirgale
Chief Tech Architect
AgreeYa Mobility
Mohith  Mathur
Sr Software engineer
Symantec
Bharathi Raja M
Art Director
Trellisys
Bhuvan  Khanna
Business Head
Webonise Lab
Kedar P Bhise
Head Mobility CoE
Zensar Technologies
SiliconIndia About Us   |   Contact Us   |   Help   |   Community rules   |   Advertise with us   |   Sitemap   |   Question & Answer
News:       Technology   |   Enterprise   |   Gadgets   |   Startups   |   Finance   |   Business   |   Career   |   Magazine  |   Newsletter   |   News archive  
Cities:        CEO   |     Startup   |   Mobile   |   CIO   |   Women   |   BI   |   HR   |   SME   |   Cloud   |   Marketing   |   QA   |   Java   |   Web Developer  
Community:      Members   |   Blogs   |   Mentorship   |   Indian Entrepreneurs   |   Gyan   |   Advice   |   Community   |   Find   |   Events   |   CXO Insights  
Job Board:      Jobs   |   Freshers   |   Companies   |   HR Speak   |   Forum  
Online Courses:   Web Developer   |   Java Developer   |   CCNA Training   |   SEO   |   SAS   |   SQL Server 2005   |   J2EE
Education:   MBA   |   MCA   |   Engineering   |   Overseas Education   |   Training Institute
Life:          Real Estate   |   Travel   |   Finance   |   Gadgets   |    Products   |   Movie Reviews   |    Jokes   |   Videos 
Send your and help us continue to improve SiliconIndia
© 2013 SiliconIndia all rights reserved