show indeterminate spinng hourglass when user click in a button - blackberry

In my application there is button field, when user click it, application communicate to a webserver, I want to insert a dynamic spinning "Hour Glass" at that time ....If any one knows the solution plz help...

I hope u want a wait screen feature
try these links:
http://www.naviina.eu/wp/blackberry/loading-class-for-blackberry/
Blackberry - Loading/Wait screen with animation

Related

possible to take screenshot of <select> while open

We have a web page with a select box dropdown. I need to take a screenshot of the page with the select dropdown "open". However, every time I press the printscreen button, the page loses focus and the select closes before it's able to take the screenshot. The screenshot always displays it closed or in the transition animation of it closing.
Is there a different way to take this screenshot, or maybe some way to force the select to stay open after the browser losing focus?
I'm using KDE Plasma 5.18.5.
It's not the perfect solution, but I downloaded simplescreenrecorder, recorded the screen, then took a screenshot of the paused video with the select open.
Did you try to use print screen button and a paint program? Try also Shift + PrtSc
Some screenshot programs has delay option. You can set timer, focus on the select option and wait for the timer.
I use https://apps.kde.org/spectacle/ in KDE.

Hint View / Intro View on button click iOS for first time users

I want to implement hints for the users who are going to visit my App for the first time. And when the users click on that a popup would appear like my screenshot which I have attached and explain the users about it. Any idea how to handle this.

How to disable lock the Home button in iOS 7

How can I lock the home button in iOS 7 ?
I have 10 text fields and a submit button in a view. While I'm filling the text fields, the home button should be disabled.
Only after filling all the text fields, should the home button be again enabled.
Please let me know anybody, how to achieve this.
Thanks in advance.
Disabling the Home button using your app is not possible but you can use Guided Access to block the Home button, but this is something the users will have to do. I don't think there's an API to do it within an app.
From Apple:
Guided Access helps students with disabilities such as autism remain
on task and focused on content. It allows a parent, teacher, or
administrator to limit an iOS device to one app by disabling the Home
button, as well as restrict touch input on certain areas of the
screen.

How to implement a loading screen or multithreading in iOS?

I have a login-screen.
After the user enters his credentials, he clicks on "Login" to login.
Now in the background with the login there will be a load of a few things, so it need around 3 seconds to display the next view.
How to solve that the screen is not freezing within this 3 seconds?
I had the idea to solve this by a loading screen (Typical for iPhone Apps) or shange the clicked button to "Try to Login...", so the user is not only thinking "has my click worked or should I click again"...
I hope its understandable...
Whats to do?
I suggest to use MBProgressHUD its show an indicator with label if you want like "loading" for example and disable the user action on the view also its easy to use and has a good/simple interface.
you can find it on this link

delay after clicking blackberry application icon

i can't seem to figure out the following situation:
when i i click on my blackberry app icon (within the simulator), the application pops up quick, no problems. however, when i take that same code and push it to my blackberry, there is a few seconds of wait time after the icon has been clicked.
can someone tell me how to minimize the delay? the first screen is NOTHING but an image inside a image field. i wanted to create a "splash" screen and i just show you a simple image.
after i click on the app icon (on my phone), i notice that there is activity because you see the arrows in the upper right-hand corner moving. but to the regular non-techie user, they won't know that the application has been started and they will just keep clicking the icon over and over again.
again, i click on the app icon and there is about a 3 second delay just to the image contained within the project folder. so we are not fetching the image from a remote site.
the simulator shows the image fast, but the phone creates a delay. any ideas how to minimize the delay after app icon click?
thank you.
ac
I figured it out. i just moved the instantiating and loading of several objects to a different class and later called those lines of code with an invokeLater method. my first screen only contains the image itself and the other class contains the rest of the code.

Resources