Join Today
Page 4 of 6 FirstFirst 123456 LastLast
Results 31 to 40 of 58
Like Tree2Likes

Thread: The way to E6/A1200 Native EZX Application

  1. #31

    Default

    I don't know much about debugging and QT/C++ object. but I done ZApplication.h by rewrite ZApplication class. with a samr7 zapplication.h template from dev-ezx and from qapplicaion.h from qt2.3 embended soruce code.

    ZApplication is inherited from QApplication

    many class in libezxbase.so inherited from common qt object. we need to rewrite our own header file to use them in C++ complier.

    after that I try to compile application with header file to test it.

    but some function motorola extend from common qt-embendded. so we need to find out which each parameter is?


    I think. for easy development in the future. we need our own widgets. so we don't need to wait for motorola official SDK anymore. we maintain it and adapt it when a new model came out. only special phone API that we need to hack from libraries.

    what i think is
    1. wrapper all Widgets by qt-2.3 source code + donga wrapper technic. we got to create native application with GUI.

    2. hacking all phone API from libraries like phone call, skin and iconres, bluetooth, email, sms, etc. I think they doesn't inherited from qt. this is very difficult path to success it.


    after this we 'll not need motorola EZX SDK anymore.

    How do anyone think about this idea?
    Visit my Blog here.http://my.opera.com/eakrin

  2. #32

    Default

    About wrapping:
    Here is a method of wrapping QT 4 apps on E680/A780 phones. Now I'm working on my environment (setting up cygwin etc). After that i'm planning to make this wrapper work on E6.
    I think that the main challenge is to develop an easy way to port some kind of apps (like QT4) to our phones.

  3. #33
    Join Date
    Jul 2007
    Location
    Samut Prakarn, Thailand
    Posts
    79

    Default

    @eakrin
    Agreed, but be best job if we can wrap the QWidget first. I mean if we can generate the QWidget header (qwidget.h) for work fine on our app first.

    @lavelas
    Do you mean that run QT4 on seperate environment of EZX like OPIE for EZX ?
    For my target, i need the real native EZX base app runs on the same environment of the other EZX apps (Yess, it very very difficult ).
    Last edited by donga; 10-17-2007 at 03:09 PM.
    Sad but TRUE and Nothing else matter about Native EZX SDK , How to ROKR ?

  4. #34
    Join Date
    Sep 2005
    Location
    Jakarta, Indonesia
    Posts
    1,091

    Default

    @lavelas
    eXMMS for A1200/E6 using qte-2.3.10 as GUI library and the native qapplication and qwidget as event catcher only.

  5. #35

    Default

    @donga, it's difficult and there will be no easy way to port already written apps (like qte) to the EZX platform.

    @blackhawk, is the original source code have been developed using qte-2.3.10? If so - your event catcher is almost that wrapper i told except it is for qte-2.3.10 (not for qte4).

  6. #36
    Join Date
    Sep 2005
    Location
    Jakarta, Indonesia
    Posts
    1,091

    Default

    eXMMS can compiled and running using qte-2.3.6, E680i/A780 ezx library, qte-2.3.10, and qt-3.x.x on Fedora desktop

  7. #37

    Default

    At last I founded my time to make my cygwin environment work. Donga, you've made a great job. One thing that bothering me: why can't we derive classes from ZMainWidget? There must be a reason of this seg fault.

    Also I've made some investigation of libezxappbase.so and found some functions that are not described at header files. I've describe this functions at my local copy of zapplication.h, but I'm wondering where to publish this results? Is there a place where we can share our workaround of dev-ezx? If not, maybe we can create it ourselves?
    Last edited by lavelas; 10-22-2007 at 05:50 AM.

  8. #38

    Question

    great job!
    but how to use the class QEListBoxItem ?
    my code:
    void QEAppTemplate::setupContent()
    {
    QEUTIL_ListBox *list = new QEUTIL_ListBox ("ListBox", contentWidget ());
    ((QScrollView*)contentWidget())->addChild(list->widget());

    QEListBoxItem *item1 = new QEListBoxItem (0, "ltem1");
    list->show ();
    }

    the program seg fault when new QEListBoxItem, appreciate for replay, thx a lot.

  9. #39

    Post

    I modified my code:
    void QEAppTemplate::setupContent()
    {
    QEUTIL_ListBox *list = new QEUTIL_ListBox ("ListBox", contentWidget ());
    ((QScrollView*)contentWidget())->addChild(list->widget());

    item1 = new QEListBoxItem (list->widget (), "list item1", 0, TRUE);
    list->insertItem (item1);

    item2 = new QEListBoxItem (list->widget (), "list item2", 0, TRUE);
    list->insertItem (item2);
    list->show ();
    }
    when I delete the statment "list->insertItem (item2)", it works,but when I add this statment, the program still crashed, I can only add one item into the listbox?

  10. #40

    Default

    So... can anyone port EzxEmu to a1200/E6 now ?


 
Page 4 of 6 FirstFirst 123456 LastLast

Similar Threads

  1. Native EZX messenger-GAIM,etc..
    By naset in forum Development
    Replies: 51
    Last Post: 02-08-2010, 09:42 PM
  2. Native ezx app/code sharing, tips and tricks
    By rpconnect in forum Development Stickys
    Replies: 50
    Last Post: 11-01-2007, 12:30 PM
  3. All application (Soft, Game and more) for EZX linux phone
    By boy_dn in forum E680i General Chat
    Replies: 5
    Last Post: 02-11-2007, 04:24 PM
  4. porting Opie application to ezx problem.
    By eakrin in forum Development
    Replies: 2
    Last Post: 06-26-2006, 11:30 PM
  5. anyone has IM native application
    By sky2k in forum E680i General Chat
    Replies: 1
    Last Post: 01-06-2006, 05:53 PM

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