Pull to refresh
132.2
Rating

Development for Android *

Developing for most popular mobile OS

Show first
  • New
  • Top
Rating limit
  • All
  • ≥0
  • ≥10
  • ≥25
  • ≥50
  • ≥100

Android interop with SWIG (a guide). From simple to weird. Part 1 — simple

Java *C++ *Development for Android *
Sandbox
Tutorial

SWIG is a tool for generating cross-language interfaces - it provides interoperability of C++ and other languages (C++ and Java in our case). SWIG just simplifies and automizes cross-language interaction; otherwise, you may end up with thousands of lines of handwritten JNI code - but SWIG covers this for you.

This guide is for newbies (Part 1) and for those who experienced in SWIG (part 2). I'm starting from basic setup and usage and ending with complex & weird cases encountered in development. The latter cases are not so complex, rather usual for modern languages, which SWIG doesn't support yet (as lambdas).

This guide is practical. In opposition to overcomplicated huge-volume SWIG documentation, this guide is showing the cases practically. The bits developed by myself while working on the different projects or taken from StackOverflow. This guide allows you to quick-start an Android Studio project and giving practical examples of using SWIG. The link to the Android Studio project is here.

This guide is Android-first. The goal was to make it simple to onboard for Android developers. There are many articles about SWIG, but they are mainly for desktop Java applications, and it is quite an overhead to just try them on Android to check if the solution for the particular problem is working. While this guide includes an Android Studio project, with which you can play around instantly. Of course, all the information given here applies to any Java application.

Warning! I should warn you, that nowadays cross-platform development offers powerful tools. If you are developing a new application it is much more cost-efficient in practice to use ReactNative, Flutter of Kotlin-Native than the SWIG. While SWIG is more suitable to connect the C++ library or existing C++ application core.

Read more
Total votes 3: ↑3 and ↓0 +3
Views 1.1K
Comments 0

React Native: The First Choice of Mobile App Developers and Businesses

Development for iOS *Development of mobile applications *Development for Android *Mobile applications design *
image

Let’s discuss why mobile app developers select React Native for application development over other cross-platform frameworks.

While few users continue to work with the Native development approach, those who want to succeed in their business have started exploring new opportunities. One such occasion in this technically advanced world is to turn toward cross-platform frameworks.

Out of 2.8 million apps available on the Google play store and 2.2 million apps in Apple App Store, there is a growing need for cross-platform applications. The significant advantage of a cross-platform mobile application is that it helps businesses save development costs. This is where React Native comes into action.

In the middle of this, if you are a businessman and thinking of hiring mobile app developers and there is a continuously running debate in your mind “React Native vs Native” then this post is for you.
Read more →
Total votes 1: ↑1 and ↓0 +1
Views 1.5K
Comments 6

A Guide to App Monetization in China

Development for Android *Mobile applications monetization *Games monetization *

Introduction and Context

So you’ve just finished developing the next mobile gaming smash hit. You’ve already planned to launch your game worldwide and win the hearts of gamers everywhere. But what you haven’t done yet is think about how you’re going to make any money from your success and hard work. Of course, you’ve imagined becoming an instant millionaire, but you just don’t know how to get there.  

Fear not, intrepid developer! Instead of just rehashing the tired headlines and beating the same old drum, we’ve tailored our Ad Monetization write-up for developers who are gearing up to publish their game or app in China. We’ve scoured the internet, grabbed insight from ad giants like Google, Smartyads, and PocketGamer.biz and combined it with our own hands-on knowledge of what works in China—knowledge that we have gained from the past  5 years in the industry.

We need to briefly explore how monetization functions as a utility within the context of game design. This is especially true when examining how developers in China have made meaningful design decisions that have both shaped and been shaped by user habits. Unpacking the utility of Chinese game monetization will help developers understand why Ads Monetization or Hybrid Monetization strategies have become so popular, especially in China.

Moving from monetization design, we’ll examine some of the best practices regarding Ads Monetization. Finally,  we’ll turn to specific case studies in the Chinese market that show how powerful Ads Monetization, specifically Rewarded Videos, can be in a well-balanced monetization strategy. 

Designing Monetization as a Utility

Читать далее
Rating 0
Views 925
Comments 2

What App Stores can you consider except Apple App Store and Google Play Store? Here are 6 Alternative App Stores

Development for iOS *Development for Android *Games monetization *Games promotion *

Recently Epic Games’ Fortnite was removed from the Apple App Store and Google Play Store. The main reason being Epics bypassing of in-app purchases instead of using the officially sanctioned system for both platforms. While it is still possible for you to download Fortnite directly, this large scale case brings to light the duopoly of Apple and Google in the mobile market.

For most developers, these two stores account for almost all of their revenue and userbase. While Epic Games will be fine to go without, for the time being, what about the other 99% of developers who rely on these two stores for distributing and monetizing their apps. In this article, we’ll provide some of the alternative stores available for both developers and consumers for finding or distributing apps.

For one reason or another, you may have found yourself wondering, ‘where are some other places I can go to find and download new apps and games for my mobile device’? Or ‘are there any other marketplaces for me to share my apps’?

Читать далее
Total votes 1: ↑0 and ↓1 -1
Views 4.7K
Comments 4

OPPO, Huawei, Xiaomi. Chinese app stores join forces to take on Google

Game development *Google App Engine *Development for Android *Unity3D *DevOps *

Major players in the Chinese app market are joining forces to take on the almighty Google Play store. Xiaomi, Oppo and Vivo are reported to launch the Global Developer Service Alliance (GDSA), a platform allowing Android developers to publish their apps in the partnering stores from one upload.

The GDSA is expected to launch in nine countries—including India, Indonesia, Malaysia, Russia, Spain, Thailand, the Philippines, and Vietnam—although paid app support may vary across the regions. Canalys’ Nicole Peng explains the wide reach of this alliance:

By forming this alliance each company will be looking to leverage the others’ advantages in different regions, with Xiaomi’s strong user base in India, Vivo and Oppo in Southeast Asia, and Huawei in Europe. 

Читать далее
Total votes 2: ↑2 and ↓0 +2
Views 1.5K
Comments 0

The Different RPG styles between East and West

Development of mobile applications *Game development *Development for Android *Unity3D *Games and game consoles
Sandbox

image


The Chinese Mobile RPG: the Genre of Giants.


Chinese RPGs make up 56% of the top 500 grossing iOS games in China. According to data gathered in 2019 by Game Refinery’s Joel Julkunen. Let’s take a look at the genre and some important points for game developers and RPG enthusiasts to consider Chinese Mobile RPGs.


RPG or role-playing game is a game where the player plays as a character, often the main character, in a fictional game world.

Read more →
Total votes 5: ↑5 and ↓0 +5
Views 2.2K
Comments 1

Solving coding problems with Kotlin: Collection functions

Development for Android *Kotlin *

(originally published on Medium)

I have talked to many Android developers, and most of them are excited about Kotlin. So am I. When I just started learning Koltin, I was solving Kotlin Koans, and along with other great features, I was impressed with the power of functions for performing operations on collections. Since then, I spent three years writing Koltin code but rarely utilised all the potential of the language.

During this year, I did more than a hundred coding problems on Leetcode in Java. I didn’t switch to Kotlin because I know the syntax of Java 6 so well, that I could effortlessly write code without autocompletion and syntax highlighting. But I didn’t keep track of new Java features, as Android support of Java SDK lacked many versions behind. I didn’t switch to Kotlin for solving problems right away. Although I was writing Kotlin code for several years, I felt that I need to make an extra cognitive effort to get the syntax and the language constructions right. Solving algorithmic problems, especially under the time pressure, is very different from Android app development. Still, the more I learned about Kotlin, the more I realised how many powerful features I’m missing, and how much boilerplate code I need to write.

One day, I have decided that I need to move on, so I started a new session in Leetcode and switched the compiler to Kotlin. I solved just a few easy problems, but I already feel that I have something to share.

Читать далее
Rating 0
Views 1.1K
Comments 1

How to Develop Dating Mobile App like Tinder?

Development of mobile applications *Development for Android *Mobile applications design *

During the COVID 19 pandemic, majorly single people are getting bored the most by sitting at home and just doing work from home; that's why they are searching for the alternatives to be busy and entertained.

This is the main reason why dating apps like tinder usage is increasing day by day. 

Read More
Total votes 1: ↑0 and ↓1 -1
Views 1.2K
Comments 7

Top 10 Blockchain Development Companies To Partner With In 2020-21

Development of mobile applications *Development for Android *Start-up development Offices of IT companies Cryptocurrencies
image

Global Blockchain solutions spending is expected to surpass $15.9 billion in 2023. At the same time, this expenditure was $1.5 billion in 2018. Indeed, this is a huge influx in global spending, which depicts how companies will be investing more in blockchain solutions and blockchain-based mobile apps.

In this group, the major contribution will be seen from industries including finance, banking, healthcare, agriculture, and more. Amidst, outsourcing Blockchain development companies will also gain prominent attention.

If you are thinking about having Blockchain integration within your business solution, you must be having several questions in your mind, such as: what are the benefits of blockchain? Which are the best companies to hire? And more.
Read more →
Total votes 1: ↑0 and ↓1 -1
Views 969
Comments 0

Как с помощью HUAWEI ML Kit самостоятельно создать апплет для фото на документы

Development for Android *Image processing *Machine learning *DIY

Общая информация


В предыдущей статье мы рассказали о том, как создать камеру для улыбок с помощью HUAWEI ML Kit. В этот раз я собираюсь представить вам новую функцию HUAWEI ML Kit.

Вас когда-нибудь просили на учебе или работе принести фотографию определенного размера с цветным фоном для документов? В большинстве случаев у человека не окажется под рукой подходящей фотографии. Однажды в институте нам решили оформить персональные пропуска, но фотостудия оказалась закрыта. Тогда я сфотографировался на телефон, использовав простыню в качестве фона. И получил выговор от преподавателя. Но с помощью инструмента HUAWEI ML Kit вы сможете интегрировать SDK для сегментации изображений в ваше приложение и разработать апплет, чтобы создавать фото на документы самостоятельно и решить проблему отсутствия нужных фотографий.

Самое главное, что этот SDK абсолютно бесплатный и работает на всех телефонах на базе Android.

Разработка апплета для фото на документы самостоятельно


1. Подготовка


1.1 Добавьте репозиторий Maven Huawei в файл на уровне проекта build.gradle


Откройте файл build.gradle в корневом каталоге вашего проекта Android Studio.

image

Read more →
Total votes 2: ↑2 and ↓0 +2
Views 1.5K
Comments 0

Top 5 Android App Development Companies To Seek in 2020

Development of mobile applications *Development for Android *
image

The mobile app industry is at its peak of success and keeps evolving with the latest mobile app development technologies in future. It doesn’t matter which business you run but without an app, you cannot grow in this competitive environment.

An Android app is enough to make you achieve all your business goals. In 2019, there were around 2.13 billion apps downloaded from Google Play Store which clearly indicates its huge demand in near future and so the demand for Android app development companies in 2020.

According to AppBrain stats, there are over 2,963,573 Android apps on Google Play at present and approx. 1,365,868 no. of apps with rating.

image

With so many app development companies around us make it difficult to select the reliable Android app development company especially when it comes to business owners. Finding a cost-effective company which can give satisfactory results is not much difficult as it seems to you.

All you need to pick a sorted collection of the best Android app development companies where you can find the one which suits your business. Here, I have sorted a list of top 5 Android App Development Companies that you can partner with in 2020.
Read more →
Total votes 3: ↑2 and ↓1 +1
Views 1.4K
Comments 4

Here Are The Most Popular Video Conference APIs To Be Considered For Your Mobile & Web Apps

Development for iOS *Development of mobile applications *Development for Android *API *Video conferencing
As the world rearranges into virtualized societal norms, the most convenient and simplified interaction for businesses or socially has come from video-based apps.
According to statista, the growth in download of video conferencing apps as of March 2020 with respect to countries are as follows

Video conferencing App / Country Hangouts Meet Houseparty Ms Teams Zoom
USA 30 8 11 4
France 23 30 16 2
Germany 15 26 11 17
Spain 64 2360 15 27
Italy 140 423 30 55


Now, this has turned the attention of developers and start up companies to build their video chat app. However, it's quite a challenging task to search for the best video conferencing API and SDK providers in the market.
Read more →
Total votes 3: ↑3 and ↓0 +3
Views 12K
Comments 1

Top 10 Kotlin App Development Companies 2020-21

Development of mobile applications *Development for Android *Kotlin *
image

Kotlin is a JVM compatible & Java interoperable language that is the most-encouraged language by Google for developing Android apps & production-grade systems. According to Snyk, over the last few years, Kotlin has gained a huge user and developer base for robust, and secure app development.

The user-base has been shifted from 2.4% to 5.4%, that is a growth of 130% in the user population. This population growth and increment in its usage has made it the second most popular JVM language, that is quite surprising.

The reason for Kotlin application development is its 100% interoperability with Java. Around 7.78% of the world developers use Kotlin as their primary coding language. According to insights.dice- Kotlin is used 96% for new projects and 36% for migrating applications from Java to Kotlin. You can use it directly with Java code to make it more efficient, and it works concurrently or without any issue.

image

Many benchmark android applications of startups to moonshots have been built using Kotlin. Various startups and brands like EverNote, Twitter, Netflix, Slack, American Express, Airbnb, Adobe, and many others from different industry verticals opted for Kotlin app development.
Read more →
Total votes 4: ↑2 and ↓2 0
Views 1.7K
Comments 7

Android 11: What to Expect From the Latest Android Update?

Development for Android *Mobile applications design *Software
image
Source: Google Images

The latest Android 10 update has already created a stir in the Android circuit. However, tech enthusiasts around the world are waiting for the latest addition in Android's operating system.

Yes, you heard it right, I am talking about the Android 11 update, the latest upgrade in the Android’s operating system.

The update has been expected to hit the floors in the official reveal of Android 11 in mid-2020, at Google IO 2020 which will run May 12-14, before being released for Pixel devices in the month of September, and then it will be rolled out for other Android devices from late 2020 through well into 2021.
Read more →
Total votes 4: ↑3 and ↓1 +2
Views 4.4K
Comments 0

Technology Stack To Follow in 2020 For Startups

Web design *Website development *Development of mobile applications *Development for Android *Software


JavaScript, CSS, and HTML are some of the main technologies that help you to build robust app solutions. So, if you are looking to build smart web applications for your business, then I advise you to jump to my idea of cross-platform and open-source development frameworks right away.

Here is the list of the tech stacks for app developers to use in 2020.
Read more →
Total votes 1: ↑1 and ↓0 +1
Views 4.1K
Comments 1

The Worst Mistakes In Mobile App Development

Development for iOS *Development of mobile applications *Development for Android *Business Models Software
image

Alright, so you have just planned to hire developers for a Mobile App which could potentially steer your business ahead. The reasons for your decision would be quite obvious on the surface. Mobile App development is a core part of today’s businesses. It provides a near-perfect platform to serve customers through the portable devices they own.

But it’s easy to be a sheep! If you really try to understand this market, you’ll realize that more than half of the apps fail to earn revenue, and a significant amount of them barely cross 1,000 downloads. As per a Gartner report, it was found that barely 0.01 percent apps will find financial success by the year 2018.
Read more →
Total votes 1: ↑1 and ↓0 +1
Views 1.7K
Comments 2

What would be the future of Android in 2020?

Information Security *Development of mobile applications *Development for Android *Development for IOT *AR and VR
Android has always been on the top of the hustle when you think about mobile application development. Android’s smartphone OS Market Share now hovers around 85%. Furthermore, volumes are expected to grow at a five-year CAGR of 2.4%, with shipments approaching 1.41 billion in 2022.

image

Source: Google Images

But before you took the plunge in exploring and riding on the waves of changes or hire an android app developer to develop an app, it is important to understand the trends and its implications on the android application development ecosystem.
Read more →
Rating 0
Views 6.9K
Comments 2

How 5G's Acceleration will move through the Mobile App Development Space?

Website development *Development for iOS *Development of mobile applications *Development for Android *Development for IOT *
Sandbox
5G ( Fifth Generation Wireless Cellular Network) is not just a possibility anymore. The forthcoming of 2020 has unfold avenues for 5G browser capabilities in smartphones.

With the recent 5G rollout, it has been predicted that over 1.4 billion devices will be running on the 5G network by 2025 — accounting for 15% of the global total.

image
Source: Google Images
Read more →
Total votes 10: ↑8 and ↓2 +6
Views 834
Comments 0

Authors' contribution