How can I replicate the home screen dots? - android

On Android, the home screen has dots to indicate which screen you are on. I want to do something similar in my app. Is there a control that contains dots and lights up?

No... you will have to do it by your self. Take a look at the Tweetdeck app fro android... they have something similar.

Related

Unity/Android/iOS Pop-up windows and lock rest of screen

I am totally newbie in Unity.
I have some pop-up windows in my 2d project. I want "block" rest of screen if pop up window is active.
How i can achive this?
I am working with android.
Welcome new user, it's actually pretty simple.
if you are used to programming ios or android, it's different, you simply do it "manually".
All you do is ...
in your UI
make a new panel which is full screen, name it "gray cover" or such
make it 90% alpha and black
in fact simply put your popups on top of that
when you want one of your popups to appear, just turn on the gray cover and whichever popup/message you want
Enjoy

Adding Swipe function to customized lock screen

I've been working on making customized lock screen.
I think I succeeded on making view come up when the screen is turned on.
However, I am wondering how I can make my app realize user's swipe activity in order to make screen go to the home screen just like the normal android lock screen does.
Any suggestion will be very helpful thx!
Here are some examples to detect right,left,up and down swipes.You can detect any of the swipes and finish all activities to exit from your app.
Example 1
Example 2
Example 3
You can ask if you have any further queries.Happy coding :)

Programmatically make Android phone home button blink

I was wondering if there is a way to make an Android phone home button blink. This is because a lot of models don't have an LED light for notifications like my Samsung Galaxy W. This is a problem for me, so the idea is to make the home button blink on notification.
I doubt you can do this. Controlling the 'Home' button in this manner seems like it would be a security risk (for instance, you could pro-grammatically hide it if you wanted to lock someone in your app).
I am 99.9% sure you can't do what you are asking , which is why you are not finding it.

How to display balloon counter over application launcher icon on android

I would like to make an icon counter for andoid just like the Email and the Samsung Apps applications i have seen such requests from other developers, but you all say it can't be done.
if so how come those 2 apps and other apps can do it?
do i have to make like more than one icon image and swap them or something?
is it really cant be done and why?
thanks.
you all say it can't be done.
That is because it cannot be done, except by the maker of the home screen, or via an app widget (instead of a launcher icon).
if so how come those 2 apps and other apps can do it?
Because Samsung wrote the home screen and can do what it wants with its home screen.
do i have to make like more than one icon image and swap them or something?
That will not work, as you cannot change the launcher icon at runtime.
is it really cant be done and why?
It really can be done by making an app widget, or by making your own home screen.

Old Android Lock Screen - How is it designed

Any idea on how the old android lock screen was designed. The one that existed in 2.2, 2.3 etc. You can slide the left image to to the right to unlock it. Similarly, you can slide the right image to the left to take a photo.
Any idea how this was developed?
I am assuming that an onTouchListener was implemented on two images which moves according to your touch. However, How do you end up positioning the images and so on. Anyone worked on a project like this before?
On my device it was "right to left" to toggle silent- You might have a phone with non-stock Android, in which case the OEM could have customized their own lock screen.
That said, Android is open source, so you can look at the lock screen source code and see how they implemented it :)

Categories

Resources