HomeBadges
Blog Author Picture

Tej Pratap Singh

6 followers

Code, Movies and code for movies

Android: Create PDF without any library [Part 3]

Apr 24, 2020

In last part we successfully created a complex Pdf with dynamic data. After we create a Pdf, we should be able to show contents of Pdf to User, to do that we can use PdfRenderer class and get bitmap of every page inside Pdf. Here is a simple functi...

Android: Create PDF without any library [Part 2]

Apr 24, 2020

In last part we created a static PDF in Android. But creating PDF from static data has a big disadvantage. You cannot set data at runtime, i.e. you cannot set text from DB or load image from internet. Creating PDF: Advanced To solve this problem: ...

Android: Create PDF without any library [Part 1]

Apr 24, 2020

PDF are simple document format with supports text and images. It is simple to share, non editable can be password protected. Great for receipts and invoices. As i was looking for a library to create PDF natively on Android but couldn't found one that...

Create your own Event Emitter in JS

Nov 1, 2019

In my previous post, i wrote about how we can design you app using Observer Pattern. Now we will try something simpler and which works across our application and not bound to a Object. It has some interesting use cases like listening to Route Change...

Observer Pattern In JS (RxJS at its basic)

Oct 11, 2019

ReactiveX or Reactive Extensions RxJS is javascript implementation of Reactive Extension, it allows you to use Observer pattern in your web app. RxJS is much more than what we are going to learn here, that is why the name (RxJS at its basic) At...

Creating a Simple Router for you web app

Oct 9, 2019

Routing: Routing is the process of selecting a path for traffic in a network or between or across multiple networks. Im pretty sure that you all know what Router is and what it does. But, how to make one? It's 4 basic steps: Add click handler to e...

© 2021 Tej Pratap Singh

PrivacyTerms
Proudly part of