Join Today
+ Reply to Thread
Page 24 of 27 FirstFirst ... 142021222324252627 LastLast
Results 231 to 240 of 262
Like Tree68Likes

Thread: PictureFlow, clone of CoverFlow

  1. #231

    Default

    @khizerk

    I suggest when we press the power button on the phone the pictureflow application should exit, what do u think ???

  2. Default

    I actually tried that, but I dont know the key assignments. ZHKey.h says this:
    #define EZX_KEY_VALUE_HOME Qt::Key_F4

    I tried using that but it wasn't working for my E6 (maybe changed assignments, that one is for A760)

  3. #233

    Default

    @khizerk

    see what you can do about that,

    Also,
    I made pictureflow as my default application for viewing images.
    What I noticed is that, sometimes it works and sometimes I just see blank screen
    can tell you the senario as me myself dont know. Sometimes even file what was succcessfully open the first time, did not open the second time

    Me confused

    Bikas

  4. Default

    Hmm, thats strange....maybe something to do with the script (I had to learn the basics to enable command line arguments). I'll try to test the myself a bit more, but uptil now strangely I haven't had a problem like this...

    And yeah, any special characters (other than underscore) in the name of those pics?

    -----------Edit-------------------
    Found the source of the problem, its the script. Its not dealing well with when there's a space in the name of the picture...I guess it breaks it into two arguments. Any solutions?
    Last edited by khizerk; 01-22-2009 at 07:14 AM.

  5. #235

    Default

    you can try something like

    echo "world map.jpg" | sed 's/ /\\ /g'

    this can replace all spaces with '\space' i.e escape all the spaces
    Hope that work, let me know

    cheers
    Bikas

  6. Default

    But that will echo worldmap.jpg right?
    That won't be right as the actual file name must be input. I have another idea, I'll test it out.

  7. #237

    Default

    No the output of
    echo "world map.jpg" | sed 's/ /\\ /g'
    will be 'world\ map.jpg'

    What I ment was we can do something like this for the shell scrip


    #!/bin/sh
    MYNAME=`basename $0`
    MYPATH=`echo $0 | sed -e 's/'$MYNAME'//g'`
    qz_file="$2"
    qzfile=`basename $2`

    qz_file=`echo $qz_file | sed 's/ /\\ /g'`
    qzfile=`echo $qzfile | sed 's/ /\\ /g'`

    export QTDIR=/usr/lib/ezx
    export PATH=$MYPATH:$PATH
    export LD_LIBRARY_PATH=$QTDIR/lib:$LD_LIBRARY_PATH

    cd $MYPATH
    ./pictureflow "$qzfile" "$qz_file"



    Its really difficult for me to test it, so you will have to do that for me
    Please let me know in case you have any doubt

    Thanks
    Bikas

  8. #238

    Default

    Sorry I guess it should be


    qz_file=`echo $qz_file | sed 's/ /\\\ /g'`
    qzfile=`echo $qzfile | sed 's/ /\\\ /g'`


    I tested in linux ,

    Test output :

    $ bikas="world map of india.jpg"
    $ bikas=`echo $bikas | sed 's/ /\\\ /g'`
    $ echo $bikas
    world\ map\ of\ india.jpg



    Just try this I am not sure but should work I guess

    Thanks
    Bikas

  9. Default

    I figured I am not that good with scripting so I should rely on the code more :P

    Anyway, here's a version with the space problem fixed....couldn't fix the minimization issue, but I can't put more time into this right now...

    Test please!
    Attached Files Attached Files

  10. #240

    Default

    Hi khizerk

    I think we can understand that you also have other things to do and I really appreciate you working out of the box for us.

    I really really wanna thank you for your effort.

    I have installed the new version, it works just great and the space in filename problem seems to be fixed.

    I will continue testing it and let you know.
    Thanks again for all the troubles.

    Bikas


 
+ Reply to Thread
Page 24 of 27 FirstFirst ... 142021222324252627 LastLast

Similar Threads

  1. Pictureflow v3.1
    By khizerk in forum E6 Applications
    Replies: 176
    Last Post: 11-26-2010, 09:18 AM
  2. [App] Pictureflow
    By Halftux in forum A780 Applications
    Replies: 2
    Last Post: 10-15-2009, 04:44 PM
  3. latest version of pictureflow
    By bibaswan.panda in forum E6 General Chat
    Replies: 4
    Last Post: 08-11-2009, 02:17 PM
  4. Another 1800 clone.
    By Scotsman828 in forum A1800 General Chat
    Replies: 8
    Last Post: 05-27-2009, 07:49 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
Single Sign On provided by vBSSO

Search Engine Optimization by vBSEO 3.6.0 RC 1