+ Reply to Thread
Page 1 of 2 1 2 LastLast
Results 1 to 20 of 35

Follow me creating my first M8 app

This is a discussion on Follow me creating my first M8 app within the Modding & Development forums, part of the Meizu M8 category; I've long been wanting to create an application for the M8. In this thread, I'll detail the steps I take ...

  1. #1
    Founder
    Join Date
    Nov 2006
    Location
    Stockholm
    Posts
    2,876
    Thanks
    133
    Thanked 261 Times in 77 Posts

    Follow me creating my first M8 app

    I've long been wanting to create an application for the M8. In this thread, I'll detail the steps I take so that I can help others willing to do the same thing. I have very basic HTML skills, and have never programmed anything before.

    I am currently downloading Visual Studio 2005 Professional (free student license), and I've already downloaded the M8 0.9.6.0 SDK.
    Can't wait to play with the Meizu MX!

  2. Member who thanked Err0r for the post:


  3. #2
    Senior Member
    Join Date
    Nov 2009
    Location
    Germany
    Posts
    409
    Thanks
    69
    Thanked 37 Times in 19 Posts
    are you using a Virtual mashine? Do you have windows 7? If yes...vs 2005 will not work on that...use 2008 instead!

  4. #3
    Founder
    Join Date
    Nov 2006
    Location
    Stockholm
    Posts
    2,876
    Thanks
    133
    Thanked 261 Times in 77 Posts
    Are you sure? Because while installing the SDK it told me that I needed 2005 SP1. Yes, I use Windows 7.
    Can't wait to play with the Meizu MX!

  5. #4
    Senior Member
    Join Date
    Nov 2009
    Location
    Germany
    Posts
    409
    Thanks
    69
    Thanked 37 Times in 19 Posts
    Quote Originally Posted by Err0r View Post
    Are you sure? Because while installing the SDK it told me that I needed 2005 SP1. Yes, I use Windows 7.
    tried it yesterday...wanted to create my 1st app too...the installation works...after starting vs 2005 the first time vs told me that the c++ plugin is not installed....

    ..so you can try it yourself..but iīm pretty sure that i will not work!

    EDIT: there is an tutorial here in the forum...it tells you only to install the original version...nothing said about SP1 or something...didnīt figure it out so far...downloading vs 2008 and will try it again...

    Iīll hope i can start to programm in the evening...

  6. #5
    Founder
    Join Date
    Nov 2006
    Location
    Stockholm
    Posts
    2,876
    Thanks
    133
    Thanked 261 Times in 77 Posts
    Does the M8 SDK work with VS 2008? Is SP1 needed?

    Edit: Downloading Visual Studio 2008 Professional instead.
    Last edited by Err0r; 02-10-2010 at 03:49 PM.
    Can't wait to play with the Meizu MX!

  7. #6
    Senior Member
    Join Date
    Nov 2009
    Location
    Germany
    Posts
    409
    Thanks
    69
    Thanked 37 Times in 19 Posts
    Quote Originally Posted by Err0r View Post
    Does the M8 SDK work with VS 2008? Is SP1 needed?
    iīll tell you later..first have to download vs 2008...it will take a while

    EDIT: what speed do you have? How long will it take to download? I just started to download ...so with 320 kb/s it will take a while ;(
    Last edited by Stopthewar; 02-10-2010 at 03:54 PM.

  8. #7
    Senior Member
    Join Date
    Jan 2010
    Location
    Netherlands, Drenthe
    Posts
    336
    Thanks
    11
    Thanked 78 Times in 29 Posts
    When you start, can't you use screenrecorder ?
    So we can watch ?

  9. #8
    Administrator
    Join Date
    May 2007
    Posts
    3,191
    Thanks
    17
    Thanked 32 Times in 29 Posts
    followers+=1
    BatMan, the free video converter for Meizu players. Problems ? English First Aid here. Deutsche Erste Hilfe hier.
    Join the Meizume Chatroom at irc://irc.moofspeak.net/meizume ! Firefox Users : get the Chatzilla Plugin. Other Browsers : use this web client.

  10. #9
    Senior Member
    Join Date
    Nov 2009
    Location
    Germany
    Posts
    409
    Thanks
    69
    Thanked 37 Times in 19 Posts
    Quote Originally Posted by BobbyQ View Post
    followers+=1
    int followers = 0; //Donīt forget that

  11. #10
    Founder
    Join Date
    Nov 2006
    Location
    Stockholm
    Posts
    2,876
    Thanks
    133
    Thanked 261 Times in 77 Posts
    Quote Originally Posted by Stopthewar View Post
    EDIT: what speed do you have? How long will it take to download? I just started to download ...so with 320 kb/s it will take a while ;(
    Using Microsoft's tool, which doesn't show speed. Currently at 79%.
    Can't wait to play with the Meizu MX!

  12. #11
    Senior Member
    Join Date
    Nov 2009
    Location
    Germany
    Posts
    409
    Thanks
    69
    Thanked 37 Times in 19 Posts
    Quote Originally Posted by Err0r View Post
    Using Microsoft's tool, which doesn't show speed. Currently at 79%.
    you downloading the express version? They donīt work either ....only professional! Iīm sorry for you....

  13. #12
    Founder
    Join Date
    Nov 2006
    Location
    Stockholm
    Posts
    2,876
    Thanks
    133
    Thanked 261 Times in 77 Posts
    I am downloading Professional through MSDN Academic Alliance.
    Can't wait to play with the Meizu MX!

  14. #13
    Moderator
    Join Date
    Mar 2008
    Location
    Germany
    Posts
    1,723
    Thanks
    96
    Thanked 358 Times in 141 Posts
    Code:
    followers += 1;
    
    #ifdef NEEDHELP
    #define CRIMSONISHELPER
    #endif
    xD

    nerdy...

    btw: use professional 2008 too, works good
    Last edited by crimson05; 02-10-2010 at 07:36 PM.
    [Meizu M8 - FAQ] [Meizu M9 Tips and Tricks]

    No Support over PM. Please use the Forum.

  15. #14
    Senior Member
    Join Date
    Dec 2009
    Location
    Victoria, Australia
    Posts
    366
    Thanks
    39
    Thanked 26 Times in 18 Posts
    So what are you planning on making?

    I reckon progress would be good to see for people like me with zero programming skills, shame the only progress so far is figuring out what to download

  16. #15
    Valued Member
    Join Date
    Aug 2008
    Location
    Belgium
    Posts
    2,434
    Thanks
    127
    Thanked 189 Times in 130 Posts
    Some kind of rss news feed reader especially for meizume.com would be cool :P

    Goodluck with the coding Error!
    It will be nice to follow it

  17. #16
    Founder
    Join Date
    Nov 2006
    Location
    Stockholm
    Posts
    2,876
    Thanks
    133
    Thanked 261 Times in 77 Posts
    Success! I've made two small apps based on samples, will share something tomorrow.

    However, I have a question, what are the four variables in SetPos? Like...
    Code:
        m_btn.SetPos(100,250,280,100);
    I noticed that changing the last numerical value moves the item vertically, but not pixel for pixel?
    Can't wait to play with the Meizu MX!

  18. #17
    Member
    Join Date
    Apr 2009
    Posts
    116
    Thanks
    58
    Thanked 14 Times in 5 Posts
    Quote Originally Posted by Err0r View Post
    Success! I've made two small apps based on samples, will share something tomorrow.

    However, I have a question, what are the four variables in SetPos? Like...
    Code:
        m_btn.SetPos(100,250,280,100);
    I noticed that changing the last numerical value moves the item vertically, but not pixel for pixel?
    Just click on "SetPos" with your mouse and then in the left down corner on "Codedefinitionwindow" or something like that (I don't use english version). The you will see how the function is defined and where...

    There you can see:
    Code:
    virtual void SetPos(int x, int y, int w, int h, UINT flags =0);
    So the first one is x, the second y, the third width and the fourth height.
    Generally:
    x and y are the starting coordinates in most languages/cases. I think the way this picture shows: http://et.bgcbellevue.org/logo/img/c...ate-system.png

    Like x goes right/left, y up/down.

    width and height are defining how big the "object" should be. Like 20px long/bride and 5px high

    I hope you are able to understand my poor english at this late time xD

  19. #18
    Founder
    Join Date
    Nov 2006
    Location
    Stockholm
    Posts
    2,876
    Thanks
    133
    Thanked 261 Times in 77 Posts
    Played around with samples, and managed to hack something together (attached).

    Too bad the documentation isn't available in English. How do you print something in plain text (printf)?
    Attached Files
    Can't wait to play with the Meizu MX!

  20. #19
    Senior Member
    Join Date
    Nov 2009
    Location
    Germany
    Posts
    409
    Thanks
    69
    Thanked 37 Times in 19 Posts
    printf : this is a print in the command-line...if its that what you want?

    example:

    int test123 = 123;
    char asd = 'a';

    printf("this is a test. No: %i!!! \n %s is good", test123, asd );

    output:

    this is a test.No 123!!!
    a is good
    Last edited by Stopthewar; 02-11-2010 at 08:39 AM.

  21. #20
    Founder
    Join Date
    Nov 2006
    Location
    Stockholm
    Posts
    2,876
    Thanks
    133
    Thanked 261 Times in 77 Posts
    Aha, no. I want to write plain text. Do you know the command? Did you install VS2008 yet?

    I guess the commands beginning with "m_" are defined somewhere? Where?
    Can't wait to play with the Meizu MX!


 

Similar Threads

  1. Creating modified xip.bin
    By cybermessiah in forum Modding & Development
    Replies: 7
    Last Post: 01-28-2010, 03:02 PM
  2. Replies: 1
    Last Post: 06-03-2009, 03:36 AM
  3. [Follow Me]How To:Use DFU tools
    By Da_Vinci in forum Technical
    Replies: 20
    Last Post: 07-15-2008, 08:16 AM
  4. Creating Music Folders
    By Stimpeh in forum Technical
    Replies: 2
    Last Post: 11-14-2007, 10:32 AM
  5. Need help creating a DVD from these files.
    By Borat in forum General Chat
    Replies: 0
    Last Post: 10-07-2007, 12:56 PM