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


 
 
Thread Tools Search this Thread Rate Thread Display Modes
  #1  
Old 03-16-2002, 01:25 AM
raja raja is offline
Registered User
 
Join Date: Mar 2002
Posts: 13
Rep Power: 0
raja is off the scale
Folder creation Depth and Icon Scrolling

1.) Can anyone tell me the depth of the folders (subfolders) that can be created in a samsung phone ( SPH-X2700 )? I tried to create a folder structure like this in the phone root one by one
"myapp/x/y/z". For the 3 levels , i was able to create the folders.
But when i tried to create z subfolder under y it didnt happen.
There was no error , but simply the folder didnt get created.

2.) I am using Icon Controls in my application. When i try to scroll to the next icon , instead of the selection moving from one icon to another, the selection stays in the same position and the icons are scrolling.
When i have only 4 icons in the icon control, the selection moves correctly as in the BREW main (applications) menu. But if there are more than 4 icons, the icons scroll instead of the selection to move from one icon to the next and the selection stays in the centre icon itself.
And this happens both in the emulator and in the phone.

Has anyone faced such a situation and give me a solutions for this.

thanks for reading

regards
raja
  #2  
Old 03-18-2002, 12:47 AM
Craig Evans Craig Evans is offline
Home BREW
 
Join Date: Mar 2002
Posts: 42
Rep Power: 0
Craig Evans is off the scale
Send a message via AIM to Craig Evans Send a message via Yahoo to Craig Evans
Re: Folder creation Depth and Icon Scrolling

Quote:
Originally posted by raja
1.) Can anyone tell me the depth of the folders (subfolders) that can be created in a samsung phone ( SPH-X2700 )? I tried to create a folder structure like this in the phone root one by one
"myapp/x/y/z". For the 3 levels , i was able to create the folders.
But when i tried to create z subfolder under y it didnt happen.
There was no error , but simply the folder didnt get created.


Can't give you a complete answer, but this might help. The Sharp Z800 phone is limited to 96 files ... total. Not in each directory, but totally. The Kyocera has a 256 total file limit.

This brings up an interesting question that the BREW techs might be able to answer...

On the Z800, is that 96 files, or 96 entries in a table describing the file system, with each directory taking an additional entry in the table.

Is there a document that details the representation of the file system in memory?

CSE
__________________
~ "Don't be too proud of this technological terror you've constructed." - DV ~
  #3  
Old 03-20-2002, 11:20 AM
kamal
Guest
 
Posts: n/a
Different OEMs may impose a file depth limitation for BREW applications. Like on Sharp Z800, file depth is limited to 2. It means that you can not create following directory hierarchy <app dir>/dir1/dir2 but you can create <app dir>/dir1/file1

This might explain why you can not go beyond certain directory depth on samsung phone.

I just tried adding another icon to the control in the IMenuCtl usage example. It is working as expected.

-Kamal
BREW Support
  #4  
Old 03-21-2002, 08:06 AM
fredch fredch is offline
Registered User
 
Join Date: Mar 2002
Posts: 10
Rep Power: 0
fredch is off the scale
>But when i tried to create z subfolder under y it didnt happen.
>Has anyone faced such a situation and give me a solutions for this.

I just use the app's folder and create filenames the fake directories:

xyzfile1
xyzfile2
xywfile1

would be the files I create for
x/y/z/file1
x/y/z/file2
x/y/w/file1
  #5  
Old 03-28-2002, 03:50 AM
raja raja is offline
Registered User
 
Join Date: Mar 2002
Posts: 13
Rep Power: 0
raja is off the scale
Hi Kamal,
The iconcontrol in the iconcontrol example takes the whole screen and so the scrolling is fine if we add more icons .
The issue is , if i am having a iconcontrol whose height is only around 40 pixels , then the scrolling doesnt happen ( means icons scroll instead of the selection). We tried to change in the example code to reduce the height of the control and tried more icons which doesnt work as u said.

please let us know the work around for this .
it would be great if u could reply ASAP :-)

thanks

regards
raja
 


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 12:28 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.