How to create a ToggleButton in Blackberry - blackberry

How might I create a ToggleButton in my Blackberry application?

Chech this KB article: "How to - Implement advanced buttons, fields, and managers".
Looks like LabelledSwitch is what you need.

Related

How create a Slide-out Sidebar in iOS

I want create slide-out sidebar. but I want to do, like in google map or other material design app of google.
If anyone has sample code, please share them with.
Example
http://cdn.pttrns.com/pttrns/3304/original/IMG_0015.PNG
There's a lot of libraries that you can use to implement this. I suggest you to visit Cocoacontrols and find the one that you like the most.
Anyway, try using REFrostedViewController: https://github.com/romaonthego/REFrostedViewController
My solution for this would be using this awesome controller.
https://github.com/pkluz/PKRevealController

How to show loading progress bar for image in IOS SDK

I am creating one book reader Application. In my application I am loading the pages as images from Web URL.When loading each images I like to show the loading percentage like below
Please suggest me some ideas
Here are few opensource controls that might help you
https://www.cocoacontrols.com/controls/koaprogressbar
https://www.cocoacontrols.com/controls/mcprogressbarview
https://www.cocoacontrols.com/controls/advprogressbar
I've made an open source progress view that is pretty customizable, and will be even more so in its upcoming 2.0 release. You can find it at lightdesign/LDProgressView. Please let me know if it suits your needs or how it might be changed to do so.
Take a look at NSURLConnectionDataDelegate (protocol of NSURLConnection).
https://developer.apple.com/library/mac/documentation/Foundation/Reference/NSURLConnectionDataDelegate_protocol/Reference/Reference.html#//apple_ref/occ/intf/NSURLConnectionDataDelegate
You need to implement the following method:
(NSInteger)totalBytesWritten totalBytesExpectedToWrite:(NSInteger)totalBytesExpectedToWrite
In order to support this kind of behaviour.

Textbox Control in bada 1.1?

Is text box control is available in bada 2.0 only .Then how can we use control or method which can
provide the functionality similar to textbox in bada 1.1 .Is any one have idea than Kindly please suggest
me because I want to use the similar contol (textbox) functionality in bada 1.1 .
The docs state - since bada 2.0. So no, it's not. The straightforward downlevel alternative is Label, or you could create your own control based on CustomControlBase. if you want things like multiline text and click reactions, that's your best bet probably.

Olark free alternatives

I am looking for something similar to Olark. Such as reall time chat on a website with customers where you can use an IM client. I would also like it to be white label. Does anyone know of any free alternatives or a library you can drop into a project?
Take a look to SignalR framework which exactly allows what you want.
Here's an article from Scott Hanselman who has made a chat in 12 lines of code and another one with more details about the technology.
Finally, a sample chat application.
Can't you build an alternative with framework likes :
http://www.ape-project.org/
a demo can be found here :
http://www.ape-project.org/demos/1/ape-real-time-chat.html
Or by using the Html 5 websockets ?
I'm not sure it's what you want, but tale a look on : https://www.frozenmountain.com/websync/

UI Design in BlackBerry

Greetings ,
I am a new developer in BlackBerry Application. I have been working on iphone application too.
I was really shocked to see the user interface of BlackBerry. Coming from iphone application development it was hard to cope with this new interface.
Now i am working on an application which require a registration page . So far i could only find the normal text field and label field .
I wanted to know if there are any other ways to represent the field like the facebook/ twitter application in the BlackBerry Applications.
I really appreciate any help available in this regard.
Thanking you,
Alan Varghese Abraham
I'm unsure what you mean by saying "field like the facebook/ twitter application" (probably because I'm not a big fan of those). However here is a couple of useful BB UI guides:
UI components
How to - Implement advanced buttons, fields, and managers
Yes, I'd say BB is a step behind of iPhone/Android with providing nice/rich UI components out of the box, but the API does allow to create any desired custom Field.

Resources