iOS Question can use jar file :)

Discussion in 'iOS Questions' started by omidaghakhani1368, Feb 6, 2015.

  1. omidaghakhani1368

    omidaghakhani1368 Well-Known Member Licensed User

    Hi Erel.
    I cannot programming with xcode and not convert date.
    Can i use jar file in b4i :)?
    Who is help me to create library?
     
  2. Alberto Iglesias

    Alberto Iglesias Well-Known Member Licensed User

    what library you need to create?
     
    omidaghakhani1368 likes this.
  3. omidaghakhani1368

    omidaghakhani1368 Well-Known Member Licensed User

    Thank you for reply,I have a java source code that convert date to persian date,
    I attachment java code for you,i cannot find source for xcode sorry.
    In class PersianDate.java,i use basic4android detials for use in basic4android
    Now i want to use it in b4i
    Thank you
     

    Attached Files:

  4. Alberto Iglesias

    Alberto Iglesias Well-Known Member Licensed User

    No Problem!

    Look, I doing your library, check if this values are correct, please!

    In the next step is put in ToPersian function the parameters like your library (Day,month,year and separator)
     

    Attached Files:

    Jaames likes this.
  5. omidaghakhani1368

    omidaghakhani1368 Well-Known Member Licensed User

    Hi.
    Very thanks for your attention.
    The result is incorrect.
    instead of 1436 must be 1394.
    I use attachment source in basic4android and it is correct but how you can get this value?
     
  6. Alberto Iglesias

    Alberto Iglesias Well-Known Member Licensed User

    Look this values, can you calculate for me, in this 2 dates to compare with my code?

    5-02-2015
    and
    1-1-2000

    Thanks
     

    Attached Files:

  7. omidaghakhani1368

    omidaghakhani1368 Well-Known Member Licensed User

    i'm sorry,it is incorrect
    Please look at me :
    7 2 2015 for persian date is 1393 11 18
    if you set 2015 year so for persian 1393
    OK?
     
  8. Alberto Iglesias

    Alberto Iglesias Well-Known Member Licensed User

    OK. I do some tests with a lot of dates. soon I answer to you :)
     
  9. omidaghakhani1368

    omidaghakhani1368 Well-Known Member Licensed User

    Thank you.
    GoodLuck Mr alberto
     
  10. Alberto Iglesias

    Alberto Iglesias Well-Known Member Licensed User

    I think is OK now, look the image


    I go to put in forum right now for you testing
     

    Attached Files:

  11. Alberto Iglesias

    Alberto Iglesias Well-Known Member Licensed User

    Jaames likes this.
  12. omidaghakhani1368

    omidaghakhani1368 Well-Known Member Licensed User

    Oh my god,thank you,you are best man.
     
  13. omidaghakhani1368

    omidaghakhani1368 Well-Known Member Licensed User

  14. Alberto Iglesias

    Alberto Iglesias Well-Known Member Licensed User

    what error?
     
  15. omidaghakhani1368

    omidaghakhani1368 Well-Known Member Licensed User

    I can find reason error.I use cloud mac and unfortunately Erel not place your library in folder in cloud,
    I cannot create virtual mac in vmware,do you have virtual mac os ? If you have,can you upload to download?
     
  16. Alberto Iglesias

    Alberto Iglesias Well-Known Member Licensed User

    Ahh ok!

    I have a MacBook with parallels (windows 7), and in Mac I have a B4iBuilder, and for me is easy, just copy in my libs and compile!

    we need report to Erel to create a option inside a B4i to upload the libs to hosted mac...

    EREL!!!! Help users don´t have a MAC!!!!!
     
  17. Erel

    Erel Administrator Staff Member Licensed User

    Where is the library source code?
     
    omidaghakhani1368 likes this.
  18. omidaghakhani1368

    omidaghakhani1368 Well-Known Member Licensed User

    Hi Erel.Mr @Alberto Iglesias have source,please copy library on your cloud mac
     
  19. Erel

    Erel Administrator Staff Member Licensed User

  20. omidaghakhani1368

    omidaghakhani1368 Well-Known Member Licensed User

Loading...
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice