Page 1 of 2 12 LastLast
Results 1 to 25 of 48
Like Tree64Likes
  1. jamezalexander's Avatar
    CrackBerry Addict

    Posts
    587 Posts
    Global Posts
    603 Global Posts
    PIN
    29375093
    Thread AuthorThread Author   #1  

    Default Photo X (BB10 Cascades Photo Viewer)

    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 !
    It's Never Too Late to Be Bold You can find my musing over at BerryFlow.com | @jmznvs
    "If you understand what the promise of BlackBerry is to its user base it’s all about getting stuff done.
    Games, media, we have to be good at it but we have to support those guys who are ahead of the game." Thorsten Heins
    Thanked by 4:
    drjay868 (09-24-2012),  FlashFlare11 (09-14-2012),  Viktor_Volkov (09-22-2012) 
  2. althedon's Avatar
    CrackBerry User

    Posts
    26 Posts
    #2  

    Default

    this is very cool

    Sent from my BlackBerry 9810 using Tapatalk
    louis.keeper likes this.
  3. digitalman101's Avatar
    CrackBerry Abuser

    Posts
    318 Posts
    #3  

    Default

    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.
  4. greatwiseone's Avatar
    CrackBerry Genius

    Posts
    1,641 Posts
    #4  

    Default

    That's freaking awesome! Power of cascades!
    louis.keeper likes this.
  5. louis.keeper's Avatar
    CrackBerry Abuser

    Posts
    254 Posts
    PIN
    2A919F2A
    #5  

    Default

    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
    Thanked by 6:
    BB.David (09-06-2012),  Cesare21 (10-10-2012),  Pfize183 (09-08-2012),  Vector-SS (09-09-2012),  Viktor_Volkov (09-22-2012) 
  6. greatwiseone's Avatar
    CrackBerry Genius

    Posts
    1,641 Posts
    #6  

    Default

    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.
    Thanked by:
    louis.keeper (09-15-2012) 
    louis.keeper likes this.
  7. louis.keeper's Avatar
    CrackBerry Abuser

    Posts
    254 Posts
    PIN
    2A919F2A
    #7  

    Default

    Quote Originally Posted by greatwiseone View Post
    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-2012 at 02:51 AM.
    Thanked by 8:
    atrpm (12-27-2012),  gng11 (09-23-2012),  greatwiseone (09-08-2012),  jamezalexander (09-07-2012),  kdna (09-16-2012),  Thunderbuck (09-16-2012),  Viktor_Volkov (09-22-2012) 
  8. marcossit's Avatar
    CrackBerry Newbie

    Posts
    9 Posts
    #8  

    Default

    I want to test this application
    Thanked by:
    louis.keeper (09-15-2012) 
  9. greatwiseone's Avatar
    CrackBerry Genius

    Posts
    1,641 Posts
    #9  

    Default

    Quote Originally Posted by louis.keeper View Post
    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!
    Thanked by:
    louis.keeper (09-15-2012) 
    louis.keeper likes this.
  10. Vector-SS's Avatar
    CrackBerry Addict

    Posts
    602 Posts
    #10  

    Default

    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.
    Thanked by:
    louis.keeper (09-15-2012) 
    meganVee, louis.keeper and BB10FTW like this.
  11. calicocat2010's Avatar
    CrackBerry Genius

    Posts
    2,379 Posts
    #11  

    Default

    WOW that is realllllllllllllllly smooth!!!! Can't wait for BB10!
    I Stand By BlackBerry!
    Thanked by:
    louis.keeper (09-15-2012) 
    meganVee and louis.keeper like this.
  12. banned-aid's Avatar
    Banned

    Posts
    42 Posts
    #12  

    Default

    Just amazing stuff! Makes me even more excited for BB10!

    Does 60fps have anything to do with this? Will all animations be so smooth?
    Thanked by:
    louis.keeper (09-15-2012) 
    meganVee and louis.keeper like this.
  13. Blackberry_boffin's Avatar
    CrackBerry Addict

    Posts
    656 Posts
    #13  

    Default

    I feel lke someone's kicked me in the nuts. This is so good.
    Technological progress is like an axe in the hands of a pathological criminal.
    - Albert Einstein
    Thanked by:
    louis.keeper (09-15-2012) 
    meganVee and louis.keeper like this.
  14. lnichols's Avatar
    CrackBerry Genius

    Posts
    4,804 Posts
    Global Posts
    5,342 Global Posts
    #14  

    Default

    Very nice! Need BB10 soon!
    Thanked by:
    louis.keeper (09-15-2012) 
    louis.keeper likes this.
  15. louis.keeper's Avatar
    CrackBerry Abuser

    Posts
    254 Posts
    PIN
    2A919F2A
    #15  

    Default

    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.
  16. kevin-719's Avatar
    Banned

    Posts
    18 Posts
    Global Posts
    19 Global Posts
    #16  

    Default

    Wow nice

    Cant wait for BB10 !!


    Sent from my iPhone 4S using Tapatalk
    Thanked by 2:
    gng11 (09-23-2012),  louis.keeper (09-15-2012) 
    louis.keeper likes this.
  17. LAZYMAN 91's Avatar
    CrackBerry User

    Posts
    41 Posts
    #17  

    Default

    This is actually pretty sweet!
    Thanked by:
    louis.keeper (09-15-2012) 
    louis.keeper likes this.
  18. SCrid2000's Avatar
    CrackBerry Genius of Geniuses

    Posts
    8,311 Posts
    Global Posts
    8,313 Global Posts
    PIN
    PM me.
    #18  

    Default

    Very freaking awesome man
    Thanked by:
    louis.keeper (09-19-2012) 
    louis.keeper likes this.
  19. Thunderbuck's Avatar
    CrackBerry Genius

    Posts
    3,597 Posts
    PIN
    26718B90
    #19  

    Default

    Quote Originally Posted by jamezalexander View Post
    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!
    Thanked by:
    louis.keeper (09-19-2012) 
    louis.keeper likes this.
  20. kdna's Avatar
    CrackBerry Abuser

    Posts
    499 Posts
    #20  

    Default

    Nice work.
    Purchase these awesome apps for Z10: Police Scanners: San Diego Police Radio | SFPD Police Scanner | Utilities: Mobile Network | Developer Mode
    | Bluetooth | Mobile Hotspot NFC Reference SuperGister.com
    Thanked by:
    louis.keeper (09-19-2012) 
    louis.keeper likes this.
  21. louis.keeper's Avatar
    CrackBerry Abuser

    Posts
    254 Posts
    PIN
    2A919F2A
    #21  

    Default

    I stop Photo X. You guys will know the reason when BB10 comes out.

    Thanks all
  22. SCrid2000's Avatar
    CrackBerry Genius of Geniuses

    Posts
    8,311 Posts
    Global Posts
    8,313 Global Posts
    PIN
    PM me.
    #22  

    Default

    Quote Originally Posted by louis.keeper View Post
    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?
  23. BB_Bmore's Avatar
    CrackBerry Genius

    Posts
    3,553 Posts
    PIN
    excepting applications
    #23  

    Default

    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
    I waited...It launched...Im still waiting...
    meganVee likes this.
  24. Viktor_Volkov's Avatar
    CrackBerry User

    Posts
    52 Posts
    #24  

    Default

    You sir are awesome!! This really brings back hope!!
    RIMpire will strike again, harder and for longer then ever.
  25. rupam95's Avatar
    CrackBerry Addict

    Posts
    554 Posts
    Global Posts
    607 Global Posts
    #25  

    Default

    Would love to try this on my PlayBook. Nice job.
Page 1 of 2 12 LastLast

Posting Permissions