Forums | developer.brewmp.com Forums | developer.brewmp.com

Developer

Forums

Forums:

Hi

I 'm using Moto Razr V3C for testing a widget based application.The handset is already test enabled and having brew sdk version 3.1.2 but on executing the application on the device i 'm encountering the error

Application Digital Signature Failure 1026.

According to AEEError.h file the error code 1026 results whenever sig file is missing in the application but the issue is that the normal application ie those don't use widgets and forms are running fine on the device. Is this a device specific issue?

Forms and Widgets works on V3C ... But you need to load these two extensions first onto the handsets and then try your app that uses these two extensions.
The below link might help you..
Quote:http://brewforums.qualcomm.com/showthread.php?t=15139&highlight=V3C%2A

Forms and Widgets works on V3C ... But you need to load these two extensions first onto the handsets and then try your app that uses these two extensions.
The below link might help you..
Quote:http://brewforums.qualcomm.com/showthread.php?t=15139&highlight=V3C%2A

Hi
Brewin
Let me describe the problem more.
When I loaded a simple widget application on V3c along with forms.mod and widget.mod, I got the error:Application Digital Signature Failed(1026).
And when I loaded the simple widget application without forms.mod and widget.mod, the device gets hanged whenever i am trying to execute the application.

Hi
Brewin
Let me describe the problem more.
When I loaded a simple widget application on V3c along with forms.mod and widget.mod, I got the error:Application Digital Signature Failed(1026).
And when I loaded the simple widget application without forms.mod and widget.mod, the device gets hanged whenever i am trying to execute the application.

Hi Paryag,
Today I have complied the sample "calculator" app from qualcomm with WINArm 4.1.2. And I loaded the following files on the V3C test bit enabled device(TATA Network, India).
1. mod/forms/forms.mod , mod/forms/forms.sig
2. mod/widgets/widgets.mod , mod/widgets/widgets.sig
3. mod/calculator/calculator.mod , mod/calculator/calculator.sig , mod/calculator/calculator.bar , mod/calculator/theme.bar
4. mif/forms.mif , mif/widgets.mif , mif/calculator.mif
I reset the handset and run the calculator app, its working one thing is missing i.e addition and equal sign's are not displaying when there are selected.(Any way my intension is only to check the app support on the device)

Hi Paryag,
Today I have complied the sample "calculator" app from qualcomm with WINArm 4.1.2. And I loaded the following files on the V3C test bit enabled device(TATA Network, India).
1. mod/forms/forms.mod , mod/forms/forms.sig
2. mod/widgets/widgets.mod , mod/widgets/widgets.sig
3. mod/calculator/calculator.mod , mod/calculator/calculator.sig , mod/calculator/calculator.bar , mod/calculator/theme.bar
4. mif/forms.mif , mif/widgets.mif , mif/calculator.mif
I reset the handset and run the calculator app, its working one thing is missing i.e addition and equal sign's are not displaying when there are selected.(Any way my intension is only to check the app support on the device)

Hi,
Just a few things i encountered when working with this device.
1. if the digital sign failed error comes, check the following
- the sig is for the proper handset esn or meid
- the phone's date is not set to be older than your sig file or is not more than 1 year old than your sig file date.
Sig files are generated for a year and then need changing.
2. When you load an app to the handset through Apploader, reset the handset and then test.
If the phone boots up in BREW, then the module information is already read.. this causes problems at times. hence it's always good to reset the handset.
My 2 pence.. :-)
Thanks,
Ash

Hi,
Just a few things i encountered when working with this device.
1. if the digital sign failed error comes, check the following
- the sig is for the proper handset esn or meid
- the phone's date is not set to be older than your sig file or is not more than 1 year old than your sig file date.
Sig files are generated for a year and then need changing.
2. When you load an app to the handset through Apploader, reset the handset and then test.
If the phone boots up in BREW, then the module information is already read.. this causes problems at times. hence it's always good to reset the handset.
My 2 pence.. :-)
Thanks,
Ash

Brewin wrote:Hi Paryag,
Today I have complied the sample "calculator" app from qualcomm with WINArm 4.1.2. And I loaded the following files on the V3C test bit enabled device(TATA Network, India).
1. mod/forms.mod , mod/forms.sig
2. mod/widgets.mod , mod/widgets.sig
3. mod/calculator.mod , mod/calculator.sig , mod/calculator.bar , mod/theme.bar
4. mif/forms.mif , mif/widgets.mif , mif/calculator.mif
I reset the handset and run the calculator app, its working one thing is missing i.e addition and equal sign's are not displaying when there are selected.(Any way my intension is only to check the app support on the device)
I tried the same steps u have done but still failing at my end. The app works fine on emulator. My BREW version on phone: 3.1.2.50 and development environment is 3.1.5

Brewin wrote:Hi Paryag,
Today I have complied the sample "calculator" app from qualcomm with WINArm 4.1.2. And I loaded the following files on the V3C test bit enabled device(TATA Network, India).
1. mod/forms.mod , mod/forms.sig
2. mod/widgets.mod , mod/widgets.sig
3. mod/calculator.mod , mod/calculator.sig , mod/calculator.bar , mod/theme.bar
4. mif/forms.mif , mif/widgets.mif , mif/calculator.mif
I reset the handset and run the calculator app, its working one thing is missing i.e addition and equal sign's are not displaying when there are selected.(Any way my intension is only to check the app support on the device)
I tried the same steps u have done but still failing at my end. The app works fine on emulator. My BREW version on phone: 3.1.2.50 and development environment is 3.1.5

Should'nt it be :
1. mod/forms/forms.mod , forms.sig
2. mod/widgets/widgets.mod , widgets.sig
3. mod/calculator/calculator.mod , xalculator.sig , calculator.bar , theme.bar
This is the format used for BREW 3.1.x isnt' it ?
Quote:1. mod/forms.mod , mod/forms.sig
2. mod/widgets.mod , mod/widgets.sig
3. mod/calculator.mod , mod/calculator.sig , mod/calculator.bar , mod/theme.bar

Should'nt it be :
1. mod/forms/forms.mod , forms.sig
2. mod/widgets/widgets.mod , widgets.sig
3. mod/calculator/calculator.mod , xalculator.sig , calculator.bar , theme.bar
This is the format used for BREW 3.1.x isnt' it ?
Quote:1. mod/forms.mod , mod/forms.sig
2. mod/widgets.mod , mod/widgets.sig
3. mod/calculator.mod , mod/calculator.sig , mod/calculator.bar , mod/theme.bar

ash_123 wrote:Should'nt it be :
1. mod/forms/forms.mod , forms.sig
2. mod/widgets/widgets.mod , widgets.sig
3. mod/calculator/calculator.mod , xalculator.sig , calculator.bar , theme.bar
This is the format used for BREW 3.1.x isnt' it ?
Even this don't work for me. Also to mention that it works fine on emulator.
Any idea?
My code:
static int InputForm_Create(firstapp *pThis )
{
IConstraintContainer *pIConstraintContainer;
WExtent extent;
AEERect rc;
IWidget *pIWidget, *pIConstraintContainerWidget;
WidgetConstraint widgetContraint = { pThis->rc.x + 10, pThis->rc.y + 10, TRUE };
WExtent size = { pThis->rc.dx - 20, (pThis->rc.dy - 20)/2 };
int result = ENOMEMORY;
if ( pThis->pIFormInput == NULL )
{
// The first part: create the form and its container.
result = ISHELL_CreateInstance( pThis->pIShell, AEECLSID_FORM, (void**)&pThis->pIFormInput );
if ( result != SUCCESS ) goto error;
result = ISHELL_CreateInstance( pThis->pIShell, AEECLSID_CONSTRAINTCONTAINER, (void**)&pIConstraintContainer );
if ( result != SUCCESS ) goto error;
result = ICONSTRAINTCONTAINER_QueryInterface( pIConstraintContainer, AEEIID_WIDGET, (void**)&pIConstraintContainerWidget );
if ( result != SUCCESS ) goto error;
ISHELL_CreateInstance(pThis->pIShell, AEECLSID_ROOTFORM, (void **)&pThis->pIRootForm);
IROOTFORM_GetClientRect(pThis->pIRootForm, NULL, &rc);
SETWEXTENT(&extent, rc.dx, rc.dy);
IWIDGET_SetExtent(pIConstraintContainerWidget, &extent);
IFORM_SetWidget(pThis->pIFormInput, WID_FORM, pIConstraintContainerWidget);
IFORM_SetText( pThis->pIFormInput, FID_TITLE, L"New IOU" );
IFORM_SetText( pThis->pIFormInput, FID_SOFTKEY1, L"Cancel" );
IFORM_SetText( pThis->pIFormInput, FID_SOFTKEY2, L"Save" );
// The second part: Create the payer/payee input field.
widgetContraint.constraint.top.type = CONSTRAINT_PARENT_TOP;
widgetContraint.constraint.top.offset = 0;
widgetContraint.constraint.left.type = CONSTRAINT_PARENT_LEFT;
widgetContraint.constraint.left.offset = 0;
widgetContraint.constraint.right.type = CONSTRAINT_PARENT_RIGHT;
widgetContraint.constraint.right.offset = 0;
widgetContraint.constraint.bottom.type = WIDGET_SIZE_TO_FIT;
widgetContraint.constraint.bottom.offset = 0;
widgetContraint.bVisible = TRUE;
//if ( pThis->nUserIsPayerOrPayee == IOU_INPUT_USER_WILL_PAY )
{
// Label
result = ISHELL_CreateInstance( pThis->pIShell, AEECLSID_STATICWIDGET, (void**)&pIWidget );
if ( result != SUCCESS ) goto error;
IWIDGET_SetExtent( pIWidget, &size );
IWIDGET_SetText( pIWidget, L"You owe", FALSE );
result = ICONSTRAINTCONTAINER_Insert( pIConstraintContainer, pIWidget, WIDGET_ZNORMAL, &widgetContraint );
IWIDGET_Release( pIWidget );
// Snuggle the widget below the previous widget.
widgetContraint.constraint.top.type = CONSTRAINT_PREV_BOTTOM;
// The person you owe the money
//result = ISHELL_CreateInstance( pThis->pIShell, AEECLSID_TEXTWIDGET, (void**)&pIWidget );
if ( result != SUCCESS ) goto error;
IWIDGET_SetExtent( pIWidget, &size );
//result = ICONSTRAINTCONTAINER_Insert( pIConstraintContainer, pIWidget, WIDGET_ZNORMAL, &widgetContraint );
// We input this name first.
IWIDGET_MoveFocus( pIConstraintContainerWidget, pIWidget );
//pThis->pIPayerPayeeWidget = pIWidget;
}
//else
{
// The person owing you the money
result = ISHELL_CreateInstance( pThis->pIShell, AEECLSID_TEXTWIDGET, (void**)&pIWidget );
if ( result != SUCCESS ) goto error;
IWIDGET_SetExtent( pIWidget, &size );
result = ICONSTRAINTCONTAINER_Insert( pIConstraintContainer, pIWidget, WIDGET_ZNORMAL, &widgetContraint );
// We input this name first.
IWIDGET_MoveFocus( pIConstraintContainerWidget, pIWidget );
//pThis->pIPayerPayeeWidget = pIWidget;
// Snuggle the widget below the previous widget.
widgetContraint.constraint.top.type = CONSTRAINT_PREV_BOTTOM;
// Label
result = ISHELL_CreateInstance( pThis->pIShell, AEECLSID_STATICWIDGET, (void**)&pIWidget );
if ( result != SUCCESS ) goto error;
IWIDGET_SetExtent( pIWidget, &size );
IWIDGET_SetText( pIWidget, L"owes you", FALSE );
result = ICONSTRAINTCONTAINER_Insert( pIConstraintContainer, pIWidget, WIDGET_ZNORMAL, &widgetContraint );
IWIDGET_Release( pIWidget );
}
// Label: Currency symbol
widgetContraint.constraint.right.type = WIDGET_SIZE_TO_FIT;
result = ISHELL_CreateInstance( pThis->pIShell, AEECLSID_STATICWIDGET, (void**)&pIWidget );
if ( result != SUCCESS ) goto error;
IWIDGET_SetExtent( pIWidget, &size );
IWIDGET_SetText( pIWidget, L"$", FALSE );
result = ICONSTRAINTCONTAINER_Insert( pIConstraintContainer, pIWidget, WIDGET_ZNORMAL, &widgetContraint );
IWIDGET_Release( pIWidget );
widgetContraint.constraint.top.offset = 0;
widgetContraint.constraint.top.type = CONSTRAINT_PREV_TOP;
widgetContraint.constraint.left.type = CONSTRAINT_PREV_RIGHT;
widgetContraint.constraint.right.type = CONSTRAINT_PARENT_RIGHT;
widgetContraint.constraint.bottom.type = WIDGET_SIZE_TO_FIT;
// The amount widget.
result = ISHELL_CreateInstance( pThis->pIShell, AEECLSID_TEXTWIDGET, (void**)&pIWidget );
if ( result != SUCCESS ) goto error;
IWIDGET_SetExtent( pIWidget, &size );
IWIDGET_SetText( pIWidget, L"0.00", FALSE );
result = ICONSTRAINTCONTAINER_Insert( pIConstraintContainer, pIWidget, WIDGET_ZNORMAL, &widgetContraint );
//pThis->pIAmountWidget = pIWidget;
RELEASEIF( pIConstraintContainer );
}
IROOTFORM_PushForm(pThis->pIRootForm, pThis->pIFormInput);
return result;
error:
RELEASEIF( pThis->pIFormInput );
RELEASEIF( pIConstraintContainer );
RELEASEIF( pIConstraintContainerWidget );
RELEASEIF( pIWidget );
return result;

ash_123 wrote:Should'nt it be :
1. mod/forms/forms.mod , forms.sig
2. mod/widgets/widgets.mod , widgets.sig
3. mod/calculator/calculator.mod , xalculator.sig , calculator.bar , theme.bar
This is the format used for BREW 3.1.x isnt' it ?
Even this don't work for me. Also to mention that it works fine on emulator.
Any idea?
My code:
static int InputForm_Create(firstapp *pThis )
{
IConstraintContainer *pIConstraintContainer;
WExtent extent;
AEERect rc;
IWidget *pIWidget, *pIConstraintContainerWidget;
WidgetConstraint widgetContraint = { pThis->rc.x + 10, pThis->rc.y + 10, TRUE };
WExtent size = { pThis->rc.dx - 20, (pThis->rc.dy - 20)/2 };
int result = ENOMEMORY;
if ( pThis->pIFormInput == NULL )
{
// The first part: create the form and its container.
result = ISHELL_CreateInstance( pThis->pIShell, AEECLSID_FORM, (void**)&pThis->pIFormInput );
if ( result != SUCCESS ) goto error;
result = ISHELL_CreateInstance( pThis->pIShell, AEECLSID_CONSTRAINTCONTAINER, (void**)&pIConstraintContainer );
if ( result != SUCCESS ) goto error;
result = ICONSTRAINTCONTAINER_QueryInterface( pIConstraintContainer, AEEIID_WIDGET, (void**)&pIConstraintContainerWidget );
if ( result != SUCCESS ) goto error;
ISHELL_CreateInstance(pThis->pIShell, AEECLSID_ROOTFORM, (void **)&pThis->pIRootForm);
IROOTFORM_GetClientRect(pThis->pIRootForm, NULL, &rc);
SETWEXTENT(&extent, rc.dx, rc.dy);
IWIDGET_SetExtent(pIConstraintContainerWidget, &extent);
IFORM_SetWidget(pThis->pIFormInput, WID_FORM, pIConstraintContainerWidget);
IFORM_SetText( pThis->pIFormInput, FID_TITLE, L"New IOU" );
IFORM_SetText( pThis->pIFormInput, FID_SOFTKEY1, L"Cancel" );
IFORM_SetText( pThis->pIFormInput, FID_SOFTKEY2, L"Save" );
// The second part: Create the payer/payee input field.
widgetContraint.constraint.top.type = CONSTRAINT_PARENT_TOP;
widgetContraint.constraint.top.offset = 0;
widgetContraint.constraint.left.type = CONSTRAINT_PARENT_LEFT;
widgetContraint.constraint.left.offset = 0;
widgetContraint.constraint.right.type = CONSTRAINT_PARENT_RIGHT;
widgetContraint.constraint.right.offset = 0;
widgetContraint.constraint.bottom.type = WIDGET_SIZE_TO_FIT;
widgetContraint.constraint.bottom.offset = 0;
widgetContraint.bVisible = TRUE;
//if ( pThis->nUserIsPayerOrPayee == IOU_INPUT_USER_WILL_PAY )
{
// Label
result = ISHELL_CreateInstance( pThis->pIShell, AEECLSID_STATICWIDGET, (void**)&pIWidget );
if ( result != SUCCESS ) goto error;
IWIDGET_SetExtent( pIWidget, &size );
IWIDGET_SetText( pIWidget, L"You owe", FALSE );
result = ICONSTRAINTCONTAINER_Insert( pIConstraintContainer, pIWidget, WIDGET_ZNORMAL, &widgetContraint );
IWIDGET_Release( pIWidget );
// Snuggle the widget below the previous widget.
widgetContraint.constraint.top.type = CONSTRAINT_PREV_BOTTOM;
// The person you owe the money
//result = ISHELL_CreateInstance( pThis->pIShell, AEECLSID_TEXTWIDGET, (void**)&pIWidget );
if ( result != SUCCESS ) goto error;
IWIDGET_SetExtent( pIWidget, &size );
//result = ICONSTRAINTCONTAINER_Insert( pIConstraintContainer, pIWidget, WIDGET_ZNORMAL, &widgetContraint );
// We input this name first.
IWIDGET_MoveFocus( pIConstraintContainerWidget, pIWidget );
//pThis->pIPayerPayeeWidget = pIWidget;
}
//else
{
// The person owing you the money
result = ISHELL_CreateInstance( pThis->pIShell, AEECLSID_TEXTWIDGET, (void**)&pIWidget );
if ( result != SUCCESS ) goto error;
IWIDGET_SetExtent( pIWidget, &size );
result = ICONSTRAINTCONTAINER_Insert( pIConstraintContainer, pIWidget, WIDGET_ZNORMAL, &widgetContraint );
// We input this name first.
IWIDGET_MoveFocus( pIConstraintContainerWidget, pIWidget );
//pThis->pIPayerPayeeWidget = pIWidget;
// Snuggle the widget below the previous widget.
widgetContraint.constraint.top.type = CONSTRAINT_PREV_BOTTOM;
// Label
result = ISHELL_CreateInstance( pThis->pIShell, AEECLSID_STATICWIDGET, (void**)&pIWidget );
if ( result != SUCCESS ) goto error;
IWIDGET_SetExtent( pIWidget, &size );
IWIDGET_SetText( pIWidget, L"owes you", FALSE );
result = ICONSTRAINTCONTAINER_Insert( pIConstraintContainer, pIWidget, WIDGET_ZNORMAL, &widgetContraint );
IWIDGET_Release( pIWidget );
}
// Label: Currency symbol
widgetContraint.constraint.right.type = WIDGET_SIZE_TO_FIT;
result = ISHELL_CreateInstance( pThis->pIShell, AEECLSID_STATICWIDGET, (void**)&pIWidget );
if ( result != SUCCESS ) goto error;
IWIDGET_SetExtent( pIWidget, &size );
IWIDGET_SetText( pIWidget, L"$", FALSE );
result = ICONSTRAINTCONTAINER_Insert( pIConstraintContainer, pIWidget, WIDGET_ZNORMAL, &widgetContraint );
IWIDGET_Release( pIWidget );
widgetContraint.constraint.top.offset = 0;
widgetContraint.constraint.top.type = CONSTRAINT_PREV_TOP;
widgetContraint.constraint.left.type = CONSTRAINT_PREV_RIGHT;
widgetContraint.constraint.right.type = CONSTRAINT_PARENT_RIGHT;
widgetContraint.constraint.bottom.type = WIDGET_SIZE_TO_FIT;
// The amount widget.
result = ISHELL_CreateInstance( pThis->pIShell, AEECLSID_TEXTWIDGET, (void**)&pIWidget );
if ( result != SUCCESS ) goto error;
IWIDGET_SetExtent( pIWidget, &size );
IWIDGET_SetText( pIWidget, L"0.00", FALSE );
result = ICONSTRAINTCONTAINER_Insert( pIConstraintContainer, pIWidget, WIDGET_ZNORMAL, &widgetContraint );
//pThis->pIAmountWidget = pIWidget;
RELEASEIF( pIConstraintContainer );
}
IROOTFORM_PushForm(pThis->pIRootForm, pThis->pIFormInput);
return result;
error:
RELEASEIF( pThis->pIFormInput );
RELEASEIF( pIConstraintContainer );
RELEASEIF( pIConstraintContainerWidget );
RELEASEIF( pIWidget );
return result;

I build the app in thumb mode(winarm 4.1.2) with BREW 2.1.3 SDK (I don't thing this might help you, generally I build all my apps with 2.1.3 only all 3.x INC and SRC files are copied into my 2.1.3 SDK folders respectively).
Anyway, If you can post your sample app package here then I will check it and let you know the status.

I build the app in thumb mode(winarm 4.1.2) with BREW 2.1.3 SDK (I don't thing this might help you, generally I build all my apps with 2.1.3 only all 3.x INC and SRC files are copied into my 2.1.3 SDK folders respectively).
Anyway, If you can post your sample app package here then I will check it and let you know the status.

ash_123 wrote:Should'nt it be :
1. mod/forms/forms.mod , forms.sig
2. mod/widgets/widgets.mod , widgets.sig
3. mod/calculator/calculator.mod , xalculator.sig , calculator.bar , theme.bar
This is the format used for BREW 3.1.x isnt' it ?
Yes this is the format that any version of BREW will use for storing module package.
By mistake, I didn't include the package folder name.

ash_123 wrote:Should'nt it be :
1. mod/forms/forms.mod , forms.sig
2. mod/widgets/widgets.mod , widgets.sig
3. mod/calculator/calculator.mod , xalculator.sig , calculator.bar , theme.bar
This is the format used for BREW 3.1.x isnt' it ?
Yes this is the format that any version of BREW will use for storing module package.
By mistake, I didn't include the package folder name.

Attaching the only file in the project other than AEEAppGen.c and AEEModGen.c

Attaching the only file in the project other than AEEAppGen.c and AEEModGen.c

I don't think it's an issue with your code. So please dont' upload code.. at max just upload binaries.
- Have you used the sig file with any other app and it works ?
- Do you have any other device you can test on ?
-Ash

I don't think it's an issue with your code. So please dont' upload code.. at max just upload binaries.
- Have you used the sig file with any other app and it works ?
- Do you have any other device you can test on ?
-Ash

non-widget applications are working fine. So sig files are fine I guess.
Rest all is zipped with firstapp.zip
Not included are the widgets and forms which are generic (i.e., BREW UI Widgets 1.3.2)
Currently I have two devices with older BREW versions.

non-widget applications are working fine. So sig files are fine I guess.
Rest all is zipped with firstapp.zip
Not included are the widgets and forms which are generic (i.e., BREW UI Widgets 1.3.2)
Currently I have two devices with older BREW versions.

You App has started, but the display is like below
Quote:
N
Y
Rectangle Box
Highlighted Rectangle Box
o
$ rectangle box with 0 as content
C------------------------------ S
Where ------------------------- is just spaces.(Soft keys, I am unable to position this so used "----------------")

You App has started, but the display is like below
Quote:
N
Y
Rectangle Box
Highlighted Rectangle Box
o
$ rectangle box with 0 as content
C------------------------------ S
Where ------------------------- is just spaces.(Soft keys, I am unable to position this so used "----------------")

Then it could be that some mod files are missings..
widgets.mod
forms.mod
fonts ?
Can you see the output log ? Is there a gST coming with your app class id ?
Check the logs and you can possibly see what is going wrong.

Then it could be that some mod files are missings..
widgets.mod
forms.mod
fonts ?
Can you see the output log ? Is there a gST coming with your app class id ?
Check the logs and you can possibly see what is going wrong.

Hi Brewin and ash 123
thanks for your replies...but the problem is still persist
I just creating a simple application containing only a RootForm and a Form and some text on title , and softkeys of the form(just for testing).After loading the files(above mentions by Brewin 1,2,3.) and my application files into the device (V3c) ,the Digital Signature Failure Error(1026) is solved now , but whenever I executed my mif in device (V3c) an Unknown Error (3) occoured.
I have search the forum for the error and found that the error comes when the mif class id and the class id which is used in the code are mismatch,but these two are same in my case. So i can't recognize where is the problem actually!
Also, one strange thing is happening there , whenever I loaded the forms.mif and widget.mif in the device, these loaded successfully but when I reset the device ,the forms.mif and widget.mif are removed now from the mif dir of the device.
What could be the reason behind that.(I am using BREW SDK3.1.5 and BREW UIW 2.0.1)
waiting for your replies...... :confused:

Hi Brewin and ash 123
thanks for your replies...but the problem is still persist
I just creating a simple application containing only a RootForm and a Form and some text on title , and softkeys of the form(just for testing).After loading the files(above mentions by Brewin 1,2,3.) and my application files into the device (V3c) ,the Digital Signature Failure Error(1026) is solved now , but whenever I executed my mif in device (V3c) an Unknown Error (3) occoured.
I have search the forum for the error and found that the error comes when the mif class id and the class id which is used in the code are mismatch,but these two are same in my case. So i can't recognize where is the problem actually!
Also, one strange thing is happening there , whenever I loaded the forms.mif and widget.mif in the device, these loaded successfully but when I reset the device ,the forms.mif and widget.mif are removed now from the mif dir of the device.
What could be the reason behind that.(I am using BREW SDK3.1.5 and BREW UIW 2.0.1)
waiting for your replies...... :confused:

I have seen this issue with V3C, some possible reasons are :
1. sig files are incorrect
2. date on handset is incorrect
3. mif file is wrong - check size of mif file
4. if none of the above work, use class id of already runnign app on the device and test
-ash
Prayag wrote:
Also, one strange thing is happening there , whenever I loaded the forms.mif and widget.mif in the device, these loaded successfully but when I reset the device ,the forms.mif and widget.mif are removed now from the mif dir of the device.
What could be the reason behind that.(I am using BREW SDK3.1.5 and BREW UIW 2.0.1)

I have seen this issue with V3C, some possible reasons are :
1. sig files are incorrect
2. date on handset is incorrect
3. mif file is wrong - check size of mif file
4. if none of the above work, use class id of already runnign app on the device and test
-ash
Prayag wrote:
Also, one strange thing is happening there , whenever I loaded the forms.mif and widget.mif in the device, these loaded successfully but when I reset the device ,the forms.mif and widget.mif are removed now from the mif dir of the device.
What could be the reason behind that.(I am using BREW SDK3.1.5 and BREW UIW 2.0.1)

Hi, ash 123
I have loaded the following files in my V3c device
1. mod/forms/forms.mod and mod/forms/forms.sig
2. mod/widgets/widgets.mod and mod/widgets/widgets.sig
3 mif/forms.mif and mif/widget.mif
4 mod/myapp/myapp.mod, mod/myapp/myapp.sig and mif/myapp.mif
and when I executed my application, there is no any errors and for a miliseconds a white screen is appear and after that the device is reset.
There are two folders in the forms/widgets dir for mod in installed directory ADS12_ARM7 and RVCT21_ARM9 and I have loaded the ADS12_ARM7 mod files. Also I generate my application mod file (myapp .mod) files with gnude-arm-win cross compiler.
Is there is any mif releated setting ,which I have to set ?(like dependencies ).

Hi, ash 123
I have loaded the following files in my V3c device
1. mod/forms/forms.mod and mod/forms/forms.sig
2. mod/widgets/widgets.mod and mod/widgets/widgets.sig
3 mif/forms.mif and mif/widget.mif
4 mod/myapp/myapp.mod, mod/myapp/myapp.sig and mif/myapp.mif
and when I executed my application, there is no any errors and for a miliseconds a white screen is appear and after that the device is reset.
There are two folders in the forms/widgets dir for mod in installed directory ADS12_ARM7 and RVCT21_ARM9 and I have loaded the ADS12_ARM7 mod files. Also I generate my application mod file (myapp .mod) files with gnude-arm-win cross compiler.
Is there is any mif releated setting ,which I have to set ?(like dependencies ).

Hi Brewin ,ash123 and uvwx,
When I loaded only a widget based application in my device(V3c) it works fine.But when I loaded an application which is based on forms and widget , the device get hanged.
I debug my application with Brew Logger and found that the device could not able to allocate memory, those controls which are based on forms extension(ie IRootForm,IForm etc) and allocate memory successfully to widget base controls(ie Static Widget).
I could not find any valid reason for this behavior of the device. I tried with both the version of BREW UIW 1.4.0 and 2.0.1.Is there is any problem regarding my application mif file and it is necessary to set the dependencies in the mif file?
waiting for your replies..... :confused:

Hi Brewin ,ash123 and uvwx,
When I loaded only a widget based application in my device(V3c) it works fine.But when I loaded an application which is based on forms and widget , the device get hanged.
I debug my application with Brew Logger and found that the device could not able to allocate memory, those controls which are based on forms extension(ie IRootForm,IForm etc) and allocate memory successfully to widget base controls(ie Static Widget).
I could not find any valid reason for this behavior of the device. I tried with both the version of BREW UIW 1.4.0 and 2.0.1.Is there is any problem regarding my application mif file and it is necessary to set the dependencies in the mif file?
waiting for your replies..... :confused:

Check the minimum requirements for running BUIW 1.4 and uione 1.2 on the device.
I think the brew version min is 3.1.5 while v3c runs brew 3.1.2

Check the minimum requirements for running BUIW 1.4 and uione 1.2 on the device.
I think the brew version min is 3.1.5 while v3c runs brew 3.1.2

Hi, ash 123
I have search the forum and find that BREW UIW is supported from BREW version 3.x and later, and Moto V3c set contain 3.1.2 version.Also the widget based application executed fine in the device . In my case the device is unable to allocate memory to form base controls(ie AEECLSID_ROOTFORM,AEECLSID_FORM etc).

Hi, ash 123
I have search the forum and find that BREW UIW is supported from BREW version 3.x and later, and Moto V3c set contain 3.1.2 version.Also the widget based application executed fine in the device . In my case the device is unable to allocate memory to form base controls(ie AEECLSID_ROOTFORM,AEECLSID_FORM etc).

Brewin wrote:You App has started, but the display is like below
Where ------------------------- is just spaces.(Soft keys, I am unable to position this so used "----------------")
Hi Brewin,
Did you make your own mod file or you used the mod file in my attachment.
If You are making your own mod file can you please send it across. Are you testing it on V3C or any other device and what is the BREW version on it.
Also the development environment brew version on your machine ??

Brewin wrote:You App has started, but the display is like below
Where ------------------------- is just spaces.(Soft keys, I am unable to position this so used "----------------")
Hi Brewin,
Did you make your own mod file or you used the mod file in my attachment.
If You are making your own mod file can you please send it across. Are you testing it on V3C or any other device and what is the BREW version on it.
Also the development environment brew version on your machine ??

uvwx wrote:Hi Brewin,
Did you make your own mod file or you used the mod file in my attachment.
Are you testing it on V3C or any other device and what is the BREW version on it.
I used the mod file from your attachment, which I tested on V3C which is a BREW 3.1.2 device.

uvwx wrote:Hi Brewin,
Did you make your own mod file or you used the mod file in my attachment.
Are you testing it on V3C or any other device and what is the BREW version on it.
I used the mod file from your attachment, which I tested on V3C which is a BREW 3.1.2 device.

Hi ,Brewin
I have also tested with the firstapp, which is uploaded by uvwx but can't success. Actually my device(V3c) is unable to allocate memory to form based application whereases it works fine on widget based application.
please send me some code example along with the .mod and mif files so that I can test it with the device.
waiting for your replies........ :confused:

Hi ,Brewin
I have also tested with the firstapp, which is uploaded by uvwx but can't success. Actually my device(V3c) is unable to allocate memory to form based application whereases it works fine on widget based application.
please send me some code example along with the .mod and mif files so that I can test it with the device.
waiting for your replies........ :confused:

Hi,
thanks for your replies....
Now I have solve the problem and the BREW UI Widget and forms application are running successfully in My Device (V3c).

Hi,
thanks for your replies....
Now I have solve the problem and the BREW UI Widget and forms application are running successfully in My Device (V3c).

What was the solution ?
-ash
Prayag wrote:Hi,
thanks for your replies....
Now I have solve the problem and the BREW UI Widget and forms application are running successfully in My Device (V3c).

What was the solution ?
-ash
Prayag wrote:Hi,
thanks for your replies....
Now I have solve the problem and the BREW UI Widget and forms application are running successfully in My Device (V3c).

:) Hi ash,
I reload the Form and Widget extension again in the device and after that its working fine.I think there is a problem in the Widget and Form extension which is loaded on my device earlier.

:) Hi ash,
I reload the Form and Widget extension again in the device and after that its working fine.I think there is a problem in the Widget and Form extension which is loaded on my device earlier.