Quantcast
Channel: Envato Tuts+ Code - Mobile Development
Viewing all 1836 articles
Browse latest View live

Securing Communications on Android

$
0
0
tag:code.tutsplus.com,2005:PostPresenter/cms-31596

With all the recent data breaches, privacy has become an important topic. Almost every app communicates over the network, so it's important to consider the security of user information. In this post, you'll learn the current best practices for securing the communications of your Android app.

Use HTTPS

As you are developing your app, it's best practice to limit your network requests to ones that are essential. For the essential ones, make sure that they're made over HTTPS instead of HTTP. HTTPS is a protocol that encrypts traffic so that it can't easily be intercepted by eavesdroppers. The good thing about Android is that migrating is as simple as changing the URL from http to https

In fact, Android N and higher versions can enforce HTTPS using Android’s Network Security Configuration.

In Android Studio, select the app/res/xml directory for your project. Create the xml directory if it doesn't already exist. Select it and click File > New File. Call it network_security_config.xml. The format for the file is as follows:

To tell Android to use this file, add the name of the file to the application tag in the AndroidManifest.xml file:

Update Crypto Providers

The HTTPS protocol has been exploited several times over the years. When security researchers report vulnerabilities, the defects are often patched. Applying the patches ensures that your app's network connections are using the most updated industry standard protocols. The most recent versions of the protocols contain fewer weaknesses than the previous ones. 

To update the crypto providers, you will need to include Google Play Services. In your module file of build.gradle, add the following line to the dependencies section:

The SafetyNet services API has many more features, including the Safe Browsing API that checks URLs to see if they have been marked as a known threat, and a reCAPTCHA API to protect your app from spammers and other malicious traffic.

After you sync Gradle, you can call the ProviderInstaller's installIfNeededAsync method:

The onProviderInstalled() method is called when the provider is successfully updated, or already up to date. Otherwise, onProviderInstallFailed(int errorCode, Intent recoveryIntent) is called. 

Certificate and Public Key Pinning

When you make an HTTPS connection to a server, a digital certificate is presented by the server and validated by Android to make sure the connection is secure. The certificate may be signed with a certificate from an intermediate certificate authority. This certificate used by the intermediate authority might in turn be signed by another intermediate authority, and so on, which is trustworthy as long as the last certificate is signed by a root certificate authority that is already trusted by Android OS.

If any of the certificates in the chain of trust are not valid, then the connection is not secure. While this is a good system, it's not foolproof. It's possible for an attacker to instruct Android OS to accept custom certificates. Interception proxies can possess a certificate that is trusted, and if the device is controlled by a company, the company may have configured the device to accept its own certificate. These scenarios allow for a “man in the middle” attack, allowing the HTTPS traffic to be decrypted and read. 

Certificate pinning comes to the rescue by checking the server's certificate that is presented against a copy of the expected certificate. This prevents connections from being made when the certificate is different from the expected one.

In order to implement pinning on Android N and higher, you need to add a hash (called pins) of the certificate into the network_security_config.xml file. Here is an example implementation:

To find the pins for a specific site, you can go to SSL Labs, enter the site, and click Submit. Or, if you're developing an app for a company, you can ask the company for it.

Note: If you need to support devices running an OS version older than Android N, you can use the TrustKit library. It utilizes the Network Security Configuration file in exactly the same way.

Sanitization and Validation

With all of the protections so far, your connections should be quite secure. Even so, don't forget about regular programming validation. Blindly trusting data received from the network is not safe. A good programming practice is “design by contract”, where the inputs and outputs of your methods satisfy a contract that defines specific interface expectations. 

For example, if your server is expecting a string of 48 characters or less, make sure that the interface will only return up to and including 48 characters.

If you're only expecting numbers from the server, your inputs should check for this. While this helps to prevent innocent errors, it also reduces the likelihood of injection and memory corruption attacks. This is especially true when that data gets passed to NDK or JNI—native C and C++ code.

The same is true for sending data to the server. Don't blindly send out data, especially if it's user-generated. For example, it's good practice to limit the length of user input, especially if it will be executed by an SQL server or any technology that will run code. 

While securing a server against attacks is beyond the scope of this article, as a mobile developer, you can do your part by removing characters for the language that the server is using. That way, the input is not susceptible to injection attacks. Some examples are stripping quotes, semicolons and slashes when they're not essential for the user input:

If you know exactly the format that is expected, you should check for this. A good example is email validation:

Files can be checked as well. If you're sending a photo to your server, you can check it's a valid photo. The first two bytes and last two bytes are always FF D8 and FF D9 for the JPEG format.

Be careful when displaying an error alert that directly shows a message from the server. Error messages could disclose private debugging or security-related information. The solution is to have the server send an error code that the client looks up to show a predefined message.

Communication With Other Apps

While you're protecting communication to and from the device, it's important to protect IPC as well. There have been cases where developers have left shared files or have implemented sockets to exchange sensitive information. This is not secure. It is better to use Intents. You can send data using an Intent by providing the package name like this:

To broadcast data to more than one app, you should enforce that only apps signed with your signing key will get the data. Otherwise, the information you send can be read by any app that registers to receive the broadcast. Likewise, a malicious app can send a broadcast to your app if you have registered to receive the broadcast. You can use a permission when sending and receiving broadcasts where signature is used as the protectionLevel. You can define a custom permission in the manifest file like this:

Then you can grant the permission like this: 

Both apps need to have the permissions in the manifest file for it to work. To send the broadcast:

Alternatively, you can usesetPackage(String) when sending a broadcast to restrict it to a set of apps matching the specified package. Setting android:exported to false in the manifest file will exclude broadcasts that are received from outside of your app.

End-to-End Encryption

It's important to understand the limits of HTTPS for protecting network communications. In most HTTPS implementations, the encryption is terminated at the server. For example, your connection to a corporation's server may be over HTTPS, but once that traffic hits the server, it is unencrypted. It may then be forwarded to other servers, either by establishing another HTTPS session or by sending it unencrypted. The corporation is able to see the information that has been sent, and in most cases that's a requirement for business operations. However, it also means that the company could pass the information out to third parties unencrypted.

There is a recent trend called "end-to-end encryption" where only the two end communicating devices can read the traffic. A good example is an encrypted chat app where two mobile devices are communicating with each other through a server; only the sender and receiver can read each other's messages.

An analogy to help you understand end-to-end encryption is to imagine that you want someone to send you a message that only you can read. To do this, you provide them with a box with an open padlock on it (the public key) while you keep the padlock key (private key). The user writes a message, puts it in the box, locks the padlock, and sends it back to you. Only you can read the message because you're the only one with the key to unlock the padlock.

With end-to-end encryption, both users send each other their keys. The server only provides a service for communication, but it can't read the content of the communication. While the implementation details are beyond the scope of this article, it's a powerful technology. If you want to learn more about this approach, a great place to start is the GitHub repo for the open-sourced Signal project.

Conclusion

With all the new privacy laws such as GDPR, security is ever more important. It's often a neglected aspect of mobile app development.

In this tutorial, you've covered the security best practices, including using HTTPS, certificate pinning, data sanitization and end-to-end encryption. These best practices should serve as a foundation for security when developing your mobile app. If you have any questions, feel free to leave them below, and while you're here, check out some of my other tutorials about Android app security! 

2018-09-21T13:00:00.000Z2018-09-21T13:00:00.000ZCollin Stuart

New Course on Kotlin Android Services

$
0
0

In our new course, Kotlin Android Fundamentals: Services, you'll learn everything you need to know to use Services in your Kotlin Android app.

Kotlin Android Services

First, your instructor Annapurna Agrawal will teach you about the different types of Service: how they are different, and the tasks they perform in an Android app. You'll see examples of different kinds of Service in popular apps, and you'll get to practice creating useful Services from scratch. Finally, you'll learn about the Broadcast Receiver, which lets Activities and Services communicate.

You can take our new course straight away with a subscription to Envato Elements. For a single low monthly fee, you get access not only to this course, but also to our growing library of over 1,000 video courses and industry-leading eBooks on Envato Tuts+. 

Plus you now get unlimited downloads from the huge Envato Elements library of 680,000+ creative assets. Create with unique fonts, photos, graphics and templates, and deliver better projects faster.

 

2018-09-25T09:24:04.000Z2018-09-25T09:24:04.000ZAndrew Blackman

New Course on Kotlin Android Services

$
0
0
tag:code.tutsplus.com,2005:PostPresenter/cms-31895

In our new course, Kotlin Android Fundamentals: Services, you'll learn everything you need to know to use Services in your Kotlin Android app.

Kotlin Android Services

First, your instructor Annapurna Agrawal will teach you about the different types of Service: how they are different, and the tasks they perform in an Android app. You'll see examples of different kinds of Service in popular apps, and you'll get to practice creating useful Services from scratch. Finally, you'll learn about the Broadcast Receiver, which lets Activities and Services communicate.

You can take our new course straight away with a subscription to Envato Elements. For a single low monthly fee, you get access not only to this course, but also to our growing library of over 1,000 video courses and industry-leading eBooks on Envato Tuts+. 

Plus you now get unlimited downloads from the huge Envato Elements library of 680,000+ creative assets. Create with unique fonts, photos, graphics and templates, and deliver better projects faster.

 

2018-09-25T09:24:04.000Z2018-09-25T09:24:04.000ZAndrew Blackman

15 Best eCommerce Android App Templates

$
0
0

The best eCommerce app templates allow users to convert their existing online shop to a mobile store app quickly and easily. Building an eCommerce app can be a great investment for retailers of any size or product type because of the number of people using their mobile devices as their primary and sometimes only device for getting online. 

eCommerce apps can generate greater customer engagement and increase sales over traditional websites. Every eCommerce app should offer such key functions as allowing your customer to register, log in, shop and make payments, view order status and order history, and generally manage their account. 

Today I take a look at the 15 best eCommerce android app templates available at CodeCanyon. Any of these fully functional app templates would be a great start for building your own eCommerce app, and most come with full source code so you can customize every aspect.

1. MStore Pro

MStore Pro eCommerce app template for Android is an easy favourite among developers. For those with an existing online shop, it enables easy conversion to a mobile store app, and for those who own a physical shop but don’t yet have an online store, MStore provides a variety of ready-to-use eCommerce templates to create a mobile store app from scratch.

The template requires no coding skills and is very easy to customise.

MStore Pro

User abhibavishi says:

“Awesome product, great support! Love the quality of the code, along with the final output. I wish I could give more than 5 stars." 

2. WooCommerce Mobile App

In spite of being on the market for just a few months, WooCommerce Mobile App has been selling steadily and is one of the best-rated templates in this category. The app allows clients to connect to their WooCommerce store and sync categories and products in real time. 

Once customers register and log in, they can shop, pay for items, view order status and order history, and manage their account. Useful features include a featured products page, categories, a powerful search and filter, list and grid views, ratings, and reviews. 

WooCommerce Mobile App

User Sheen_An says:

“I love the product—it's very comprehensive and easy to use. More than that—the support is good with a fast response.”

3. Android eCommerce

Android eCommerce is a great app template for store owners and developers alike. It provides a variety of ready-made eCommerce pages to help you create your own personalised Android shopping app quickly and easily. 

It includes a number of useful features like coupon support, social share, wish lists, product filters, product sorting, ability to manage and track orders, and more. Apart from the usual support, the developer provides customisation and installation services at a reasonable price.

Android E-Commerce

User ghengis says:

“Customer service is very fast, polite and helpful. The app itself is very easy to use: with access to the full and unrestricted source code you can make all the changes that you require before publishing. Couldn't ask for a better base to build a store app from.”

4. TapShop

Made with AngularJS, Iconic and Meteor, TapShop is a full-service eCommerce app for Android that offers a ton of great features like automated email responses, account verification, user feedback and rating, social login, ability to shop listings by category, monetisation using AdMob, and more.

TapShop

User aflatlineblur says:

“App functioned perfectly in all my tests, and the developer was quick to respond to questions. 10/10 customer service.”

5. Markeet

Markeet is an eCommerce app template developed using native languages which ensures that your apps will run smoothly and quickly. It also uses Google Material Design for a great UI experience. Some of its best features are its simple drawer menu, list category view, product and category details view, and slider feature.

Markeet

User adek1 says:

“The template looks great. Wasn’t too hard to customise and get working after a few emails. Customer support was great, got emails same day as I sent them.”

6. Ionic 3 App for WooCommerce

The Ionic 3 App for WooCommerce app template for Android allows you to build an app that will connect to your WooCommerce store and sync categories and products in real time. It supports almost all payment methods, allows customers to search products globally on the home page and filter products within categories, allows customers to review items, leave feedback and read the reviews posted by others, supports automatic login, and much more.

Ionic 3 App for WooCommerce

User darklink000 says:

“All the promised functions are present and work correctly. I was able to publish my app without major problems. Clear documentation. Excellent product.”

7. BeoStore

BeoStore app template is built with React Native which allows developers to write code across different mobile operating systems. The template offers a variety of high-quality templates with cool animations and easy-to-customise themes.  

BeoStore

Some of the best features are:

  • the intro page with parallax effect
  • sign-up and sign-in pages
  • product categories page
  • product detail and slideshow
  • a checkout page with shipping address, payment info, confirm and complete sections 

8. IcyMobi 

IcyMobi allows you to transform your eCommerce Business into a fresh shopping experience on Android tablets and mobile devices. It has loads of components and plugins, and it provides examples to help you build the right app for you. 

IcyMobi

It offers plenty of great features, including:

  • product grid and category list views
  • powerful search
  • different shipping method options
  • a variety of payment methods
  • push notifications

9. BAZAAR

Built with AngularJS and Ionic Framework, BAZAAR is a multipurpose Android app template with tons of features and functionalities. The template includes more than 35 carefully designed screens, and each component has its dedicated SASS files and partials which are structured to give users maximum modularity, flexibility, and customisability.

BAZAAR

User david_smith_55 says:

“Love the design. Tons of elements/pages.”

10. Mokets V2.0

Mokets, which stands for mobile markets, is another eCommerce app template targeting today’s busy shoppers. The template offers unlimited shops, categories, sub-categories and products for developers or shop owners to build any kind of eCommerce app they need. 

It distinguishes itself with a gorgeous Pinterest-type grid that displays items for sale with all relevant information. It features user registration and login, shopping cart with checkout, transaction history, Apple push notification, user feedback, analytics which track customer interests, and so much more.

Mokets V20

User blackisthesoul says:

“Great support team. They fixed and solved the bugs report very well.”

11. WooCommerce Ionic Mobile App

WooCommerce Ionic Mobile App template is an easy-to-configure template that integrates with the WooCommerce platform and turns your web store into a beautiful mobile shopping app. The app has many WooCommerce features such as products, categories, shopping cart, checkout, and order history. 

It comes with its own WordPress plugin developed to integrate the mobile app with WooCommerce stores, making the app independent of the WooCommerce REST API limitations. This also allows the app template to be easily updatable with new features. 

WooCommerce Ionic Mobile App

Customers can sign in and out from the app. Their shipping and billing information is stored during checkout and is automatically filled in the forms during subsequent checkouts.

User raym3d says:

“Excellent app. Easy to install thanks to a clear documentation provided by the author. 10/10 in customer service. 100% recommended.”

12. CiyaShop

The CiyaShop native Android app template allows you to create an eCommerce app without coding. One of the best-rated eCommerce apps at CodeCanyon, CiyaShop is perfect for a wide variety of retail stores. There are over 30 demo templates that will give you ideas of how to use the template to suit your specific needs. The app synchronises easily with your WooCommerce site. 

CiyaShop

Some other great features are:

  • in-app coupons
  • delivery tracking
  • reward points
  • multi-currency conversions

User macstec says:

“Very flexible installation and configuration. Excellent customer support. I recommend.”

13. Maestro

Built with Ionic, the Maestro app template provides a beautiful collection of eCommerce components for creating your new mobile shopping app. The template offers all the great features one expects in the best eCommerce templates: 

  • user authentication for login
  • a variety of styles for product listing
  • WooCommerce integration
  • an online payment system that accepts all major debit and credit cards in over 100 currencies
  • a nicely constructed shopping cart
  • and more!

Not only that, but Maestro does it all using a modern minimalist style that users looking for a contemporary themed template will appreciate.

Maestro

14. Grocery WooCommerce Android 

Grocery WooCommerce Android is an app template designed specifically to be a one-stop shop for all things to do with groceries and essential house supplies. The template is designed and developed with Google Material Design to offer a beautiful UI. 

The home screen includes an attractive top banner slider for displaying exciting offers followed by a single tap search option. Below the slider is a shop by category grid that allows users to shop for groceries with a few clicks. 

Grocery WooCommerce Android

User dirkagain says:

“It doesnt get better than this, 1. affordable 2. clean quality code 3. dummy-friendly installation and 4. great support.”

15. eCommerce Android Native App

One of the newest app templates at Code Canyon, eCommerce Android Native App template is designed specifically for Android and uses Material Design to ensure a great UI experience. 

The template is highly customisable and offers a beautifully designed intro screen with gesture animations and a parallax scrollbar effect. It also comes with a powerful back-end to manage every aspect of your store’s setup and operation. You'll also find a huge variety of user features like grid and list views for products, review and feedback options, a range of payment options, and so on. 

E-Commerce Android Native App

Conclusion

These 15 best eCommerce Android app templates are just a small selection of the hundreds of Android app templates we have available at CodeCanyon, so if none of them quite fits your needs, there are plenty of other great options to choose from.

And if you want to improve your skills building Android apps and templates, then check out some of the ever-so-useful Android tutorials we have on offer.

2018-09-28T04:53:59.444Z2018-09-28T04:53:59.444ZNona Blackman

15 Best eCommerce Android App Templates

$
0
0
tag:code.tutsplus.com,2005:PostPresenter/cms-31887

The best eCommerce app templates allow users to convert their existing online shop to a mobile store app quickly and easily. Building an eCommerce app can be a great investment for retailers of any size or product type because of the number of people using their mobile devices as their primary and sometimes only device for getting online. 

eCommerce apps can generate greater customer engagement and increase sales over traditional websites. Every eCommerce app should offer such key functions as allowing your customer to register, log in, shop and make payments, view order status and order history, and generally manage their account. 

Today I take a look at the 15 best eCommerce android app templates available at CodeCanyon. Any of these fully functional app templates would be a great start for building your own eCommerce app, and most come with full source code so you can customize every aspect.

1. MStore Pro

MStore Pro eCommerce app template for Android is an easy favourite among developers. For those with an existing online shop, it enables easy conversion to a mobile store app, and for those who own a physical shop but don’t yet have an online store, MStore provides a variety of ready-to-use eCommerce templates to create a mobile store app from scratch.

The template requires no coding skills and is very easy to customise.

MStore Pro

User abhibavishi says:

“Awesome product, great support! Love the quality of the code, along with the final output. I wish I could give more than 5 stars." 

2. WooCommerce Mobile App

In spite of being on the market for just a few months, WooCommerce Mobile App has been selling steadily and is one of the best-rated templates in this category. The app allows clients to connect to their WooCommerce store and sync categories and products in real time. 

Once customers register and log in, they can shop, pay for items, view order status and order history, and manage their account. Useful features include a featured products page, categories, a powerful search and filter, list and grid views, ratings, and reviews. 

WooCommerce Mobile App

User Sheen_An says:

“I love the product—it's very comprehensive and easy to use. More than that—the support is good with a fast response.”

3. Android eCommerce

Android eCommerce is a great app template for store owners and developers alike. It provides a variety of ready-made eCommerce pages to help you create your own personalised Android shopping app quickly and easily. 

It includes a number of useful features like coupon support, social share, wish lists, product filters, product sorting, ability to manage and track orders, and more. Apart from the usual support, the developer provides customisation and installation services at a reasonable price.

Android E-Commerce

User ghengis says:

“Customer service is very fast, polite and helpful. The app itself is very easy to use: with access to the full and unrestricted source code you can make all the changes that you require before publishing. Couldn't ask for a better base to build a store app from.”

4. TapShop

Made with AngularJS, Iconic and Meteor, TapShop is a full-service eCommerce app for Android that offers a ton of great features like automated email responses, account verification, user feedback and rating, social login, ability to shop listings by category, monetisation using AdMob, and more.

TapShop

User aflatlineblur says:

“App functioned perfectly in all my tests, and the developer was quick to respond to questions. 10/10 customer service.”

5. Markeet

Markeet is an eCommerce app template developed using native languages which ensures that your apps will run smoothly and quickly. It also uses Google Material Design for a great UI experience. Some of its best features are its simple drawer menu, list category view, product and category details view, and slider feature.

Markeet

User adek1 says:

“The template looks great. Wasn’t too hard to customise and get working after a few emails. Customer support was great, got emails same day as I sent them.”

6. Ionic 3 App for WooCommerce

The Ionic 3 App for WooCommerce app template for Android allows you to build an app that will connect to your WooCommerce store and sync categories and products in real time. It supports almost all payment methods, allows customers to search products globally on the home page and filter products within categories, allows customers to review items, leave feedback and read the reviews posted by others, supports automatic login, and much more.

Ionic 3 App for WooCommerce

User darklink000 says:

“All the promised functions are present and work correctly. I was able to publish my app without major problems. Clear documentation. Excellent product.”

7. BeoStore

BeoStore app template is built with React Native which allows developers to write code across different mobile operating systems. The template offers a variety of high-quality templates with cool animations and easy-to-customise themes.  

BeoStore

Some of the best features are:

  • the intro page with parallax effect
  • sign-up and sign-in pages
  • product categories page
  • product detail and slideshow
  • a checkout page with shipping address, payment info, confirm and complete sections 

8. IcyMobi 

IcyMobi allows you to transform your eCommerce Business into a fresh shopping experience on Android tablets and mobile devices. It has loads of components and plugins, and it provides examples to help you build the right app for you. 

IcyMobi

It offers plenty of great features, including:

  • product grid and category list views
  • powerful search
  • different shipping method options
  • a variety of payment methods
  • push notifications

9. BAZAAR

Built with AngularJS and Ionic Framework, BAZAAR is a multipurpose Android app template with tons of features and functionalities. The template includes more than 35 carefully designed screens, and each component has its dedicated SASS files and partials which are structured to give users maximum modularity, flexibility, and customisability.

BAZAAR

User david_smith_55 says:

“Love the design. Tons of elements/pages.”

10. Mokets V2.0

Mokets, which stands for mobile markets, is another eCommerce app template targeting today’s busy shoppers. The template offers unlimited shops, categories, sub-categories and products for developers or shop owners to build any kind of eCommerce app they need. 

It distinguishes itself with a gorgeous Pinterest-type grid that displays items for sale with all relevant information. It features user registration and login, shopping cart with checkout, transaction history, Apple push notification, user feedback, analytics which track customer interests, and so much more.

Mokets V20

User blackisthesoul says:

“Great support team. They fixed and solved the bugs report very well.”

11. WooCommerce Ionic Mobile App

WooCommerce Ionic Mobile App template is an easy-to-configure template that integrates with the WooCommerce platform and turns your web store into a beautiful mobile shopping app. The app has many WooCommerce features such as products, categories, shopping cart, checkout, and order history. 

It comes with its own WordPress plugin developed to integrate the mobile app with WooCommerce stores, making the app independent of the WooCommerce REST API limitations. This also allows the app template to be easily updatable with new features. 

WooCommerce Ionic Mobile App

Customers can sign in and out from the app. Their shipping and billing information is stored during checkout and is automatically filled in the forms during subsequent checkouts.

User raym3d says:

“Excellent app. Easy to install thanks to a clear documentation provided by the author. 10/10 in customer service. 100% recommended.”

12. CiyaShop

The CiyaShop native Android app template allows you to create an eCommerce app without coding. One of the best-rated eCommerce apps at CodeCanyon, CiyaShop is perfect for a wide variety of retail stores. There are over 30 demo templates that will give you ideas of how to use the template to suit your specific needs. The app synchronises easily with your WooCommerce site. 

CiyaShop

Some other great features are:

  • in-app coupons
  • delivery tracking
  • reward points
  • multi-currency conversions

User macstec says:

“Very flexible installation and configuration. Excellent customer support. I recommend.”

13. Maestro

Built with Ionic, the Maestro app template provides a beautiful collection of eCommerce components for creating your new mobile shopping app. The template offers all the great features one expects in the best eCommerce templates: 

  • user authentication for login
  • a variety of styles for product listing
  • WooCommerce integration
  • an online payment system that accepts all major debit and credit cards in over 100 currencies
  • a nicely constructed shopping cart
  • and more!

Not only that, but Maestro does it all using a modern minimalist style that users looking for a contemporary themed template will appreciate.

Maestro

14. Grocery WooCommerce Android 

Grocery WooCommerce Android is an app template designed specifically to be a one-stop shop for all things to do with groceries and essential house supplies. The template is designed and developed with Google Material Design to offer a beautiful UI. 

The home screen includes an attractive top banner slider for displaying exciting offers followed by a single tap search option. Below the slider is a shop by category grid that allows users to shop for groceries with a few clicks. 

Grocery WooCommerce Android

User dirkagain says:

“It doesnt get better than this, 1. affordable 2. clean quality code 3. dummy-friendly installation and 4. great support.”

15. eCommerce Android Native App

One of the newest app templates at Code Canyon, eCommerce Android Native App template is designed specifically for Android and uses Material Design to ensure a great UI experience. 

The template is highly customisable and offers a beautifully designed intro screen with gesture animations and a parallax scrollbar effect. It also comes with a powerful back-end to manage every aspect of your store’s setup and operation. You'll also find a huge variety of user features like grid and list views for products, review and feedback options, a range of payment options, and so on. 

E-Commerce Android Native App

Conclusion

These 15 best eCommerce Android app templates are just a small selection of the hundreds of Android app templates we have available at CodeCanyon, so if none of them quite fits your needs, there are plenty of other great options to choose from.

And if you want to improve your skills building Android apps and templates, then check out some of the ever-so-useful Android tutorials we have on offer.

2018-09-28T04:53:59.444Z2018-09-28T04:53:59.444ZNona Blackman

World Mental Health Day—Apps for a Changing World

$
0
0

Content note: The article contains mention of suicide, in the context of suicide prevention.

October 10 is World Mental Health Day. This year, the theme is Young People and Mental Health in a Changing World. According to the World Health Organization, between 10 and 20 percent of young people experience mental health issues, and half of all mental illnesses begin by the age of 14, with most cases going untreated.

Mental health apps are a growing field of mobile app development. In honor of World Mental Health Day, we at Envato Tuts+ would like to highlight some of the possibilities and challenges of addressing mental health concerns through mobile technology. The WHO suggests that prevention is a key to support youth with their mental health, and they flag the increasing use of online technologies as both a source of support, and added stress, for many young people.

In-person therapy is the gold standard for dealing with mental health concerns, but there are barriers to access: therapy can be costly, one-on-one sessions do not work with everyone’s schedule, and there is stigma about reaching out for help. Mental health mobile apps seek to bridge the gap and allow anyone with a mobile device to self-manage their mental health conditions using tools such as mindfulness, Cognitive Behavioral Therapy (CBT) and peer-support.

Mental health apps are low-cost or free and work anytime, day or night. These apps do not seek to replace one-on-one therapy: they are tools, not treatment. And while some of these apps were developed in collaboration with mental health professionals and have collected some evidence to suggest their products are effective, this technology is new. Only time will tell where these tools they fit into the range of strategies that support those of us living with mental health issues.

We’ve created an overview of mobile apps that leverage the benefits of online technology to support users’ mental health. Whether or not you live with a mental health condition, we all can benefit from tools that increase mindfulness, help manage stress and reduce anxiety. Try the apps and be inspired, both as a coder and as a human living in this quickly changing world.

Mental Health Apps

1. MindShift (IOSAndroid)

Mindshift calm breathing tool

Mindshift is a mobile app designed to help young adults cope with anxiety, by acting as a portable coach that guides users through challenging situations. Designed in collaboration with Anxiety Canada, this app teaches users how to relax and helps them identify active steps to directly face and take charge of their anxiety. Specific tools help users tackle issues such as improving their sleep quality, dealing with perfectionism, and handling conflict. These tools address everyday situations that contribute to increased levels of anxiety, in order to help users change their overall relationship with anxiety. The goal is to support users to face—rather than avoid—anxiety provoking situations and take charge of their lives.

2. Moodpath (IOS, Android)

Moodpath mental health app

Moodpath is an interactive depression and anxiety screening program. This app tracks psychological, emotional and physical health over a two-week period in order to generate a personalized mental health assessment that users can discuss with their physician or therapist. The app also contains an educational component to teach users about the psychology behind their mood, signs of depression, and psychotherapy. When in a mental health crisis, or dealing with anxiety and depression from day-to-day, it can be hard to get a sense of the overall picture of our mental health. Moodpath provides a structured report that can help quantify users’ experience, which can provide a path to resources that help manage and heal from depression and anxiety.

3. My 3 App (IOS, Android)

My 3 App homescreen

The My 3 App is a crisis management tool that helps users reach out to trusted contacts. Developed in partnership with the California Mental Health Services Authority, users can select up to three primary contacts that they can call when they need help. This app is designed to create a support system for those times when users need to reach out, and to make it as easy as possible for them to do so. My 3 App also includes a customizable safety plan toolbox that prompts users to enter coping strategies, people and places that can provide comfort or distraction at times of risk. Along with users’ primary three contacts, the home screen of this app provides a quick link to call the National Suicide Prevention Hotline, should users need additional support.

4. Talk Life (IOS, Android)

Talk Life app

Peer support models, where people speak with others who have lived through the same situations, is an evidence-based strategy to improve one’s mental health. This mobile app connects users to a peer-support community where they can share their struggles with depression, anxiety, stress, bullying or suicidal feelings without judgment. This app is flexible enough to work for users with different comfort levels—users can post anonymously, publicly, or chat privately with other users, all with the goal of sharing and receiving support. Talk Life has clinical oversight to ensure that the app remains a safe place to seek connection with others. With thousands of users online at all times, this app provides the connectivity of a social network experience without the associated risks of bullying or shaming. An integrated TalkLife blog provides interesting and inspirational content to read and discuss with others. This app is for when users need a friend, no matter where they are, who understands what they are going through.

5. Pacifica (IOS, Android)

Pacifica mood history chart

Pacifica is a subscription based app that seeks to break the cycle of negative thoughts that lead to stress, anxiety and depression. Using psychologist-designed tools that target this cycle, such as mindfulness, guided self-help lessons, mood and health tracking, CBT techniques, and a peer-support community, Pacifica supports personal growth and improved mental health, one day at a time. Ranked first in Forbes’ 4 Technologies Innovating in Mental Health list, this app provides a balance of evidence-based tools and easy-to-use interface that keeps users engaged with the support this app has to offer.

6. MoodTools (IOS, Android)

MoodTools depression questionaire

Another app that offers research-supported tools, MoodTools is designed to help users combat depression and alleviate negative moods, aiding them in their road to recovery. Featuring tools inspired by CBT (Cognitive Behavioral Therapy) and Behavioral Activation Therapy, this app is a not-for-profit, advertisement-free venture that was designed in collaboration with multiple mental health professionals. While not intended as a treatment, this app can provide support for self-management of depression and other mental health concerns. Along with tools such as a Thought Diary, activities designed increase your energy and improve your mood, and the ability to develop a safety plan, this app includes a clinical depression questionnaire that allows you to track your mental health over time.

7. Headspace (IOS, Android)

Headspace Meditation for Kids tab

Headspace is a guided meditation and mindfulness app, that offers tools for children and adults alike. Mindfulness practices have been demonstrated to help manage stress and anxiety, improve sleep, and even improve relationships. This app includes a free Basics course to get users started on their journey with meditation, and runs on a subscription model to unlock the full range of content. From meditations to bring more awareness into users daily lives, SOS sessions designed to skillfully manage moments of panic, and sleep sounds to help you drift off at the end of the day, this app offers users a full-service mindfulness program.

8. Calm App (IOS, Android)

Calm App guided meditations list

Calm is a successful meditation and sleep app, with programs for anyone interested in mindfulness, from beginner to advanced users of all ages. New guided meditations are uploaded every day, and range in length from 3 to 25 minutes, so that users can choose sessions that fit their schedules. Topics like calming anxiety, managing stress, breaking habits and gratitude all offer support in developing a meditation practice, and the increased focus, improved self-awareness, and lowered stress levels that come with such a practice. With expert masterclasses added each month, and winner of the 2017 App of the Year award from Apple, this app is recommended by psychologists, therapist and mental health experts.

9. SuperBetter (IOS, Android)

SuperBetter app homescreen

Increase resilience to tackle real-life challenges with SuperBetter, an app created by a game designer to deliver results in 10 minutes a day. Based on positive psychology and behavior change theory, SuperBetter aims to teach users to bring the psychological strengths they display when playing games—such as optimism, creativity, courage and determination—into their real lives. Clinical studies have suggested that SuperBetter significantly reduces symptoms of depression and anxiety and increases optimism. People use SuperBetter to help them overcome depression and anxiety, cope with chronic illness or pain and heal from physical injury and post-traumatic stress.

10. Insight Timer (IOS, Android)

Insight Timer guided meditation options

With millions of users, Insight Timer is a leading meditation app with more than 10 new free meditations added daily, and thousands of guided meditations, including from mindfulness experts such as Tara Brach and Jack Kornfield. Insight Timer aims to support users in their practice to calm their minds, reduce anxiety, manage stress, sleep more deeply and increase their happiness. This app includes meditations and talks from neuroscientists and psychologists, and is great for both beginners and experienced practitioners. With guided meditations in evidence-supported styles such as Mindfulness Based Stress Reduction and Metta meditation, this app is a great place to start if you would like to build or deepen your meditation practice.

11. Smiling Minds (IOS, Android)

Smiling Mind Programs tab

Smiling Mind is an app developed by psychologists and educators to help bring balance to people's lives. Created by a not-for-profit organization that aims to make mindfulness meditation available for all, app designers suggest that just as we eat well and exercise to keep our bodies healthy, mindfulness meditation is similarly a tool to improve our mental health. The Smiling Minds app offers programs for those as young as seven, as well as programs for adults, and includes topics such as Mindfulness in the Classroom and Mindfulness for Sport. These programs are designed to assist people in dealing with the pressures, stresses, and challenges of daily life.

12. Mindful Gnats (IOS, Android)

Mindful Gnats breathing practice

Mindful Gnats is an app designed to teach young people simple mindfulness and relaxation skills, with the goal of reducing stress and improving body and mind awareness. Featuring eight exercises, this app supports body mindfulness through relaxation, breathing, and body scan programs, mental mindfulness through thought awareness and mindful seeing, and mindfulness of the world through taking in information from our senses in a non-judgmental manner. Specifically designed for children, this app features friendly graphics, to support young meditators in their mindfulness practice.

13. Talkspace (IOS, Android)

Talkspace video chat with therapist

In-person therapy will always have an invaluable place in the range of mental health strategies, but for many, the cost of one-on-one therapy is an insurmountable barrier. Talkspace is an app that seeks to bridge the gap for those who would like therapy but are unable to afford traditional therapists’ costs, by connecting users with one of more than 2000 licensed therapists for text, audio and video therapy. Talkspace therapists work with clients on issues such as anxiety, depression, PTSD, relationship issues and eating disorders at a fraction of the cost of traditional therapy. The other benefit of this app over brick-and-mortar services is that you can text your therapist at any time, so you never need to wait for your next appointment to check in about your mental health.

14. Be Safe (IOS, android)

Be Safe homescreen

Be Safe is a crisis support tool designed to work specifically for users in Ontario, Canada, but is an idea that can be implemented in other regions. This app was created by a team of youth along with the Centre for Addiction and Mental Health in London, Ontario, and is designed to allow users to make a safety plan, inform them about local resources and empower them to reach out safely, when they need to. 

Conclusion

As you can see, there are many apps available to help with mental health issues—from games for teaching mindfulness practice to tools that help connect vulnerable users with local resources. 

If you're an app developer, why not mark World Mental Health Day with a prototype of an app that might help promote mental health? Or perhaps you or someone you know could benefit from one of these apps?

2018-10-10T00:09:36.000Z2018-10-10T00:09:36.000ZJane Baker

World Mental Health Day: Apps for a Changing World

$
0
0
tag:code.tutsplus.com,2005:PostPresenter/cms-31998

Content note: The article contains mention of suicide, in the context of suicide prevention.

October 10 is World Mental Health Day. This year, the theme is Young People and Mental Health in a Changing World. According to the World Health Organization, between 10 and 20 percent of young people experience mental health issues, and half of all mental illnesses begin by the age of 14, with most cases going untreated.

Mental health apps are a growing field of mobile app development. In honor of World Mental Health Day, we at Envato Tuts+ would like to highlight some of the possibilities and challenges of addressing mental health concerns through mobile technology. The WHO suggests that prevention is a key to supporting youth with their mental health, and they flag the increasing use of online technologies as both a source of support and added stress for many young people.

In-person therapy is the gold standard for dealing with mental health concerns, but there are barriers to access: therapy can be costly, one-on-one sessions do not work with everyone’s schedule, and there is stigma about reaching out for help. Mental health mobile apps seek to bridge the gap and allow anyone with a mobile device to self-manage their mental health conditions using tools such as mindfulness, Cognitive Behavioral Therapy (CBT), and peer support.

Mental health apps are low-cost or free and work anytime, day or night. These apps do not seek to replace one-on-one therapy: they are tools, not treatment. And while some of these apps were developed in collaboration with mental health professionals and have collected some evidence to suggest their products are effective, this technology is new. Only time will tell where these tools fit into the range of strategies that support those of us living with mental health issues.

We’ve created an overview of mobile apps that leverage the benefits of online technology to support users’ mental health. Whether or not you live with a mental health condition, we all can benefit from tools that increase mindfulness, help manage stress, and reduce anxiety. Try the apps and be inspired, both as a coder and as a human living in this quickly changing world.

Mental Health Apps

1. MindShift (iOSAndroid)

Mindshift calm breathing tool

MindShift is a mobile app designed to help young adults cope with anxiety, by acting as a portable coach that guides users through challenging situations. Designed in collaboration with Anxiety Canada, this app teaches users how to relax and helps them identify active steps to directly face and take charge of their anxiety. 

Specific tools help users tackle issues such as improving their sleep quality, dealing with perfectionism, and handling conflict. These tools address everyday situations that contribute to increased levels of anxiety, in order to help users change their overall relationship with anxiety. The goal is to support users to face—rather than avoid—anxiety-provoking situations and take charge of their lives.

2. Moodpath (iOS, Android)

Moodpath questionnaire

Moodpath is an interactive depression and anxiety screening program. This app tracks psychological, emotional and physical health over a two-week period in order to generate a personalized mental health assessment that users can discuss with their physician or therapist. The app also contains an educational component to teach users about the psychology behind their mood, signs of depression, and psychotherapy. 

When in a mental health crisis or dealing with anxiety and depression from day to day, it can be hard to get a sense of the overall picture of our mental health. Moodpath provides a structured report that can help quantify users’ experience, which can provide a path to resources that help manage and heal from depression and anxiety.

3. MY3 App (iOS, Android)

My 3 App homescreen

MY3 is a crisis management tool that helps users reach out to trusted contacts. Developed in partnership with the California Mental Health Services Authority, the app lets users select up to three primary contacts that they can call when they need help. It's designed to create a support system for those times when users need to reach out, and to make it as easy as possible for them to do so. 

The MY3 app also includes a customizable safety plan toolbox that prompts users to enter coping strategies, as well as people and places that can provide comfort or distraction at times of risk. Along with users’ primary three contacts, the home screen of this app provides a quick link to call the National Suicide Prevention Hotline, should users need additional support.

4. TalkLife (iOS, Android)

TalkLife app

Peer support models, where people speak with others who have lived through the same situations, is an evidence-based strategy to improve one’s mental health. This mobile app connects users to a peer-support community where they can share their struggles with depression, anxiety, stress, bullying or suicidal feelings without judgment. This app is flexible enough to work for users with different comfort levels—users can post anonymously, publicly, or chat privately with other users, all with the goal of sharing and receiving support. 

TalkLife has clinical oversight to ensure that the app remains a safe place to seek connection with others. With thousands of users online at all times, this app provides the connectivity of a social network experience without the associated risks of bullying or shaming. An integrated TalkLife blog provides interesting and inspirational content to read and discuss with others. This app is for when users need a friend, no matter where they are, who understands what they are going through.

5. Pacifica (iOS, Android)

Pacifica mood history chart

Pacifica is a subscription-based app that seeks to break the cycle of negative thoughts that lead to stress, anxiety, and depression. Using psychologist-designed tools that target this cycle, such as mindfulness, guided self-help lessons, mood and health tracking, CBT techniques, and a peer-support community, Pacifica supports personal growth and improved mental health, one day at a time. Ranked first in Forbes’ 4 Technologies Innovating in Mental Health list, this app provides a balance of evidence-based tools and an easy-to-use interface that keeps users engaged with the support this app has to offer.

6. MoodTools (iOS, Android)

MoodTools depression questionnaire

Another app that offers research-supported tools, MoodTools is designed to help users combat depression and alleviate negative moods, aiding them in their road to recovery. Featuring tools inspired by CBT (Cognitive Behavioral Therapy) and Behavioral Activation Therapy, this app is a not-for-profit, advertisement-free venture that was designed in collaboration with multiple mental health professionals. 

While not intended as a treatment, this app can provide support for self-management of depression and other mental health concerns. Along with tools such as a Thought Diary, activities designed to increase your energy and improve your mood, and the ability to develop a safety plan, this app includes a clinical depression questionnaire that allows you to track your mental health over time.

7. Headspace (iOS, Android)

Headspace Kids tab

Headspace is a guided meditation and mindfulness app that offers tools for children and adults alike. Mindfulness practices have been demonstrated to help manage stress and anxiety, improve sleep, and even improve relationships. This app includes a free Basics course to get users started on their journey with meditation, and it runs on a subscription model to unlock the full range of content. With meditations to bring more awareness into users daily lives, SOS sessions designed to skillfully manage moments of panic, and sleep sounds to help you drift off at the end of the day, this app offers users a full-service mindfulness program.

8. Calm App (iOS, Android)

Calm guided meditation index

Calm is a successful meditation and sleep app, with programs for anyone interested in mindfulness, from beginners to advanced users of all ages. New guided meditations are uploaded every day, and they range in length from 3 to 25 minutes, so that users can choose sessions that fit their schedules. 

Topics like calming anxiety, managing stress, breaking habits and gratitude all offer support in developing a meditation practice and achieving the increased focus, improved self-awareness, and lowered stress levels that come with such a practice. With expert masterclasses added each month, this app won the 2017 App of the Year award from Apple and is recommended by psychologists, therapists, and mental health experts.

9. SuperBetter (iOS, Android)

SuperBetter app homescreen

Increase your resilience to tackle real-life challenges with SuperBetter, an app created by a game designer to deliver results in ten minutes a day. Based on positive psychology and behavior change theory, SuperBetter aims to teach users to bring the psychological strengths they display when playing games—such as optimism, creativity, courage, and determination—into their real lives. 

Clinical studies have suggested that SuperBetter significantly reduces symptoms of depression and anxiety and increases optimism. People use SuperBetter to help them overcome depression and anxiety, cope with chronic illness or pain, and heal from physical injury and post-traumatic stress.

10. Insight Timer (iOS, Android)

Insight Timer guided meditation options

With millions of users, Insight Timer is a leading meditation app with more than ten new free meditations added daily and thousands of guided meditations, including ones from mindfulness experts such as Tara Brach and Jack Kornfield. Insight Timer aims to support users in their practice to calm their minds, reduce anxiety, manage stress, sleep more deeply, and increase their happiness. 

This app includes meditations and talks from neuroscientists and psychologists, and it's great for both beginners and experienced practitioners. With guided meditations in evidence-supported styles such as Mindfulness-Based Stress Reduction and Metta meditation, this app is a great place to start if you would like to build or deepen your meditation practice.

11. Smiling Mind (iOS, Android)

Smiling Mind guided meditation choices

Smiling Mind is an app developed by psychologists and educators to help bring balance to people's lives. It was created by a not-for-profit organization that aims to make mindfulness meditation available for all, and its designers suggest that just as we eat well and exercise to keep our bodies healthy, mindfulness meditation is similarly a tool to improve our mental health. 

The Smiling Mind app offers programs for those as young as seven, as well as programs for adults, and it includes topics such as Mindfulness in the Classroom and Mindfulness for Sport. These programs are designed to assist people in dealing with the pressures, stresses, and challenges of daily life.

12. Mindful Gnats (iOS, Android)

Mindful Gnats breathing practice

Mindful Gnats is an app designed to teach young people simple mindfulness and relaxation skills, with the goal of reducing stress and improving body and mind awareness. Featuring eight exercises, this app supports body mindfulness through relaxation, breathing, and body scan programs, mental mindfulness through thought awareness and mindful seeing, and mindfulness of the world through taking in information from our senses in a non-judgmental manner. Specifically designed for children, this app features friendly graphics to support young meditators in their mindfulness practice.

13. Talkspace (iOS, Android)

Talkspace live therapy online session

In-person therapy will always have an invaluable place in the range of mental health strategies, but for many, the cost of one-on-one therapy is an insurmountable barrier. Talkspace is an app that seeks to bridge the gap for those who would like therapy but are unable to afford traditional therapists’ costs, by connecting users with one of more than 2,000 licensed therapists for text, audio, and video therapy. 

Talkspace therapists work with clients on issues such as anxiety, depression, PTSD, relationship issues and eating disorders at a fraction of the cost of traditional therapy. The other benefit of this app over brick-and-mortar services is that you can text your therapist at any time, so you never need to wait for your next appointment to check in about your mental health.

14. Be Safe (iOS, Android)

Be Safe homescreen

Be Safe is a crisis support tool designed to work specifically for users in Ontario, Canada, but is an idea that can be implemented in other regions. This app was created by a team of youth along with the Centre for Addiction and Mental Health in London, Ontario, and is designed to allow users to make a safety plan, inform them about local resources, and empower them to reach out safely when they need to. 

Conclusion

As you can see, there are many apps available to help with mental health issues—from games for teaching mindfulness practice to tools that help connect vulnerable users with local resources. 

If you're an app developer, why not mark World Mental Health Day with a prototype of an app that might help promote mental health? Or perhaps you or someone you know could benefit from one of these apps?

2018-10-10T00:09:36.000Z2018-10-10T00:09:36.000ZJane Baker

19 Best Templates for Mobile App Monetization

$
0
0

Imagine that you're ready to kick-start your own mobile app development business. Chances are you'd like to use the best development practices for your first app, and also code it as quickly as possible. You'll probably want to monetize your app as well! This post will show you some easy ways to launch your next ad-supported app project.

In this article, I'll introduce some highly customizable and versatile mobile app templates that you can use in your next development project. Each has Google's AdMob app monetization platform neatly integrated, so you can build a revenue stream for your app from day one.

These templates are all available from CodeCanyon, where you can buy and download an app template for immediate use in your development project.

Android Templates

1. Universal Multi-Purpose Android App

Universal Multi-Purpose Android App

Universal is a flexible and versatile app template that can be customized for a broad range of designs. In addition to its built-in AdMob support, the template can easily integrate with more than ten different content providers, including WordPress, YouTube, and Facebook. It is a native Android app and comes with extensive documentation to help you get started.

2. Universal Android WebView App

Universal Android WebView App

Universal Android WebView App has a simple goal—bundle a solid Android WebView component with AdMob ads. It has lots of nice extra features such as Material Design styling, geolocation, and pull-to-refresh gesture support. It supports app development in HTML5, CSS3, JavaScript, jQuery, Bootstrap and other web technologies, but at the same time offers its responsive design and clean native code as well.

 3. Web2App

Web2App

Web2App is another app template that provides an Android WebView component, and it's packed with features. This template offers countless possibilities for customization. Not only that, but its comprehensive documentation, along with video tutorials and step-by-step instructions, make your job much easier than you might have thought possible.

4. Android News App

Android News App

Android News App helps you run your own news platform. The app template consists of two components: an Android client and a PHP with MySQL server. It also provides you with full control over AdMob, allowing you to enable and disable features according to your specific requirements. The RTL (right to left) mode will come in handy if you want to add languages other than English and expand your global audience.

5. City Guide—Map App for Android

City Guide

City Guide is a location-aware map and places app for the Android platform. It features eight different color themes, animated effects, responsive design, and a lot more. Also, it is built with easily configurable, cleanly written code, and its documentation will make getting started a breeze. It uses a local SQL database to store data, so that reliance on the user's internet connection is minimized.

6. Cookbook—Recipe App for Android

Cookbook

Cookbook is an Android app template for sharing cooking recipes. With easily configurable and customizable code, you can create your own app with relatively little effort and time. The template features a responsive Material Design interface and a local SQLite database in addition to its AdMob monetization support. So it's time to start "cooking" your app, using Cookbook.

7. Material Wallpaper

Material Wallpaper

Android wallpaper apps are quite popular, and Material Wallpaper is a great way to cater to that market segment. It's designed according to Google's Material Design guidelines, so users get the visual experience they're expecting. The template can manage an unlimited number of categories and image galleries, thanks to its powerful and responsive admin panel. In addition to AdMob integration, it features Firebase Analytics and push notifications too.

8. Your Recipes App

Your Recipes App

Another great cooking app template, Your Recipes App is a complete platform with an Android client and PHP-based server. The powerful Admin Panel lets you manage your content to keep content up to date and error-free. You can send push notifications to your users with Firebase and OneSignal. There is even RTL (right to left) language support, which will help if you want to expand into other languages.

Android Games and Media App Templates

9. Quiz Power

Quiz Power

The Quiz Power app template allows you to create your own custom quiz app using the format of a single question with four possible answers. To build the quiz, just add your questions and answers on the PHP admin panel database and the game engine will do everything else automatically. All files are provided so that you can customise the screen and design as desired. Support for Google Leaderboard will let your users share their scores with friends, and of course the template comes with Google AdMob integration with Google Service API. 

10. Speedy Car Game With AdMob and Leaderboard

Speedy Car Game

Speedy Car Game is an excellent way to cater to Android car game fans. You get the complete source code for this popular game type and crystal clear graphics for different screen resolutions, along with background music with sounds. Naturally, it includes Google Leaderboard and AdMob integration. 

11. Your Radio App

Your Radio App

Your Radio App is an internet radio streaming app for Android. It supports several popular streaming formats, including M3U and AAC. This is a well-thought-out app with some nice features. For example, the ability to stop the radio when someone is calling is useful. The powerful admin panel, the great looking Material Design UI, and the Google Cloud Messaging push notifications are also worth mentioning.

12. Stream Radio

Stream Radio

Stream Radio is a radio streaming app supporting a large number of streaming formats such as MP3, PCM/WAVE, AAC, AMR, Vorbis, etc. It provides excellent support for handling streaming errors due to network-related issues and for dealing with bad streaming URLs. With this template, you'll get the complete Android source code, a YouTube video with step-by-step instructions, full documentation, and the demo APK file. AdMob integration is discreet and non-intrusive.

13. Stream Radio 2 (Single Station)

Stream Radio 2 Single Station

Another serious competitor on the list, Stream Radio 2 (Single Station) is an Android online radio streamer that supports a variety of popular streaming formats. It shares almost the same features as the multiple station app, but is restricted to a single radio station. It supports social media network integration too.

14. Your Videos Channel

Your Videos Channel is a great app template for those who just need to build a video streaming platform. It doesn't matter whether you choose to serve videos from YouTube or from your own server. This app is capable of handling any of those options. It has a beautiful Material Design UI, a responsive Admin Panel, and support for OneSignal push notifications. It's a great way to keep users engaged with your video content while also building an additional revenue source.

iOS Templates

15. RealEstate Finder

RealEstate Finder

RealEstate Finder is an iOS app template with a PHP back-end. It's packed with location-based features such as geofencing and Google Maps directions, which can help you create a unique user experience. It also has streamlined communication channels with integrated telephony, SMS, and email. Back-end server access will be provided to anyone who purchases the template.

16. Web2App for IOS

Web2App for IOS is the iOS version of the Web2App template mentioned above. This template is highly customizable and ships with comprehensive documentation, video tutorials, and step-by-step instructions that make it easy to get started. You can choose from countless display modes and colors to suit your requirements, and of course customize the AdMob integration.

17. SuperView—WebView App

SuperView - WebView App

SuperView allows you to wrap your website in a simple iOS app. It's ideal for web developers who want to ease the difficult learning curve associated with the Swift programming language and iOS SDK. The quality of the coding and design in this template are really impressive.

Mobile Cross-Platform Templates

18. ionWordpress

ionWordpress -Wordpress Full Integrated Mobile App

ionWordpress is built on the cross-platform Ionic framework and enables you to build hybrid mobile apps with HTML5, CSS, and JavaScript. The template has a beautiful UI and UX features to delight your users. It also provides easy style customization capabilities and integration with WordPress and, naturally, AdMob.

19. Ionic Mobile App Builder

Ionic Mobile App Builder

Ionic Mobile App Builder is another hybrid mobile app template based on the Ionic framework. This template comes with some great front-end and back-end tools, including a WYSIWYG layout editor, a WordPress plugin generator, and a lot more. Even if you're not so confident in PHP and MySQL skills, that's no problem—Ionic Mobile App Builder even has a web admin panel generator that'll take care of your PHP code!

Get an App Template Now!

App templates are a great way to jump-start your next development project, or to learn from other people's work. Pick one of these great app templates today to kick-start development of your next app. Your time is valuable, and you owe it to yourself to do everything you can to get a head start on your next project. 

There are many more templates available on Code Canyon. Put one of them to use right now, or read more about how to use an app template here on Envato Tuts+!

2018-10-15T18:33:37.551Z2018-10-15T18:33:37.551ZBala Durage Sandamal Siripathi

19 Best Templates for Mobile App Monetization

$
0
0
tag:code.tutsplus.com,2005:PostPresenter/cms-28532

Imagine that you're ready to kick-start your own mobile app development business. Chances are you'd like to use the best development practices for your first app, and also code it as quickly as possible. You'll probably want to monetize your app as well! This post will show you some easy ways to launch your next ad-supported app project.

In this article, I'll introduce some highly customizable and versatile mobile app templates that you can use in your next development project. Each has Google's AdMob app monetization platform neatly integrated, so you can build a revenue stream for your app from day one.

These templates are all available from CodeCanyon, where you can buy and download an app template for immediate use in your development project.

Android Templates

1. Universal Multi-Purpose Android App

Universal Multi-Purpose Android App

Universal is a flexible and versatile app template that can be customized for a broad range of designs. In addition to its built-in AdMob support, the template can easily integrate with more than ten different content providers, including WordPress, YouTube, and Facebook. It is a native Android app and comes with extensive documentation to help you get started.

2. Universal Android WebView App

Universal Android WebView App

Universal Android WebView App has a simple goal—bundle a solid Android WebView component with AdMob ads. It has lots of nice extra features such as Material Design styling, geolocation, and pull-to-refresh gesture support. It supports app development in HTML5, CSS3, JavaScript, jQuery, Bootstrap and other web technologies, but at the same time offers its responsive design and clean native code as well.

 3. Web2App

Web2App

Web2App is another app template that provides an Android WebView component, and it's packed with features. This template offers countless possibilities for customization. Not only that, but its comprehensive documentation, along with video tutorials and step-by-step instructions, make your job much easier than you might have thought possible.

4. Android News App

Android News App

Android News App helps you run your own news platform. The app template consists of two components: an Android client and a PHP with MySQL server. It also provides you with full control over AdMob, allowing you to enable and disable features according to your specific requirements. The RTL (right to left) mode will come in handy if you want to add languages other than English and expand your global audience.

5. City Guide—Map App for Android

City Guide

City Guide is a location-aware map and places app for the Android platform. It features eight different color themes, animated effects, responsive design, and a lot more. Also, it is built with easily configurable, cleanly written code, and its documentation will make getting started a breeze. It uses a local SQL database to store data, so that reliance on the user's internet connection is minimized.

6. Cookbook—Recipe App for Android

Cookbook

Cookbook is an Android app template for sharing cooking recipes. With easily configurable and customizable code, you can create your own app with relatively little effort and time. The template features a responsive Material Design interface and a local SQLite database in addition to its AdMob monetization support. So it's time to start "cooking" your app, using Cookbook.

7. Material Wallpaper

Material Wallpaper

Android wallpaper apps are quite popular, and Material Wallpaper is a great way to cater to that market segment. It's designed according to Google's Material Design guidelines, so users get the visual experience they're expecting. The template can manage an unlimited number of categories and image galleries, thanks to its powerful and responsive admin panel. In addition to AdMob integration, it features Firebase Analytics and push notifications too.

8. Your Recipes App

Your Recipes App

Another great cooking app template, Your Recipes App is a complete platform with an Android client and PHP-based server. The powerful Admin Panel lets you manage your content to keep content up to date and error-free. You can send push notifications to your users with Firebase and OneSignal. There is even RTL (right to left) language support, which will help if you want to expand into other languages.

Android Games and Media App Templates

9. Quiz Power

Quiz Power

The Quiz Power app template allows you to create your own custom quiz app using the format of a single question with four possible answers. To build the quiz, just add your questions and answers on the PHP admin panel database and the game engine will do everything else automatically. All files are provided so that you can customise the screen and design as desired. Support for Google Leaderboard will let your users share their scores with friends, and of course the template comes with Google AdMob integration with Google Service API. 

10. Speedy Car Game With AdMob and Leaderboard

Speedy Car Game

Speedy Car Game is an excellent way to cater to Android car game fans. You get the complete source code for this popular game type and crystal clear graphics for different screen resolutions, along with background music with sounds. Naturally, it includes Google Leaderboard and AdMob integration. 

11. Your Radio App

Your Radio App

Your Radio App is an internet radio streaming app for Android. It supports several popular streaming formats, including M3U and AAC. This is a well-thought-out app with some nice features. For example, the ability to stop the radio when someone is calling is useful. The powerful admin panel, the great looking Material Design UI, and the Google Cloud Messaging push notifications are also worth mentioning.

12. Stream Radio

Stream Radio

Stream Radio is a radio streaming app supporting a large number of streaming formats such as MP3, PCM/WAVE, AAC, AMR, Vorbis, etc. It provides excellent support for handling streaming errors due to network-related issues and for dealing with bad streaming URLs. With this template, you'll get the complete Android source code, a YouTube video with step-by-step instructions, full documentation, and the demo APK file. AdMob integration is discreet and non-intrusive.

13. Stream Radio 2 (Single Station)

Stream Radio 2 Single Station

Another serious competitor on the list, Stream Radio 2 (Single Station) is an Android online radio streamer that supports a variety of popular streaming formats. It shares almost the same features as the multiple station app, but is restricted to a single radio station. It supports social media network integration too.

14. Your Videos Channel

Your Videos Channel is a great app template for those who just need to build a video streaming platform. It doesn't matter whether you choose to serve videos from YouTube or from your own server. This app is capable of handling any of those options. It has a beautiful Material Design UI, a responsive Admin Panel, and support for OneSignal push notifications. It's a great way to keep users engaged with your video content while also building an additional revenue source.

iOS Templates

15. RealEstate Finder

RealEstate Finder

RealEstate Finder is an iOS app template with a PHP back-end. It's packed with location-based features such as geofencing and Google Maps directions, which can help you create a unique user experience. It also has streamlined communication channels with integrated telephony, SMS, and email. Back-end server access will be provided to anyone who purchases the template.

16. Web2App for IOS

Web2App for IOS is the iOS version of the Web2App template mentioned above. This template is highly customizable and ships with comprehensive documentation, video tutorials, and step-by-step instructions that make it easy to get started. You can choose from countless display modes and colors to suit your requirements, and of course customize the AdMob integration.

17. SuperView—WebView App

SuperView - WebView App

SuperView allows you to wrap your website in a simple iOS app. It's ideal for web developers who want to ease the difficult learning curve associated with the Swift programming language and iOS SDK. The quality of the coding and design in this template are really impressive.

Mobile Cross-Platform Templates

18. ionWordpress

ionWordpress -Wordpress Full Integrated Mobile App

ionWordpress is built on the cross-platform Ionic framework and enables you to build hybrid mobile apps with HTML5, CSS, and JavaScript. The template has a beautiful UI and UX features to delight your users. It also provides easy style customization capabilities and integration with WordPress and, naturally, AdMob.

19. Ionic Mobile App Builder

Ionic Mobile App Builder

Ionic Mobile App Builder is another hybrid mobile app template based on the Ionic framework. This template comes with some great front-end and back-end tools, including a WYSIWYG layout editor, a WordPress plugin generator, and a lot more. Even if you're not so confident in PHP and MySQL skills, that's no problem—Ionic Mobile App Builder even has a web admin panel generator that'll take care of your PHP code!

Get an App Template Now!

App templates are a great way to jump-start your next development project, or to learn from other people's work. Pick one of these great app templates today to kick-start development of your next app. Your time is valuable, and you owe it to yourself to do everything you can to get a head start on your next project. 

There are many more templates available on Code Canyon. Put one of them to use right now, or read more about how to use an app template here on Envato Tuts+!

2018-10-15T18:33:37.551Z2018-10-15T18:33:37.551ZBala Durage Sandamal Siripathi

10 Stunning Ionic App Templates

$
0
0

Ionic is a popular framework for creating modern, hybrid, mobile applications, using the wildly popular Angular framework. Because developers can use technologies they are already familiar with (JavaScript, HTML, and CSS), the learning curve isn't that steep to create a full-featured mobile app for Android and iOS.

CodeCanyon offers a wide range of ready-made app templates to kick-start your Ionic development. So try out one of these app templates from CodeCanyon, for Ionic 3 and beyond! I'll show you ten templates to inspire your next project.

1. Firetask

Firetask

Written using the latest versions of Ionic, Angular, and Firebase, Firetask is a social media app template that has everything you need to get started building your next app. The template is easy to customise and offers screens that allow end users to sign up, sign in, create posts, write comments, browse through trending topics, and much more. 

2. Ionic 3 Restaurant

Ionic 3 Restaurant

As the name suggests, Ionic 3 Restaurant app template is designed to help you build apps for restaurants, bakeries, coffee shops, and any other food or commerce related venture.

The app provides a good range of homepage, registration and login page layouts as well as other features, like categories, an orders page, and an offers page.

 3. IonFullApp 

onFullApp

A multipurpose app template, IonFullApp comes in three different versions: basic, pro, and elite. These three versions offer an impressive feature list and different combinations of components to suit a variety of needs. Some of the best features offered are Google Maps integration, social login, geolocation, a video player, and an image slider. The template sports a beautiful design that is well documented.

4. Ionic 3 App for WooCommerce 

Ionic 3 App for WooCommerce

Ionic 3 App for WooCommerce is an app template you should definitely consider using if you are creating a shopping app. It allows you to quickly create a beautiful app that can connect to your WooCommerce website, pull data and settings from it, and sync categories and products in real time. It also promises your customers an easy and hassle-free shopping experience. 

The app template supports most of the payment methods out there, automatically loads shipping methods, allows customers to search for products globally on the home page or within categories, and much more. 

5. Ionic Framework App

If you are looking for a modern template with dozens of beautiful pages and a wide variety of useful features, the Ionic Framework App template is for you. Built with Ionic 3, it is very modular and extremely easy to extend. 

The apps you create with this ready-made template will be able to communicate with your WordPress blog using its REST API. They'll also be able to display charts, YouTube videos, Google maps, and RSS feeds. Another impressive fact about the template is that it offers a barcode scanner module, which you can use to scan several types of barcodes.

 6. Nearme

Nearme

Nearme is a location-based app template that has definitely had some teething problems in the past. However, with the recent Ionic 3 update, improved documentation and a beautiful redesign, it's earned a place on our list as a great template to help developers build an app that will identify supermarkets, restaurants, places of interest, gas stations, and so on that are near the end user. 

The template comes with an admin panel that allows developers to send push notifications to users and manage categories, places, deals, slider images, users, reviews, and more.

7. Ionic 3 UI Theme

Ionic 3 UI Theme

The developers of Ionic 3 UI Theme promise that you can make just about any app with their UI app template. With over 70 layouts and hundreds of HTML5 UI components, they might just be right. Apart from offering maximum flexibility and easy customisation, the app offers Google Analytics so you can track your user’s behaviour, MailChimp integration, Google Maps integration, and so much more. 

8. Ionic 3 Toolkit 

 Ionic 3 Toolkit

The Ionic 3 Toolkit app template offers a wide range of features and its modular structure, allowing users to build whatever kind of app they need quickly and easily.  

It also allows you to collect data from your WordPress, Drupal, YouTube, Vimeo, Instagram and other social media accounts and add them to the content of your app as needed. Furthermore, the template makes it easy to customise its default styles by changing the default values in the Sass stylesheet.

9. Ionic Ecommerce 

Ionic Ecommerce

A relative newcomer to the eCommerce app template market, Ionic Ecommerce offers an impressive variety of ready-made eCommerce pages so that you can create a mobile app to suit your needs. It also provides a comprehensive CMS so that you can manage your store. 

Some key features include interactive themes, social share, product filters, sorting and search, inventory management, and much more. The developer provides full support and will customise and install the app for you for a fee.

10. Ionic 3 Restaurant App

Ionic 3 Restaurant App

If you’re looking for an intuitive, easy-to-set-up restaurant app then check out the Ionic 3 Restaurant App template, developed by Lrandom. The app is well structured and offers useful features like food categories, item details that allow you to use images of products, product names and details, prices, current promotions, a powerful search, a cart list view, and much more. In addition, the source code for the app comes with an admin panel CMS that will help you build your app faster.

Conclusion

These ten stunning Ionic app templates are just a small selection of the hundreds of Ionic app templates we have available at CodeCanyon, so if none of them quite fits your needs, there are plenty of other great options to choose from.

And if you want to improve your skills in building Ionic apps and templates, then check out some of the ever-so-useful Ionic tutorials we have on offer!

2018-10-19T11:10:56.135Z2018-10-19T11:10:56.135ZNona Blackman

10 Stunning Ionic App Templates

$
0
0
tag:code.tutsplus.com,2005:PostPresenter/cms-26068

Ionic is a popular framework for creating modern, hybrid, mobile applications, using the wildly popular Angular framework. Because developers can use technologies they are already familiar with (JavaScript, HTML, and CSS), the learning curve isn't that steep to create a full-featured mobile app for Android and iOS.

CodeCanyon offers a wide range of ready-made app templates to kick-start your Ionic development. So try out one of these app templates from CodeCanyon, for Ionic 3 and beyond! I'll show you ten templates to inspire your next project.

1. Firetask

Firetask

Written using the latest versions of Ionic, Angular, and Firebase, Firetask is a social media app template that has everything you need to get started building your next app. The template is easy to customise and offers screens that allow end users to sign up, sign in, create posts, write comments, browse through trending topics, and much more. 

2. Ionic 3 Restaurant

Ionic 3 Restaurant

As the name suggests, Ionic 3 Restaurant app template is designed to help you build apps for restaurants, bakeries, coffee shops, and any other food or commerce related venture.

The app provides a good range of homepage, registration and login page layouts as well as other features, like categories, an orders page, and an offers page.

 3. IonFullApp 

onFullApp

A multipurpose app template, IonFullApp comes in three different versions: basic, pro, and elite. These three versions offer an impressive feature list and different combinations of components to suit a variety of needs. Some of the best features offered are Google Maps integration, social login, geolocation, a video player, and an image slider. The template sports a beautiful design that is well documented.

4. Ionic 3 App for WooCommerce 

Ionic 3 App for WooCommerce

Ionic 3 App for WooCommerce is an app template you should definitely consider using if you are creating a shopping app. It allows you to quickly create a beautiful app that can connect to your WooCommerce website, pull data and settings from it, and sync categories and products in real time. It also promises your customers an easy and hassle-free shopping experience. 

The app template supports most of the payment methods out there, automatically loads shipping methods, allows customers to search for products globally on the home page or within categories, and much more. 

5. Ionic Framework App

If you are looking for a modern template with dozens of beautiful pages and a wide variety of useful features, the Ionic Framework App template is for you. Built with Ionic 3, it is very modular and extremely easy to extend. 

The apps you create with this ready-made template will be able to communicate with your WordPress blog using its REST API. They'll also be able to display charts, YouTube videos, Google maps, and RSS feeds. Another impressive fact about the template is that it offers a barcode scanner module, which you can use to scan several types of barcodes.

 6. Nearme

Nearme

Nearme is a location-based app template that has definitely had some teething problems in the past. However, with the recent Ionic 3 update, improved documentation and a beautiful redesign, it's earned a place on our list as a great template to help developers build an app that will identify supermarkets, restaurants, places of interest, gas stations, and so on that are near the end user. 

The template comes with an admin panel that allows developers to send push notifications to users and manage categories, places, deals, slider images, users, reviews, and more.

7. Ionic 3 UI Theme

Ionic 3 UI Theme

The developers of Ionic 3 UI Theme promise that you can make just about any app with their UI app template. With over 70 layouts and hundreds of HTML5 UI components, they might just be right. Apart from offering maximum flexibility and easy customisation, the app offers Google Analytics so you can track your user’s behaviour, MailChimp integration, Google Maps integration, and so much more. 

8. Ionic 3 Toolkit 

 Ionic 3 Toolkit

The Ionic 3 Toolkit app template offers a wide range of features and its modular structure, allowing users to build whatever kind of app they need quickly and easily.  

It also allows you to collect data from your WordPress, Drupal, YouTube, Vimeo, Instagram and other social media accounts and add them to the content of your app as needed. Furthermore, the template makes it easy to customise its default styles by changing the default values in the Sass stylesheet.

9. Ionic Ecommerce 

Ionic Ecommerce

A relative newcomer to the eCommerce app template market, Ionic Ecommerce offers an impressive variety of ready-made eCommerce pages so that you can create a mobile app to suit your needs. It also provides a comprehensive CMS so that you can manage your store. 

Some key features include interactive themes, social share, product filters, sorting and search, inventory management, and much more. The developer provides full support and will customise and install the app for you for a fee.

10. Ionic 3 Restaurant App

Ionic 3 Restaurant App

If you’re looking for an intuitive, easy-to-set-up restaurant app then check out the Ionic 3 Restaurant App template, developed by Lrandom. The app is well structured and offers useful features like food categories, item details that allow you to use images of products, product names and details, prices, current promotions, a powerful search, a cart list view, and much more. In addition, the source code for the app comes with an admin panel CMS that will help you build your app faster.

Conclusion

These ten stunning Ionic app templates are just a small selection of the hundreds of Ionic app templates we have available at CodeCanyon, so if none of them quite fits your needs, there are plenty of other great options to choose from.

And if you want to improve your skills in building Ionic apps and templates, then check out some of the ever-so-useful Ionic tutorials we have on offer!

2018-10-19T11:10:56.135Z2018-10-19T11:10:56.135ZNona Blackman

20 Best HTML5 Game Templates of 2018 With Source Code

$
0
0

Over the past several years, we have seen HTML5 used to create many great online solutions. We have also seen it used to create some great fun! With the vanishing of Flash, HTML5 quickly became the universal platform to create browser-based games for both desktop and mobile devices.

Here are the 20 best HTML5 game templates and engines of 2018. Whether you already have a game concept to build or would like a fun way to learn more about making mobile games, download the source code today and get started making something awesome.

1. Banana Jump

If you want to play a game with infinite jumping, give Banana Jump a try. The same can be said if that's what you would like to code!

Banana Jump Capx

Features include:

  • touch and mouse support
  • includes a Construct 2 file
  • supports Android and iOS
  • and more

Begin playing, editing, and jumping with Banana Jump.

2. Indiara and the Skull Gold

Indiara and the Skull Gold is a mobile platformer with an Indiana Jones feel to it.

Collect the eight gold skulls, but be on the lookout—the caves are full of traps!

Indiara and the Skull Gold
“Meet and play with Indiara, a girl who loves to collect ancient artifacts.”

Features included:

  • supports both desktop and mobile
  • includes layered PSD and AI files
  • 860x480 graphics
  • and more

Easily reskin this HTML5 game template by editing and replacing the images.

Indiara and the Skull Gold includes eight complete levels and can be completely customized by using Construct 2.

3. Don't Crash

Don't crash while you play Don't Crash!

As two cars race around the track, tap the screen to change lanes and avoid a crash.

Dont Crash
“Don’t crash—this is the only rule of the game.”

Features include:

  • supports both mobile and desktop
  • easy, one-touch control
  • 1280x720 graphics
  • and more

Reskin this HTML5 game using the included AI files or completely change the game elements using Construct 2.

Don't Crash is simple, fast, and addictive.

4. Game FlapCat Steampunk

Game FlapCat Steampunk is a cute and simple HTML5 game that's perfectly made for mobile.

How high can you score?

Game FlapCat Steampunk
“Help the cat FlapCat to go through challenges that are super difficult.”

Features include:

  • includes PSD and AI files
  • 1280x720 graphics
  • infinite level
  • and more

Whether you're playing in your web browser or mobile phone, all you need is a single touch or mouse click to play. Easy to play, hard to master.

Game FlapCat Steampunk can easily be reskinned by replacing the images or fully customized with Construct 2.

5. Smiley Ball

Smiley Ball will put a smile on your face.

Actually, 1 of 5 different smilies.

Smiley Ball

Built with Construct 2, it supports both desktop and mobile devices, and it is easy to change out the elements and edit the source code to make your own game.

With five different smilies to choose from, the Smiley Ball adventure will take you through 20 levels full of spikes and obstacles to avoid before reaching your goal.

6. Jumper Frog

Frogger is a classic arcade game that makes a great adaptation to mobile.

Take a leap and jump on Jumper Frog for some fun.

Jumper Frog - HTML5 Game

“Enjoy this colorful version of the classic game Frogger.”

Features include:

  • includes PSD and AI files for customization
  • fully developed in HTML5 and CreateJS
  • fully customizable
  • and more

This is also compatible with CTL Arcade.

Jumper Frog brings this arcade classic to any screen.

7. Bubble Shooter

Launch the colorful bubble into place, and when you get three or more in a row, they disappear. Clear all the bubbles to win!

Bubble Shooter is a classic puzzler that's easy to learn, but hard to master.

Bubble Shooter - HTML5 Games
“The goal of the game is to clear all the bubbles from the level avoiding any bubble crossing the bottom line.”

Features include:

  • includes PSD and AI files for customization
  • fully developed in HTML5 and CreateJS
  • fully customizable
  • and more

If you think this HTML5 game is fun, be sure to also consider the 50 Levels Pack.

Bubble Shooter is also compatible with CTL Arcade.

8. Diamond Hunter

Diamond Hunter is a fast-paced avoidance game: avoid rocks and bombs while you collect diamonds.

Diamond Hunter - HTML5 Avoidance Game

Features include:

  • HTML5 mobile optimized
  • Android, iOS, multi-platform
  • uses Construct 2 and 3 native plugins
  • and more

Diamond Hunter provides a retro feel and includes all game assets.

9. Katana Fruits

If you're familiar with Fruit Ninja, you'll be familiar with Katana Fruits.

Katana Fruits - HTML5 Game
“The goal is to cut all the fruits that appear on the screen without dropping them and avoid the bombs.”

Features include:

  • includes PSD and AI files for customization
  • fully developed in HTML5 and CreateJS
  • promote with social share buttons
  • fully customizable
  • and more

This HTML5 game is compatible with CTL Arcade for WordPress and can be easily customized.

Sharpen your Katana—it's time to slash some fruit with Katana Fruits.

10. The Sorcerer

The moment the screen loads, you'll know what to do. Inspired by Zuma, The Sorcerer is an instant puzzle game hit.

The Sorcerer - HTML5 Puzzle Game
“The Sorcerer was awarded as the best puzzle game in HTML5 Most Wanted contest”

Features include:

  • fully developed in HTML5 and CreateJS
  • source code included
  • fully customizable
  • and more

Mobile or desktop, the 960x540 resolution is fully optimized.

The Sorcerer is hard to put down, so you may want to consider acquiring extra levels, too.

11. Rearrange Letters

You're given a clue and a jumbled mess of letters. With the clue in mind, rearrange the letters until you've got the word right as the timer counts down.

That's how the Rearrange Letters HTML 5 game works.

Rearrange Letters - HTML5 Game
“Rearrange Letters is an HTML5 game where you can arrange the letters and make the right word with the given description as a clue.”

Features include:

  • customize the text, game mode, and timer
  • social media high score sharer
  • mouse and touch control
  • 1024x768 resolution
  • and more

With plenty of customizations and built using CreateJS, you can reimagine Rearrange Letters any way you like.

12. Rolling Cheese

The Rolling Cheese physics game has a tiny hero. Help this little hungry mouse get the cheese by rolling it through obstacle courses to reach the mouse.

Rolling Cheese - HTML5 Physics Game

Features include:

  • fully customizable with included source code
  • optimized for both mobile and desktop
  • developed in HTML5, JavaScript, and CreateJS
  • and more

Rolling Cheese is one of the few games in this list not designed using Construct or a similar framework.

13. Smath Pong

Smath Pong is a casual game where the objective is to keep hitting the ball for as long as possible—but the ball moves faster and faster with time.

Smath Pong C2  C3  HTML Game

Features include:

  • easy to edit
  • uses Construct 2 and Construct 3
  • infinite levels
  • includes files (.capx, c3p, .html, .png, .m4a, .ogg)
  • and more

Smath Pong includes documentation and needs no programming knowledge to edit.

14. Zombie Defense

A zombie defense HTML5 game? Yes, please.

Your objective is to shoot the zombies as they walk towards you, lowering their health meter with every shot.

Features include:

  • mobile and desktop optimized
  • supports mouse/keyboard
  • HTML5 files and documentation
  • and more

Zombie Defense is ready to edit—or play.

15. Quiz Game

Build your own custom mobile quiz game using Quiz Game.

Quiz Game - HTML5 Game
"Quiz Game is a HTML5 game with free general knowledge quiz questions and multiple choice answers."

Features include:

  • built-in editor tool
  • 17 different answer layouts
  • optional audio for questions and answers
  • optional right and wrong answer animations
  • option to display the correct answer
  • fully responsive
  • built with CreateJS
  • and more

With the questions, answers, and category loaded from an XML file, you'll be able to spin up many different types of quizzes using Quiz Game.

16. Sweety Memory

Do you remember Memory? Sweety Memory is an HTML 5 game that works the same way. Flip the cards, make the matches, and win!

Sweety Memory - HTML5 Game
“Match all the identical cards before time runs out!”

Features include:

  • fully customizable with included PSD and AI files
  • fully developed in HTML5 and CreateJS
  • source code included
  • and more

Mobile or desktop, the 960x1200 resolution scales to fit the whole screen of almost any device.

Sweety Memory is also compatible with CTL Arcade.

17. 3D BlackJack

3D BlackJack is an HTML5 casino game that isn't designed to be used with real money—it is simply a fun game to play.

HTML5 3D BlackJack - HTML5 Casino Game
“Enjoy this blackjack game with hi-res 3D graphics!”

Features include:

  • fully customizable HTML5 and CreateJS files
  • insurance feature, double bet, and split hand
  • PSD and AI files for easy customization
  • and more

This HTML5 game is also compatible with CTL Arcade for WordPress.

You can easily monetize your app with banner ads and promote it with the social share buttons included with 3D BlackJack.

18. 3D Roulette

This is another high-quality casino game built for fun. The 3D Roulette game includes many great features and is designed really well.

3D Roulette - HTML5 Casino Game
“The game contains all the main roulette game features like Voisins zero, tier, orphelins, neighbor, final bets.”

Features include:

  • fully customizable HTML5 and CreateJS files
  • PSD and AI files for easy customization
  • fully responsive 750x600 resolution
  • and more

This HTML5 game is also compatible with CTL Arcade for WordPress, but if you're looking for a mobile-centric version, I recommend Roulette Royale.

3D Roulette is the perfect desktop, in-browser roulette HTML5 game.

19. Missiles Again

Missiles Again is a fun time-killer that works on almost every possible platform.

Missiles Again - HTML5 game Construct 2 Capx  Admobvvvvvvvvvvvvvvvvvvvvvvvv
“Control the plane to collect all stars and avoid all missiles!”

Features include:

  • easy code that can be customized with Construct 2
  • PNG and PSD files for easy reskin
  • supports AdMob Ads
  • and more

A fun, well-designed HTML5 game, Missiles Again is one you don't want to miss.

20. HTML5 Game Bundles

Sometimes it's better to buy in bulk.

If you are considering multiple HTML5 games, you may want to look through these HTML5 Game Bundles to see if you can pay less and receive more.

HTML5 Game Bundles

A few titles from various bundles include:

  • Fruit Slasher
  • Brick Out
  • Ninja Run
  • Tank Defender
  • Billiards
  • Cars
  • Monster Match-3
  • Bubble Shooter
  • Space Purge
  • Duck Shooter
  • Girl Dress Up
  • and more!

Some of the best HTML5 Game Bundles to consider include Super Bundle No 1 (50 games), 24-Games in 1 Bundle, and HTML5 Games Bundle No. 2 (9 games).

Conclusion

Going through this list may inspire you to reskin, tweak, or build something completely new—using one of these HTML5 games as a template towards success. Whether you publish a game arcade on your website, earn revenue with advertising, or would like to dig deeper in HTML5 using game templates, you're sure to find something you're looking for from the Envato Market.

You can also find useful Envato Tuts+ code tutorials on game design or game mechanics, as well as HTML5 tutorials to get you started.

Gaming and coding. Two things that are incredibly fun to do, and even better together!

2018-10-22T09:44:44.184Z2018-10-22T09:44:44.184ZEric Dye

20 Best HTML5 Game Templates of 2018 With Source Code

$
0
0
tag:code.tutsplus.com,2005:PostPresenter/cms-28892

Over the past several years, we have seen HTML5 used to create many great online solutions. We have also seen it used to create some great fun! With the vanishing of Flash, HTML5 quickly became the universal platform to create browser-based games for both desktop and mobile devices.

Here are the 20 best HTML5 game templates and engines of 2018. Whether you already have a game concept to build or would like a fun way to learn more about making mobile games, download the source code today and get started making something awesome.

1. Banana Jump

If you want to play a game with infinite jumping, give Banana Jump a try. The same can be said if that's what you would like to code!

Banana Jump Capx

Features include:

  • touch and mouse support
  • includes a Construct 2 file
  • supports Android and iOS
  • and more

Begin playing, editing, and jumping with Banana Jump.

2. Indiara and the Skull Gold

Indiara and the Skull Gold is a mobile platformer with an Indiana Jones feel to it.

Collect the eight gold skulls, but be on the lookout—the caves are full of traps!

Indiara and the Skull Gold
“Meet and play with Indiara, a girl who loves to collect ancient artifacts.”

Features included:

  • supports both desktop and mobile
  • includes layered PSD and AI files
  • 860x480 graphics
  • and more

Easily reskin this HTML5 game template by editing and replacing the images.

Indiara and the Skull Gold includes eight complete levels and can be completely customized by using Construct 2.

3. Don't Crash

Don't crash while you play Don't Crash!

As two cars race around the track, tap the screen to change lanes and avoid a crash.

Dont Crash
“Don’t crash—this is the only rule of the game.”

Features include:

  • supports both mobile and desktop
  • easy, one-touch control
  • 1280x720 graphics
  • and more

Reskin this HTML5 game using the included AI files or completely change the game elements using Construct 2.

Don't Crash is simple, fast, and addictive.

4. Game FlapCat Steampunk

Game FlapCat Steampunk is a cute and simple HTML5 game that's perfectly made for mobile.

How high can you score?

Game FlapCat Steampunk
“Help the cat FlapCat to go through challenges that are super difficult.”

Features include:

  • includes PSD and AI files
  • 1280x720 graphics
  • infinite level
  • and more

Whether you're playing in your web browser or mobile phone, all you need is a single touch or mouse click to play. Easy to play, hard to master.

Game FlapCat Steampunk can easily be reskinned by replacing the images or fully customized with Construct 2.

5. Smiley Ball

Smiley Ball will put a smile on your face.

Actually, 1 of 5 different smilies.

Smiley Ball

Built with Construct 2, it supports both desktop and mobile devices, and it is easy to change out the elements and edit the source code to make your own game.

With five different smilies to choose from, the Smiley Ball adventure will take you through 20 levels full of spikes and obstacles to avoid before reaching your goal.

6. Jumper Frog

Frogger is a classic arcade game that makes a great adaptation to mobile.

Take a leap and jump on Jumper Frog for some fun.

Jumper Frog - HTML5 Game

“Enjoy this colorful version of the classic game Frogger.”

Features include:

  • includes PSD and AI files for customization
  • fully developed in HTML5 and CreateJS
  • fully customizable
  • and more

This is also compatible with CTL Arcade.

Jumper Frog brings this arcade classic to any screen.

7. Bubble Shooter

Launch the colorful bubble into place, and when you get three or more in a row, they disappear. Clear all the bubbles to win!

Bubble Shooter is a classic puzzler that's easy to learn, but hard to master.

Bubble Shooter - HTML5 Games
“The goal of the game is to clear all the bubbles from the level avoiding any bubble crossing the bottom line.”

Features include:

  • includes PSD and AI files for customization
  • fully developed in HTML5 and CreateJS
  • fully customizable
  • and more

If you think this HTML5 game is fun, be sure to also consider the 50 Levels Pack.

Bubble Shooter is also compatible with CTL Arcade.

8. Diamond Hunter

Diamond Hunter is a fast-paced avoidance game: avoid rocks and bombs while you collect diamonds.

Diamond Hunter - HTML5 Avoidance Game

Features include:

  • HTML5 mobile optimized
  • Android, iOS, multi-platform
  • uses Construct 2 and 3 native plugins
  • and more

Diamond Hunter provides a retro feel and includes all game assets.

9. Katana Fruits

If you're familiar with Fruit Ninja, you'll be familiar with Katana Fruits.

Katana Fruits - HTML5 Game
“The goal is to cut all the fruits that appear on the screen without dropping them and avoid the bombs.”

Features include:

  • includes PSD and AI files for customization
  • fully developed in HTML5 and CreateJS
  • promote with social share buttons
  • fully customizable
  • and more

This HTML5 game is compatible with CTL Arcade for WordPress and can be easily customized.

Sharpen your Katana—it's time to slash some fruit with Katana Fruits.

10. The Sorcerer

The moment the screen loads, you'll know what to do. Inspired by Zuma, The Sorcerer is an instant puzzle game hit.

The Sorcerer - HTML5 Puzzle Game
“The Sorcerer was awarded as the best puzzle game in HTML5 Most Wanted contest”

Features include:

  • fully developed in HTML5 and CreateJS
  • source code included
  • fully customizable
  • and more

Mobile or desktop, the 960x540 resolution is fully optimized.

The Sorcerer is hard to put down, so you may want to consider acquiring extra levels, too.

11. Rearrange Letters

You're given a clue and a jumbled mess of letters. With the clue in mind, rearrange the letters until you've got the word right as the timer counts down.

That's how the Rearrange Letters HTML 5 game works.

Rearrange Letters - HTML5 Game
“Rearrange Letters is an HTML5 game where you can arrange the letters and make the right word with the given description as a clue.”

Features include:

  • customize the text, game mode, and timer
  • social media high score sharer
  • mouse and touch control
  • 1024x768 resolution
  • and more

With plenty of customizations and built using CreateJS, you can reimagine Rearrange Letters any way you like.

12. Rolling Cheese

The Rolling Cheese physics game has a tiny hero. Help this little hungry mouse get the cheese by rolling it through obstacle courses to reach the mouse.

Rolling Cheese - HTML5 Physics Game

Features include:

  • fully customizable with included source code
  • optimized for both mobile and desktop
  • developed in HTML5, JavaScript, and CreateJS
  • and more

Rolling Cheese is one of the few games in this list not designed using Construct or a similar framework.

13. Smath Pong

Smath Pong is a casual game where the objective is to keep hitting the ball for as long as possible—but the ball moves faster and faster with time.

Smath Pong C2  C3  HTML Game

Features include:

  • easy to edit
  • uses Construct 2 and Construct 3
  • infinite levels
  • includes files (.capx, c3p, .html, .png, .m4a, .ogg)
  • and more

Smath Pong includes documentation and needs no programming knowledge to edit.

14. Zombie Defense

A zombie defense HTML5 game? Yes, please.

Your objective is to shoot the zombies as they walk towards you, lowering their health meter with every shot.

Features include:

  • mobile and desktop optimized
  • supports mouse/keyboard
  • HTML5 files and documentation
  • and more

Zombie Defense is ready to edit—or play.

15. Quiz Game

Build your own custom mobile quiz game using Quiz Game.

Quiz Game - HTML5 Game
"Quiz Game is a HTML5 game with free general knowledge quiz questions and multiple choice answers."

Features include:

  • built-in editor tool
  • 17 different answer layouts
  • optional audio for questions and answers
  • optional right and wrong answer animations
  • option to display the correct answer
  • fully responsive
  • built with CreateJS
  • and more

With the questions, answers, and category loaded from an XML file, you'll be able to spin up many different types of quizzes using Quiz Game.

16. Sweety Memory

Do you remember Memory? Sweety Memory is an HTML 5 game that works the same way. Flip the cards, make the matches, and win!

Sweety Memory - HTML5 Game
“Match all the identical cards before time runs out!”

Features include:

  • fully customizable with included PSD and AI files
  • fully developed in HTML5 and CreateJS
  • source code included
  • and more

Mobile or desktop, the 960x1200 resolution scales to fit the whole screen of almost any device.

Sweety Memory is also compatible with CTL Arcade.

17. 3D BlackJack

3D BlackJack is an HTML5 casino game that isn't designed to be used with real money—it is simply a fun game to play.

HTML5 3D BlackJack - HTML5 Casino Game
“Enjoy this blackjack game with hi-res 3D graphics!”

Features include:

  • fully customizable HTML5 and CreateJS files
  • insurance feature, double bet, and split hand
  • PSD and AI files for easy customization
  • and more

This HTML5 game is also compatible with CTL Arcade for WordPress.

You can easily monetize your app with banner ads and promote it with the social share buttons included with 3D BlackJack.

18. 3D Roulette

This is another high-quality casino game built for fun. The 3D Roulette game includes many great features and is designed really well.

3D Roulette - HTML5 Casino Game
“The game contains all the main roulette game features like Voisins zero, tier, orphelins, neighbor, final bets.”

Features include:

  • fully customizable HTML5 and CreateJS files
  • PSD and AI files for easy customization
  • fully responsive 750x600 resolution
  • and more

This HTML5 game is also compatible with CTL Arcade for WordPress, but if you're looking for a mobile-centric version, I recommend Roulette Royale.

3D Roulette is the perfect desktop, in-browser roulette HTML5 game.

19. Missiles Again

Missiles Again is a fun time-killer that works on almost every possible platform.

Missiles Again - HTML5 game Construct 2 Capx  Admobvvvvvvvvvvvvvvvvvvvvvvvv
“Control the plane to collect all stars and avoid all missiles!”

Features include:

  • easy code that can be customized with Construct 2
  • PNG and PSD files for easy reskin
  • supports AdMob Ads
  • and more

A fun, well-designed HTML5 game, Missiles Again is one you don't want to miss.

20. HTML5 Game Bundles

Sometimes it's better to buy in bulk.

If you are considering multiple HTML5 games, you may want to look through these HTML5 Game Bundles to see if you can pay less and receive more.

HTML5 Game Bundles

A few titles from various bundles include:

  • Fruit Slasher
  • Brick Out
  • Ninja Run
  • Tank Defender
  • Billiards
  • Cars
  • Monster Match-3
  • Bubble Shooter
  • Space Purge
  • Duck Shooter
  • Girl Dress Up
  • and more!

Some of the best HTML5 Game Bundles to consider include Super Bundle No 1 (50 games), 24-Games in 1 Bundle, and HTML5 Games Bundle No. 2 (9 games).

Conclusion

Going through this list may inspire you to reskin, tweak, or build something completely new—using one of these HTML5 games as a template towards success. Whether you publish a game arcade on your website, earn revenue with advertising, or would like to dig deeper in HTML5 using game templates, you're sure to find something you're looking for from the Envato Market.

You can also find useful Envato Tuts+ code tutorials on game design or game mechanics, as well as HTML5 tutorials to get you started.

Gaming and coding. Two things that are incredibly fun to do, and even better together!

2018-10-22T09:44:44.184Z2018-10-22T09:44:44.184ZEric Dye

15 Best Swift App Templates

$
0
0

Mobile users have come to expect the UI consistency and performance that can only come from native apps. However, building a feature-rich iOS app with an elegant user interface can be challenging. Fortunately, by using an app template, you can save substantial amounts of time and effort.

CodeCanyon has a huge collection of Swift language iOS app templates. If you don't know what an app template is, it is basically a pre-built application with a lot of the core functionality already implemented for you. It allows you to easily customise and add to the template's code to create the kind of app you want. 

Depending on the license that you purchase for a template, you can either use it as a learning tool or offer it as a real product on the App Store. 

No matter what kind of app you’re looking for, there's a good chance that CodeCanyon has a template to suit your needs. In this article, I'll show you 15 of my favourite Swift app templates available on CodeCanyon.

1. SuperView

SuperView

SuperView is a template designed to let web developers easily create a native iOS container for their website. It provides some basic functionality, including a toolbar with back, forward, and refresh buttons, but it keeps your website front and centre. 

This template also adds a lot of extra features you can take advantage of in your app, including Firebase or OneSignal push notifications, GPS support, social network login, Google AdMob, and support for right-to-left languages such as Arabic.

2.  Classify

Classify

If you're looking for a template to help you create a classified ad app, then check out Classify, a universal app template that you can use to develop your own mobile classifieds service app. End users will be able to post and edit ads using their mobile device of choice. The app allows end users to do everything you’d expect, like browse listings by categories, search for what they need, and contact the seller.  

3. iOS Recipe App

 iOS Recipe App

iOS Recipe App template gives you an app which displays various recipes based on categories, including a user-customisable Favourites category. The screen for viewing the details of a recipe supports multiple images, sharing, and smooth transitions. 

All the recipe data is stored in an XML file which can be easily edited or replaced with data loaded from a server. This template also includes quite a few extra features, including a shopping list, Google AdMob integration, push notifications, and a sliding menu on the left side of the app.

4. appyMap

appyMap

appyMap is an excellent app for browsing different locations and points of interest near the user's current location. The template allows you to split up points of interest into various groups which, if you want, can easily be locked behind an in-app purchase. appyMap also lets you choose between using either Apple's CloudKit or a local plist file for your data. Additionally, this template features AdMob integration if you want to use it.

5.  City Guide

City Guide

A great template for those looking to create a guide to specific locations around any city, the City Guide app template allows end users to browse top attractions, restaurants and shops, or any other categories that you’d like to add. Data is managed through CloudKit, and though the template uses data from locations in New York as an example, you can easily replace these locations with those in your target city. The app includes Google AdMob support. 

6.  FIVES

FIVES

FIVES is a word game that challenges you to make as many words as you can from a set of five letters before running out of time. It features support for multiple languages, Game Centre leaderboards, a PDF user guide, and a Photoshop PSD file for graphics. 

7.Events

Events Swift app template

The Events app template allows you to create your own mobile iOS events app to store and share events happening all over the world. End users are able to submit new events, and you can approve and add them in your Parse Dashboard. 

The app also has a button that enables end users to automatically add an event on their native iOS calendar and to open its address in Maps to get directions. They can also share the event via their social media platform of choice. 

8. Meme Keyboard

Meme Keyboard

The Meme Keyboard app template offers a custom keyboard full of memes that you can integrate into any app, allowing end users to share memes easily and quickly right from the keyboard view. 

Developers can use the template as is or as a starting point to creating a custom keyboard. The template is easy to customise, well commented, and fully documented.

9. Spotimusic

Spotimusic

As the name implies, Spotimusic is an app template which offers very similar functionality to Spotify and Apple Music. In addition to basic playlist creation and music playback, Spotimusic offers more advanced features, including background playback, an audio equaliser, and the ability to download tracks for offline usage. 

The other major selling point of this template is that it includes a fully functional and ready-to-deploy server back-end for user account management and storing tracks. All you need to do is set up a server hosting method and deploy the back-end template.

10. Mokets

Mokets

Mokets, short for mobile markets, is an e-commerce app template targeting today’s busy shoppers. The template distinguishes itself from the competition with a gorgeous Pinterest-type grid that displays items for sale with all relevant information. It features user registration and login, shopping cart with checkout, transaction history, push notification, user feedback, analytics which track customer interests, and so much more.

11. woopy

woopy

woopy is an app template that allows developers to create listing apps that facilitate the buying and selling of used and handcrafted items online. Users can browse by keyword or category. They can also chat with sellers or potential buyers and give feedback on each transaction.

One of the app’s outstanding features for sellers is the ability to add a 10-second video to their listings. Another is the app’s optional email verification system that gives buyers and sellers extra assurance by posting a verification symbol next to the user’s name.

12. appyQuote

appyQuote

If you’re a lover of those pithy quotations floating around the Internet, then you'll get a kick out of designing your very own quotation app with appyQuote. appyQuote is an app template that groups and displays quotes. The template contains all of its quotes in a single plist which you can easily edit so you can add your own favourites. appyQuote also comes with AdMob already implemented, a 12-page user guide, and a Sketch file with 24 icons.

13. Store Finder

Store Finder

When you need to find a specific item or store and don’t want to spend all day driving from one end of town to the other or doing laps around the mall, a store finder app is a lifesaver. Enter the Store Finder app template, a developer’s dream, with a long list of must-have features like photos, call, email and SMS integration, comments, Google directions, social media logins, pinch and zoom function, and so much more.

14. iOS Mobile Shop

iOS Mobile Shop

iOS Mobile Shop is, as its name suggests, a template for a mobile store application. This app defines all of its products in a local XML file which you can easily customise or replace with a file loaded from a server. The app organises products into categories, allows the user to search for products, and takes care of managing the user's cart. 

The template is currently set up with push notifications through OneSignal and will also send an email directly to you when an order is made. From here, it's up to you to organise payment, shipping, etc.

15. WebViewGold

WebViewGold

WebViewGold app template is another great template that allows users to convert a website's content into an app. It does so by using a Swift Xcode package to wrap the URL or local HTML into an iOS app. The real genius of this app template, though, is that it does its work in just a few clicks, so no coding knowledge is required! WebViewGold is optimised for iPhone, iPod touch, and iPad.

Conclusion

These 15 templates are just some of the many available on CodeCanyon. There are a lot more great templates that weren't included in this article, so I encourage you to have a look and see what else you can find.

And if you want to improve your skills building iOS apps and templates, then check out some of our other posts on iOS app development.

2018-10-31T12:16:15.497Z2018-10-31T12:16:15.497ZNona Blackman

15 Best Swift App Templates

$
0
0
tag:code.tutsplus.com,2005:PostPresenter/cms-28462

Mobile users have come to expect the UI consistency and performance that can only come from native apps. However, building a feature-rich iOS app with an elegant user interface can be challenging. Fortunately, by using an app template, you can save substantial amounts of time and effort.

CodeCanyon has a huge collection of Swift language iOS app templates. If you don't know what an app template is, it is basically a pre-built application with a lot of the core functionality already implemented for you. It allows you to easily customise and add to the template's code to create the kind of app you want. 

Depending on the license that you purchase for a template, you can either use it as a learning tool or offer it as a real product on the App Store. 

No matter what kind of app you’re looking for, there's a good chance that CodeCanyon has a template to suit your needs. In this article, I'll show you 15 of my favourite Swift app templates available on CodeCanyon.

1. SuperView

SuperView

SuperView is a template designed to let web developers easily create a native iOS container for their website. It provides some basic functionality, including a toolbar with back, forward, and refresh buttons, but it keeps your website front and centre. 

This template also adds a lot of extra features you can take advantage of in your app, including Firebase or OneSignal push notifications, GPS support, social network login, Google AdMob, and support for right-to-left languages such as Arabic.

2.  Classify

Classify

If you're looking for a template to help you create a classified ad app, then check out Classify, a universal app template that you can use to develop your own mobile classifieds service app. End users will be able to post and edit ads using their mobile device of choice. The app allows end users to do everything you’d expect, like browse listings by categories, search for what they need, and contact the seller.  

3. iOS Recipe App

 iOS Recipe App

iOS Recipe App template gives you an app which displays various recipes based on categories, including a user-customisable Favourites category. The screen for viewing the details of a recipe supports multiple images, sharing, and smooth transitions. 

All the recipe data is stored in an XML file which can be easily edited or replaced with data loaded from a server. This template also includes quite a few extra features, including a shopping list, Google AdMob integration, push notifications, and a sliding menu on the left side of the app.

4. appyMap

appyMap

appyMap is an excellent app for browsing different locations and points of interest near the user's current location. The template allows you to split up points of interest into various groups which, if you want, can easily be locked behind an in-app purchase. appyMap also lets you choose between using either Apple's CloudKit or a local plist file for your data. Additionally, this template features AdMob integration if you want to use it.

5.  City Guide

City Guide

A great template for those looking to create a guide to specific locations around any city, the City Guide app template allows end users to browse top attractions, restaurants and shops, or any other categories that you’d like to add. Data is managed through CloudKit, and though the template uses data from locations in New York as an example, you can easily replace these locations with those in your target city. The app includes Google AdMob support. 

6.  FIVES

FIVES

FIVES is a word game that challenges you to make as many words as you can from a set of five letters before running out of time. It features support for multiple languages, Game Centre leaderboards, a PDF user guide, and a Photoshop PSD file for graphics. 

7.Events

Events Swift app template

The Events app template allows you to create your own mobile iOS events app to store and share events happening all over the world. End users are able to submit new events, and you can approve and add them in your Parse Dashboard. 

The app also has a button that enables end users to automatically add an event on their native iOS calendar and to open its address in Maps to get directions. They can also share the event via their social media platform of choice. 

8. Meme Keyboard

Meme Keyboard

The Meme Keyboard app template offers a custom keyboard full of memes that you can integrate into any app, allowing end users to share memes easily and quickly right from the keyboard view. 

Developers can use the template as is or as a starting point to creating a custom keyboard. The template is easy to customise, well commented, and fully documented.

9. Spotimusic

Spotimusic

As the name implies, Spotimusic is an app template which offers very similar functionality to Spotify and Apple Music. In addition to basic playlist creation and music playback, Spotimusic offers more advanced features, including background playback, an audio equaliser, and the ability to download tracks for offline usage. 

The other major selling point of this template is that it includes a fully functional and ready-to-deploy server back-end for user account management and storing tracks. All you need to do is set up a server hosting method and deploy the back-end template.

10. Mokets

Mokets

Mokets, short for mobile markets, is an e-commerce app template targeting today’s busy shoppers. The template distinguishes itself from the competition with a gorgeous Pinterest-type grid that displays items for sale with all relevant information. It features user registration and login, shopping cart with checkout, transaction history, push notification, user feedback, analytics which track customer interests, and so much more.

11. woopy

woopy

woopy is an app template that allows developers to create listing apps that facilitate the buying and selling of used and handcrafted items online. Users can browse by keyword or category. They can also chat with sellers or potential buyers and give feedback on each transaction.

One of the app’s outstanding features for sellers is the ability to add a 10-second video to their listings. Another is the app’s optional email verification system that gives buyers and sellers extra assurance by posting a verification symbol next to the user’s name.

12. appyQuote

appyQuote

If you’re a lover of those pithy quotations floating around the Internet, then you'll get a kick out of designing your very own quotation app with appyQuote. appyQuote is an app template that groups and displays quotes. The template contains all of its quotes in a single plist which you can easily edit so you can add your own favourites. appyQuote also comes with AdMob already implemented, a 12-page user guide, and a Sketch file with 24 icons.

13. Store Finder

Store Finder

When you need to find a specific item or store and don’t want to spend all day driving from one end of town to the other or doing laps around the mall, a store finder app is a lifesaver. Enter the Store Finder app template, a developer’s dream, with a long list of must-have features like photos, call, email and SMS integration, comments, Google directions, social media logins, pinch and zoom function, and so much more.

14. iOS Mobile Shop

iOS Mobile Shop

iOS Mobile Shop is, as its name suggests, a template for a mobile store application. This app defines all of its products in a local XML file which you can easily customise or replace with a file loaded from a server. The app organises products into categories, allows the user to search for products, and takes care of managing the user's cart. 

The template is currently set up with push notifications through OneSignal and will also send an email directly to you when an order is made. From here, it's up to you to organise payment, shipping, etc.

15. WebViewGold

WebViewGold

WebViewGold app template is another great template that allows users to convert a website's content into an app. It does so by using a Swift Xcode package to wrap the URL or local HTML into an iOS app. The real genius of this app template, though, is that it does its work in just a few clicks, so no coding knowledge is required! WebViewGold is optimised for iPhone, iPod touch, and iPad.

Conclusion

These 15 templates are just some of the many available on CodeCanyon. There are a lot more great templates that weren't included in this article, so I encourage you to have a look and see what else you can find.

And if you want to improve your skills building iOS apps and templates, then check out some of our other posts on iOS app development.

2018-10-31T12:16:15.497Z2018-10-31T12:16:15.497ZNona Blackman

12 Mobile App Icons, UI Kits, and Other Graphics to Make Your Mobile Apps Shine

$
0
0

Every mobile app developer needs a go-to source for beautiful, professionally designed graphics they can use when constructing their apps. Whether you're looking for mobile UI kits, app icons, mobile fonts, backgrounds, or other graphic resources, Envato Elements is one of the best sources on the web. It offers hundreds of thousands of well-designed items and allows you to download as many as you want for a single affordable monthly fee. 

Best of all, downloaded items are covered by a single licence that gives you broad commercial rights when using the items in your projects. Today, I’m sharing 12 graphics that will help your mobile apps stand head and shoulders above the competition. 

1. UX Flowchart Cards

 UX Flowchart Cards

UX Flowchart is made up of 296 cards, 64 of which are designed specifically for iOS mobile apps. The cards use a flexible grid and a strict layer structure which not only creates consistency across all cards but helps you translate your ideas into a logical and easy-to-follow structure.

Compatible with Sketch and Adobe Illustrator, the cards have been designed using the most popular categories found in mobile apps and are printer friendly. 

2. Oculus iOS Wireframe UI Kit 

Oculus iOS Wireframe UI Kit

The Oculus iOS Wireframe UI Kit is designed with mobile developers in mind. The kit offers over 21 beautiful, ready-to-use screens in seven popular categories that will save you time and energy when you’re working on your next app. 

All the screens and elements are fully customisable, well-organised, easy to navigate, and come in Sketch app format.

3. SignUp / Login - Mobile Form UI kit

 SignUp  Login - Mobile Form UI kit

SignUp / Login - Mobile Form UI kit provides iOS mobile app developers with 40 gorgeous sign-in and sign-up forms for their apps. Constructed using only vector shapes, each form is highly customisable so that users can change elements like colours and fonts and resize elements to match their required style.

4. Royalty-Free Stock Photographs

Royalty-Free Stock Photographs

Incorporating images into your apps is a great way to get ideas across because they can convey a message quickly and people respond to them no matter what language they speak. 

For this reason, Royalty-Free Stock Photographs are an indispensable asset for the mobile app developer, and happily, your Envato subscription gives you access to thousands of beautiful stock images in every category conceivable.

5. Geometric Pattern Backgrounds

Geometric Pattern Backgrounds

A clean, plain background may be the best option for most of your app screens, but when you’re looking for a bold and interesting background to set your app apart and catch the viewer’s eye, the stunning Geometric Pattern Backgrounds is a perfect choice.

6. 45 Gradient Backgrounds

45 Gradient Backgrounds

A gradient background is always a handy asset for the mobile developer. Fully editable in Sketch, 45 Gradient Backgrounds, as the name suggests, gives you 45 different gradients to spice up your app project.

7. Nixmat

Nixmat

If you’re looking for a strong mobile font to brand your new app, check out Nixmat. Bold, colourful, and attention-grabbing, Nixmat is bound to bring a touch of cool to your project. The font is available in both OTF and TTF files.

8. Oxigen

Oxigen

Oxigen is another great font that would work well for branding your app. Using simple, bold strokes as its starting point, Oxigen plays with doubling its strokes to create a dramatic effect. It is available in both OTF and TTF files.

9. Quiz App

Quiz App

Quiz App is a bit more specialised than the other graphics featured here, in that it is designed exclusively for developers interested in creating a quiz app. It provides a total of 24 unique screens in a light and a dark theme. Designed with Sketch and Adobe Photoshop, the app is well organised and provides downloads of all fonts used. 

This is just an example of the kind of specialized graphics available for your apps on Envato Elements.

10. Pinger

Pinger

With dating apps so popular nowadays, I thought I’d add something for all those developers thinking of creating one. The Pinger dating UI kit contains 21 screens for apps dealing with dating, socialising, or meeting friends. It's created using Adobe Photoshop, and you can customise it to suit your taste and needs.

11. 120 Business Flat Icons

120 Business Flat Icons

A nifty collection of icons that includes everything from cameras, shopping baskets, and crowns to clocks and currency signs, 120 Business Flat Icons is great for business and other types of apps. 

The icons are available in .png file format for easy use, as well as .ai and .eps file formats so that you can change their colour and size as needed.

12. Strong Line Icons

Strong Line Icons

Strong Line Icons offers a collection of the most popular icons used in social media, web design, marketing, navigation, etc. The icons come in two styles, white lines on dark circles and dark lines with reflections on the background. They are available in .eps, .ai, .jpg, and .psd layered files and are best edited using Adobe Illustrator. 

Conclusion

So that’s it! 12 great digital graphics that will help you create beautiful and unique mobile apps. And the good part is that instead of having to buy 12 separate items and breaking the bank, you can now get all 12 items—and many thousands more—with one affordable monthly subscription at Envato Elements.

If none of the items I’ve shared with you here catch your fancy, there are thousands more to choose from at Envato Elements, and you can download as many as you like for one low monthly price. Now if that isn’t a great deal, what is?

2018-11-21T12:19:20.000Z2018-11-21T12:19:20.000ZNona Blackman

12 Mobile App Icons, UI Kits, and Other Graphics to Make Your Mobile Apps Shine

$
0
0
tag:code.tutsplus.com,2005:PostPresenter/cms-32108

Every mobile app developer needs a go-to source for beautiful, professionally designed graphics they can use when constructing their apps. Whether you're looking for mobile UI kits, app icons, mobile fonts, backgrounds, or other graphic resources, Envato Elements is one of the best sources on the web. It offers hundreds of thousands of well-designed items and allows you to download as many as you want for a single affordable monthly fee. 

Best of all, downloaded items are covered by a single licence that gives you broad commercial rights when using the items in your projects. Today, I’m sharing 12 graphics that will help your mobile apps stand head and shoulders above the competition. 

1. UX Flowchart Cards

 UX Flowchart Cards

UX Flowchart is made up of 296 cards, 64 of which are designed specifically for iOS mobile apps. The cards use a flexible grid and a strict layer structure which not only creates consistency across all cards but helps you translate your ideas into a logical and easy-to-follow structure.

Compatible with Sketch and Adobe Illustrator, the cards have been designed using the most popular categories found in mobile apps and are printer friendly. 

2. Oculus iOS Wireframe UI Kit 

Oculus iOS Wireframe UI Kit

The Oculus iOS Wireframe UI Kit is designed with mobile developers in mind. The kit offers over 21 beautiful, ready-to-use screens in seven popular categories that will save you time and energy when you’re working on your next app. 

All the screens and elements are fully customisable, well-organised, easy to navigate, and come in Sketch app format.

3. SignUp / Login - Mobile Form UI kit

 SignUp  Login - Mobile Form UI kit

SignUp / Login - Mobile Form UI kit provides iOS mobile app developers with 40 gorgeous sign-in and sign-up forms for their apps. Constructed using only vector shapes, each form is highly customisable so that users can change elements like colours and fonts and resize elements to match their required style.

4. Royalty-Free Stock Photographs

Royalty-Free Stock Photographs

Incorporating images into your apps is a great way to get ideas across because they can convey a message quickly and people respond to them no matter what language they speak. 

For this reason, Royalty-Free Stock Photographs are an indispensable asset for the mobile app developer, and happily, your Envato subscription gives you access to thousands of beautiful stock images in every category conceivable.

5. Geometric Pattern Backgrounds

Geometric Pattern Backgrounds

A clean, plain background may be the best option for most of your app screens, but when you’re looking for a bold and interesting background to set your app apart and catch the viewer’s eye, the stunning Geometric Pattern Backgrounds is a perfect choice.

6. 45 Gradient Backgrounds

45 Gradient Backgrounds

A gradient background is always a handy asset for the mobile developer. Fully editable in Sketch, 45 Gradient Backgrounds, as the name suggests, gives you 45 different gradients to spice up your app project.

7. Nixmat

Nixmat

If you’re looking for a strong mobile font to brand your new app, check out Nixmat. Bold, colourful, and attention-grabbing, Nixmat is bound to bring a touch of cool to your project. The font is available in both OTF and TTF files.

8. Oxigen

Oxigen

Oxigen is another great font that would work well for branding your app. Using simple, bold strokes as its starting point, Oxigen plays with doubling its strokes to create a dramatic effect. It is available in both OTF and TTF files.

9. Quiz App

Quiz App

Quiz App is a bit more specialised than the other graphics featured here, in that it is designed exclusively for developers interested in creating a quiz app. It provides a total of 24 unique screens in a light and a dark theme. Designed with Sketch and Adobe Photoshop, the app is well organised and provides downloads of all fonts used. 

This is just an example of the kind of specialized graphics available for your apps on Envato Elements.

10. Pinger

Pinger

With dating apps so popular nowadays, I thought I’d add something for all those developers thinking of creating one. The Pinger dating UI kit contains 21 screens for apps dealing with dating, socialising, or meeting friends. It's created using Adobe Photoshop, and you can customise it to suit your taste and needs.

11. 120 Business Flat Icons

120 Business Flat Icons

A nifty collection of icons that includes everything from cameras, shopping baskets, and crowns to clocks and currency signs, 120 Business Flat Icons is great for business and other types of apps. 

The icons are available in .png file format for easy use, as well as .ai and .eps file formats so that you can change their colour and size as needed.

12. Strong Line Icons

Strong Line Icons

Strong Line Icons offers a collection of the most popular icons used in social media, web design, marketing, navigation, etc. The icons come in two styles, white lines on dark circles and dark lines with reflections on the background. They are available in .eps, .ai, .jpg, and .psd layered files and are best edited using Adobe Illustrator. 

Conclusion

So that’s it! 12 great digital graphics that will help you create beautiful and unique mobile apps. And the good part is that instead of having to buy 12 separate items and breaking the bank, you can now get all 12 items—and many thousands more—with one affordable monthly subscription at Envato Elements.

If none of the items I’ve shared with you here catch your fancy, there are thousands more to choose from at Envato Elements, and you can download as many as you like for one low monthly price. Now if that isn’t a great deal, what is?

2018-11-21T12:19:20.000Z2018-11-21T12:19:20.000ZNona Blackman

Adding Swipe Gestures to RecyclerViews

$
0
0

A big part of Material Design is the way users get to interact with the visual elements of an app. Therefore, in addition to taps and long presses, a well-made Android app today is expected to handle more complex touch gestures such as swipes and drags. This is especially important if the app uses lists to display its data.

By using the RecyclerView widget, and a few other Android Jetpack components, you can handle a wide variety of list-related swipe gestures in your apps. Furthermore, in just a few lines of code, you can associate Material Motion animations with those gestures.

In this tutorial, I'll show you how to add a few common swipe gestures, complete with intuitive animations, to your lists.

Prerequisites

To be able to make the most of this tutorial, you'll need:

  • Android Studio 3.2.1 or higher
  • a phone or tablet running Android API level 23 or higher

1. Creating a List

To keep this tutorial short, let's use one of the templates available in Android Studio to generate our list.

Start by launching Android Studio and creating a new project. In the project creation wizard, make sure you choose the Empty Activity option.

Project creation wizard

Instead of the Support library, we'll be using Android Jetpack in this project. So, once the project has been generated, go to Refactor > Migrate to AndroidX. When prompted, press the Migrate button.

Confirmation prompt for proceeding with migration

Next, to add a list to the project, go to File > New > Fragment > Fragment (List). In the dialog that pops up, go ahead and press the Finish button without making any changes to the default values.

List fragment creation wizard

At this point, Android Studio will create a new fragment containing a fully configured RecyclerView widget. It will also generate dummy data to display inside the widget. However, you'll still have to add the fragment to your main activity manually.

To do so, first add the OnListFragmentInteractionListener interface to your main activity and implement the only method it contains.

Next, embed the fragment inside the activity by adding the following <fragment> tag to the activity_main.xml file:

At this point, if you run your app, you should be able to see a list that looks like this:

App displaying a simple list

2. Adding the Swipe-to-Remove Gesture

Using the ItemTouchHelper class, you can quickly add swipe and drag gestures to any RecyclerView widget. The class also provides default animations that run automatically whenever a valid gesture is detected.

The ItemTouchHelper class needs an instance of the abstract ItemTouchHelper.Callback class to be able to detect and handle gestures. Although you can use it directly, it's much easier to use a wrapper class called SimpleCallback instead. It's abstract too, but you'll have fewer methods to override.

Create a new instance of the SimpleCallback class inside the onCreateView() method of the ItemFragment class. As an argument to its constructor, you must pass the direction of the swipe you want it to handle. For now, pass RIGHT to it so that it handles the swipe-right gesture.

The class has two abstract methods, which you must override: the onMove() method, which detects drags, and the onSwiped() method, which detects swipes. Because we won't be handling any drag gestures today, make sure you return false inside the onMove() method.

Inside the onSwiped() method, you can use the adapterPosition property to determine the index of the list item that was swiped. Because we are implementing the swipe-to-remove gesture now, pass the index to the removeAt() method of the dummy list to remove the item.

Additionally, you must pass the same index to the notifyItemRemoved() method of the RecyclerView widget's adapter to make sure that the item is not rendered anymore. Doing so also runs the default item removal animation.

At this point, the SimpleCallback object is ready. All you need to do now is create an ItemTouchHelper object with it and attach the RecyclerView widget to it.

If you run the app now, you'll be able to swipe items out of the list.

3. Revealing a Background View

Although the swipe-to-remove gesture is very intuitive, some users may not be sure what happens when they perform the gesture. Therefore, Material Design guidelines say that the gesture must also progressively reveal a view hidden behind the item, which clearly indicates what's going to happen next. Usually, the background view is simply an icon displaying a trash bin.

To add the trash bin icon to your project, go to File > New > Vector Asset and select the icon named delete.

Icon selection dialog

You can now get a reference to the icon in your Kotlin code by calling the getDrawable() method. So add the following line to the onCreateView() method of the ItemFragment class:

Displaying a view behind a list item is slightly complicated because you need to draw it manually while also making sure that its bounds match the bounds of the region that's progressively revealed.

Override the onChildDraw() method of your SimpleCallback implementation to start drawing.

In the above code, the call to the onChildDraw() method of the superclass is important. Without it, your list items will not move when they are swiped.

Because we are handling only the swipe-right gesture, the X coordinates of the upper left and bottom left corners of the background view will always be zero. The X coordinates of the upper right and bottom right corners, on the other hand, should be equal to the dX parameter, which indicates how much the list item has been moved by the user.

To determine the Y coordinates of all the corners, you'll have to use the top and bottom properties of one of the views present inside the viewHolder object.

Using all these coordinates, you can now define a rectangular clip region. The following code shows you how to use the clipRect() method of the Canvas object to do so:

Although you don't have to, it's a good idea to make the clip region visible by giving it a background color. Here's how you can use the drawColor() method to make the clip region gray when the swipe distance is small and red when it's larger.

You'll now have to specify the bounds of the trash bin icon. These bounds must include a margin that matches that of the text shown in the list items. To determine the value of the margin in pixels, use the getDimension() method and pass text_margin to it.

You can reuse the coordinates of the clip region's upper left corner as the coordinates of the icon's upper left corner. They must, however, be offset by the textMargin. To determine the coordinates of its bottom right corner, use its intrinsic width and height. Here's how:

Finally, draw the icon by calling its draw() method.

If you run the app again, you should be able to see the icon when you swipe to remove a list item.

4. Adding the Swipe-to-Refresh Gesture

The swipe-to-refresh gesture, also known as the pull-to-refresh gesture, has become so popular these days that Android Jetpack has a dedicated component for it. It's called SwipeRefreshLayout, and it allows you to quickly associate the gesture with any RecyclerView, ListView, or GridView widget.

To support the swipe-to-refresh gesture in your RecyclerView widget, you must make it a child of a SwipeRefreshLayout widget. So open the fragment_item_list.xml file, add a <SwipeRefreshLayout> tag to it, and move the <RecyclerView> tag inside it. After you do so, the file's contents should like this:

The list fragment assumes that the RecyclerView widget is the root element of its layout. Because this is not true anymore, you need to make a few changes in the onCreateView() method of the ItemFragment class. First, replace the first line of the method, which inflates the layout, with the following code:

Next, change the last line of the method to return the SwipeRefreshLayout widget instead of the RecyclerView widget.

If you try running the app now, you'll be able to perform a vertical swipe gesture and get visual feedback. The contents of the list won't change, though. To actually refresh the list, you must associate an OnRefreshListener object with the SwipeRefreshLayout widget.

Inside the listener, you are free to modify the data the list displays based on your requirements. For now, because we're working with dummy data, let's just empty the list of dummy items and reload it with 25 new dummy items. The following code shows you how to do so:

After updating the data, you must remember to call the notifyDataSetChanged() method to let the adapter of the RecyclerView widget know that it must redraw the list.

By default, as soon as the user performs the swipe-to-refresh gesture, the SwipeRefreshLayout widget displays an animated progress indicator. Therefore, after you have updated the list, you must remember to remove the indicator by setting the isRefreshing property of the widget to false.

If you run the app now, remove a few list items, and perform the swipe-to-refresh gesture, you'll see the list reset itself.

Conclusion

Material Design has been around for a few years now, and most users these days expect you to handle many of the gestures it mentions. Fortunately, doing so doesn't take too much effort. In this tutorial, you learned how to implement two very common swipe gestures. You also learned how to progressively reveal a view hidden behind a list item being swiped.

You can learn more about gestures and Material Motion by referring to the Gesture Design guide.

2018-12-27T16:50:54.000Z2018-12-27T16:50:54.000ZAshraff Hathibelagal

Adding Swipe Gestures to RecyclerViews

$
0
0
tag:code.tutsplus.com,2005:PostPresenter/cms-32427

A big part of Material Design is the way users get to interact with the visual elements of an app. Therefore, in addition to taps and long presses, a well-made Android app today is expected to handle more complex touch gestures such as swipes and drags. This is especially important if the app uses lists to display its data.

By using the RecyclerView widget, and a few other Android Jetpack components, you can handle a wide variety of list-related swipe gestures in your apps. Furthermore, in just a few lines of code, you can associate Material Motion animations with those gestures.

In this tutorial, I'll show you how to add a few common swipe gestures, complete with intuitive animations, to your lists.

Prerequisites

To be able to make the most of this tutorial, you'll need:

  • Android Studio 3.2.1 or higher
  • a phone or tablet running Android API level 23 or higher

1. Creating a List

To keep this tutorial short, let's use one of the templates available in Android Studio to generate our list.

Start by launching Android Studio and creating a new project. In the project creation wizard, make sure you choose the Empty Activity option.

Project creation wizard

Instead of the Support library, we'll be using Android Jetpack in this project. So, once the project has been generated, go to Refactor > Migrate to AndroidX. When prompted, press the Migrate button.

Confirmation prompt for proceeding with migration

Next, to add a list to the project, go to File > New > Fragment > Fragment (List). In the dialog that pops up, go ahead and press the Finish button without making any changes to the default values.

List fragment creation wizard

At this point, Android Studio will create a new fragment containing a fully configured RecyclerView widget. It will also generate dummy data to display inside the widget. However, you'll still have to add the fragment to your main activity manually.

To do so, first add the OnListFragmentInteractionListener interface to your main activity and implement the only method it contains.

Next, embed the fragment inside the activity by adding the following <fragment> tag to the activity_main.xml file:

At this point, if you run your app, you should be able to see a list that looks like this:

App displaying a simple list

2. Adding the Swipe-to-Remove Gesture

Using the ItemTouchHelper class, you can quickly add swipe and drag gestures to any RecyclerView widget. The class also provides default animations that run automatically whenever a valid gesture is detected.

The ItemTouchHelper class needs an instance of the abstract ItemTouchHelper.Callback class to be able to detect and handle gestures. Although you can use it directly, it's much easier to use a wrapper class called SimpleCallback instead. It's abstract too, but you'll have fewer methods to override.

Create a new instance of the SimpleCallback class inside the onCreateView() method of the ItemFragment class. As an argument to its constructor, you must pass the direction of the swipe you want it to handle. For now, pass RIGHT to it so that it handles the swipe-right gesture.

The class has two abstract methods, which you must override: the onMove() method, which detects drags, and the onSwiped() method, which detects swipes. Because we won't be handling any drag gestures today, make sure you return false inside the onMove() method.

Inside the onSwiped() method, you can use the adapterPosition property to determine the index of the list item that was swiped. Because we are implementing the swipe-to-remove gesture now, pass the index to the removeAt() method of the dummy list to remove the item.

Additionally, you must pass the same index to the notifyItemRemoved() method of the RecyclerView widget's adapter to make sure that the item is not rendered anymore. Doing so also runs the default item removal animation.

At this point, the SimpleCallback object is ready. All you need to do now is create an ItemTouchHelper object with it and attach the RecyclerView widget to it.

If you run the app now, you'll be able to swipe items out of the list.

3. Revealing a Background View

Although the swipe-to-remove gesture is very intuitive, some users may not be sure what happens when they perform the gesture. Therefore, Material Design guidelines say that the gesture must also progressively reveal a view hidden behind the item, which clearly indicates what's going to happen next. Usually, the background view is simply an icon displaying a trash bin.

To add the trash bin icon to your project, go to File > New > Vector Asset and select the icon named delete.

Icon selection dialog

You can now get a reference to the icon in your Kotlin code by calling the getDrawable() method. So add the following line to the onCreateView() method of the ItemFragment class:

Displaying a view behind a list item is slightly complicated because you need to draw it manually while also making sure that its bounds match the bounds of the region that's progressively revealed.

Override the onChildDraw() method of your SimpleCallback implementation to start drawing.

In the above code, the call to the onChildDraw() method of the superclass is important. Without it, your list items will not move when they are swiped.

Because we are handling only the swipe-right gesture, the X coordinates of the upper left and bottom left corners of the background view will always be zero. The X coordinates of the upper right and bottom right corners, on the other hand, should be equal to the dX parameter, which indicates how much the list item has been moved by the user.

To determine the Y coordinates of all the corners, you'll have to use the top and bottom properties of one of the views present inside the viewHolder object.

Using all these coordinates, you can now define a rectangular clip region. The following code shows you how to use the clipRect() method of the Canvas object to do so:

Although you don't have to, it's a good idea to make the clip region visible by giving it a background color. Here's how you can use the drawColor() method to make the clip region gray when the swipe distance is small and red when it's larger.

You'll now have to specify the bounds of the trash bin icon. These bounds must include a margin that matches that of the text shown in the list items. To determine the value of the margin in pixels, use the getDimension() method and pass text_margin to it.

You can reuse the coordinates of the clip region's upper left corner as the coordinates of the icon's upper left corner. They must, however, be offset by the textMargin. To determine the coordinates of its bottom right corner, use its intrinsic width and height. Here's how:

Finally, draw the icon by calling its draw() method.

If you run the app again, you should be able to see the icon when you swipe to remove a list item.

4. Adding the Swipe-to-Refresh Gesture

The swipe-to-refresh gesture, also known as the pull-to-refresh gesture, has become so popular these days that Android Jetpack has a dedicated component for it. It's called SwipeRefreshLayout, and it allows you to quickly associate the gesture with any RecyclerView, ListView, or GridView widget.

To support the swipe-to-refresh gesture in your RecyclerView widget, you must make it a child of a SwipeRefreshLayout widget. So open the fragment_item_list.xml file, add a <SwipeRefreshLayout> tag to it, and move the <RecyclerView> tag inside it. After you do so, the file's contents should like this:

The list fragment assumes that the RecyclerView widget is the root element of its layout. Because this is not true anymore, you need to make a few changes in the onCreateView() method of the ItemFragment class. First, replace the first line of the method, which inflates the layout, with the following code:

Next, change the last line of the method to return the SwipeRefreshLayout widget instead of the RecyclerView widget.

If you try running the app now, you'll be able to perform a vertical swipe gesture and get visual feedback. The contents of the list won't change, though. To actually refresh the list, you must associate an OnRefreshListener object with the SwipeRefreshLayout widget.

Inside the listener, you are free to modify the data the list displays based on your requirements. For now, because we're working with dummy data, let's just empty the list of dummy items and reload it with 25 new dummy items. The following code shows you how to do so:

After updating the data, you must remember to call the notifyDataSetChanged() method to let the adapter of the RecyclerView widget know that it must redraw the list.

By default, as soon as the user performs the swipe-to-refresh gesture, the SwipeRefreshLayout widget displays an animated progress indicator. Therefore, after you have updated the list, you must remember to remove the indicator by setting the isRefreshing property of the widget to false.

If you run the app now, remove a few list items, and perform the swipe-to-refresh gesture, you'll see the list reset itself.

Conclusion

Material Design has been around for a few years now, and most users these days expect you to handle many of the gestures it mentions. Fortunately, doing so doesn't take too much effort. In this tutorial, you learned how to implement two very common swipe gestures. You also learned how to progressively reveal a view hidden behind a list item being swiped.

You can learn more about gestures and Material Motion by referring to the Gesture Design guide.

2018-12-27T16:50:54.000Z2018-12-27T16:50:54.000ZAshraff Hathibelagal

10 Stunning Ionic App Templates

$
0
0

Ionic is a popular framework for creating modern, hybrid, mobile applications, using the wildly popular Angular framework. Because developers can use technologies they are already familiar with (JavaScript, HTML, and CSS), the learning curve isn't that steep to create a full-featured mobile app for Android and iOS.

CodeCanyon offers a wide range of ready-made app templates to kick-start your Ionic development. So try out one of these app templates from CodeCanyon, for Ionic 3 and beyond! I'll show you ten templates to inspire your next project.

1. Ion2FullApp

Ion2FullApp
As the name suggests, Ion2FullApp  is a multipurpose Ionic App which has an impressive feature list and different combinations of components to suit a variety of needs. It has every feature you can think of and it comes in three different versions: basic, pro, and elite. 

This template has a very easy registration and login process with only limited fields so your users have an easy sign-up process. The layout is also chic but very easy to use. Other unique features is a navigation drawer and the ability to bookmark favorite articles so users can have their favorite content in one place.

The template sports a beautiful design that is well documented.

Other notable features are:

  • Google Maps integration
  • geolocation
  • video player and an image slider
  • international phone validation

2. Chimera

Chimera
Chimera is a very beautiful multipurpose Ionic template with tons of apps  components and themes. This template offers you  7 complete apps, 30+components, 4 ready themes, and 30 color skins to choose from—and they are all stunning.

This template will give you everything you require to showcase your app in the most beautiful way.

Some of these themes include:

  • a shop theme
  • a magazine theme
  • a player theme and
  • a chat theme

3. Giraffy Delivery

Giraffy Delivery

Giraffy Delivery is a complete food delivery platform with both IOS and Android mobile apps. It also offers fully customizable templates so you can put your vision into reality. 

Some of the notable features include:

  • multiple languages
  • loyalty program
  • sales report dashboard 
  • push notifications
  • multiple payment gateways

The template also comes with very easy to use Laravel admin backend where you can manage products, orders, customers, and vendors.

4. Ionic 3 App for WooCommerce 

Ionic 3 App for WooCommerce

Ionic 3 App for WooCommerce is an app template you should definitely consider using if you are creating a shopping app. It allows you to quickly create a beautiful app that can connect to your WooCommerce website, pull data and settings from it, and sync categories and products in real time. It also promises your customers an easy and hassle-free shopping experience. 

Customers can also be able to search products within categories, view order history and also add products to wish list.

The app template supports most of the payment methods out there, automatically loads shipping methods, allows customers to search for products globally on the home page or within categories, and much more.

Other notable features of this template include:

  • ability to load content from local storage
  • powerful admin panel where you can load the designs you like
  • unlimited design layout

5. Ionic Framework App

If you are looking for a modern template with dozens of beautiful pages and a wide variety of useful features, the Ionic Framework App template is for you. Built with Ionic 3, it is very modular and extremely easy to extend. 

The apps you create with this ready-made template will be able to communicate with your WordPress blog using its REST API. They'll also be able to display charts, YouTube videos, Google maps, and RSS feeds. Another impressive fact about the template is that it offers a barcode scanner module, which you can use to scan several types of barcodes.

This template also supports multiple languages.

Ionic Framework App

6. Nearme

Nearme

Nearme is a location-based app template that has definitely had some teething problems in the past. However, with the recent Ionic 4 update, improved documentation, and a beautiful redesign, it's earned a place on our list as a great template to help developers build an app that will identify supermarkets, restaurants, places of interest, gas stations, and so on that are near the end user. 

The template comes with an admin panel that allows developers to send push notifications to users and manage categories, places, deals, slider images, users, reviews, and more.

7. Ionic 3 UI Theme

Ionic 3 UI Theme

The developers of Ionic 3 UI Theme promise that you can make just about any app with their UI app template. With over 100 layouts and hundreds of HTML5 UI components, they might just be right. Apart from offering maximum flexibility and easy customization, the app offers Google Analytics so you can track your user’s behavior, MailChimp integration, Google Maps integration, and so much more.

Not to mention that his theme's clean Material design layout that will ensure a seamless, user-friendly experience. Another advantage of this theme is a fully functioning QR and Barcode scanner.

The creators also have a Yellow Dark theme version which is equally beautiful.   

8. Ionic 3 Toolkit 

Ionic 3 Toolkit

The Ionic 3 Toolkit app template offers a wide range of features and its modular structure, allowing users to build whatever kind of app they need quickly and easily.  

It also allows you to collect data from your WordPress, Drupal, YouTube, Vimeo, Instagram, and other social media accounts and add them to the content of your app as needed. Furthermore, the template makes it easy to customize its default styles by changing the default values in the Sass stylesheet.

Other notable features include:

  • local storage so your app will function even when the user has no internet connectivity
  • social login and sharing

9. Ionic eCommerce 

Ionic eCommerce

A relative newcomer to the eCommerce app template market, Ionic eCommerce offers an impressive variety of ready-made eCommerce pages so that you can create a mobile app to suit your needs. It also provides a comprehensive CMS so that you can manage your store. 

Some key features include

  • interactive themes
  • social share
  • product filters, sorting and search
  • inventory management
  • multiple payment methods including Paypal, Instamojo, and Hyperpay
  • supports multiple languages
  • push notifications

The developer provides full support and will customize and install the app for you for a fee.

10. Ionic 3 Restaurant App

Ionic 3 Restaurant App

If you’re looking for an intuitive, easy-to-set-up restaurant app then check out the Ionic 3 Restaurant App template, developed by Lrandom. The app is well structured and offers useful features like food categories, item details that allow you to use images of products, product names and details, prices, current promotions, a powerful search, a cart list view, and much more. In addition, the source code for the app comes with an admin panel CMS that will help you build your app faster.

Other features are:

  • push notifications
  • payment methods such as Paypal and Stripe
  • social registration and login 
  • order tracking

Conclusion

These ten stunning Ionic app templates are just a small selection of the hundreds of Ionic app templates we have available at CodeCanyon, so if none of them quite fits your needs, there are plenty of other great options to choose from.

And if you want to improve your skills in building Ionic apps and templates, then check out some of the ever-so-useful Ionic tutorials we have on offer!

2019-03-07T22:46:58.715Z2019-03-07T22:46:58.715ZEsther Vaati
Viewing all 1836 articles
Browse latest View live