How are wallpapers installed in 3.1.x? | developer.brewmp.com How are wallpapers installed in 3.1.x? | developer.brewmp.com

Developer

How are wallpapers installed in 3.1.x?

Forums:

Hi all,

I've just got a new 3.1.4 device I am trying to port a wallpaper application to.
The application as it is, writes images to the AEE_SHARED_DIR. The phone was not recognizing these files, so after some searching through the forums and in the 3.1.4 API I see there is now the following definitions

AEE_LOCKED_MYPIX_DIR
AEE_MYPIX_DIR

I recompiled my app, moving from BREW 2.0.1 to 3.1.4, and tried using both of those directories to save the wallpaper to.

When using AEE_MYPIX_DIR, the wallpaper gets written somewhere but the phone does not recognize it.

When I use AEE_LOCKED_MYPIX_DIR, the phone fails to write the file.
The API mentions
>>The privelege AEECLSID_LOCKED_CONTENT_ACCESS is required to access this >>directory.
I don't see any information on how I am supposed to grant this privilege.

Anybody know what's going on here? I can't find any information regarding any of this on qualcomm's site at all...

Check your MIF file. Change the privilege to file access. Maybe its your trouble
Have fun.

Check your MIF file. Change the privilege to file access. Maybe its your trouble
Have fun.

Actually we finally heard back on this device, it uses an entirely different directory.
Down in the API under Multimedia_Content_File it mentions BREW 3.1 uses
AEEFS_MCF_PICTURE_DIR
AEEFS_MCF_PICTURE_LOCK_DIR
AEEFS_MCF_MUSIC_DIR
AEEFS_MCF_MUSIC_LOCK_DIR
AEEFS_MCF_MOVIE_DIR
AEEFS_MCF_MOVIE_LOCK_DIR
AEEFS_MCF_SOUND_DIR
AEEFS_MCF_SOUND_LOCK_DIR
AEEFS_MCF_THEME_DIR
AEEFS_MCF_THEME_LOCK_DIR
AEEFS_MCF_TEXT_DIR
AEEFS_MCF_TEXT_LOCK_DIR
AEEFS_MCF_LINK_DIR
AEEFS_MCF_LINK_LOCK_DIR
This device, the AX490, apparentlly uses the AEEFS_MCF_THEME_DIR for wallpapers.
Not exactlly an intutive choice if one has to guess. It seems weird that if they were going to change the BREW API for this that they would have picked a standard definition for common things such as wallpapers and ringtones.
Having to guess whether a device should use AEEFS_MCF_THEME_DIR or AEEFS_MCF_PICTURE_DIR, or SOUND vs MUSIC doesn't seem like much of an improvement over the differences between AEE_SHARED_DIR and AEE_SHARED_DIR/wallpapers, AEE_SHARED_DIR/gallery/graphics, etc....

Actually we finally heard back on this device, it uses an entirely different directory.
Down in the API under Multimedia_Content_File it mentions BREW 3.1 uses
AEEFS_MCF_PICTURE_DIR
AEEFS_MCF_PICTURE_LOCK_DIR
AEEFS_MCF_MUSIC_DIR
AEEFS_MCF_MUSIC_LOCK_DIR
AEEFS_MCF_MOVIE_DIR
AEEFS_MCF_MOVIE_LOCK_DIR
AEEFS_MCF_SOUND_DIR
AEEFS_MCF_SOUND_LOCK_DIR
AEEFS_MCF_THEME_DIR
AEEFS_MCF_THEME_LOCK_DIR
AEEFS_MCF_TEXT_DIR
AEEFS_MCF_TEXT_LOCK_DIR
AEEFS_MCF_LINK_DIR
AEEFS_MCF_LINK_LOCK_DIR
This device, the AX490, apparentlly uses the AEEFS_MCF_THEME_DIR for wallpapers.
Not exactlly an intutive choice if one has to guess. It seems weird that if they were going to change the BREW API for this that they would have picked a standard definition for common things such as wallpapers and ringtones.
Having to guess whether a device should use AEEFS_MCF_THEME_DIR or AEEFS_MCF_PICTURE_DIR, or SOUND vs MUSIC doesn't seem like much of an improvement over the differences between AEE_SHARED_DIR and AEE_SHARED_DIR/wallpapers, AEE_SHARED_DIR/gallery/graphics, etc....

FYI for anyone who cares.
Tracked it down to case sensitivity on this device.
.png is recognized, .PNG is not.

FYI for anyone who cares.
Tracked it down to case sensitivity on this device.
.png is recognized, .PNG is not.

gscott2112 wrote:FYI for anyone who cares.
Tracked it down to case sensitivity on this device.
.png is recognized, .PNG is not.
So what was the API used to access the wallpapers ? as I am looking to access the browser links as mentioned in AEEFS_MCF_LINK_DIR

gscott2112 wrote:FYI for anyone who cares.
Tracked it down to case sensitivity on this device.
.png is recognized, .PNG is not.
So what was the API used to access the wallpapers ? as I am looking to access the browser links as mentioned in AEEFS_MCF_LINK_DIR