1. James Nieves's Avatar
    Built in 1 day with power of Cascades.


    [YT]http://www.youtube.com/watch?v=jaypfxeAug8&feature=player_embedded#![/YT]

    [Source]

    Pretty neat, loving the multitouch !
    09-06-12 10:03 AM
  2. althedon's Avatar
    this is very cool

    Sent from my BlackBerry 9810 using Tapatalk
    louis.keeper likes this.
    09-06-12 10:20 AM
  3. digitalman101's Avatar
    Interesting! Wow... Just one Day of programming???

    Curious to know, if you plan others features and if it will be released on appworld?

    Thanks for posting.
    louis.keeper likes this.
    09-06-12 04:16 PM
  4. greatwiseone's Avatar
    That's freaking awesome! Power of cascades!
    louis.keeper likes this.
    09-06-12 07:12 PM
  5. louis.keeper's Avatar
    Sorry for the low-res video. Here are some screenshots that would give some more info about this app (Photo X):















    Hope to release it soon.

    You can check my other 2 BB10 apps over here:

    http://forums.crackberry.com/blackbe...x-bb10-742420/

    http://forums.crackberry.com/blackbe...x-bb10-742419/

    Hope you like it.

    Thanks
    09-06-12 09:10 PM
  6. greatwiseone's Avatar
    Did you just use RIM's samples and resources on the development website or did you consult other resources? I am looking to learn cascades development and would appreciate any insight you have on getting started.
    louis.keeper likes this.
    09-07-12 01:49 AM
  7. louis.keeper's Avatar
    Did you just use RIM's samples and resources on the development website or did you consult other resources? I am looking to learn cascades development and would appreciate any insight you have on getting started.
    Most of the stuff for viewing and interacting with Image I read from RIM's documents and samples along with Nokia's documents.

    This Photo X uses QImage, QDir, QFile.... to browse files, read files and write image to file. These are very clear from Nokia Qt sites:

    Qt 4.7: QImage Class Reference
    Qt 4.7: QFileInfo Class Reference
    Qt 4.7: QDir Class Reference

    For display/visual, it uses ListView, GroupDataModel, GridListLayout, ImageView, Animation, GestureHandlers, OrientationHandler ... from Cascades using QML.

    https://developer.blackberry.com/cas..._listview.html
    https://developer.blackberry.com/cas...istlayout.html
    https://developer.blackberry.com/cas...datamodel.html
    https://developer.blackberry.com/cas...imageview.html
    https://developer.blackberry.com/cas...ransition.html

    Basically, First, browse and read all the file in a folder into a QFileInfoList. Loop through this list and create a QVariantMap for each photo (ignore file is not photo), then insert this QVariantMap into our GroupDataModel. After finishing preparing data model, set it to the ListView data model. Our ListView is using GridListLayout with predefined columns (Photo X uses 4 for portrait and 6 for landscape mode). Once ListView data model is set, ListView will render automatically everything.

    To handle gesture, use GestureHandler (PinchHandler, DoubleTapHandler, TapHandler):
    https://developer.blackberry.com/cas...rehandler.html

    To handle device orientation, use OrientationHandler:
    https://developer.blackberry.com/cas...onhandler.html

    To display a busy indicator while the app is working on something which requires a bit of time. I use ActivityIndicator from Cascades:
    https://developer.blackberry.com/cas...indicator.html

    For brightness and contrast, I use the code from this link:

    http://www.qtcentre.org/threads/25346-Image-contrast

    and using Slider of Cascades to let user adjust:

    https://developer.blackberry.com/cas...s__slider.html

    For Twitter integration, it's a bit complicated while we are waiting for the simple one from RIM. Photo X uses 2 approaches:

    1. from Kyle Fowler, this is used for getting authentication for the app. (Can post status to Twitter but cannot with image)
    https://github.com/kylefowler/twitter-bb10

    2. from the Nokia Social Connect QML Plugin, this has issue with authentication(I haven't worked it out yet). I use this for posting message/message with image to Twitter:
    https://projects.developer.nokia.com/socialconnect

    That's it. Casacades/QML is extremely straightforward. Just try Ctrl+Space all the time if you need to know what can be used inside any component(Cascades calls Control)
    Last edited by louis.keeper; 09-07-12 at 02:51 AM.
    bquinney, kdna, gng11 and 5 others like this.
    09-07-12 02:42 AM
  8. marcossit's Avatar
    I want to test this application
    louis.keeper likes this.
    09-08-12 07:14 PM
  9. greatwiseone's Avatar
    Most of the stuff for viewing and interacting with Image I read from RIM's documents and samples along with Nokia's documents.

    This Photo X uses QImage, QDir, QFile.... to browse files, read files and write image to file. These are very clear from Nokia Qt sites:

    Qt 4.7: QImage Class Reference
    Qt 4.7: QFileInfo Class Reference
    Qt 4.7: QDir Class Reference

    For display/visual, it uses ListView, GroupDataModel, GridListLayout, ImageView, Animation, GestureHandlers, OrientationHandler ... from Cascades using QML.

    https://developer.blackberry.com/cas..._listview.html
    https://developer.blackberry.com/cas...istlayout.html
    https://developer.blackberry.com/cas...datamodel.html
    https://developer.blackberry.com/cas...imageview.html
    https://developer.blackberry.com/cas...ransition.html

    Basically, First, browse and read all the file in a folder into a QFileInfoList. Loop through this list and create a QVariantMap for each photo (ignore file is not photo), then insert this QVariantMap into our GroupDataModel. After finishing preparing data model, set it to the ListView data model. Our ListView is using GridListLayout with predefined columns (Photo X uses 4 for portrait and 6 for landscape mode). Once ListView data model is set, ListView will render automatically everything.

    To handle gesture, use GestureHandler (PinchHandler, DoubleTapHandler, TapHandler):
    https://developer.blackberry.com/cas...rehandler.html

    To handle device orientation, use OrientationHandler:
    https://developer.blackberry.com/cas...onhandler.html

    To display a busy indicator while the app is working on something which requires a bit of time. I use ActivityIndicator from Cascades:
    https://developer.blackberry.com/cas...indicator.html

    For brightness and contrast, I use the code from this link:

    Image contrast

    and using Slider of Cascades to let user adjust:

    https://developer.blackberry.com/cas...s__slider.html

    For Twitter integration, it's a bit complicated while we are waiting for the simple one from RIM. Photo X uses 2 approaches:

    1. from Kyle Fowler, this is used for getting authentication for the app. (Can post status to Twitter but cannot with image)
    https://github.com/kylefowler/twitter-bb10

    2. from the Nokia Social Connect QML Plugin, this has issue with authentication(I haven't worked it out yet). I use this for posting message/message with image to Twitter:
    https://projects.developer.nokia.com/socialconnect

    That's it. Casacades/QML is extremely straightforward. Just try Ctrl+Space all the time if you need to know what can be used inside any component(Cascades calls Control)
    This is awesome! Thanks a lot!
    louis.keeper likes this.
    09-08-12 08:44 PM
  10. Vector-SS's Avatar
    This is ridiculously awesome and smooth, seriously impressive for one days worth of work. Well done!

    Excited is an understatement for the new BB10 device.
    meganVee, louis.keeper and BB10FTW like this.
    09-09-12 03:24 PM
  11. calicocat2010's Avatar
    WOW that is realllllllllllllllly smooth!!!! Can't wait for BB10!
    meganVee and louis.keeper like this.
    09-12-12 11:30 PM
  12. banned-aid's Avatar
    Just amazing stuff! Makes me even more excited for BB10!

    Does 60fps have anything to do with this? Will all animations be so smooth?
    meganVee and louis.keeper like this.
    09-13-12 07:14 AM
  13. Blackberry_boffin's Avatar
    I feel lke someone's kicked me in the nuts. This is so good.
    meganVee and louis.keeper like this.
    09-13-12 10:53 AM
  14. lnichols's Avatar
    Very nice! Need BB10 soon!
    louis.keeper likes this.
    09-13-12 02:15 PM
  15. louis.keeper's Avatar
    Let me confirm once again that all these stuff you see is not new. We all know it. Only 1 thing I want people to know is everyone can make it in 1 or 2 days. Everyone. That's how awesome Cascades and BB10 is.
    meganVee likes this.
    09-13-12 08:53 PM
  16. kevin-719's Avatar
    Wow nice

    Cant wait for BB10 !!


    Sent from my iPhone 4S using Tapatalk
    louis.keeper and gng11 like this.
    09-14-12 11:27 AM
  17. LAZYMAN 91's Avatar
    This is actually pretty sweet!
    louis.keeper likes this.
    09-14-12 05:22 PM
  18. SCrid2000's Avatar
    Very freaking awesome man
    louis.keeper likes this.
    09-16-12 12:22 AM
  19. Thunderbuck's Avatar
    Built in 1 day with power of Cascades.



    [Source]

    Pretty neat, loving the multitouch !
    DUDE!! That's just crazy awesome!!

    I'm going to totally try to duplicate this, especially with the resources you've listed. Seriously, this is a fantastic job!
    louis.keeper likes this.
    09-16-12 12:51 AM
  20. kdna's Avatar
    Nice work.
    louis.keeper likes this.
    09-16-12 12:58 PM
  21. louis.keeper's Avatar
    I stop Photo X. You guys will know the reason when BB10 comes out.

    Thanks all
    09-22-12 12:08 AM
  22. SCrid2000's Avatar
    I stop Photo X. You guys will know the reason when BB10 comes out.

    Thanks all
    You gonna be release it in the meantime as is?
    09-22-12 12:23 AM
  23. BB_Bmore's Avatar
    BlackBerry10 is gonna be like nothing else. The haters have a wake up call coming. You can't say anything bad about cascades and its beauty.

    Well done.

    Sent from my BlackBerry 9670 using Tapatalk
    meganVee likes this.
    09-22-12 01:43 AM
  24. Viktor_Volkov's Avatar
    You sir are awesome!! This really brings back hope!!
    09-22-12 11:44 AM
  25. rupam95's Avatar
    Would love to try this on my PlayBook. Nice job.
    09-22-12 12:21 PM
48 12
LINK TO POST COPIED TO CLIPBOARD