I read on 'developer.android.com' that from Android 5.0 and higher, lock-screen widgets are not valid. If this is the case, then how is it possible for an app called 'Slidejoy' to show widgets on lockscreen, when the enable lockscreen feature is activated in the app?
I tried searching for the same but the only things I found were that I need to install apps like Notifidgets, NotifWidgets to achieve that functionality.
If it's possible in those apps, then there must be some way.
Kindly help.
Thanks.
Related
I am stuck with one of my client requirement , it seems not be feasible to me as i am not able to find anything related to this particular requirement.I am goggling but does not came up with proper clue.I though studied the below mentioned link which states that it is not supportive . Here is the link :-
How to force a widget to appear on lock screen programmatically (Android)
i just want to confirm that is it feasible ? Or this can be achieved by making custom lock screen for application.
Here is what my client requirement is :-
I need your suggestion here , please let me know .
Thanks
i just want to confirm that is it feasible ?
As I wrote in the answer to the question that you linked to, the standard Android lockscreen framework only supports app widgets from Android 4.1 through 4.4, which is a steadily shrinking portion of the Android device ecosystem.
Or this can be achieved by making custom lock screen for application.
Android does not support the creation of custom lockscreens, other than by building your own modified version of Android, poured into your own custom ROM, installed onto whatever hardware your custom ROM supports.
There are plenty of developers who claim to create custom lockscreens. Those actually require you to disable the device lockscreen, then their apps attempt to interpose themselves between the user and ordinary apps. At the best of times, this offers weaker security.
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.
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.
I am trying to make an app that will allow you to have like a bar of settings or toggles like in cyanogen. http://i.imgur.com/cYhkd.png
Is there a specific way to attack this. It can be just a normal notification, but I want it to be in one bar with multiple icons. The api doesn't allow for this. I heard there is a way to access android's internal apis. The user should not have to root to make this work. Thank you soo much for any help you guys have to offer!
AFAIK, this can't be done using the SDK. Check out the Cyanogen source for how they do it, but it is impossible to make it work across regular devices with stock ROMs.
Can anyone explain me, how can I handle and use the default applications of my Android device programatically.
Also how can I get all the app information installed on my device and also unistalling them progromatically.
If possible kindly give me fews links to understand and using these things properly.
By "default app" I assume you mean a Home replacement. There is a Google sample here as well as ADW Launcher and also the source for the Android launcher