Proof of concept android app to Lock notification bar on Android Orio (API 26)
$30-250 USD
Paid on delivery
Hi,
I need a sample app (just one activity and service) that need to block notification bar by putting a overlay on top on notification bar. The app needs to able to do this without being a system app and on non rooted device.
This used to work till android 7 but on Android 8 (api level 26), android change the api and requires system permission for this to work. Below is the code that used to work not no longer works:
When app is started, it starts the service which executes following code to block notificaion bar
mLP = new [login to view URL](
WindowManager.LayoutParams.MATCH_PARENT,
height,
// Allows the view to be on top of the StatusBar
WindowManager.LayoutParams.TYPE_SYSTEM_ERROR,
// Keeps the button presses from going to the background
// window
WindowManager.LayoutParams.FLAG_NOT_FOCUSABLE
|
// Enables the notification to recieve touch
// events
WindowManager.LayoutParams.FLAG_NOT_TOUCH_MODAL
|
// Draws over status bar
WindowManager.LayoutParams.FLAG_LAYOUT_IN_SCREEN,
[login to view URL]);
[login to view URL] = [login to view URL] | [login to view URL];
mWindowManager = (WindowManager) getSystemService(WINDOW_SERVICE);
[login to view URL](mView, mLP);
Here is the stack overflow link that explains the issue with Android 8.0 (api level 26)
[login to view URL]
I am OK of other way of blocking it. The goal is either user not able to drag the notification bar or as soon as they drag it, app detects is and blocks that action.
Project ID: #15656775
About the project
12 freelancers are bidding on average $182 for this job
hi! i have read your requirements and i'm sure i can do this job . i have extensive experience in developing all kind of android applications(similar to this one too). i can provide you a quality app Relevant Skills a More
I am an IITK graduate and I have 11 years of experience in software development. I have 100% completion rate and I have finished all the projects with the highest level of customer satisfaction. Relevant Skills and Ex More
Hello Hiring Manager, Looking to Develop an App for your Business? We develop apps like (Uber/airbnb/upwork/kickstarter) With 100% Customisable option according to your Business!! Relevant Skills and Experience Develo More
hello sir i understood your requirement for android app to Lock notification will provide you best and effective result to make my service better.i hpe you love to work Relevant Skills and Experience sir i'm applica More
Hi, I am trying to build such project this time. Is it okay if i build a apk with Unity with such functionality? Relevant Skills and Experience Android Proposed Milestones $155 USD - Will discuss later