What’s new in Android 4.4 ‘KitKat’ for Developers

Google released the latest version of Android (version 4.4), known as KitKat on 31st Oct 2013. It is designed to work on a wide variety of devices. The new version of Android has got a lot of exciting features for both users and developers.

 

KitKat

Some of the new features in the latest version of Android for developers to learn and explore are:

Screen Recording

The screen recording feature of Android 4.4 lets you capture video of your app and save it as an MP4 file. The recording can done at any device-supported resolution and then shared directly from the device to a computer for post-production.

Full Screen Immersive Mode

Full-screen immersive mode in KitKat allows any app to go truly full-screen, hiding both the navigation and status bars and takes advantage of every last pixel on the screen of a smartphone or tablet. You simply need to do a swipe from the top or bottom of the screen, in order to display the system bars again. Basically, developers can hide the entire system’s interface while the user is engaged in their apps(like e-reader and other media apps and games).

Scene Transitions

Android 4.4’s new transitions framework allows app developers to define how one screen animate to another scene. Developers can use predefined transition types called TransitionManager that animate the properties that matters the most to your app.

Storage Access Framework

With the release of Android 4.4 KitKat, users now have a smoother way of accessing and creating documents in an app from a variety of cloud storage providers. Developers can add their own storage devices to Android without having to do it on a specific vendor by vendor basis.

New WebView & Chromium Features

KitKat includes new implementation of WebView based on Chrome for Android 3.0. It allows developers to use the latest compatibility features, performance standards and support in WebView to access their Web-based content. Chromium WebView supports many aspects of HTML5 as well as CSS3 and JavaScript.

New Near Field Communications Platform Support

One of the new features in Android 4.4 is Host Card Emulation (HCE) to support Near Field Communications (NFC) transactions. Apps can also act in a new “Reader Mode” to receive NFC functionality (like payment processing, building access, tickets etc.) as it uses an Application Identifier (AID) to route the different NFC function from the hardware in a device to the app.

Low-Power Sensors

Android 4.4 support for hardware sensor batching, a new optimization that can dramatically reduce power consumed by ongoing sensor activities. It can makes your app more efficient and it lets you track sensor events continuously.

RenderScript Takes Advantage of Device Hardware

RenderScript can now be accessed in kitkat 4.4 by a new C++ api in the android native developer kit. High hardware consuming tasks can now be integrated into an apps native code and it allow for support from multiple smartphone CPU and GPU cores.

Andolasoft has a team of experienced android developers who are skilled to develop innovative apps for all versions of android devices. We have developed Android Apps like KurrentJobs, EstateMobz and many more.

How To Create A Static Library Or Framework For IOS?

A static library is a package of classes, functions, definitions and resources, which can be packed together and easily shared among projects. This facilitates reuse of code easier as you will have your own set of classes and utility functions.

Here are the steps to create your static library or framework

Step 1 : Create A New ‘Cocoa Touch Static Library’ Project

  • Choose template as Cocoa Touch Static Library.
  • Start with create new project >> iOS >> Framework & Library >> Cocoa Touch Static Library

choose_template_for_project

Note: The name you entered in product field will be the name of your framework.
Example:  ‘MyCompany’ will generate ‘MyCompany.framework’

Step 2: Create The Primary Framework Header (Recommended)

Usually, framework header is imported this way – <MyCompany/MyCompany.h>

  • Create an ‘.h’ file – ‘MyCompany.h
  • If X-Code creates it for you, just delete the ‘.m’ file and import the inner classes used in ‘.h’ file
  • If you import only ‘MyCompany.h’ (#import <MyCompany/MyCompany.h>) then the rest of the files need not be imported
#import <Foundation/Foundation.h>
  • Now, add your new sources
  • Make the header ‘Public’

Public headers are copied to the .framework and can be imported using the framework

  • Select the header in the project explorer, then expand the Utilities pane (Cmd+Option+0) to modify the scope of header.
  • In the ‘Target Membership’ group select the checkbox next to the ‘.h’ file.
  • Then, change the scope of the header from ‘Project’ to ‘Public’.

You might have to uncheck and check the box to get the dropdown list. This will ensure that the header is copied to the correct location in the copy headers phase.

Step 3: Update The Public Headers Location

  • To avoid copying private headers to the framework check that the public headers are copied to a separate directory, e.g. $(PROJECT_NAME)Headers.
  • Select the project in the file explorer >> select the targets >> ‘Build Settings’ tab.
  • Set ‘Public Headers Folder Path’ to ‘$(PROJECT_NAME)Headers’ for all configurations by searching the ‘Public Headers Folder Path’. This folder must be unique if you are working with multiple Frameworks.

headers_xcode

 

 

 

 

Step 4: Setup ‘Build Settings’

"Dead Code Stripping" => No (for all settings)
"Strip Debug Symbols During Copy" => No (for all settings)
"Strip Style" => Non-Global Symbols (for all settings)

Step 5: Make Sure That Framework Is Used As Dependent Target

  • Generate the basic skeleton of the framework in the static library target. Also include a simple post-build script.
  • Select your target in the file navigator and click the ‘Build Phases’ tab
  • Then, click ‘Add Build Phase’ >> ‘Add Run Script’ and paste the following script in the source portion of the run script build phase.
set–e
mkdir -p "${BUILT_PRODUCTS_DIR}/${PRODUCT_NAME}.framework/Versions/A/Headers"
# Link the "Current" version to "A"
/bin/ln -sfh A "${BUILT_PRODUCTS_DIR}/${PRODUCT_NAME}.framework/Versions/Current"
/bin/ln -sfh Versions/Current/Headers "${BUILT_PRODUCTS_DIR}/${PRODUCT_NAME}.framework/Headers"
/bin/ln -sfh "Versions/Current/${PRODUCT_NAME}" "${BUILT_PRODUCTS_DIR}/${PRODUCT_NAME}.framework/${PRODUCT_NAME}"
# The -a ensures that the headers maintain the source modification date so that we don't constantly
# cause propagating rebuilds of files that import these headers.
/bin/cp -a "${TARGET_BUILD_DIR}/${PUBLIC_HEADERS_FOLDER_PATH}/" "${BUILT_PRODUCTS_DIR}/${PRODUCT_NAME}.framework/Versions/A/Headers"
mycompany_xcode
  • Build your project

The build products directory is usually in-
(~/Library/Developer/Xcode/DerivedData/<ProjectName>-<gibberish>/Build/Products/…)

You will find the ‘libMyCompany.a’ static library, a headers folder, and a ‘MyComapny.framework’ folder which contains the basic skeleton of your framework.

build_product_directory

SEE ALSO: How to make Static Framework iOS device independent?

I hope you enjoyed this topic, if you have any questions or comments please share below!

Auditnet® Is Now Available On Mobile (iPhone/iPad/Android)

We are delighted to announce that AuditNet® is now available on Mobile both iPhone/iPad and Android. With this app, now the existing users can enjoy browsing and downloading the same rich content what they see on web app, also a new user will be able to register to the site. Now advertisers will get traffic from both web and mobile application.  For last 12 weeks a dedicated team from Andolasoft (Mobile App Developers, UI Developers, Ruby On Rails developers and QA team) worked diligently to make it available on the app stores right on time. AndolaSoft team worked on UX/UI design, app development, testing, and deployment of app to the respective apps store.

Looking into current surge of iPhone, iPad and Android devices worldwide, AuditNet® started looking for a way to provide access to the audit templates to its mobile users to target rise in subscriptions. Hence, Andolasoft proposed a cost effective solution by developing a mobile app using Cross Platform technology – PhoneGap, on top of Ruby on Rails framework, enabling to run on both iOS and Android platform. The back-end uses RESTful API hosted on AWS for smoother performance.

 

Auditnet_mobile_image

Auditnet_appstore1Auditnet_googleplay

 

 

About Auditnet:

AuditNet® serves the global audit community as the primary communication resource with an online digital network where auditors share resources, tools, and experience including audit work programs and other audit documentation. In 2009 AuditNet® launched Web-based training for fraud detection and prevention, IT audit, data analysis, audit software tools and techniques, enabling auditors to learn essential skills anywhere at any time. As a NASBA approved CPE sponsor AuditNet® now offers low-cost high-quality training for auditors and financial professionals, providing convenience while eliminating the need for travel.

Visit www.auditnet.org to know more.

About AndolaSoft:

Based in Silicon Valley, Andolasoft is a Web and Mobile app Development Company. Here, we do web applications using Ruby on Rails, PHP and CakePHP. We’ve expertize on Mobile App Development involving as iPhone, iPad, Android, PhoneGap andSencha.
With a team of 200+ expert developers, we deliver cutting-edge solutions within budget and on schedule. We have happy customers from across the USA, UK, Australia, Canada, Singapore, Switzerland and Brazil.

Visit andolasoft.com to know more

The 10th Best CakePHP Web-App Development Company in The World

Today, we are thrilled to announce that Andolasoft is named at #10 in the Top 10 CakePHP Development Companies by bestwebdesignagencies.com.

We pledge this success to our customers for their continuous support which has brought us such laurels. We are pleased that our team of expert CakePHP developers, project management, and testing have done their job to perfection yet again.

Our Comprehensive Range of CakePHP Development Services

  • Custom PHP Web Development
  • PHP-Based CMS Development
  • PHP-Based eCommerce Development
  • PHP Migration Services
  • PHP Web-App Maintenance Services
  • PHP API & Plugin Development
  • PHP-Based Web Product Development

Key Solutions We Provide to Mitigate Customer Challenges

  • We offer full-stack CakePHP developers who create a seamless integration of front-end and back-end services to deliver a consistent user experience
  • Our expert team of developers provide high-level of customization both in terms of user-experience, user-interface and app-functionalities.
  • We employ the highest level of security measures to ensure our client’s and end-users’ data remain secure.
  • We follow an agile development process to craft PHP solutions in an iterative and incremental process.
  • Our team members are well-versed in using light-weight plugins to optimize web-performance.
  • Customers can collaborate with our team members and project managers on Orangescrum project collaboration tools.
  • We offer the quickest turnaround customer support during all stages of product development.

Why Brand Around the World Choose Andolasoft for CakePHP Web-App Development

Client-Friendly Approach

Our development team and project managers are approachable and easy-to-talk-to. They keep the atmosphere light and friendly when communicating with clients on project requirements.

Latest Tools and Technologies

Our team always keeps themselves updated with the latest tools and technologies giving our customers the winning-edge by crafting a solution that is more updated, secure and optimized.

Agile Development Model

We follow Agile methodology to develop solutions in an interactive and incremental manner which enables our team members to keep publishing various modules of the product faster.

Never miss an update from us. Join 10,000+ marketers and leaders.

Why parallax scrolling is in trend?

It keeps our development process open to new changes and modifications.

Comfortable to work in your Time zone

We have dedicated developers who can work on your time zone and develop solutions exclusively for our clients.

Maintenance & QA

Out QA cover 100% of the modules, features and functionalities developed to ensure the credibility of the product developed. We leave no stone unturned and ensure that the product developed meets your business and functional requirements.

Quickest Turnaround Customer Support

Andolasoft has the quickest turnaround customer support. We reach out to our customers faster to resolve their queries and issues during all stages of our partnership.

No Hidden Cost

We charge only for the services we offer as defined while signing the NDA. We don’t surprise you with any hidden cost after delivery of your project.

Flexible Hiring Models

Our customers have the option to work with us by hiring our team of developers and designers on a per-hour basis or hire dedicated developers who will work exclusively on customer projects in their time zone.

Track Your Projects Through PM Tool

You can track the progress of your projects using Orangescrum PM tool.

Are you looking for a CakePHP developer

Contact Us

We keep our customers in the loop and keep updating them at every step of the development lifecycle.

What Factors Helped Us:

      • The development of CakePHP web-apps based on MVC architecture
      • Re-usability of code to develop robust apps in less time
      • Rapid web-app development with Agile methodology
      • Search engine friendly CakePHP apps
      • Secure apps with a logical separation of data, business logic, and design
      • Strong security measures to keep application data secured
      • Social Media, Payment gateway and other API integration to our web-apps
      • Best Practices Followed
      • On-time delivery
      • Faster Communication
      • Quick turnaround Support

Conclusion

The bestwebdesignagencies.com is an autonomous body that identifies and lists out the best design and development companies in the world. The purpose is to help customers to find the right ones in the industry. They adopt a stringent evaluation process to determine the quality of work delivered by each company to their customers’ satisfaction.

Using AJAX, How to Make Your Site Crawlable

AJAX_Crawler-image

Why Ajax?

AJAX is used to load the contents into the page faster with providing a superior user experience. It happens so as the data exchanges with a server and the web page reflects the changed data without reloading. So AJAX is gaining popularity among the developers.

Problems with AJAX usage:

However, it has its own limitation for not allowing Google and other search engines to crawl an AJAX based website. As a result of which AJAX can damage the SEO of the site, because the browser address bar does not change with AJAX load. You need to generate SEO friendly URL dynamically.

Solution:

Here I discuss how to balance out both AJAX as well as SEO. That means, the site can still be crawlable with AJAX on.

Step-1: Load the AJAX content with the change in browser address bar:

  • We need to manage the address bar using client side code and add ‘#’ at the end of the URL, before the AJAX page name or parameters.
  1. If about-us page loads in AJAX, the URL will be: https://www.mysite.com/#about-us
  2. NOTE: the hash fragments are never sent to server
  • After refreshing the page, we can get the hash fragments using client side code and avail the AJAX contents

Step2: Change the URL format to crawl by the crawlers

  • ‘Googlebot’ still cannot crawl the content of ‘about-us’ page, because the crawler cannot get the content using client side scripting.
  1. Solution: it can be solved by adding an  ‘!’ after ‘#
  2. Example: https://www.mysite.com/#!about-us
  • The hash fragment (#!) works as a signal to Googlebot, to use an alternative URL (Ugly URL) for creating a snapshot of the page including the AJAX-loaded contents.

Step3: Avail the AJAX content to the crawler

  • Pretty URL: The URLs loaded on the client browser that loads dynamic content.
  1. Example: https://www.mysite.com/#!about-us
  • Ugly URL: The alternate URLs of Pretty URLs which is used by ‘Googlebot’ to get the content of the page “? _escaped_fragment_=” in place of “”#!”
  1. Example: https://www.mysite.com/?_escaped_fragment_=about-us
  • Important: There should be same page or content while accessing both the URLs.

Step4: Avail the crawlable URL format

  • Always have the Pretty URL (URL with “#!“) link on all <a href> attribute to load the AJAX content.
  • Add Pretty URLs to the XML sitemap.

How it works?

  • ‘Googlebot’ spider finds the Pretty URL “https://www.mysite.com/#!about-us” from the sitemap or from the webpage.
  • It would fetch the Pretty URL as “https://www.mysite.com/?_escaped_fragment_=about-us
  • The indexer sorts every word and stores the resulting index of words in Google database.
  • The query processor returns Pretty URLs to the user on the search results as  “https://www.mysite.com/#!about-us

Final Tidbits:

  • A URL may contain at most one hash fragment
  • Do not include links such as https://www.mysite.com/?_escaped_fragment_=about-us in the website sitemap; ‘Googlebot’ does not follow links that contain “_escaped_fragment_”
  • When “? _escaped_fragment_=about-us”is activated, you can only provide the “snapshot” of the page.
  • The crawler escapes certain characters in the fragment during the transformation. To retrieve the original fragment, make sure to un-escape all %XX characters in the fragment; specifically, %26 should become &, %20 should become a space, %23 should become #, and %25 should become %, and so on.
  • Test the crawl-ability of your app: see what the crawler sees with https://support.google.com/webmasters/answer/158587?hl=en

Why Rails Framework is Popular Among Ruby Developers?

Most companies whether it’s a start-up or an established enterprise have evidently landed to the conclusion that Ruby on Rails is the most viable option for rapid and cost efficient web app development.

Ruby on Rails or simply called ‘Rails’ is an open-source, full-scale multilevel web app framework that implements MVC development architecture for the Ruby programming language and is supported by a strong community around it.

Several reasons lie to use Ruby on rails, the main one is that it is a better choice than any other tools. However, before proceed forward let’s have a quick look on:

What Is Ruby On Rails?

Ruby is a dynamic, general purpose, interpreted language used for object oriented programming. The Framework has simple coding that a non-technical person can understand to some extent.

Developing new software using Ruby seems to be bit tedious. Rails, a special tool, was developed to optimize the development process.

Rails is the web development framework which is written in the Ruby language. After 9 years of development, Ruby was introduced.

Never miss an update from us. Join 10,000+ marketers and leaders.

With this development the ruby on rails developers can easily makes the web app programming.

Ruby on Rails(Source: Clariontech)

Let’s take a quick look on the features of ROR:

Mature Framework

Ruby on Rails was first released in 2003, which possessed several large and actively maintained APIs that make application development faster, easier and more manageable. One of the best examples is CSRF (Cross Site Request Forgery) protection; using which, you don’t have to do anything to add CSRF. Active Record is an extremely powerful feature in terms of building usable data models.

MVC Architecture:

With Ruby on Rails development is based on the model, controller and view pattern, widely used web application architecture. Therefore, developers using other MVC framework languages can find Ruby on Rails to be more user-friendly.

By using Ruby on Rails architecture, you can get separate codes for different functions, i.e. data layer, presentation layer, and can maintain a resource layer.

Generators/Scaffolding:

It’s a rapid prototyping tool; Rails’ scaffold will generate a starting point that allows us to list, add, remove, edit, and view things. It will explain the command, the model name and related database table, naming conventions, attributes and types.

The generated script will produce files of Ruby code that the application can use to interact with the database. It is somewhat less convenient than dynamic scaffolding, but gives the programmer the flexibility of modifying and customizing the generated APIs.

Gems/Plugin:

Ruby gems are highly portable chunks of Ruby code that can be used inside any Ruby script or application.

Rails plugins have the flexibility to hook into every part of Rails, including generators, rake tasks and tests/specs. Rails-specific features cannot be used with other Ruby frameworks like Merb, Sinatra, etc.

Active Record ORM:

Object-Relational Mapping (ORM) is a technique that connects the rich objects of an application to tables in a relational database management system.

Active record pattern is an architectural pattern found in Ruby on Rails that stores its data in relational databases. It relies heavily on the naming in that it uses class and association names to establish mappings between respective database tables and foreign key columns.

Integrated Testing Tools:

Rails features a convenient testing tool, for which, it automatically starts producing the skeleton test code in background whilst you are creating the application models and controllers.

Rails tests can also simulate browser requests and thus you can test your application’s response without having to test it over the browser.

Some convenient tools for testing Rails application:

  • Test Unit
  • RSpec
  • Cucumber
  • Mocha
  • Flexmock
  • Factory Girl

Version Control Systems:

There are numerous version control systems. CVS was the first system widely used in the open-source community. Several years ago, it was largely replaced by Subversion (SVN). And in early 2008, most of the Rails world moved to a newer version control system, called GIT.

I’ve worked with the team at Andolasoft on multiple websites. They are professional, responsive, & easy to work with. I’ve had great experiences & would recommend their services to anyone.

Ruthie Miller, Sr. Mktg. Specialist

Salesforce, Houston, Texas

LEARN MORE

Git is usually the best choice if you are new to Ruby, because nearly all code that you need to fetch as examples or libraries will be available via a GIT repository.

Conclusion

With Ruby on Rails providing a programming framework that includes reusable, easily configurable components commonly used for creating web-based applications, it is gaining traction with developers.

From the recent studies on the job growth trends, it is seen that Ruby on Rails developers are a very hot commodity. Ruby as the language of the cloud, the job market will continue to show high demand for the developers. It’s nearly impossible to be an unemployed Ruby on Rails developer.

RoR_graph_new1-1024x532 (1)

If you are in search of a dedicated developer, to create your ruby application, then contact us.

Our dedicated ruby developers will deliver a quick and efficient solution by developing a web application of your requirement.