A work blog around Android – by Umair

Are you over 18 and want to see adult content?

1

More Annotations

Fili- SEO expert, ex-Google engineer & speaker

Fili- SEO expert, ex-Google engineer & speaker

fili.com
Profile Image
Maria Garcia
2020-05-29 17:10:21
Fili- SEO expert, ex-Google engineer & speaker

Fili- SEO expert, ex-Google engineer & speaker

fili.com

Are you over 18 and want to see adult content?

RTR Moldova

RTR Moldova

rtr.md
Profile Image
Maria Garcia
2020-05-29 17:10:52
RTR Moldova

RTR Moldova

rtr.md

Are you over 18 and want to see adult content?

A complete backup of abaco-hanau.de

A complete backup of abaco-hanau.de

abaco-hanau.de
Profile Image
Maria Garcia
2020-05-29 17:11:33
A complete backup of abaco-hanau.de

A complete backup of abaco-hanau.de

abaco-hanau.de

Are you over 18 and want to see adult content?

Grupo Vips- Conoce Nuestras Marcas y Valores

Grupo Vips- Conoce Nuestras Marcas y Valores

grupovips.com
Profile Image
Maria Garcia
2020-05-29 17:11:35
Grupo Vips- Conoce Nuestras Marcas y Valores

Grupo Vips- Conoce Nuestras Marcas y Valores

grupovips.com

Are you over 18 and want to see adult content?

Thailand Web Directory and Advance Web Statistics at Truehits.net - ทรูฮิต สารบัญเว็บไทยà¹

Thailand Web Directory and Advance Web Statistics at Truehits.net - ทรูฮิต สารบัญเว็บไทยà¹

truehits.net
Profile Image
Maria Garcia
2020-05-29 17:11:58
Thailand Web Directory and Advance Web Statistics at Truehits.net - ทรูฮิต สารบัญเว็บไทยà¹

Thailand Web Directory and Advance Web Statistics at Truehits.net - ทรูฮิต สารบัญเว็บไทยà¹

truehits.net

Are you over 18 and want to see adult content?

Moja Gear • Your hub for all things rock climbing.

Moja Gear • Your hub for all things rock climbing.

mojagear.com
Profile Image
Maria Garcia
2020-05-29 17:12:39
Moja Gear • Your hub for all things rock climbing.

Moja Gear • Your hub for all things rock climbing.

mojagear.com

Are you over 18 and want to see adult content?

6
Club Fitness - 20+ Gyms Bringing Fitness to Every BODY in St. Louis

Club Fitness - 20+ Gyms Bringing Fitness to Every BODY in St. Louis

clubfitness.us
Profile Image
Maria Garcia
2020-05-29 17:13:33
Club Fitness - 20+ Gyms Bringing Fitness to Every BODY in St. Louis

Club Fitness - 20+ Gyms Bringing Fitness to Every BODY in St. Louis

clubfitness.us

Are you over 18 and want to see adult content?

Earnest Ice Cream

Earnest Ice Cream

earnesticecream.com
Profile Image
Maria Garcia
2020-05-29 17:14:01
Earnest Ice Cream

Earnest Ice Cream

earnesticecream.com

Are you over 18 and want to see adult content?

Home - Kamp Amersfoort

Home - Kamp Amersfoort

kampamersfoort.nl
Profile Image
Maria Garcia
2020-05-29 17:14:35
Home - Kamp Amersfoort

Home - Kamp Amersfoort

kampamersfoort.nl

Are you over 18 and want to see adult content?

Water Heaters - Boilers - Pool Heaters - Lochinvar - Lochinvar

Water Heaters - Boilers - Pool Heaters - Lochinvar - Lochinvar

lochinvar.com
Profile Image
Maria Garcia
2020-05-29 17:15:08
Water Heaters - Boilers - Pool Heaters - Lochinvar - Lochinvar

Water Heaters - Boilers - Pool Heaters - Lochinvar - Lochinvar

lochinvar.com

Are you over 18 and want to see adult content?

A complete backup of j-cycling.or.jp

A complete backup of j-cycling.or.jp

j-cycling.or.jp
Profile Image
Maria Garcia
2020-05-29 17:15:26
A complete backup of j-cycling.or.jp

A complete backup of j-cycling.or.jp

j-cycling.or.jp

Are you over 18 and want to see adult content?

Radio Streaming Services - Sharpstream

Radio Streaming Services - Sharpstream

sharp-stream.com
Profile Image
Maria Garcia
2020-05-29 17:15:44
Radio Streaming Services - Sharpstream

Radio Streaming Services - Sharpstream

sharp-stream.com

Are you over 18 and want to see adult content?

1

Favourite Annotations

Accueil - Xibaaru

Accueil - Xibaaru

https://xibaaru.sn
Profile Image
Maria Garcia
2021-06-06 11:26:39
Accueil - Xibaaru

Accueil - Xibaaru

https://xibaaru.sn

Are you over 18 and want to see adult content?

Nest Learning

Nest Learning

https://nestlearning.com
Profile Image
Maria Garcia
2021-06-06 11:26:41
Nest Learning

Nest Learning

https://nestlearning.com

Are you over 18 and want to see adult content?

Vibbo – Alt om der du bor - En tjeneste fra OBOS

Vibbo – Alt om der du bor - En tjeneste fra OBOS

https://vibbo.no
Profile Image
Maria Garcia
2021-06-06 11:26:43
Vibbo – Alt om der du bor - En tjeneste fra OBOS

Vibbo – Alt om der du bor - En tjeneste fra OBOS

https://vibbo.no

Are you over 18 and want to see adult content?

Thick Vinyl Backdrops 100- No Wrinkle Photography Backdrops Rolled – Foxbackdrop

Thick Vinyl Backdrops 100- No Wrinkle Photography Backdrops Rolled – Foxbackdrop

https://foxbackdrop.com
Profile Image
Maria Garcia
2021-06-06 11:26:44
Thick Vinyl Backdrops 100- No Wrinkle Photography Backdrops Rolled – Foxbackdrop

Thick Vinyl Backdrops 100- No Wrinkle Photography Backdrops Rolled – Foxbackdrop

https://foxbackdrop.com

Are you over 18 and want to see adult content?

A complete backup of https://advaita.org.uk

A complete backup of https://advaita.org.uk

https://advaita.org.uk
Profile Image
Maria Garcia
2021-06-06 11:26:46
A complete backup of https://advaita.org.uk

A complete backup of https://advaita.org.uk

https://advaita.org.uk

Are you over 18 and want to see adult content?

Diputación Provincial de Soria

Diputación Provincial de Soria

https://dipsoria.es
Profile Image
Maria Garcia
2021-06-06 11:26:47
Diputación Provincial de Soria

Diputación Provincial de Soria

https://dipsoria.es

Are you over 18 and want to see adult content?

5
Home - Socialbrite

Home - Socialbrite

https://socialbrite.org
Profile Image
Maria Garcia
2021-06-06 11:26:47
Home - Socialbrite

Home - Socialbrite

https://socialbrite.org

Are you over 18 and want to see adult content?

Protein for all. In plants we trust. - No Evil Foods

Protein for all. In plants we trust. - No Evil Foods

https://noevilfoods.com
Profile Image
Maria Garcia
2021-06-06 11:26:48
Protein for all. In plants we trust. - No Evil Foods

Protein for all. In plants we trust. - No Evil Foods

https://noevilfoods.com

Are you over 18 and want to see adult content?

Аналитический центр при Правительстве Российской Федерации - Аналити

Аналитический центр при Правительстве Российской Федерации - Аналити

https://ac.gov.ru
Profile Image
Maria Garcia
2021-06-06 11:26:49
Аналитический центр при Правительстве Российской Федерации - Аналити

Аналитический центр при Правительстве Российской Федерации - Аналити

https://ac.gov.ru

Are you over 18 and want to see adult content?

Artistas y arte. Artistas de la tierra

Artistas y arte. Artistas de la tierra

https://artistasdelatierra.com
Profile Image
Maria Garcia
2021-06-06 11:26:54
Artistas y arte. Artistas de la tierra

Artistas y arte. Artistas de la tierra

https://artistasdelatierra.com

Are you over 18 and want to see adult content?

AboutLawsuits.com - Recalls, Class Action and Personal Injury News

AboutLawsuits.com - Recalls, Class Action and Personal Injury News

https://aboutlawsuits.com
Profile Image
Maria Garcia
2021-06-06 11:26:55
AboutLawsuits.com - Recalls, Class Action and Personal Injury News

AboutLawsuits.com - Recalls, Class Action and Personal Injury News

https://aboutlawsuits.com

Are you over 18 and want to see adult content?

SLA & Uptime calculator- How much downtime corresponds to 99.9 - uptime

SLA & Uptime calculator- How much downtime corresponds to 99.9 - uptime

https://uptime.is
Profile Image
Maria Garcia
2021-06-06 11:26:55
SLA & Uptime calculator- How much downtime corresponds to 99.9 - uptime

SLA & Uptime calculator- How much downtime corresponds to 99.9 - uptime

https://uptime.is

Are you over 18 and want to see adult content?

4

Text

Toggle navigation IT WAS ALWAYS MEANT TO BE LIVED

* Home

* Work

* Projects

* About Me

A WORK BLOG AROUND ANDROID

BY UMAIR

Getting the instance of a system service without an application

context in Android

GETTING THE INSTANCE OF A SYSTEM SERVICE WITHOUT AN APPLICATION

CONTEXT IN ANDROID

__ JULY 29, 2017

__

OMERJERK __COMMENTS 0

COMMENT

I have been working on a project where I am supposed to execute some Java code, which uses Android APIs, outside the application environment. This means I don’t have access to any Android component i.e. Activity, Service, Broadcast Receiver etc. I was supposed to get the display’s width and height. Hence arose the need for hacking a way to achieve what is mentioned in the title, i.e. getting the instance of a system service without having an application context.

Normally, you…

Read More Read More

Create touch events programmatically in Android CREATE TOUCH EVENTS PROGRAMMATICALLY IN ANDROID

__ NOVEMBER 7, 2016

__

OMERJERK __COMMENTS 0

COMMENT

Creating a touch event in Android is pretty easy. Although, is the easy way the best? Let’s find out! The simplest way is to use the “input” binary which you can use to create touch events all over the screen (via the shell user). The command to create a simple tap event is as simple as – adb shell input tap x y. However, there’s a latency of more than 1 second while executing this command. If we’re making some…

Read More Read More

Take screenshot programmatically without root in Android TAKE SCREENSHOT PROGRAMMATICALLY WITHOUT ROOT IN ANDROID

__ MARCH 3, 2016

__

OMERJERK __COMMENTS 0

COMMENT

Here’s another post related to Android hacking. One can find a lot of ways over the internet which will tell you how take the screenshot of your own app, and that’s like pretty easy too. That’s also allowed by the Android framework. Note that here I’m not talking about the screenshots you take (as a user) by pressing Power + Volume down keys (that screenshot is taken by the SystemUI which has extra privileges). Let’s talk about the case if…

Read More Read More

Execute Java code as a root user in Android EXECUTE JAVA CODE AS A ROOT USER IN ANDROID

__ OCTOBER 16, 2015

__

OMERJERK __COMMENTS 0

COMMENT

You can find a lot of ways on StackOverflow about executing shell commands as root in Android, and it goes as follows : Process process = Runtime.getRuntime().exec("su"); os = new DataOutputStream(process.getOutputStream()); os.writeBytes(commandToExecute + "\n"); os.writeBytes("exit\n"); os.flush(); process.waitFor();

1

2

3

4

5

6

Process process = Runtime.getRuntime().exec("su"); os = new DataOutputStream(process.getOutputStream()); os.writeBytes(commandToExecute + "\n"); os.writeBytes("exit\n");

os.flush();

process.waitFor();

What if you want to execute some Java code which uses Android APIs as a root user ? This is not as straightforward as executing a shell command with root. The idea is to compile the Java class with a static main method just like a normal apk is compiled. First of all, we need

to…

Read More Read More

GSoC 2015 – The Processing Foundation GSOC 2015 – THE PROCESSING FOUNDATION

__ AUGUST 15, 2015

__

OMERJERK __COMMENTS 0

COMMENT

GSoC 2015 has come to an end. I was lucky to have such an intelligent mentor, Andres Colubri. I worked on maintaining the Android mode of Processing. My GSoC project was around the following main goals : Update the Android Mode to work with the updated processing base code. Move PApplet from Activity to Fragment so that it can be embedded inside other apps. Create a video library for the Android Mode of Processing. Let’s start with the first sub task….

Read More Read More

Using variadic templates in C++ USING VARIADIC TEMPLATES IN C++

__ JANUARY 3, 2015

__

OMERJERK __COMMENTS 0

COMMENT

I’ve lately been working on C++ and my main task was to improve the design of the code and make it as generic as possible, removing the redundant code and so. To achieve this aim Templates and void pointers helped me a lot. In the following post I’m going to explain about variadic templates in C++. Let’s me first give a brief intro about what templates actually are before moving on to variadic templates. Quoting from Wikipedia “Templates are a…

Read More Read More

How to install an app to /system partition ? HOW TO INSTALL AN APP TO /SYSTEM PARTITION ?

__ AUGUST 18, 2014

__

OMERJERK __COMMENTS 0

COMMENT

Note : This article is for you if you’re making an app for rooted android devices. The normal behaviour being that the android’s package manager installs the apk file to /data partition. But for accessing hidden APIs and having extra privileges one may want the app to be installed in /system partition. For pre-kitkat devices the extra privileges folder is /system/app whereas for kitkat and post-kitkat devices the extra privileges folder is /system/priv-app. The trick to install your app to /system…

Read More Read More

Getting video stream from Android’s display GETTING VIDEO STREAM FROM ANDROID’S DISPLAY

__ JULY 15, 2014

__

OMERJERK __COMMENTS 6

COMMENTS

This is something that has been tried to be achieved in various ways. What other people usually do is to take screenshots at regular intervals and stitch them together to make a video out of it. What I’m doing here is pretty different an much better than that approach. And so I also present a way to capture video frames from Android’s default display and do further processing as one pleases. I’ll broadly use two main APIs viz. MediaCodec (added in…

Read More Read More

Make HTTP requests from SIM300 GSM module MAKE HTTP REQUESTS FROM SIM300 GSM MODULE

__ APRIL 11, 2014

__

OMERJERK __COMMENTS 4

COMMENTS

SIM300 is a GSM module by Simcom. And believe me it’s no less than a piece of shit. I was unlucky enough to have my hands on it. I spent 3-4 days figuring out and testing the correct sequence of AT commands that must be used to make HTTP request via this module. In the following post I’m going to explain how to use it with the Arduino to send and receive data to a web server over HTTP. Let’s start…

Read More Read More

My work at Cube26

MY WORK AT CUBE26

__ APRIL 5, 2014

__

OMERJERK __COMMENTS 0

COMMENT

Cube26 has it’s innovations in the areas of Image Processing, Machine Vision, Machine Learning. They basically focus on gesture and image based controlling of the device. At this time Cube26 has partnerships with 6 Indian phone manufacturers including Micromax, Intex and Spice. I’m in the Android development team of Cube26. At the time of writing this blog I’m working on the release of Micromax A290. We currently don’t have access to the whole source but some parts of the OS. Below…

Read More Read More

POSTS NAVIGATION

OLDER POST__

Search for: Search

RECENT POSTS

* Getting the instance of a system service without an application

context in Android

* Create touch events programmatically in Android * Take screenshot programmatically without root in Android * Execute Java code as a root user in Android * GSoC 2015 – The Processing Foundation

RECENT COMMENTS

* Doraslito on Projects * omerjerk on Getting video stream from

Android’s display

* Anirudha on Getting video stream from Android’s display * omerjerk on Make HTTP requests from SIM300 GSM

module

* saratkrishna on Make HTTP requests from SIM300 GSM module

ARCHIVES

* July 2017

* November 2016

* March 2016

* October 2015

* August 2015

* January 2015

* August 2014

* July 2014

* April 2014

* February 2014

CATEGORIES

* Android

* Arduino

* C++

* Cube26

* GSOC

* Uncategorized

2020 | Proudly Powered by WordPress | Theme: Nisarg by Falguni Desai .

Details

6

Copyright © 2023 ArchiveBay.com. All rights reserved. Terms of Use | Privacy Policy | DMCA | 2021 | Feedback | Advertising | RSS 2.0