Move to First Screen in Blackberry - blackberry

I my application, I display 3 to 4 Screen using following code.
main.pushScreen(screen);
Now I want to display first screen.
How to achieve this ?

Now again to display first screen,
You need to create an object of first screen once again
and display using following code.
main.pushscreen(firstscreen).
Hope it will help you.

Related

how to make view controller similar like fragment in android for ios

I am very new in iOS development and wanna make design similar to my Android app.
below is the Image of Android App that I wanna replicate in iOS.
any help, source or reference would be appreciated.
Description:
Screen 1 : Screen one is main page with filter list on top (blue patch)
Screen 2 : By tapping change filter whole screen slides down and behind screen get visible (which holds filter)
Screen 3 : Highlighted part changes with other page on basis of menu selection.
sorry for bad English, but i hope you guys understand.
Thank you in advance
You can have two view controller screen(One Main Screen and another for Filter). There is no concept of fragments. What I prefer I used to have xib for reusable view and storyboard for creating activity like your Android. Code for the same will be done in ViewController.

iOS/swift - create calendar weekview

I'm trying to create a calendar weekview in portrait mode in an iOS app. I only need 1 week that will be displayed all the time, so 7 columns are enough.
To visualise: the result should look something like the middle screen in this picture:
http://41.media.tumblr.com/a5bc39604e4cd0d6ebf036d204aff82e/tumblr_ncndmwmNKg1tlbw3mo3_1280.jpg
I'm fairly new to iOS. I can create some basic apps now but can't figure out how to design this view.
What controller and view should I start with?
Any ideas on how to design this view?
Any help is very welcome! Thanks in advance.
Try to use this awesome library.. https://github.com/erichoracek/MSCollectionViewCalendarLayout

Create an intro screen for iOS app

I want to create an intro screen for my app. This will be around 5 pages of intro and can have animated images on it. Something very similar to Box app intro screen.
So question is does IOS provides any specific view controller for this kind of intro? If not should I use uiview controller to show on first load and somehow keep a track. What are these actually called in programming term?
TIA
No.
You can save status by NSUserDefault.
There are some open source that can help you build intro quickly.
https://github.com/ealeksandrov/EAIntroView
https://github.com/MatthewYork/MYBlurIntroductionView

Required Windows Phone 7 page transition/ flipping card animation for iOS

I want to achieve the same kind of flipping card animation for iOS application which Windows Phone 7 has.
While navigating from one page to another, it loads one by one widget with fall down from left to right position.
How to achieve the same animation for iOS?
Here is the reference: http://www.youtube.com/watch?v=cVRT_KbYzHI
Please help out with some sample code posting or another provided link.
You can achieve animations such as this with UIView's animateWithDuration:delay:options:animations:completion: method. The documentation is here; search for the function name: http://developer.apple.com/library/ios/#documentation/uikit/reference/uiview_class/uiview/uiview.html
Basically you would need to place the views you want to animate inside a loop, incrementing the delay by x amount each time.

multiple page turn effect like flipboard

I want to make multiple page turn effect like flipboard. please give me suggestion How to implement this effect.
thanks
Have a look at github.com/raweng/FlipView, we tried to replicate Flipboard app for ipad !!
Implemented some of the features like
multiple flip (just click on last pagination if u r at first or second for multi-flip).
Views arrangement if orientation changed like Flipboard
selection of random layout
Hope it helps u :)

Resources