×

Discussion Board

Results 1 to 5 of 5
  1. #1
    Registered User
    Join Date
    Apr 2007
    Posts
    27

    Start ImageViewer With Argument

    hello
    i've start imageviewer with an argument photo in this way:

    file="E:\images\prova.jpg"
    e32.start_exe("z:\\system\\programs\\apprun.exe","z:\\system\\apps\\ImageViewer\\ImageViewer.app \""+file+"\"")

    imageviewer open the image prova.jpg correctly.
    Now if i want to start more file.. two,three ecc...
    How i can do?
    i've tried:

    file="E:\images\prova.jpg"
    file2="E:\images\prova.jpg"
    e32.start_exe("z:\\system\\programs\\apprun.exe","z:\\system\\apps\\ImageViewer\\ImageViewer.app \""+file+"\",\""+file2+"\"")
    but imageviewer don't start!

    and i've tried:

    e32.start_exe("z:\\system\\programs\\apprun.exe","z:\\system\\apps\\ImageViewer\\ImageViewer.app \""+file+"\" \""+file2+"\"")
    but imageviewer starts, but only with the first photo!

    is it possible start imageviewer with one more photo? how? if it isn't possible in python, is there a way in c++ (to do myself an extension!)
    help me plz! bye

  2. #2
    Registered User
    Join Date
    Feb 2005
    Location
    Belgium (Europe)
    Posts
    1,352

    Re: Start ImageViewer With Argument

    Are you sure that imageviewer application can open many files at a time ?
    There is no problem with e32.start_exe (it supports severals arguments)

    Cyke64
    pys60 1.4.5 and 2.0.0, pygame, PyS60 CE on E90 and 5800 !

    Find my pys60 extension modules on cyke64.googlepages.com

  3. #3
    Nokia Developer Moderator
    Join Date
    May 2007
    Location
    21.46 N 72.11 E
    Posts
    3,796

    Re: Start ImageViewer With Argument

    Quote Originally Posted by dokkis View Post
    hello
    i've start imageviewer with an argument photo in this way:

    file="E:\images\prova.jpg"
    e32.start_exe("z:\\system\\programs\\apprun.exe","z:\\system\\apps\\ImageViewer\\ImageViewer.app \""+file+"\"")

    imageviewer open the image prova.jpg correctly.
    Now if i want to start more file.. two,three ecc...
    How i can do?
    i've tried:

    file="E:\images\prova.jpg"
    file2="E:\images\prova.jpg"
    e32.start_exe("z:\\system\\programs\\apprun.exe","z:\\system\\apps\\ImageViewer\\ImageViewer.app \""+file+"\",\""+file2+"\"")
    but imageviewer don't start!

    and i've tried:

    e32.start_exe("z:\\system\\programs\\apprun.exe","z:\\system\\apps\\ImageViewer\\ImageViewer.app \""+file+"\" \""+file2+"\"")
    but imageviewer starts, but only with the first photo!

    is it possible start imageviewer with one more photo? how? if it isn't possible in python, is there a way in c++ (to do myself an extension!)
    help me plz! bye
    Hello dokkis

    I dont think that will work..I mean just providing 2 arguments cant show you 2 photos.You have to make some more changes...many changes i guess in the image viewer to make it enable with more then one files...
    Pankaj Nathani
    www.croozeus.com

  4. #4
    Super Contributor
    Join Date
    May 2006
    Location
    Oulu, Finland
    Posts
    622

    Re: Start ImageViewer With Argument

    Hello dokkis

    I dont think that will work..I mean just providing 2 arguments cant show you 2 photos.You have to make some more changes...many changes i guess in the image viewer to make it enable with more then one files...
    I think that what dokkis meant was to give a list of pictures to browse when starting the viewer application and not to see many at the same time...

    LFD
    Devices:
    Nokia E61 3rd Edition - pys60 1.4.0

    Tips and modules:
    http://www.lfdm.net/thesis

  5. #5
    Registered User
    Join Date
    Apr 2007
    Posts
    27

    Re: Start ImageViewer With Argument

    Quote Originally Posted by lfd View Post
    I think that what dokkis meant was to give a list of pictures to browse when starting the viewer application and not to see many at the same time...

    LFD
    yeah... a list to the imageviewer to change photo with key left and right!
    sorry 4 my bad english but i'm italian..
    bye

Similar Threads

  1. Recognizer for start on boot
    By mariusichim in forum Symbian
    Replies: 10
    Last Post: 2007-09-20, 15:17
  2. Parsing file content
    By hendrawan.ashari in forum Symbian
    Replies: 7
    Last Post: 2007-03-09, 10:41
  3. Series 60 Content Authoring SDK doesn't start
    By jtaal in forum Symbian Tools & SDKs
    Replies: 0
    Last Post: 2003-12-17, 16:28
  4. D211 with RH7.3
    By fiveam in forum Multimodecards
    Replies: 3
    Last Post: 2003-02-24, 09:06
  5. Problem with Nokia D211 Linux Drivers
    By fiveam in forum Multimodecards
    Replies: 1
    Last Post: 1970-01-01, 02:00

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×