Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7430659
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 29, 20262026-05-29T09:10:38+00:00 2026-05-29T09:10:38+00:00

I am developing a lock screen in my application and i have the same

  • 0

I am developing a lock screen in my application and i have the same problem as given in the following link How to disable Home button without using the TYPE_KEYGUARD?. I have used

public void onAttachedToWindow()
{  
    this.getWindow().setType(WindowManager.LayoutParams.TYPE_KEYGUARD_DIALOG);     
    super.onAttachedToWindow();  
}

and added android:theme=”@android:style/Theme.NoTitleBar.Fullscreen” in my mainfest.xml file. but still it is not working.

part of my mainfest.xml

<activity android:name=".LockActivity"  android:windowSoftInputMode ="stateAlwaysHidden"
    android:theme="@android:style/Theme.NoTitleBar.Fullscreen">

    </activity>

more details about my appliation is

my applications works in background and as i get the command my lock activity is displayed. but the problem is when i turn off my screen from power button and the command comes after that when i unlock the screen then either status bar appears or i cannot block my home button.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-29T09:10:38+00:00Added an answer on May 29, 2026 at 9:10 am

    it is working 2.2

    <activity android:label="@string/app_name"  android:name=".Small"  
              android:theme="@android:style/Theme.NoTitleBar.Fullscreen"/> 
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have been developing many application and have been into confusion about using dataset.
Developing a heavily XML-based Java-application, I recently encountered an interesting problem on Ubuntu Linux.
I am developing an app where I have to lock some android default Apps
When developing an application which consumes an external webservice I have generated the sources
I am developing a desktop application and would like to lock down certain parts
I am developing a multi-threading application, which is deadlocking. I am using Visual C++
I'm developing an web app using asp.net mvc. I have a List in Cache
I am developing an application for Windows. I have written a class for drawing
I am developing an application that needs to display a passcode screen whenever a
I have an Enyo webOS application I am developing for phones. There are several

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.