Pointui » Home 2 Scripting Support

[sticky]

PointUI " SDK "

(28 posts)
  • Started 1 year ago by alncool
  • Latest reply from paul_71
  • This topic is sticky
  • This topic is not a support question
  1. alncool
    Member

    Hey guys !
    You've been dreaming about it, and now that dream comes true...
    Yes you're not sleeping anymore : now you have a cool environment to develop your Applets!
    "Yeeeeepeeee !"
    ok ok calm down it's not really perfect but it's really helpful.

    WHAT'S THAT?
    This is a Visual Studio project that contains all classes according to the documentation on PointUI's website.

    Each objects and functions that have been commented in the documentaion are also integrated in the project.
    What does that mean ?
    Well Just download free version of Visual Studio C# and open the project :
    You'll have a working environment with code autocompletion for making you applet.
    For example you define an object like
    Label myLabel;
    Then when you'll use myLabel object, you'll have all the functions available for that object and also function's parameters help.
    Now you don't really need to switch between your source code and the documention.... Almost everything is embedded. Well, code samples from the documentation has not been copied so you'll have sometimes to open your browser ... Please forgive me T-T

    STARTING YOUR APPLET:
    You have to respect some rules to make it work. See MyApplet.cs at the root of the project to see what you need to start.
    Then you have to know that the following functions are present for almost every object but have no part in PointUI scripting :
    - ToString() (sometimes could be implemented be careful !)
    - Equals()
    - GetType()
    - GetHashCode()
    Make sure that one of these function is implemented before using it (open the right object class and look at the source code to be sure! ).

    When your applet is done, remove region of code that need to be remove and it's done. Copy your CS file into the right folder on your device and ... Voila ! You can start debug or enjoy your work.

    Note : you don't have to build or compile anything since we are not developping a real C# application. We just need to use a Visual Studio IDE for, mainly, code autocompletion !

    PLEASE READ THE ONLINE DOCUMENTATION!
    It is updated whereas this SDK is not updated in time.
    - What you have to know about coding :
    http://docs.pointui.com/Scripting_Overview
    - What you have to do in order to make your applet running :
    http://docs.pointui.com/Applet (SEE OVERVIEW SECTION)
    - Some Tips on the forum :
    http://community.pointui.com/topic/some-tips-for-applet-developers
    http://community.pointui.com/topic/internationalize-your-applet
    - Follow examples from the documentation :
    http://docs.pointui.com/Introduction

    VERSION INFORMATION:
    All the object have been implemented util 2.1 version. For upcomming functions/objects implementation, this package will be obsolete and will need to be updated. Well you can do it yourself, it's not really hard. Just look in some classes and do the same by copying things from the documentation to the project.

    Actualy the project has been made for Visual Studio 2005 but should be converted to 2008 project without any problem.

    CREDITS
    Thank you for every one that is working on PointUI to make that Home2 OUR home ;-)

    Wanna thank's me ? Ok I need some billions dollars/euros ($_$) but if you have just some times to make me a great and beautiful japanese based theme for pointui, then it will be enough to make me happy ^^
    If you are willing to do it contact me.

    AlnCool

    Attachments

    1. PointUI-SDK-VS05-2.1.zip (61 KB, 728 downloads) 9 months old
    2. PointUI-SDK-VS05-2.0.30b.zip (57.6 KB, 449 downloads) 10 months old
    3. PointUI-SDK-VS05.zip (53.3 KB, 774 downloads) 1 year old
    Posted 1 year ago #
  2. Excellent stuff. It's now a sticky.

    Posted 1 year ago #
  3. appelton
    Member

    Awesome. I hope people will notice this sticky thread :)

    Posted 1 year ago #
  4. Many thanks Aurélien!
    Great contribution for the communit.ui!

    ;)

    Posted 1 year ago #
  5. alncool
    Member

    Yeah i hope community will love it. It would be so bad to waste so much time making this SDK for nothing ^^".
    Anyway i've started to work on some little applet projects and i can really make it about 3 times faster than before :-D

    Well i post here just my beautiful background if someone want to make a theme based on it. :)

    Attachments

    1. GeishaWallpaper.jpg (100.3 KB, 55 downloads) 1 year old
    Posted 1 year ago #
  6. mardy88
    Member

    I will try to see if I can get something going in regards to theme. Thank You. :)

    Posted 1 year ago #
  7. logicalstep
    Member

    Amazing stuff there, it may even help me to build something and that'll be an achievment!

    Logicalstep

    Posted 1 year ago #
  8. kshmir
    Member

    It's the same I already did :P

    Thanks anyway, it's a hard job to do it!

    Posted 1 year ago #
  9. alncool,
    See if this is what you wanted

    Geisha Theme

    Posted 12 months ago #
  10. jayceebee23
    Member

    Will the SDK be updated based on the new 2.0.28b build? I'm only asking because on a separate thread that I started (Contact's Birthdate), I was told that there should be a way to retrieve the contact's birthdate on the next release. Was wondering if that particular enhancement made it to this release (I did check the details of the build and found there was no mention of this).

    Thanks!

    Posted 11 months ago #
  11. GrPaZ
    Member

    Hello,
    i think there is something important to say:

    1.Name the Folder like your Applet, for Example: HelloWorld
    2.Name the *.cs File like your Applet,too : HelloWorld.cs
    3.The most important thing is to name your class like this: HelloWorldApplet

    this was the only way for me to make my applet run!

    perhaps anyone can append this information to the topic of this thread.

    best regards

    Posted 10 months ago #
  12. alncool
    Member

    Hi guys, and thank you for your feedback.
    I was pretty busy these weeks so i did not have time to answer/play with new version of pointui.

    @jayceebee23
    Well, considering the SDK, I'm gonna not update it during next days ... Maybe i'll do it when i'll have less work to do but you can do it yourselft. It's easy, look up to one implemented class on the SDK and do the same to create new ones or to add new functions.
    when your function is defined like " public void TheNewFunction( bool IsActivated ); " just type "///" the line over and let you guide by Visual studio to add proper information.

    @Nimche
    I'm gonna take a look and answer in your thread, thank's man !

    @GrPaZ
    Thank you for your warning. Well, this SDK must not replace the real documentation, since it is only a developing tool and not a living/up to date documentation. It is explained how to place and rename every thing well to make an applet running...

    AlnCool

    Posted 10 months ago #
  13. GrPaZ
    Member

    Hi guys, i have some little applet for you. perhaps it is usefull...

    it will show you the Information about your device (ScreenHight,ScreenWidth,AppletHeight,AppletWidth, if VGA or not)...

    i hope you like it...

    best regards,

    GröPaZ

    Attachments

    1. ScreenInfo.zip (0.9 KB, 76 downloads) 10 months old
    Posted 10 months ago #
  14. alncool
    Member

    Hi everyone !
    I'm back :-)

    Well i saw that a lot of people were disapointed here and couldn't live without an updated SDK so ... here it is : see the first post.

    Hope you still like it.
    (^.^)//

    @GrPaZ: You're in the wrong topic for your applet man ;-)

    AlnCool

    Posted 10 months ago #
  15. Many thanks for the update, alncool.
    ;)

    Posted 10 months ago #
  16. alncool
    Member

    Hey Boys and Girls,

    As you can see, the new 2.1 version is coming very soon now (regarding to the roadmap changes *sirc* ) and to make you happy, i've released the new SDK with all updated script functions.

    Enjoy !

    AlnCool

    Posted 9 months ago #
  17. Awesome work alncool.
    Thank you...

    Posted 9 months ago #
  18. evilc
    Member

    I downloaded VSS to give this a go, but hit a stumbling block.

    It appears that all the code completion comes from having the namespace declaration, but this is wrapped in a "removed once script is finished" comment, and indeed, uploading a .cs to the phone with this stuff in seems to crash home.

    Is there any way of not having to manually edit the file each time I upload it?

    If not, how about a windows EXE that you point at a file, and it strips these tags. Ideally, upping it to the common folder too would be nice ;)

    If the SDK were C++ (Does it really *need* to be C# ?) then we could maybe #include the tags to make the editor work?

    Or how about coding Home2 to strip the tags itself? That would probably be simplest - you could pull a file right off the phone and edit it then.

    Posted 6 months ago #
  19. paul_71
    Member

    No, just do not mix up the .cs sources with the faked C# namespace declarations. Keep your .cs scripts in a distinct folder which you can transfer directly to your device.

    Hm, did anybody try the following: Install the Windows mobile emulator extension in your VS and let PointUI run with custom .cs scripts there... => custom scripts can be tested in this protected environment, if working fine transfer them to your phone and you are done...

    Posted 4 months ago #
  20. alncool
    Member

    @paul_71
    Yes i already tried to make a standalone environment with Microsoft emulator and the pointui sdk. Unfortunately i have no much time to continue working on it.

    Furthermore you cannot really test pointui's feature in the emulator.
    -Finger touch is impossible and differs from a mouse move.
    -You can't easily access to the phone capabilities like a real device.
    -You can't/will not activate a pro version in such environment (unless PUI team unlock the free mode when it detects the emulator ? It might be an idea to let people play a little with advanced feature before buying a pro version... )

    AlnCool

    Posted 4 months ago #
  21. paul_71
    Member

    Hm, same problem, just haven't got enough time to test it - actually haven't got enough time to try anything.. :-( Theoretically, the first two points should be possible in the emulator, the last one, hm.. I don't know. I am still not sure, as far as I can see none of the PRO features is necessary to let the application load a custom *.cs script... Please correct me if I am wrong...

    Posted 4 months ago #
  22. ahammad firoj
    Member

    Hi,

    I have got some problems when converting PointUI-SDK-VS05-2.1.zip from vs2005 to vs2008. Geeting bellow errors:
    1. public static void Sleep(intervalMilliseconds); (exception identifier expected)

    Can you guys give me soultion?? Or any one can upload the VS2008 version??

    Posted 1 month ago #
  23. paul_71
    Member

    No, you have tried to compile the code! Just unpack the zip and double-click on the .sln file. The conversion is flawless. I'll upload my extended version of the SDK when I'm back to my notebook. I also wrote some simple productivity tools for integration into VS...

    btw, PUI+ WM emulator are working like a charm, no problems at all!

    Posted 1 month ago #
  24. bibi544
    Member

    A newbie question: I read part of the documentation at the site and saw that only the OnClick and OnClickHold events are exposed for user interaction, is that so or am I missing something here?
    What about events when the user sweep the screen, what event this action raise and is it exposed to applets written with the PointUI "SDK"?
    Thanks
    Ophir

    Posted 4 weeks ago #
  25. paul_71
    Member

    No, it's not. Only OnClick and OnClickHold exposed by standard. If you need notifications from other context (OnLayout, OnResized, OnMouseDown...) you need to implement a new sub-framework of controls (= what I did). The core engine does not propagete MouseMove events, which is a bit limiting. Sweeping around the screen etc. can be caught by processing combination of MouseUp/Down events.

    Posted 4 weeks ago #
  26. bibi544
    Member

    Thanks for the info.
    Maybe I'll play around a bit and then ask some more questions.

    Posted 4 weeks ago #
  27. ccmove
    Member

    excellent!
    thanks~~

    Posted 4 weeks ago #
  28. paul_71
    Member

    What exactly is "excellent"..?

    Posted 4 weeks ago #

RSS feed for this topic

Reply

You must log in to post.