Speaker

Suneet Agrawal

Suneet Agrawal

Engineering Manaager, GamesKraft

Bengaluru, India

I am a non-caffeine-addicted developer with, MS in Video Game Development from Birmingham City University, UK working as an Engineering Manager at GamesKraft, Bangalore India. My past industry experience majorly incorporates mobile development on both Android and iOS platforms, video game targeting mobile and PS4 both backend and game engine development. I am passionate about animations.

Area of Expertise

  • Information & Communications Technology

Topics

  • Android
  • iOS
  • Unity
  • Unreal Engine
  • Game Engines
  • Videogames Development
  • Game

The power of Camera APIs and OpenGL all together

Are you using the best out of your device camera and GPU in your app?
Have you ever wondered how a view or camera frame is drawn on the screen?
Do you think your camera should do way more than just clicking a picture or recording a video?
Did you ever try to process the frames from camera hardware like applying filters or beautification before previewing it?

Android provides you with Camera APIs which are used for retrieving frames from Camera hardware. Those frames can be manipulated, modified, beautified in any manner before previewing or recording it.
You can even add your custom views like static images or even 3D face mask or any 3D object in the preview after detecting objects like the face in frames. This entire process is called rendering objects in camera preview frames.

Not only rendering, but we can also apply various filters like Sepia, grayscale and many more before previewing each frame.
These all features can be utilized in any android app using OpenGL.

How a view or camera frame is drawn on the screen?
What is OpenGL?
How OpenGL controls GPU rendering?
What are vertex and fragment shaders?
How do they affect the camera frame and preview?
How can we modify the camera frames between camera APIs and previewing?
What all can we do with that?

Well, let's get all these questions answered in the talk along with our experiences and challenges we've faced.

Cut your APK size with features on demand

Do APK or app size matters?
Yes, it does. The user thinks about the app size before downloading or updating an app which has a size larger than a few MBs. The user thinks about the data also over which he will be downloading or updating that app. He or she even think about how much space will it take on his or her device. In this fight of space in the device and size of the app, the apps having smaller size and frequent utility wins the battle.

What if we provide very basic functionality and let the user decide whether he wants the advanced or additional functionality or not. What if he or she can download only the features he needs on demand and keep the app compact. What if he can download only his native language in which wants the app and can skip rest all the languages.

Google new feature of dynamic delivery enables us to deliver the features on demand. This helps us to reduce the size of APK and even enables the user to choose what features he needs. From a developers perspective, this is very easy to implement and maintain.

What is actually a dynamic delivery?
How can we reduce the APK size with it?
How it can help a user?
How to implement it in Android?
How difficult is it to implement in the existing code base?
How will it look to the user in the app?

Well, let's get all these questions answered in the talk along with a demo.

droidcon London 2022 Sessionize Event

October 2022 London, United Kingdom

droidcon Greece Sessionize Event

September 2019 Irákleion, Greece

droidcon Lisbon Sessionize Event

September 2019 Lisbon, Portugal

DevFest Kolkata 2019 Sessionize Event

August 2019 Kolkata, India

Suneet Agrawal

Engineering Manaager, GamesKraft

Bengaluru, India

Please note that Sessionize is not responsible for the accuracy or validity of the data provided by speakers. If you suspect this profile to be fake or spam, please let us know.

Jump to top