Proof of concept android app to Lock notification bar on Android Orio (API 26)
$30-250 USD
Maksettu toimituksen yhteydessä
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.
Projektin tunnus: #15656775
Tietoa projektista
12 freelanceria on tarjonnut keskimäärin $182 tähän työhön
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 Lisää
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 Lisää
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 Lisää
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 Lisää
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