Blog
Password Example

How do I create a login for my mobile app? That’s a question we hear frequently from ViziApps users who want to create apps for the iPhone, iPad and Android devices. Here’s an example that addresses that question, illustrating how to add a login for a hybrid app that uses JavaScript.In this example, the app requires a user to enter a name and password and then click the login button. When the button is clicked, the app queries a Google Docs spreadsheet to access two sets of data: a list of users and a separate list of alert messages.

To prepare to build this type of app, then, you’ll need a list of users and alert messages, provided on two sheets within a separate spreadsheet. See the example below.

Users Messages

Each sheet in the spreadsheet can be thought of as a table within an SQL database.

The field names for the tables are in in the first row of data.

Password Example with Icons

In the ViziApps Studio view of the app, shown in the image here, notice the two icons on the bottom of the screen. The circle with a squiggle is a hidden field, which I called “checkAccountStatus”. The icon on the right of the screen is an alert field that I called “loginMessage”.

Below is the Manage Data section of the sample app, completed in a way that ensures that the appropriate commands will be executed when the login button is clicked.

Command Spreadsheet

After connecting to the Google Docs spreadsheet, I selected the accountstatus from the user sheet and move it to the hidden field called checkAccountStatus. I did this where the username and userpassword from the Google Docs spreadsheet match the inputName and inputPassword (the internal names I assigned to the fields).

The next step is to use an IF/THEN/ELSE sequence to get the correct alert, by testing to see if the checkAccountStatus is equal to “active”.

IF it is,

THEN we select from the messages sheet, (WHERE the type is equal to “goodLogin”), the message (which would be “Good Login”) and move it to the loginMessage (an alert field), and then move the type to checkAccountStatus to clear out “active”. The user will receive a popup alert saying “Good Login”

ELSE select from the message sheet the message (WHERE the type is equal to “badLogin”), the message (which would be “Your login credentials did not match or your account is inactive”and move it to the loginMessage (our alert field). The user will receive a popup alert saying “Your login credentials did not match or your account is inactive”.

Password Example Login Not Ok

If the entered Name and Password are correct, the alert “Login OK” is displayed. If they are incorrect, or if the account is inactive, the alert “Your login credentials did not match or your account is inactive” is displayed.

These directions will help you build mobile apps with login capability whether you want to create apps for Android devices or the iPhone or iPad.

Forecasts on the use of smartphones in the enterprise highlight the need for mobile business apps – to meet current and future demand.

In 2013, smartphones will comprise 54% of all global cellphone shipments, according to the IHS iSuppli Wireless Communications market tracker report. That will mark a significant milestone: for the first time smartphones will account for more than half of cellphone shipments worldwide. And that milestone will be reached two years earlier than was previously estimated.

The growth of smartphone shipments can be attributed to several trends in the market over the past year. Specifically, IHS iSuppli reports, smartphones have become increasingly affordable while the availability of a wider range of models has provided consumers greater choice. In Asia-Pacific, those trends have translated into growing sales of low-end smartphones, while in the U.S. and Europe sales of midrange and high-end smartphones have jumped.

The popularity of smartphones has, and will continue to have, repercussions in the enterprise, where employees have enthusiastically adopted mobile technology. ABI Research, for example, predicts that smartphones will continue to be important to the global workforce, and that by 2017, 2.4 billion employees worldwide will use those devices for work. That type of growth, says ABI Research Enterprise Practice Director Dan Shey, underscores the need to provide all employees with tools, apps and services they can access and use with their smartphones.

As reported in an earlier ViziApps blog post, most companies are supporting BYOD in some form, and according to the results of an AppCentral report, employers are making one or more custom mobile apps available to their workforces. In addition, non-employees, such as partners and contractors, are also being supplied with mobile apps tailored to a particular business need.

Today it’s no longer necessary to single out “mobile” employees. Smartphone users in all areas of the enterprise can now be considered mobile since they carry considerable computing power wherever they go. That’s why all employees could benefit from mobile business apps. They need a full range of mobile business apps to meet their needs – from simple productivity tools to more complex apps that can access and deliver critical business data. Those are the types of mobile apps our customers are creating with ViziApps.

Mobile App Management solution provider AppCentral has published a report that confirms what many have long suspected: enterprises are building and deploying custom mobile apps. And not just for their employees. Partners, distributors and contractors are also getting mobile apps built specifically by companies that recognize the need to provide productivity tools for the extended mobile workforce.

The AppCentral report, “Custom Mobile App Usage in the Workplace,” summarizes finding based on a survey of 200 people, representing 100 companies, who use smart mobile devices to perform their jobs.

One of the most interesting findings for readers of this blog: 68% of respondents indicated that their employers made one or more custom mobile apps available to them. In addition, non-employees, such as partners and contractors, are also being supplied with mobile apps tailored to a particular business need. And 62% of companies surveyed allow their employees to bring their mobile devices to work.

At ViziApps we view BYOD as a significant driver for custom business apps. Our users are leveraging ViziApps to create mobile apps without coding. In companies that have not anticipated the popularity of BYOD or the demand for mobile apps it would generate, business users are building apps with ViziApps in significantly less time and with much smaller budgets than they would taking a traditional approach.

The AppCentral survey found that IT is not the main funding source for the development of the custom mobile apps being built in the enterprise. Instead, funding comes from business units (for 36%) or marketing and executive leadership budgets (for 31%), where the need for apps originates. Подробное описание как играть в Вулкан Ставка по этой ссылке.

Those findings reflect a trend that jibes with forecasts Gartner made last year, which predicted that by 2015, custom mobile app projects will outnumber native PC projects by a ratio of 4:1.

Based on its findings, AppCentral recommends investing in custom mobile apps as a way to remain competitive. We can’t disagree.

ViziApps instructional videos help businesses of all sizes take full advantage of the ViziApps platform to build mobile apps for use by customers, employees, partners, and others. Watch those videos to understand how to use the powerful features of the ViziApps platform for creating apps for the iPhone, iPad, Android smartphones and Android tablets.

ViziApps is a do it yourself mobile apps platform that enables organizations of all sizes to rapidly design and build custom data-rich mobile applications for business with no coding. Each video focuses on a specific feature or features, demonstrating how to use the ViziApps no-coding approach to build data-rich apps.

The videos offer a convenient way to see ViziApps capabilities in action, either before getting started on a mobile app building project or anytime during the creative process. Features covered by the videos include:

Go to the ViziApps Channel on YouTube to find the complete selection of instructional videos on how to build your own mobile business app with ViziApps.

Subcategories