How can I show notification in Android lock screen? - android

Is it possible to show a push notification in the lock screen like iOS does?
I've seen there are a lot of applications that manage notifications so that they appear this way but my question is: is it possible to do that with my application without using these third apps??

I am following this tutorial its almost work but there are alot of issues still remain. I am using Activty instead of Service. Please follow this.
Android Facebook lock screen notification

Related

Is it possible to make an Android/iPhone app which will show info on a locked screen?

I want to make an app (for both Android and iPhone) where user puts some info to the app and that info (text) will be then permanently shown on a lock screen. Is it possible to make something like this? If yes, how please?
You can't show any info permanently on lock screen on iOS. There is no App Extension for that. But, something close to that can be done by creating Today Widget in iOS. The widget can be viewable even when device is locked. You just need to swipe down. For more info on creating it. Please look into the following tutorial:
https://www.appcoda.com/app-extension-programming-today/
Seems you can only add notifications. What you are referring to would involve jailbreaking.

Android : calling an url while app is on background

I have an app where I detect tags and my question is :
I want my app to do an action when detecting new tags, in this case, opening a webpage. It works without problems but only when the app is on the foreground, but I want it to work even when the app is running in the background. I read about Android Services but I'm not sure it is what I can use.
Can you give me directions to find a way to solve that problem?
Thank you very much
Please see AsyncTask from google documentation. Here is the link https://developer.android.com/training/best-background.html
This site has an example on it
http://www.sitepoint.com/scheduling-background-tasks-android/

Can I make Pattern Password Screen Locker android app

Has anyone got experience with developing an application to replace the default lock screen? I've been told it is not possible, however this application manages it.
Any tutorials or guidance you know of would be appreciated.
100% possible. Here are some links to get you started.
Android App and Pattern Lock Screen
Android Lock Screen Widget
Developing a custom lock screen
Try this one:
lockscreenswitchwidget
You can implement deviceAdminReciever to use device locks and all please have a look at this it explains everything about locks setting passwords.....
Update:
Use this library Link
and Source Here..

Having a problen to develop lockscreen for android

I want to develop an android application that will be an alternative lockscreen.
I searched a lot and i couldn't found an explanation about how to make an app to work like a lockscreen. I understand that there is no official android API for lockscreens, but there must be way, because there are a lot of alternative lockscreens applications in the market.
Does someone know how could i make my app work like a lockscreen? Or if there is a basic code out there of lockscreen app that i can learn from it how to do it?
Thanks a lot (:
The way this is usually accomplished is creating an app that becomes the home application and then when the screen is turned on display your custom lockscreen and hide it when the user successfully unlocks it so they can use the device.
Make sure to take a look at the numerous questions on SO that are very similar to this.

How can I develop an app able to actually replace lockscreen? [duplicate]

I know that there is already some apps can do this, such as:
WidgetLocker Lockscreen
Flyscreen
I want to know how to do this in my app? What classes I can use? Or what articles I should read? I don't want to change the Android's source code.
And I wonder if it will be different to deal with when the screen is locked by draw pattern?
Have a look at this answer. You need to write your own home screen app which will implement the lockscreen behaviour that you require. There is sample code for writing your own home screen app in the Android SDK.

Categories

Resources