Posts

Showing posts from 2014

How to Debugging iOS App - Crash Log Analysis

Nice Article on Demystifying iOS Application Crash Logs http://www.raywenderlich.com/23704/demystifying-ios-application-crash-logs  

Any other OCR Library out there?

http://code.google.com/p/tesseract-ocr/  

How to Create a PDF from a UIView?

http://stackoverflow.com/questions/4362734/ios-sdk-programmatically-generate-a-pdf-file http://stackoverflow.com/questions/5176360/how-to-create-pdf-document-using-iphone-sdk?lq=1 http://stackoverflow.com/questions/15813005/creating-pdf-file-from-uiwebview   Quick Look for viewing documents https://developer.apple.com/library/ios/documentation/QuickLook/Reference/QuickLookFrameworkReference_iPhoneOS/index.html http://www.cocoanetics.com/2010/06/rendering-pdf-is-easier-than-you-thought/  

How does WhatsApp Work?

Here are the links   http://www.quora.com/How-does-messaging-work-in-WhatsApp https://blog.grobox.de/2014/whatsapp-end-to-end-encryption-federation/ https://whispersystems.org/blog/advanced-ratcheting/   .NET Library http://code.google.com/p/jabber-net/downloads/list

How to Handle revoked SSL certificate on iOS?

I need to identify and restrict calls to the server (web service) if server certificate is revoked. I am able to restrict the service call if certificate is “invalid", but if the certificate is “revoked” the restriction is not working.  Case 1: (Working) URL: https://www.drobnik.com/ For this URL, certificate is “untrusted” (firefox Error code: ssl_error_bad_cert_domain). In this case, restriction from NSURLConnection is working fine, i.e. request is getting terminated. For untrusted certificate i.e. www.drobnik.com, NSURLConnectionDelegate method - (void)connection:(NSURLConnection *)connection didFailWithError:(NSError *)pError gets called. The error object is as below. Error Domain=NSURLErrorDomain Code=-1202 "The certificate for this server is invalid. Case 2: (Not Working) URL: https://revoked.grc.com/ For this URL, certificate is “revoked” (firefox Error code: sec_error_revoked_certificate). In this case, restriction from NSURLConnection is not working, i

How to Integrate an iOS App with mBaas Parse?

Integrate with Parse http://www.raywenderlich.com/19341/how-to-easily-create-a-web-backend-for-your-apps-with-parse   Other Options http://www.raywenderlich.com/20482/how-to-choose-the-best-backend-provider-for-your-ios-app-parse-vs-stackmob-vs-appcelerator-cloud-and-more  

Swift Basics

http://www.youtube.com/watch?v=DGt1yBxBw9k&list=UU7fIuG6L5EPc9Ijq2_BCmIg   Part 1 http://www.raywenderlich.com/74438/swift-tutorial-a-quick-start   Part 2 http://www.raywenderlich.com/74904/swift-tutorial-part-2-simple-ios-app  

Any more info on iBeacon?

There are companies that provide hardware and SDK that is compliant with iBeacon that will work for iOS and Android. http://estimote.com/ https://www.gimbal.com/   Take a look at these as well to get more idea. Other list of hardware vendors is at http://www.ozomedia.nl/tip/ibeacons-list-hardware-compatible-with-apples-ios/   Some other companies http://proximi.io/ibeacon-compatible-hardware/ http://www.shopjoy.se/ http://kontakt.io/ http://stevecheney.com/how-apple-ibeacon-will-transform-local-commerce/ http://beekn.net/page/2/  

My UITableView is very Jerky!!

Here is what I was reading briefly yday. See if this provides any ideas.   http://stackoverflow.com/questions/7213186/uitableview-gets-jerky-while-scrolling-because-of-custom-cell-creation http://stackoverflow.com/questions/14538530/tableview-slow-jerky-scrolling-due-to-egoimageview-cache https://teamtreehouse.com/forum/uitableview-scrolling-is-choppy-when-displaying-images-from-web http://stackoverflow.com/questions/9159519/uitableview-experiences-choppy-scrolling-when-cell-has-a-uiimageview-subview http://stackoverflow.com/questions/3248201/why-is-scrolling-performance-poor-for-custom-table-view-cells-having-uisegmented http://www.raywenderlich.com/forums/viewtopic.php?t=3714&p=22648

Chrome Beta is here

Thanks to Anup for sharing it https://www.google.com/intl/en/chrome/browser/beta.html  

Any link for Mobility Design Guidelines?

Thanks to our friend Rahul for this link http://static.googleusercontent.com/media/www.google.com/en/us/intl/ALL_ALL/think/multiscreen/pdf/multi-screen-moblie-whitepaper_research-studies.pdf  

How does Aglie favour Democracy?

http://agilekarma.com/2014/09/10/story-points-or-how-agile-creates-democracy-in-estimates/  

How many constituencies in Pune District?

Image
Pune District has a total of 21 Vidhan Sabha constituencies. 11 constituencies in Pune City 10 constituencies in rural area of Pune The 11 Vidhan Sabha constituencies in Pune City are - The 11 constituencies in Pune City come under one single Taluka; the Haveli Taluka. Each rural constituency maps to a Taluka of the same name. The only exception is the constituency 203-Bhor which contains 3 taluka. Click Here to see the map of 13 Talukas in Pune district. A Mapping of rural constituencies to their Taluka is given below. Source http://vote-easily.weebly.com/find-your-constituency.html

Should I choose GitHub or Bitbucket?

http://www.infoworld.com/article/2611771/application-development/bitbucket-vs--github--which-project-host-has-the-most-.html   Some More Git Info http://git-scm.com/book http://git-scm.com/videos  

Any Good Beginner Tutorial on Angular?

Here you go.... https://www.youtube.com/watch?v=QETUuZ27N0w

Any Good Audio Libraries?

http://en.wikipedia.org/wiki/FFmpeg   Cross Compiling it for iOS https://blog.fh-kaernten.at/wehr/?p=1764   Cross Compiling it for Android http://stackoverflow.com/questions/9605757/using-ffmpeg-with-android-ndk  

ASP vs .NET

Maintainability – In future they will need two skill set people with classic ASP and .NET. Code base – As a part of maintainability also as the .NET code  base is lesser in size typically Performance - Classic ASP is using Inline Queries. We are planning to use entity framework and that performance is good. Outdated technology- No object orientation concepts in ASP and .NET code is more structured and modular Security- SQL injection has been implemented in current codebase using ASP but you are never sure. Newer frameworks are always more secure. Browser Support - Browser support is limited in ASP. Browser compatibility has to be sorted out with many workarounds. Faster Development time – Future enhancements will be faster as in ASP you have to build a lot of functionality yourself, where as in .NET has in build feature

How does iOS Deep Linking Work?

Thanks to our friend Parimal to have sent this.   Default URL Schemes provided by Apple https://developer.apple.com/library/ios/featuredarticles/iPhoneURLScheme_Reference/Introduction/Introduction.html   Inter-App Communication using Custom URL Schemes https://developer.apple.com/library/ios/documentation/iPhone/Conceptual/iPhoneOSProgrammingGuide/Inter-AppCommunication/Inter-AppCommunication.html   Examples: http://blog.mobiloitte.com/deep-linking-101/ http://blog.originate.com/blog/2014/04/22/deeplinking-in-ios/    

iOS Code Review Additional Points?

Here is a good link on SO http://stackoverflow.com/questions/155964/what-are-best-practices-that-you-use-when-writing-objective-c-and-cocoa  

ADF vs Other Tools

Thanks to a conversation with Pavan here it is….   Debugging is a hassle Visual Layout is good in ADF ADF you need to deploy and you can see so time takes to do. Web UI in ADF compared to Titanium Many UI components in ADF compared to Titanium e.g carousel If you make a mobile ADF you are all set for ADF Web and Web Service so skills are transferrable Good tools to connect with Database using pre-defined libraries in ADF compared to ADF Landscape and Portrait is difficult to ADF Accommodating Different Screen sizes is difficult in ADF ADF has less documentation Oracle based ADF integrates well with Oracle Tools like Web Logic and DB etc Android and iOS need CSS change to accommodate Data driven app only good for ADF. No hardware access etc. Modules can be created using ADF (like a jar file) Multilingual Support is easier in non ADF

Where are the Android Emulator Shortcuts?

http://developer.android.com/tools/help/emulator.html#controlling  

Writing Appcelerator iOS Modules?

This will help https://wiki.appcelerator.org/display/guides2/iOS+Module+Development+Guide  

Any libraries for charting in HTML/JS?

http://demos.telerik.com/jsp-ui/  

Where are the WWDC Videos?

https://developer.apple.com/videos/wwdc/2012/ https://developer.apple.com/videos/wwdc/2013/ https://developer.apple.com/videos/wwdc/2014/  

Can we have Cross Domain Calls using PhoneGap?

  http://stackoverflow.com/questions/21297169/cors-and-phonegap-apps http://stackoverflow.com/questions/13908158/handling-cross-domain-calls-on-phone-gap http://docs.phonegap.com/en/1.8.0rc1/guide_whitelist_index.md.html#Domain%20Whitelist%20Guide    

The Basics of Reading Music - By Kevin Meixner

http://readsheetmusic.info/readingmusic.shtml

Where are WWDC 2014 iOS Videos?

https://developer.apple.com/videos/wwdc/2014/?id=402  

Any Pros and Cons of Top Cross Platform Tools?

http://www.developereconomics.com/pros-cons-top-5-cross-platform-tools/  

I want to check the performance of my Mobile Web Site?

This will surely help http://mobitest.akamai.com/m/index.cgi    

What OS Versions are being Used by Android and iOS?

iOS https://developer.apple.com/support/appstore/   Android http://developer.android.com/about/dashboards/index.html    

Any library for UnZip on iOS?

http://stackoverflow.com/questions/412982/iphone-unzip-code  

Any Mechanism for Web Caching in iOS?

https://github.com/rnapier/RNCachingURLProtocol https://developer.apple.com/library/ios/documentation/cocoa/Conceptual/URLLoadingSystem/Concepts/CachePolicies.html    

Where are some SalesForce Playlists?

Here they are   https://www.youtube.com/watch?v=2Bkbr-q00hs&list=PLF5C1A684ED0DD117 https://www.youtube.com/user/salesforce/playlists    

What is ISIS Mobile Wallet

You need a Compatible phone  with Near Field Communication Enhanced SIM card  with secure element—designed to store and protect your payment information. Their App and you can start paying contactless anywhere   https://www.paywithisis.com/learn.html    

What is Gimbal Pricing?

https://manager.gimbal.com/fee-schedule  

Any JS Encryption Libraries available?

http://stackoverflow.com/questions/793812/javascript-aes-encryption

What is Basic PhoneGap Architecture Like?

Image
  Source

Good Links for PMI Certification.

Here are a few suggestions: 1) Book (and other material) by Mike Griffiths - http://www.rmcproject.com/product/agile_prep.aspx 2) Online Course by Saket Bansal- http://www.izenbridge.com/pmi-acp/online-course/ 3) LinkedIn Groups 4) Discussions from the past on this group. Look at the files section as well. 5) Prep notes - http://pmi-acpexam.blogspot.in 6) Info from PMI - http://www.pmi.org/Certification/New-PMI-Agile-Certification/PMI-ACP-Exam-Prep.aspx

What are the Drawing basics

Image

Can PhoneGap work with local SQLite databases?

Short answer Yes   Long Answer http://stackoverflow.com/questions/9202354/can-phonegap-work-with-local-sqlite3-databases http://mindfiremobile.wordpress.com/2014/02/25/integrate-sqlite-plugin-in-phonegap-ios-application/comment-page-1/ https://github.com/lite4cordova/Cordova-SQLitePlugin https://github.com/nareshr/SQLite-Plugin http://community.phonegap.com/nitobi/topics/how_to_add_sqlite_plugin_to_phonegap_build_for_iphone_and_androin http://docs.phonegap.com/en/2.0.0/cordova_storage_storage.md.html https://github.com/davibe/Phonegap-SQLitePlugin  

How is AES different than SHA?

SHA belongs to the family of "Secure Hash Algorithms". You use the SHA functions to take any data like a document/password/text etc. and compute a "digest" or "hash" of the data. It's important to realize that this is a one-way process . You can't take back a hash/digest and get back the original data. MD5 or SHA are both crypto hash functions http://en.wikipedia.org/wiki/Cryptographic_hash_function       AES, on the other hand, is used to encrypt data, or prevent people from viewing that data with knowing some secret. AES is a family of functions called Symmetric-key algorithm that uses a shared key which means that the same key (or a related key) is used to encrypted the data as is used to decrypt the data at the receiver. This is different than Public-key cryptography family of algorithms that use a public key such PGP or SSL. http://en.wikipedia.org/wiki/Symmetric-key_algorithm    

Group Assignment Topics - 2014 Batch One

Group 1 Face Recognition http://stackoverflow.com/questions/10272129/face-recognition-on-the-iphone http://stackoverflow.com/questions/4856929/face-recognition-in-opencv http://stackoverflow.com/questions/7949494/how-to-do-face-recognition-using-opencv     Group 3 Core Motion/CoreLocation https://developer.apple.com/library/ios/documentation/CoreMotion/Reference/CoreMotion_Reference/_index.html Core Graphics/CoreImage/CoreAudio/CoreMedia https://developer.apple.com/library/ios/documentation/CoreGraphics/Reference/CoreGraphics_Framework/_index.html     Group 2 CoreAnimation/QuartzCore https://developer.apple.com/library/mac/documentation/Cocoa/Conceptual/CoreAnimation_guide/Introduction/Introduction.html     Group 4 iBeacon http://support.apple.com/kb/HT6048      

Any other tools for iOS?

·          Clang static analyzer : free, up-to-date stand-alone tool that catches more issues than the version of Clang included with Xcode 4. Active project. -- visit   http://clang-analyzer.llvm.org ·          Doxygen : free documentation generation tool that also generates class dependency diagrams. Active project -- visit   http://www.stack.nl/~dimitri/doxygen ·          HFCCA   (header-free cyclomatic complexity analyzer): free Python script to calculate code complexity, but without header files and pre-processors. Supports output in XML format for Hudson/Jenkins builds. Active project. -- visit   http://code.google.com/p/headerfile-free-cyclomatic-complexity-analyzer ·          CLOC   (count lines of code): free tool to count files, lines of code, comments, and blank lines. Supports diffing, so you can see the differences between builds. Active project. -- visit http://cloc.sourceforge.net ·          SLOCcount   (source lines of code count): a free tool to count lines of code and

Pick your poison

http://www.slideshare.net/effectiveui/pick-your-poison-mobile-web-native-or-hybrid-denver-startup-week-october-23-2012  

Any Mobile Payment SDKs?

https://developers.google.com/wallet/ https://developer.paypal.com/webapps/developer/docs/classic/mobile/gs_MPL/ https://www.paywithisis.com/  

75 Essential Tools for iOS Developers - Ben Scheirman

http://benscheirman.com/2013/08/the-ios-developers-toolbelt/

Any Function Points Calculator out there?

http://developergeeks.com/functionpoint.aspx  

Any Good UI Automation Frameworks out there?

Here they are for the 2 main platforms   iOS UI Automation Calabash Appium KIF Submliminal Jasmine GHUnit KIWI OCUnit WebDriver Siesta Frank OCMock Zucchini     Android Roboelectric WebDriver Siesta Appium Calabash Robotium UIAutomator Selendroid Spoon Espresso

Any good logging options in iOS?

Try LumberJack https://github.com/CocoaLumberjack/CocoaLumberjack  

What is AWS opsWorks?

http://aws.amazon.com/opsworks/  

What is MEAN?

Thanks to our friend Jaimin   MEAN - A fullStack javascript framework powered by  MongoDB, ExpressJS, AngularJS, NodeJS http://www.mean.io/ This MEAN stack (Mongo, Express, Angular, Node) may one day surpass the simplicity of the LAMP stack (Linux, Apache, MySQL, PHP) for web application development and deployment.    

Where are some good ADF videos?

Thanks to Vishal Here are the links  

Mobile Enablement for the Enterprise - An overview

In the present day enterprise, the employees want access to the complete suite of enterprise applications. In addition to this, the network resources and any business tools they use at work are also needed on demand and that too on their devices of choice. A hunger for apps, data, resources and device independence, all these expectations add up to a requirement for a more creative enterprise enablement within the boundaries of the companies IT governance policies. Hence Mobile Device Management (MDM) has become of utmost importance for anytime anywhere access to enterprise data.   Companies use MDM to extend basic enterprise IT services like email, VPN and Wi-Fi access, while at the same time bringing devices under some form of control. When an employee leaves the company or a device is lost, MDM can restrict device usage that may leak proprietary data. MDM can wipe the entire device, including both corporate and personal data or also blacklist certain risky apps with cloud connectors

How to setup Oracle ADF

Here it is http://docs.oracle.com/cd/E35521_01/doc.111230/e24475/setup.htm

How to hard reset a Nokia Lumia?

Image
Note: Nokia has issued an additional set of instructions should the above method not work to reset your phone.

What is ACRA?

Tell me more about ACRA http://acra.ch/  

What are the options for me to use Database in Hybrid Mobile Apps?

Here are the 4 options for having DB support in PhoneGap Apps   HTML5 LocalStorage WebSQL IndexedDB Plugin-Based Options (org.apache.cordova.file or http://plugins.cordova.io/)

Can I bulk upload CSV into mBaas?

  http://blog.parse.com/2012/05/22/import-your-csv-data-to-parse/   http://devcenter.kinvey.com/rest/guides/datastore   https://developer.stackmob.com/  

Where can kids learn Logo?

http://mswlogo.en.softonic.com/download http://en.wikipedia.org/wiki/List_of_Logo_Commands#cleartext http://ccl.northwestern.edu/netlogo/docs/tutorial3.html http://www.bfoit.org/Intro_to_Programming/IntroCmds.html http://el.media.mit.edu/logo-foundation/logo/programming.html

How to create Titanium Modules?

https://wiki.appcelerator.org/display/tis/Creating+a+New+Titanium+Module http://vimeo.com/31868247  

Words of Wisdom - From Zia

"A leadership role is NOT a reward for past performance. Its a bet on the future" Harvard Law Professor

I have uploaded the APK to Google Play but can't publish?

You may have to acknowledge the content and export compliance before you can publish on google play servers. See links below https://support.google.com/googleplay/android-developer/answer/113770 https://support.google.com/googleplay/android-developer/answer/113469?hl=en&ref_topic=3450986  

Look at this amazing simple presentation.

Thanks for sharing this Tanveer Sir. Really inspiring and helpful for anyone presenting to a larger group to keep them engaged.   From: Tanveer Saulat Sent: Tuesday, February 04, 2014 4:39 PM Subject: Look at this amazing simple presentation.   http://www.youtube.com/watch?v=3G9Sotw4aAI   Tanveer Saulat GM http://www.synechron.com  

Few Apple KeyNotes

iPhone4 Introduction - http://www.youtube.com/watch?v=z__jxoczNWc iPhone5 Introduction - http://www.youtube.com/watch?v=82dwZYw2M00 WWDC 2011 Steve's Last Keynote - http://www.youtube.com/watch?v=zHZf9wr2Ak8  

Some Good Info on Objective C Threads etc?

http://www.objc.io/  

Other than Jenkins is there a CI for iOS?

https://developer.apple.com/library/ios/documentation/IDEs/Conceptual/xcode_guide-continuous_integration/000-About_Continuous_Integration/about_continuous_integration.html#//apple_ref/doc/uid/TP40013292-CH1-SW1  

How do I know if SamSung S is HDPI?

http://blog.blundell-apps.com/list-of-android-devices-with-pixel-density-buckets/  

Want to know more about Titanium?

Check these links http://docs.appcelerator.com/platform/latest/   http://vimeopro.com/appcelerator/building-native-mobile-applications/video/26414617   http://www.appcelerator.com/developers/  

How much will my Mobile App Cost?

http://www.kinvey.com/app-cost-estimator  

What is Gamification?

  http://www.interaction-design.org/books/gamification_at_work/chapter_1_mixing_work_and_play.html    

iOS App is crashing in 3G network scenarios..Why?

Thanks to our friend Rahul   The possible reasons would be:   1. iOS supports 5 service calls concurrently, this is a limit put from the OS. Advisable to make minimum amount of calls. 1-2 calls asynchronous, this will even help in low network speed. http://stackoverflow.com/questions/15089331/maximize-the-number-of-simultaneous-http-downloads Here is a library that deals with thread pool and URL dispatching just in case:  https://github.com/Weswit/utility-ThreadPool-ios   The article:  http://blog.lightstreamer.com/2013/01/on-ios-url-connection-parallelism-and.html     2. The above issue might be the root cause of the application crashing at certain points, call not handled properly. Application not receiving data since the network speed is slow, "request times out" not handled. 3. I'm guessing that the call are made asynchronous, if not then they should be made asynchronous or in background thread, a loader should be shown while this operation is performing. So that the

Can you tell me more about RESTKIT?

http://stackoverflow.com/questions/10643797/wait-until-multiple-operations-executed-including-completion-block-afnetworki   http://stackoverflow.com/questions/14956485/restkit-how-to-batch-multiple-requests-and-get-a-response-once-they-finish   http://restkit.org/api/master/Classes/RKObjectManager.html#//api/name/enqueueBatchOfObjectRequestOperations%3aprogress%3acompletion%3a    

What is Alloy Framework?

http://www.appcelerator.com/blog/2012/11/gtka-two/  

What is McKinsey's 7S Framework?

http://www.mindtools.com/pages/article/newSTR_91.htm  

Useful Site for Mobile Test

Thanks to our friend Subodh   http://mobiletest.me/ http://www.browserstack.com/list-of-browsers-and-platforms?product=live#ios  

Few 64 bit conversion points to take care of

Specifically take care of the following   ·          Allocate Memory Using sizeof Never call malloc with an explicit size (for example, malloc(4)) to allocate space for a variable. Always use sizeof to obtain the correct size for any structure or variable you allocate. Search your code for any instance of malloc that isn’t followed by sizeof. ·          Always Define Function Prototypes ·          Take Care with Functions and Function Pointers   Here are more details on that https://developer.apple.com/library/ios/documentation/General/Conceptual/CocoaTouch64BitGuide/ConvertingYourAppto64-Bit/ConvertingYourAppto64-Bit.html

A few Titanium Best Practices

Titanium Best Practices http://www.slideshare.net/alessioricco/best-practices-in-apps-development-with-titanium-appcelerator  

What are the various mBaaS out there?

  Parse, StackMob, Kinvey and Urban Airship.     http://www.anypresence.com/   https://developer.kii.com/   http://www.kinvey.com/   http://ql.io/docs/quickstart   http://www.baasbox.com/   http://www.kumulos.com/     Appcelerator Cloud: 9,560 Parse: 14,810 Firebase: 47,564 Kinvey: 49,073 ShepHertz: 69,882 Stackmob: 114,425 Kii Cloud: 305,502 Applicasa: 399,091 GoInstant: 534,742 apiOmat: 575,380 Kumulos: 791,538 Backendless: 848,025 Cloudmine: 1,215,763 Mobeelizer: 4,381,460   Read this  

How do you Compare iOS vs Android Development?

http://blog.gqueues.com/2013/07/android-vs-ios-comparing-development.html  

FW: Income Tax Declaration

Please check the link below before you submit income tax declarations to your employer. http://wealth18.com/rules-to-check-before-making-investment-declaration-to-employer/#! Thanks to our friend Paresh

Pearls of Wisdom

Image
 

Can you show me some good iOS Videos?

Happy New Year. Start iOS Development with these Videos if you are new and want to learn Videos