473,800 Members | 2,418 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

do any one know Symbian C++ for mobile application

1 New Member
Hi everyone,

I have problem in copying the data to a array variable which is read from a file..

Can any one plz help me..
Here is the code which i'm using to read the data from a file..
Expand|Select|Wrap|Line Numbers
  1.  
  2.     RFs fs;
  3.     User::LeaveIfError(fs.Connect());
  4.     CleanupClosePushL(fs);
  5.  
  6.     RFile file;
  7.     TInt Err1=file.Open(fs,aFilename,EFileRead);
  8.     if(Err1==KErrNone)
  9.     {
  10.         TInt Size;
  11.         file.Size(Size);
  12.         HBufC8* buffer = HBufC8::NewLC(Size);
  13.         TPtr8 ptr= buffer->Des();
  14.         file.Read(ptr);
  15.         file.Close();
  16.         CleanupStack::PopAndDestroy(buffer);
  17.     }
  18.     fs.Close();
  19.     CleanupStack::PopAndDestroy(&fs); 
  20.  
Now i want to copy the data to a array variable that is..
Expand|Select|Wrap|Line Numbers
  1. CDesCArray* PlaylistSongs = new (ELeave) CDesCArrayFlat(3);
  2.  
can any one help me out..

Regards,

Mounika MV
Nov 9 '11 #1
0 1272

Sign in to post your reply or Sign up for a free account.

Similar topics

3
2688
by: Amy | last post by:
Hi, I'm using vs 2005 to develop a mobile application. I have tried to use a closing event to pop up a messagebox before close the form. It seems that the form is hided. And I found out that the messagebox will occure after clinking the setting -> memory -> application. Besides, I have tried the event disposed, closed, too. It seems that it doesnt pop up the messagebox.
0
1611
by: arunakoride | last post by:
Hi I am trying to set SocketOption in Windows Mobile Application, but its throwing Exception. Please let me know how to set Receive Time out for socket in Windows Mobile VS2005 application. s=new Socket(AddressFamily.InterNetwork, SocketType.Stream, ProtocolType.Tcp); s.Bind(new IPEndPoint(IPAddr, port)); s.Listen(1);
3
3083
by: tito | last post by:
Can we develop Windows Mobile Application using Perl Script? Is there any way to interact with a Windows Application using Perl? Can we test a Windows Mobile GUI using Perl? Can anyone answer me for the above questions.Actually i would like to know any interface is there between Perl and a windows mobile Application. Thank You
1
2810
by: Alan T | last post by:
Anyone has sample mobile application written in C#? I would like to learn that sort of application development. If there is a little sample application written in C#, can be downloaded from internet into my pocket pc, I want this application can use activesync cradle connect to my desktop database for synchronisation. eg. Membership application running on pocket pc
0
1399
by: junaidhassan | last post by:
Hello, I m new in mobile application but now i have to deal with this. I want to create an application that run on window mobile in nokia sets. Application should be windows application (not browser based). User using its application take his/hers picture from its phone and enter its name and some description about him/her and then send him to a url. On that url this information can be get and enter in database. ...
3
5080
by: jrjawad | last post by:
Hi, Brothers i develop some application for mobile in c# but i dont know how to install these application on mobile i have a samsung e250 mobile can u help me out and i m totely new in mobile application thankx in advance
0
3622
Todd Faisal
by: Todd Faisal | last post by:
A quick overview of the popular mobile application development platforms: Android application development Android is developer’s dream – it is free, open sourced, and it is developed and endorsed by one of the most capable software development companies of our times, Google. In order to create applications for Android, one would typically use the currently most popular development language, Java, and the tooling includes first class plug-in...
0
9551
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10275
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10253
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9085
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7576
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5606
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4149
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3764
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2945
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.