BREW Forums  
Go Back   BREW Forums > BREW Technical Discussions > BREW 2.1
User Name
Password
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read


Reply
 
Thread Tools Search this Thread Rate Thread Display Modes
  #1  
Old 03-15-2006, 11:53 AM
bhamu bhamu is offline
Registered User
 
Join Date: Dec 2005
Posts: 15
Rep Power: 0
bhamu is on a distinguished road
How To Read the MIF files of other applications

I was asked to develop an application which reads all the application MIF files that are on the phone and see if the license type is Subsciption or 1 time purchase and keep track of that information, which can be used later by the carrier to update the new devise with the application when a customer changes handset. Is this possible to this. If so, how can I achieve this.
Reply With Quote
  #2  
Old 03-15-2006, 01:07 PM
xacheng xacheng is offline
Registered User
 
Join Date: Dec 2003
Posts: 216
Rep Power: 6
xacheng is off the scale
Send a message via MSN to xacheng Send a message via Yahoo to xacheng
try ISHELL_EnumAppletInit(IShell * pIShell)
and ISHELL_EnumNextApplet(IShell * pIShell, AEEAppInfo * pai)
__________________
- Xin An Cheng

BREW is good for life.
Reply With Quote
  #3  
Old 03-16-2006, 08:29 AM
bhamu bhamu is offline
Registered User
 
Join Date: Dec 2005
Posts: 15
Rep Power: 0
bhamu is on a distinguished road
Hi

The api gives the enumeration of all the application. The AEEAppInfo has a pszMIF which actually gives the app resource instead of MIF. What I am looking is the info in MIF file itself, more specifically what kind of license it has. Also, is the wIDBase is the id which I can use if I have to use mobileshop to get to the item?
Reply With Quote
  #4  
Old 03-16-2006, 09:09 AM
Skavenger's Avatar
Skavenger Skavenger is offline
Registered User
 
Join Date: May 2004
Posts: 460
Rep Power: 6
Skavenger is off the scale
Quote:
The api gives the enumeration of all the application. The AEEAppInfo has a pszMIF which actually gives the app resource instead of MIF. What I am looking is the info in MIF file itself, more specifically what kind of license it has. Also, is the wIDBase is the id which I can use if I have to use mobileshop to get to the item?


No wBaseID is an offset into the info into AEEAppInfo to get information. See AEEShell.h and...

Code:
// // Standard Applet Resource Offsets - These offsets begin at AEEAppInfo.wIDBase. // #define IDR_NAME_OFFSET 0 #define IDR_ICON_OFFSET 1 #define IDR_IMAGE_OFFSET 2 #define IDR_THUMB_OFFSET 3 #define IDR_SETTINGS_OFFSET 4 #define IDR_VERSION_OFFSET 5 #define IDR_ENVIRONMENT_OFFSET 6 #define IDR_OFFSET_STEP 20 // // Applet Resource Macros // #define APPR_NAME(ai) (uint16)(((ai).wIDBase + IDR_NAME_OFFSET)) #define APPR_ICON(ai) (uint16)(((ai).wIDBase + IDR_ICON_OFFSET)) #define APPR_IMAGE(ai) (uint16)(((ai).wIDBase + IDR_IMAGE_OFFSET)) #define APPR_THUMB(ai) (uint16)(((ai).wIDBase + IDR_THUMB_OFFSET)) #define APPR_SETTINGS(ai) (uint16)(((ai).wIDBase + IDR_SETTINGS_OFFSET)) #define APPR_VERSION(ai) (uint16)(((ai).wIDBase + IDR_VERSION_OFFSET)) #define APPR_ENVIRONMENT(ai) (uint16)(((ai).wIDBase + IDR_ENVIRONMENT_OFFSET))
__________________
- Skavenger
Reply With Quote
  #5  
Old 03-16-2006, 09:52 AM
bhamu bhamu is offline
Registered User
 
Join Date: Dec 2005
Posts: 15
Rep Power: 0
bhamu is on a distinguished road
wBaseID

Thank you. How do I exactly use these MACROS after getting the applet info. If I want to get the NAME of the application how do I do this. Is there any way to get to read MIF file itself.
Reply With Quote
  #6  
Old 03-16-2006, 09:55 AM
Skavenger's Avatar
Skavenger Skavenger is offline
Registered User
 
Join Date: May 2004
Posts: 460
Rep Power: 6
Skavenger is off the scale
__________________
- Skavenger
Reply With Quote
  #7  
Old 03-16-2006, 01:34 PM
bhamu bhamu is offline
Registered User
 
Join Date: Dec 2005
Posts: 15
Rep Power: 0
bhamu is on a distinguished road
No License Info

The thread above talks about how to get the applent name, icon, image, version etc. What I am looking is to get to the licensing information, more importantly the application is a subscription based or non subscription based. Any idea what exactly is IDR_SETTINGS_OFFSET for?
Reply With Quote
  #8  
Old 11-03-2009, 09:34 AM
tsoofit_rb tsoofit_rb is offline
Registered User
 
Join Date: Aug 2009
Posts: 6
Rep Power: 0
tsoofit_rb is on a distinguished road
IDR_SETTINGS_OFFSET && IDR_ENVIRONMENT_OFFSET

Hi,

I'm reading information from the .mif file. I would like to know what do IDR_ENVIRONMENT_OFFSET and IDR_SETTINGS_OFFSET stands for?
I mean, what do environment infomation and setting information include?

Regards,
Tsoofit
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump




All times are GMT -7. The time now is 07:30 PM.

BREW 3.x Technical Documentation BREW Developer - Application Development Home BREW Customer Support Portal
BREW Training BREW Developer Labs



REGISTER | USER CP | CALENDAR | MEMBERS | FAQ | SEARCH | FORUMS HOME
QUALCOMM HOME | CONTACT US | SEARCH | SITE MAP | LEGAL | PRIVACY



Powered by: vBulletin Version 3.0.13
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.