Showing posts with label Android. Show all posts
Showing posts with label Android. Show all posts

Monday, June 05, 2023

Google Discover - By Kapil Sharma

Google Discover is a feature provided by Google that offers personalized content recommendations to users on their mobile devices. It is designed to provide a customized feed of articles, news, videos, and other web content based on a user's interests and browsing habits.

Google Discover uses various signals and algorithms to determine what content to display to each user. It takes into account factors such as a user's search history, location, language preferences, and the topics they engage with across Google products like Search, YouTube, and Chrome. By analyzing this data, Google Discover aims to present users with relevant and timely information that aligns with their individual interests.

The content shown in Google Discover can include news articles, blog posts, sports highlights, entertainment news, recipes, and much more. Users can customize their preferences and provide feedback on the content they see to help Google further refine their recommendations.

Google Discover is typically accessible through the Google app on Android and iOS devices. It appears as a personalized feed of cards that users can scroll through to discover new and interesting content. The more users interact with the feed by reading, liking, or saving articles, the better Google becomes at tailoring the content to their preferences.

It's worth noting that the availability and functionality of Google Discover may vary depending on the user's location and the specific version of the Google app they are using.

Public Link: https://developers.google.com/search/docs/appearance/google-discover

Monday, March 28, 2016

The Vital Guide to Interviewing Mobile Application Designers - Kapil Sharma

This guide deals with mobile application design and its goal is to provide clients with information on mobile design, and help them recognize a top notch mobile designer. It touches on multiple aspects of mobile application development, some or all of which will be relevant to the specific context in which you are looking to hire.
Before we proceed to define what makes a top-notch designer, we need to be aware of the definition.
Mobile application designers focus on native mobile apps and work closely with UX and UI designers to apply their design to mobile interfaces.
Mobile application designers focus on native mobile apps and work closely with UX and UI designers to apply their design to mobile interfaces.
Mobile designers have many names and some of them are app designers, iOS designers, Android designers, and so on. They usually work closely with user-experience (UX) designers and user-interface (UI) designers to apply their design to mobile interfaces. Their main focus is on native mobile applications, but they should also be able to create designs for mobile and hybrid apps.
Every mobile application designer should be aware of the difference between these three platforms.

The Challenge

Native apps live on the device and they are accessed through icons on the device home screen. Native apps are usually installed through an application store (such as Google Play or Apple’s App Store). They are specifically developed for one platform, and can take full advantage of all the device features; they can use the camera, the GPS, various sensors like the accelerometer, compass, and so on. They can also incorporate gestures (either standard operating system gestures or new, app-defined gestures). Also, it’s worth noting that native apps can use the device’s notification system, access local information like the contacts list, and they can work offline.
Responsive web applications are not real applications; they are really websites that, in many ways, look and feel like native applications, but are not implemented as such. They are run by a browser and typically written in HTML5. Users first access them as they would access any web page: They navigate to a special URL and then have the option of “installing” them on their home screen by creating a bookmark to that page. Web apps became popular when HTML5 went mainstream and people realized that they could obtain native-like functionality in the browser.
Today, as more and more sites use HTML5, the distinction between web apps and regular web pages is blurring. For instance, there are no visible browser buttons or bars, although the site runs in Safari (when accessed from an iPhone). Users swipe horizontally to move on to new sections of the app. And, thanks to browser caching, it’s even possible to read the newspaper offline.

HTML5 vs. Native Apps vs. Hybrid Apps

A lot of features are available in HTML5. It possible to access some sensors, implement the tap-to-call feature, and even other functions, such as the device’s camera API. However, few web apps and websites take advantage of these possibilities.
Mobile app developers must be aware of the difference between these native and hybrid apps, as well as HTML5 apps.
Mobile app developers must be aware of the difference between these native and hybrid apps, as well as HTML5 apps.
There are, however, native features that remain inaccessible (at least for now) in the browser:
  • The notification system, running in the background
  • Sensor input such as accelerometer information (other than detecting landscape or portrait orientations)
  • Complex gestures
Of course, one can argue that many apps (native or otherwise) do not take advantage of those extra features, anyhow. But if you really need those native features, you’ll have to create a native app, or at least a hybrid app.
Native mobile apps provide fast performance and a high degree of reliability. It’s important to note that most mobile video games are native applications. We all know that video games are among the most popular mobile applications, and many of them need to utilise the hardware in the most efficient way in order to ensure smooth gameplay and a good user experience.
Hybrid apps are part native apps, part web apps. Because of that, many people incorrectly call them “web apps.” Like native apps, they live in an app store and can take advantage of the many device features available. Like web apps, they rely on HTML being rendered in a browser, with the understanding that the browser is embedded within the app. Often, companies build hybrid apps as wrappers for an existing web page; in that way, they hope to get a presence in the app store without spending resources on app development. Hybrid apps are also popular because they allow cross-platform development and thus significantly reduce development costs: The same HTML code components can be reused on different mobile operating systems.
Tools such as PhoneGap and Sencha Touch allow people to design and code across platforms, using the power of HTML. Doing justice to many of these topics would warrant posts of their own. Nonetheless, this guide is intended to provide, at least, a meaningful overview of key issues and topics relating to mobile application design. Furthermore, every good mobile application designer should be aware of all the terms used in this article.
It’s not unusual for a client to demand native apps rather than responsive web applications. In order to provide a different and unique user-experience on each device, many clients will require a native application.
Q: Native, Web App, or Hybrid: Which Should You Choose?
To summarize, native apps, hybrid apps, or web apps cater to the needs of the mobile user. There is no best solution; each has its strengths and weaknesses. The choice depends on each client’s unique needs.
Q: When designing a new application, what are the most important questions you need to know?
  • What is your app’s main goal?
  • What are the most important sections in your app? How many are there?
  • What kind of actions should be available to the user throughout the app?
  • Who is your direct and indirect competition, if it exists?
  • Which features and functions do you want to include in your app?
With the answers, the designer should be able to start searching for the best design pattern for the new application. Maybe the best question to ask when starting a new design would be: “If you came home angry and stressed out, looking to buy a cinema ticket, how you would like to application to work?”
The same question can be adjusted to any real-life situation and mobile app. If the application design works when the user is frustrated, then the application is probably well designed.
Q: What do you need to consider when designing for iOS, Android or any mobile platform?
When people are about to use something, they have already expectations (we call them mental models). For example, most users will buy a certain smartphone because they like the design principles behind its operating system, the appearance, or how the device works. So, the most important thing to consider when designing for iOS, or other mobile platform, is to consider vendor guidelines. While developers need to stick to vendor guidelines, the basic logic behind each application should be identical, regardless of vendor.
Designers should not try to reinvent the wheel by implementing some unexpected elements within the application. In order to provide an extraordinary experience, designers should experiment with improved user flow and interaction design. In the application industry, this is a standard; Apple does it, Google does it, and Microsoft is no exception.
Q: When designing for a diverse set of users who will engage with your products, what do you need to consider?
Along with device platform guidelines, the designer should consider accessibility guidelines for a range of users. Design for people who are young, old, power users, casual users, and those who just enjoy a quality experience. Embrace these accessibility guidelines as you would any set of design constraints. They are part of the challenge of creating amazing products.
Q: Why are application icons so important for an application and what should be considered when designing the icon?
Beautiful, compelling icons are a fundamental part of a good user experience. Far from being merely decorative, icons play an essential role in communicating with users. Focus on a unique shape; some icons have many colors or they feature gradients, but they all start with a simple shape. That allows them to be recognizable at a distance and at a glance. Icons are seen in a range of different sizes. They are large in the App store, get small on the home screen and even smaller in the notification centre and in groups. Make sure your design scales well and is clear at any size.
The designer should also test the icon on different wallpapers; while it might look great against a traditional backdrop, iOS raindrops for example, there’s no guarantee it looks great on all wallpapers. And try grouping your designs into folders to evaluate how they look.
Q: How to design an intuitive user-interface and still achieve the “Wow!” effect.
Intuitive means easy to understand or operate without explicit instruction. The designer should always use different visual treatment for icons that are “tappable” and icons that are used as indicators and are “non-tappable.” Once a coherent system for distinguishing tappable from non-tappable icons is in place, the designer needs to follow it throughout the mobile app. In order to achieve the “WOW effect,” the designer should play around with unique shapes (for example custom made icons), animations, and then present them in a whole new way.
For example, the paper plane is now widely recognized as the “Send” icon. When it was first introduced, it was probably a little bit confusing for a user. “What is this paper plane? What does it have to do with email?” In many applications, the “Save” icon is an image of the extinct floppy disk. A life buoy icon could be used, instead. Once users understand or discover the meaning of a new UI element, it becomes “intuitive” the next time.

Three Components of the “Wow!” Factor

If the designer is limited by brand guidelines, the “Wow!” effect can be achieved in other areas.
Let’s imagine that we have a beautiful and expensive pen. But if it doesn’t write well, we will probably abandon it and go for an ordinary pen that suits our purpose. Fancy, eye-catching design cannot always help an ineffective product, so we must always think about designing an experience that pleasantly surprises the user by helping him to achieve the intended task faster and efficiently.
It is important to note that “Wow!” factors depend on the concept from the UX/visual designer being well executed by the programmer.
Q: Should we use gestures in our mobile application and how will they affect User Experience?
With the integration of gyroscopes and motion sensors, smart devices are able to detect movement. With this, the interaction between the user and the device extends beyond the click and tap, bringing real-life gestures to the screen.
Users are intuitive about gestures. When asked how to delete an item, users tried to move the item out of the screen regardless of age, sex and gender. Enhancing the user experience with fewer taps or scrolling allows applications to become more interactive.
Q: How will 3D Touch technology from Apple change the interface?
Force Touch technology does not enable truly new gestures, it is simply an extension of gestures we are already familiar with. It will help designers and developers to add a Z-axis in order to provide more depth of information on a top layer without touching or overcomplicating the Information Architecture underneath.
Q: How many fonts are recommended and what is the best practice with typography while designing mobile applications?
Reducing the number of fonts on a screen can reveal the power of typography. Instead of using different typefaces and leveraging different characteristics (e.g. italics, bold, semi-bold), different font sizes can better differentiate discrete areas of content. Embracing a singular typeface across an entire app drives consistency not only for branding but also across channels — e.g. app, mobile site, website — thus optimizing the mobile elements across the omnichannel experience. Also, users prefer the simplicity of having one typeface while scrolling for relevant content.
Q: What are micro-interactions and why should we use them?
Micro-interactions are small, visual enhancements (for example, an animation or a sound) occurring around a use case. These scenarios may include completing a transaction, flagging an item, or prompting a pop-up message. Such interactions are subtle, but they differentiate the product by pointing the user’s attention to the right element.
Micro-interactions may be leveraged as a signal to prompt the user while accomplishing a task (adjusting a setting, for instance), thus creating a small piece of content such as a pop-up message. Apps with well designed micro-interactions are considered easier to use, more fun, and more engaging by their users.

Final words

Before designers choose to create something, they must conduct market research in order to learn what’s out there and what they have to do to create a unique and successful design.
The biggest difference between developing a mobile application and a desktop application, or even a website, is context. This is what makes mobile apps so powerful. Each app is used for its own purpose, at a specific time and place. There are several ways to accomplish the same action for mobile, and it’s up to you, the designer, to design and choose the most effective way.

This hiring guide originally appeared in Toptal Engineering blog

Wednesday, March 02, 2016

The Vital Guide to App Developer Interviewing - Kapil Sharma

In a bipolar smartphone world where Android dominates devices and iOS dominates application revenue, it is impossible to ignore one platform and develop on another. 
To build and release an application on both dominant platforms, you need special breed of developers. Rare developers that are familiar with both iOS optimized border shadowing and flattened Android UI hierarchies using merge layout tags.
Here is a guide to help you find those rare masters of both Android and iOS platforms.
We also suggest that you read our Android Hiring Guide and iOS Hiring Guide for more advanced and in-depth information that will help you find the right developers.

Preface

As smartphones gained popularity, many developers jumped on the trend and started creating iOS or Android applications.
Most of them had previous experience with web or desktop applications, and tried to copy old concepts onto new platforms, but they failed. Smartphone platforms differ from all other types of platforms in many aspects, most of them related to small screen size and how the user interacts with device.
After realizing that new platforms bring new concepts, good developers embraced them and started creating applications aligned with the platform they ran on.
Next, developers who created applications on one platform started working on the other one. Again, many didn’t realize how different Android and iOS are despite some similarities, and continued working with mindsets aligned to the platform they started with. Some recognized this difference and embraced another platform as completely new.
You want to find one of those rare gems - developers who natively understand both Android and iOS and can work on the same application created for both platforms, similar in functionality but differing in user experience and adapted to their platforms.

Differences

Although Android and iOS have the same main concepts, they also have many differences. Devices for both platforms are handheld and user input is touch based. But if we dig deeper, we will find more and more differences. They start with design of UI controls, continue with how they interact with the user, how new views are opened, or how users can navigate around the application and platform itself. Background differences are even bigger.
App developers versed in both platforms should know how each of them works, and on top of that understand the differences between them. Developer should know where to use platform specific concepts and also recognize similar concepts called with different names.

Questions and Answers

Q: Describe what classes are and how they used in Objective-C and Java. What about methods and functions? How are nil/null object pointers handled?

This is a simple question as every developer should know what classes are and how they are used. You can use this question to check how good a developer is at explaining concepts and how she/he can explain similarities and differences of two implementations of the same concept. Here is a shortened definition of class from the iOS Developer Library:
A class describes the behavior and properties common to any particular type of object. For any object, the class offers various ways to examine and convert the internal data that it represents. In the same way that multiple buildings constructed from the same blueprint are identical in structure, every instance of a class shares the same properties and behavior as all other instances of that class.
For a class to be useful, it needs a way to receive a message saying it should do something. The terms “method” and “function” refer to the same thing in Objective-C and Java. A method (function) is a section of code that can be called from elsewhere in our code, and the method (function) will perform some action and return some result that can be used by a caller. Method (functions) are used to organize class code into meaningful and understandable sections.
Variables that keep reference to one object, one instance of class, actually hold memory address where that object is located. Special address nil in Objective-C, null in Java signifies that there is no actual object. (This can mean that object was not yet created or that it has been removed from memory.) If you call method of such non-existing object in Objective-C nothing will happen, but if you do the same thing in Java, it will result with a runtime exception completely stopping your application. This is an interesting difference in otherwise very similar behavior of classes and objects in Objective-C and Java.

Q: What are the similarities and differences between protocols and interfaces? How and when are they used?

In Objective-C, a protocol is used to declare methods and properties that are independent of any specific class. On one side, one class can use protocol as definition of requirements that one of method parameters need to satisfy, and on another side, other class can choose to implement the same protocol. In this example, protocol is a list of requirements that method parameter needs to satisfy to be used as such.
Interface is protocol in the Java world.

Q: Describe the relationship between selector message and method in Objective-C. Is there a similar concept in Java?

In objective-C, Selector, message, and method are very connected concepts that build on top of another. A Selector is the name of a method. It does not imply class to which method could belong. A message is a selector and the arguments you are sending with it. A method is a combination of a selector and an implementation (actual code that can be executed).
In Java, there is a method reference that references defined method of defined classes and can be used for dynamic method invocation.

Q: What is category in Objective-C? When is it used?

Categories provide the ability to add functionality to an object without subclassing or changing the actual object. They are often used to add methods to existing classes created by other developers. The biggest problem with categories is the possibility that two categories define methods with the same name. In that case, it is not defined which method will be used.
Java does not have a similar concept.
This question was taken from Stackoverflow.

Q: What is runtime object type checking, and when is it useful?

During application run time, method or function can check type of passed parameter and decide how to treat it depending on its type. For example, a method expecting object of type Contact can inspect the received object to see whether it is PersonalContact or BusinessContact (in this example PersonalContact and BusinessContact are both subclasses of the Contact class).

Q: Explain differences in error handling between Android and iOS.

In Java (and Android), all problems that arise during the execution of a program are communicated through the concept of throwing and catching exceptions. Throwing an exception stops execution of the current function and continues in catch and finally blocks of try-catch-finally construct somewhere up in the function calling hierarchy.
Although the same try-catch-finally construct exists in Objective-C, it is not so widely used. Instead, Apple’s Cocoa handles problems by using objects of type NSError. The two most common approaches are:
  • Pass a blank NSError object into a method and when the method completes, check to see if that object is still blank or contains an error.
  • Pass an NSError object to some failure delegate method or callback method.
NSError objects contain information about the occurred error that error handling code can use to decide further actions.

Q: What is the source of exc_bad_access error in iOS?

exc_bad_access errors are a common source of frustration for iOS developers due to the lack of useful debugging information that they provide. They often occur when trying to access an object that was never initialized or has already been released. These errors can also result from passing a parameter to a message that the message is not intended to receive (such as passing a NSInteger when an NSString is expected).
To find the source of the problem, a developer can enable NSZombies in Xcode and keep objects that would normally be released alive as “zombies”. After enabling NSZombies, you can then follow what is happening in your code and receive a message when the application tries to access an object that has been released, thereby identifying the problem in your code.

Q: What can cause ANR error on Android?

We can find a perfect explanation on the Android Developer website.
The system displays an ANR if an application cannot respond to user input. For example, if an application blocks some I/O operation (frequently a network access) on the UI thread so the system can’t process incoming user input events. Or perhaps the app spends too much time building an elaborate in-memory structure, or computing the next move in a game on the UI thread. It’s always important to make sure these computations are efficient, but even the most efficient code still takes time to run.

Q: What are the advantages of Swift over Objective-C?

This is an open ended question, so you can use it to test how a developer handles conflicting situations by taking the opposite viewpoint of their claims. Almost any difference between Objective-C and Swift can be seen from both sides, either as a step in good direction or step in bad direction. You can find more information about Swift on our blog From Objective-C to Learning Swift

Q: Compare UITableView/UITableViewDelegate on iOS with ListViews/ListAdapter on Android.

On iOS, UITableView (table view) is a part of UIKit, used for displaying and editing hierarchical lists of information. A table view displays a list of items in a single column allowing users to scroll through the table. UITableViewDelegate is a protocol that delegates of UITableView must adopt. Methods of protocol allow delegate to manage data and presentation of data in the table view. We could say that object implementing UITableViewDelegate protocol adapts data so it can be used inside table view.
On Android, ListView is used for displaying data in a scrollable table, and ListAdapter is an interface that needs to be implemented by class adapting data for ListView that displays it.
In short, UITableView/UITableViewDelegate and ListViews/ListAdapter are the same concept named differently.

Q: How are animations created on Android and iOS?

Android documentation gives a nice description of animation options on Android.
Android provides two mechanisms that you can use to create simple animations: tweened animation, in which you tell Android to perform a series of simple transformations (position, size, rotation, and so on) to the content of a View; and frame-by-frame animation, which loads a series of Drawable resources one after the other. Both animation types can be used in any View object to provide simple rotating timers, activity icons, and other useful UI elements.
Tweened animation is the preferred option, as it allows more granular programmatic control over what happens and is easier to adjust for specific requirements.
On iOS, the most preferred animation option is creating animations using UIView class methods (animateWithDuration:animations:, animateWithDuration:animations:completion:, and animateWithDuration:delay:options:animations:completion:) All three methods are block based, and as they are UIView class methods, animations are not tied to any particular view so one animation can animate multiple properties of multiple views.

Q: How do Memory Management and Garbage Collection Function?

Objective-C keeps track of what objects are in use by keeping a retain count for each object. When an object is referenced, retain count is increased. When dereferenced, retain count is decreased. When count goes to zero, the object is removed from memory. Retain count can be managed manually (Manual Retain-Release - MRR) or automatically (Automatic Reference Count - ARC).
With MRR, developers had to worry about retaining and releasing an object. In contrast, ARC automatically takes care of updating retain count. As result of that, most iOS applications and developers are using ARC.
On Android, memory management is completely different. Dalvik virtual machine performs routine garbage collection and removes memory from all objects not referenced by other objects. This usually works as it should, but common sources of problems are Bitmaps. You can find more about Bitmap memory management here.

Conclusion

We just scratched the tip of the iceberg of knowledge needed to be a top Android and iOS app developer, although we highlighted some important core concepts and differences.
Taking into account the complexity of each of platform, it becomes clear that it can take years for developers to master all necessary knowledge. We hope that questions and answers presented in this post will help you find the right app developer for your project.

This post originally appeared in the Toptal Engineering blog

Thursday, December 03, 2015

Friday, October 23, 2015

Job profiles requirement - Kapil Sharma


Job profiles requirement. 

1). Job Title: Business Analyst 
Job Code: 102015/BA/03
Job Type: Full Time
Job Location: Panchkula/Chandigarh
Experience: Minimum 4+ years’ experience in business analyst role in software domain.
Required Skills:
  • Responsible for system study, requirement gathering, analysis, designing and UAT for project.
  • Managing documentation including SRS, FRS, BRS and writing use cases, help files, user manuals and also performing functional testing.
  • Requirements understanding and system impact analysis, business plan creation and execution.
  • Involved in different activities of project such as information meetings and analysing them.
  • Ensure quality procedures related to the project such as creating BA-Standard Operation Procedure.
  • Regular calls with the onsite team for the status of the work.
  • Interaction with client technical team to ensure that requirements are clear.
  • Coordinated, managed activities within the projects and capture meeting minutes.
  • Proficient with designing and prototyping tools like Mockflow.
  • Mapping business case requirements and work with QA teams.
  
2). Job Title: Sr. PHP Developer 
Job Code: 102015/PHP/01
Job Type: Full Time
Job Location: Panchkula/Chandigarh

Experience: Minimum 4+ years’ experience in coding web based applications in PHP.

Required Skills:
  • Strong concepts working with Object Oriented Programming.
  • Experience working with latest social networking technologies.
  • Ability to write W3C standards compliant, cross browser compatible (Chrome, IE8+, Firefox)
  • Front-end mark-up in HTML/CSS/AJAX/JQuery & JSON
  • Can work with a number of MVC frameworks and write strong, scalable code.
  • Ability to write and performance optimize SQL queries for MySQL (NoSQL a plus)
  • Mobile application development a big plus. (iPhone, Android)
  • Strong work ethic and ability to construct complex projects quickly.
  • An ardent problem-solver.
  • Experience in programming APIs.
  • CMS (Joomla) experience is must, any other CMS exp. is plus
  • Working knowledge of AngularJS is a plus.
Note: Candidate Must have CMS Knowledge mainly in (Joomla, WordPress). 


3). Job Title: PHP Developer 
Job Code: 102015/PHP/02
Job Type: Full Time
Job Location: Panchkula/Chandigarh

Experience: Minimum 2+ years’ experience in coding web based applications in PHP.

Required Skills:
  • Min. 2+ years’ experience coding web based applications in PHP.
  • Strong concepts working with Object Oriented Programming.
  • Experience working with latest social networking technologies.
  • Ability to write W3C standards compliant, cross browser compatible (Firefox, IE8+, Chrome).
  • Front-end mark-up in HTML/CSS/JQuery/JSON.
  • Can work with a number of MVC frameworks and write strong, scalable code
  • Ability to write and performance optimize SQL queries for MySQL
  • Experience in programming APIs
  • Strong work ethic and ability to construct complex projects quickly.
  • An ardent problem-solver. • CMS knowledge is an advantage.
4). Job Title: UI Designer 
Job Code: 102015/UI/04
Job Type: Full Time
Job Location: Panchkula/Chandigarh

Experience: Minimum 2+ years of experience in as a Web / Mobile user interface designer.

 Required Skills:
  • Create impactful power point / word reports from a look and feel / design aspect.
  • Conceptualizing, designing and prototyping new features for our product.
  • Proficient with designing and prototyping tools must. (Photoshop / Illustrator)
  • Deep understanding of typography, colour schemes, platforms and layouts.
  • Front-end programming skills. (Desirable, HTML, CSS, JQuery)
  • Experience working with web responsive design.
  • Ability to work independently, meet strict deadlines and manage client requests with different requirements/specifications.
  • Please include links to your portfolio or attach it along with your resume.

Intrested candidate send there resume with subject code@: careers@hkcl.in

Wednesday, March 23, 2011

User scenario testing for Android O.S



User scenario testing for Android

Robotium is a test framework created to make it easy to write powerful and robust automatic black-box test cases for Android applications. 

With the support of Robotium, test case developers can write function, system and acceptance test scenarios, spanning multiple Android activities.

Robotium has full support for Activities, Dialogs, Toasts, Menus and Context Menus.

Navigating Portfolio Management Services (PMS): Evaluation, Strategy, and Return Dynamics.

  What is Portfolio Management Services (PMS)? Portfolio Management Services (PMS) are customized, professional investment solutions designe...