Write String to RFile object

Login to reply to this topic.
Wed, 2008-06-25 08:16
Joined: 2008-06-25
Forum posts: 4

Hi everyone,

i simply wanna write a normal String like "test" into an RFile object. Unfortunately I'm totally new to C++ and Symbian Developement.

Can you please explain to me how to write a simple string into a RFile object? Puzzled

Thanks in forward!

Andreeeas


Wed, 2008-06-25 09:25
Joined: 2005-04-13
Forum posts: 120
Re: Write String to RFile object

refer to the SDK...

for your reference you can look for the following example Examples\Base\BufsAndStrings\WriteToFiles, in your symbian folder


Jupitar

Wed, 2008-06-25 09:50
Joined: 2008-06-25
Forum posts: 4
Re: Write String to RFile object

thx alot, that made the deal! Smiling

but now i have the problem that i cannot install the changed apps on my n95 anymore. i found that this could be the cause of my sis files not being of version 3, but since i use the v3 SDK for developement this cant be the reason.

the weird thing is that installing the apps that i didnt modify works, whereas the ones i modified cant be installed and alwaysd keep telling me "installation not possible".

i dont get an error throughout the build and signing process, though. what can cause this error message? Puzzled

would be great if anyone can help me with this Eye-wink

Wed, 2008-06-25 09:59
NewLC AdministratorSymbian AccreditedForum Nokia Champion
Joined: 2003-01-14
Forum posts: 1913
Re: Write String to RFile object

Have you checked that you have no name conflict in the files you install on device ?


Eric Bustarret
NewLC Founder & CEO / Professional Symbian OS Consultant

Wed, 2008-06-25 10:34
Joined: 2008-06-25
Forum posts: 4
Re: Write String to RFile object

How can I check that? Sry, like aformentioned im very new to this.

Would be great if you can tell me how i assure that there are no name conflicts.

Greets Andreas

Thu, 2008-06-26 07:14
Joined: 2005-04-13
Forum posts: 120
Re: Write String to RFile object

check your code against the Data Caging concept. which actually talks about the keeping the user files at various specified locations.


Jupitar

Thu, 2008-06-26 07:24
Joined: 2008-06-25
Forum posts: 4
Re: Write String to RFile object

i already found it. the problem was that i was building the project in emulator debug mode instead of phone release(gcce, urel). sometimes things can be that easy Eye-wink

thx anyway for your help!

greets andreas

Thu, 2008-06-26 07:38
Joined: 2005-04-13
Forum posts: 120
Re: Write String to RFile object

Great!! Smiling
congrats man


Jupitar

  • Login to reply to this topic.