Apps onto media card.

hi. i have a torch 9810 smartphone thats not acting so smart.. :-)  or could be me. well.. theres only 512mb memory for download apps to, only downloaded 4 and its full. how do i change the settings to use a media card to fit more apps onto.. 
thanks. 
dave... 

Hello...if interested, here's a "primer" on how memory on BBs works...the basic answer is no...apps can only reside in the protected AppMemory space...they cannot be installed and functional anywhere else. More details...
There are three types of potential memory on a BB: 1) Application Memory, 2) Device Memory, and 3) Media/SD Card Memory.
Application Memory -- This is the most crucial; it is the protected (not user accessible), dedicated, and fixed (in size) space that is available as the destination for the installation of applications (plus some application storage, overhead and such). You cannot touch AppMemory. You cannot improve the maximum AppMemory that your BB has. It is what it is. Applications can only install here...there is no option.
Device Memory -- This is space on your BB that you can touch to store files, pictures, media, etc. Typically, it is not terribly large, but it is available to you.
SD/Media Card Memory-- This is what it says...your SD card, for you to store files, media, pictures, etc. It can be as large as your BB OS can support...see this KB:
KB05461MicroSD card sizes supported by the BlackBerry device software
On some devices/OS levels, you can only see "File Free" (Options > Status), which I think is equivalent to AppMemory. On other devices, you can see all three memory usage levels (Options > Memory). Here are some guidelines to use:
KB02843What is the Low Memory Manager feature on the BlackBerry smartphone
KB14320How to maximize free space and battery power on the BlackBerry smartphone
KB14213Call logs, SMS text messages, and email messages are deleted from the BlackBerry smartphone
Lastly, it is always important to properly close applications when you are done with them. Using the Back or the Red key will not do this -- those leave it to the app to decide what to do...and some will leave themselves resident in memory, consuming resources on your BB, slowing the overall performance. Rather, to close an app, press and select "Close" or "Exit"...that will force the application to be closed, freeing up for your new use the resources it was consuming. Some apps will always remain running (typically -- BBMessenger, Browser, Homescreen, Phone, and Messages)...but, you should still close them properly - especially the Browser...if it is left on an active web page, it will not only consume extra resources but battery power as well.
Further, anytime random strange behavior or sluggishness creeps in, the first thing to do is a battery pop reboot. With power ON, remove the back cover and pull out the battery. Wait about a minute then replace the battery and cover. Power up and wait patiently through the long reboot -- ~5 minutes. See if things have returned to good operation. Like all computing devices, BB's suffer from memory leaks and such...with a hard reboot being the best cure. Some have taken to doing this on a regular basis as a preventive measure...some as frequently as once per day. Others have obtained the QuickPull app to automate a simulated Batt-Pull.
Good luck!
Occam's Razor nearly always applies when troubleshooting technology issues!
If anyone has been helpful to you, please show your appreciation by clicking the button inside of their post. Please click here and read, along with the threads to which it links, for helpful information to guide you as you proceed. I always recommend that you treat your BlackBerry like any other computing device, including using a regular backup schedule...click here for an article with instructions.
Join our BBM Channels
BSCF General Channel
PIN: C0001B7B4   Display/Scan Bar Code
Knowledge Base Updates
PIN: C0005A9AA   Display/Scan Bar Code

Similar Messages

  • Bridge Files app and media card encryption..

    Just wanted to note clearly, in hopes that someone from RIM will see, that opening files over the Bridge Files app is almost useless if your BES admins force media card encryption on, like mine do. All files saved on the MicroSD card are encrypted and have a .rem extension appended to the filename. When this happens, the Bridge Files app is too dumb to see the file and decrypt it.
    It is clear to me that this could be fixed in a software update and I hope it will be. It dramatically limits the usefulness of the bridge. I can't open any file saved with the bridge browser, or anything that comes as an email attachment. Most annoying..
    Can anyone comment on whether RIM has made a statement anywhere on whether this will be fixed or not?
    Thanks!!
    Solved!
    Go to Solution.

    That is great news, please mark solution.
    Click here to Backup the data on your BlackBerry Device! It's important, and FREE!
    Click "Accept as Solution" if your problem is solved. To give thanks, click thumbs up
    Click to search the Knowledge Base at BTSC and click to Read The Fabulous Manuals
    BESAdmin's, please make a signature with your BES environment info.
    SIM Free BlackBerry Unlocking FAQ
    Follow me on Twitter @knottyrope
    Want to thank me? Buy my KnottyRope App here
    BES 12 and BES 5.0.4 with Exchange 2010 and SQL 2012 Hyper V

  • Backing up audio files from music production apps onto sd card

    Hi,
    I was considering buying a new 128gb iPad Air, however I'm trying to find a cheaper alternative for my concern, I want to back up my audio files from BM2 onto an usb card via a camera connection kit from an iPad 3 32gb, it would be great if I could also read from it, especially two things in one go, I could use an SD card to store my audio files, and read into BM2, and also free the usb connector for a keyboard. I plan to start performing live and have produced more than 450 tracks, but I want each set to be unique, with different parts of different tracks playing via BM2 also with live keyboard performances routing through Audiobus. I find that like the next level compared to Djaying already produced tracks, also if I progress I could also manage a few live sessions while performing, via Samplr by recording samples from what's playing in output or sessions on other music apps which might not be Audiobus compatible, like iMPC, please could you give us this option to move audio files from device to SD card or usb to transfer onto a computer to back up, in case internet is very weak, or would Apple not allow it? I mainly produce on Intua Beatmaker and have been producing since 2009, I have a sound cloud account www.soundcloud.com/a-submitter, and a website www.asubmitter.com. Please since my internet connection is really bad, as though NSA are tampering with it or Sky are curtailing it, I cannot move bulk folders or files which I highlight via Filezilla, and sometimes moving one file takes ages working as low as 90kbps, when I have a fibre optical internet line from Sky, and it is supposed to be 8mbs upload and 15mbs download, my computer is a mac mini 2012, the latest, but not the highest spec, but still the internet performs as though it's ten years ago.
    Thanks
    Kash

    The camera connection kit can only be used to copy photos/videos to the iPad's Videos app. If you want to leave feedback for Apple (these are user-to-user forums) then you can do so here : http://www.apple.com/feedback/ipad.html

  • Storing apps onto mini sd card

    Hi I recently bought my bb curve and downloaded only a couple off apps and noticed that that the number that says the memory is in the red and on like 22MB left.
    I was wondering if there was any way to change it so the apps are saved onto the mini SD card?
    Thanks

    BlindJax, what is it you are little disappointed it? Is it only the fact that you can't install applications to the media card? The 9330 has great device memory for applications built in already. Don't tell me you've filled that up?
    BlindJax wrote:
     the sd card is almost a waste I bought a 4 gig and I know ill never fill it up less I download tons of music and if I cant find a free site for music that wont happen.
    Well, the real purpose of a Media Card is not necessarily to "fill it up". It's to have available for many reasons, if you want to take pictures with the camera, record a video, grab a movie to put on the device to watch while traveling... there are many.
    I have a 16gb card in mine... and I'm sorta the opposite of you, I hope I don't ever fill it up... just that I'll have good dependable storage space when I need it.
    BlindJax wrote:
    If you guys know any tweaks I sure would like it if ya could pass them alone my way.
    Go to the link www.stinsonddog.com and download his Tips and Tricks for the 9700 model.. they are almost identical in the basic stuff. Print out the PDF and and test and use the tips while playing with your 9330. Lots of good stuff there.
    Here are some resources you might benefit from:
    BlackBerry Frequently Asked Questions
    BlackBerry 101
    BlackBerry Tips and Tricks
    1. If any post helps you please click the below the post(s) that helped you.
    2. Please resolve your thread by marking the post "Solution?" which solved it for you!
    3. Install free BlackBerry Protect today for backups of contacts and data.
    4. Guide to Unlocking your BlackBerry & Unlock Codes
    Join our BBM Channels (Beta)
    BlackBerry Support Forums Channel
    PIN: C0001B7B4   Display/Scan Bar Code
    Knowledge Base Updates
    PIN: C0005A9AA   Display/Scan Bar Code

  • Somebody please help me- Media card storage NOT SYNCING WITH APPS

    I really need help with this problem, im very frustrated, i called Blackberry Tech Support who sent me to Rogers, I called Rogers who sent me back to Blackberry, I then go transferred back to Rogers where i was told i had to pay an expert for my question and problem so i hung up the phone.
    This all started when i downloaded the software update (10.1) on june 15th, my phone will not recognize the media card as it's default storage and my music and photos will not sync with the apps on my phone (camera, music for example).I've deleted everything and set my phone to factory settings and it's still screwed up. I read on some forums about android apps messing with folders in the device storage and when the phone see's "android" everything gets saved there. I do see the folder on my phone still and it won't let me delete it. iT says permission denied need permission from Unix. whatever the hell that means.
    When i click on Music for example, it will say "indexing your media card, files will appear shortly" anddddd it neverrrrr comes. Ive swapped media cards and its the same problem. I can only access my media card through the app "files" and then you can switch to media card in that app, unfortunately its not organized to find things in an easy matter. i have hundreds of photos with no thumbnail pictures, i have thousands of songs but can only see a list of 10, it really sucks, i want my phone back LOL
    Is there anyone out there that can help me please, I know i'm not the only one with this problem, there are multiple people posting similar problems on other forums and getting no answers. SUCKS

    If I were in your situation, I'd put the SD card in a Card Reader (or SD Card Adapter) and open it up on the computer and COPY the files into a folder on the computer so at least everything is backed-up. Then full format the card on the computer prior to formatting it again on the device. With the newly formatted card in the device I'd enter some similar media (of similar types as to what is not being recognised) via the conventional route onto the phone. Once the appropriate folders have been created and your 'test media' are appearing normally on your device, I'd place the card back in the computer, open up your saved memory card copy as well as the actual SD in separate windows and try dragging and dropping the files (or one or two test files) into their appropriate folders - (the ones your new OS has deemed correct). You absolutely don't want to loose your stuff so back everything up. As I see it, you have a file structure created by a different operating system and you can only work with the new one which you now have. The Android folder is meant to be there, which is why you shouldn't try deleting it.
    On your computer you should at least see thumbnails so it has to be easier to see what you are working with.
    Good luck (and patience)!
    Edit: Sorry, I should have said that I think you have items put in folders created by your previous software version and that your current one doesn't know how to deal with them.
    Disclaimer:
    I know a little about lots of things,
    yet not a great lot about those little-things.
    Ultimately, I'm here to learn.

  • Downloading maps from media card onto blackberry

    Could I install maps from a media card onto my Blackberry if I download these from my computer?

    There are only a couple of options of applications that actually do that (and neither of them do it well).
    http://www.blackberryforums.com/gps-mapping/127686-all-known-gps-applications-bb.html
    1. If any post helps you please click the below the post(s) that helped you.
    2. Please resolve your thread by marking the post "Solution?" which solved it for you!
    3. Install free BlackBerry Protect today for backups of contacts and data.
    4. Guide to Unlocking your BlackBerry & Unlock Codes
    Join our BBM Channels (Beta)
    BlackBerry Support Forums Channel
    PIN: C0001B7B4   Display/Scan Bar Code
    Knowledge Base Updates
    PIN: C0005A9AA   Display/Scan Bar Code

  • Hi I have an iTunes account with my uk debit card but am currently in Australia, can I buy and use an iTunes/app store gift card in AU$ or am I only allowed to acces the store in gbp£ ?

    Hi I have an iTunes account with my uk debit card but am currently in Australia, can I buy and use an iTunes/app store gift card in AU$ or am I only allowed to acces the store in gbp£ ? Cheers

    I had the same error when trying to update my apps on my ipod touch. I tried to input my security code numerous times to no avail. I also made sure my billing address was the same as what my bank had on file. To fix the issue I went into iTunes, logged onto the iTunes store, went to account settings and reviewed my recent purchases. Turned out that I had made a recent purchase and didn't have enough money left on my credit card to pay for it at the time. I paid off the credit card, and then input my security code once more and now it works fine. I've heard that some debit or pay as you go credit cards require a minimum balance, so make sure you have at least that amount in your account.

  • Uninstalling Watsapp seems to have corrupted my pics! Cant view pics on media Card...

    OK, so watsapp went mental, despite doing several battery pulls it remained crazy. So, of course, the next step would be to delete and reinstall. So I deleted the app. I now find that I cannot open all the pictures on my media card :/ It takes ages to index and though the pics are definately there (file manager showing % of memory card free) I cant get to them. I cant pick up from the PC either - blackberry link isnt picking up anything on my card OR device...(however it HAS taken off 16 random pics and put into a folder in my documents; which incidentally, I cant seem to restore to my z10).
    Now I know what you're thinking; memory card has somehow been corrupted right? Well...No because I can view ALL my videos, music and 352 pictures (about 510 are inaccessible). I know it cant be the card as the pictures i can see are a complete mix match of dates from 2009 to present but all randomly mixed up :/
    I have re-installed watsapp and all convos have backed up...
    I have the latest softwarre so its not that. I can access everything on the card from PC but cant get them over into the link :/ WHY did BB have to make it like it has? (If it aint broke dont fix it!) The software was ace, you could just drag and drop. There is no 'restore' option or anything on my BB link.
    I am going to do the obvious - battery pull again. If no joy then rebook with no sim. Still no joy Reboot with no media card. I dont know what else to do.
    If I format the card will I lose all the pictures on it? I cant backup to the link either - there is no option :/
    Can anyone help me? PLEASE

    Hey MissKitten,
    Welcome to the BlackBerry Support Community Forums.
    Thanks for the question.
    Just to clarify, you are not able to view the contents of the media card on your PC as well? (Not through BlackBerry Desktop Software but through My Computer).
    I would suggest formatting the SD card, however formatting the SD card will erase all data.  So I would attempt to back it up if possible.
    Let me know if you have any more questions.
    Cheers.
    -ViciousFerret
    Come follow your BlackBerry Technical Team on Twitter! @BlackBerryHelp
    Be sure to click Like! for those who have helped you.
    Click  Accept as Solution for posts that have solved your issue(s)!

  • Can i use itunes or apple app store gift card to do in-app purchases as a substitute for credit card?

    I Heard that you can use the appstore gift card or itunes to do inapp purchases since they serve as credit points in the apple store
    i think it could be since amazon appstore has amazon coins that do the same:
    1. Buying Apps
    2. buying inapp contents
    3. (or any hardware or others) not sure about this..
    so i thought it must be true of what ive heard,
    please confirm and if true, teach me how..
    cause i dont have a credit card and its kinda too much to ask others to borrow from others..

    iTunes and App Store gift cards are basically the same thing, both are redeemed onto your iTunes account and can be used to buy from the iTunes store, app store, Mac app store on Mac computers and the iBookstore - the cards that you shouldn't buy are Apple Store gift cards, they cannot be used with an iTunes account.
    When you've redeemed it onto your account then your balance should show in both the iTunes and App Store apps on your iPad, and your computer's iTunes. On my iPad it shows at the bottom of the Featured tab in the App Store app under my account id and at the bottom of the Music tab in the iTunes store app (or you can view your account via Settings > iTunes & App Store and it should show on the screen that you are taken to). On my computer's iTunes it shows at the top left of the store's pages next to my id, and by logging in to view my account via the Store > View Account menu option.
    If you are trying to download a paid-for item and you don't currently have a balance or other payment method on your account then you will be taken to the payment details screen so that you can either redeem a gift card or enter one of the other payment methods.
    To redeem a card onto your account you can use the Redeem button at the bottom of the Featured tab in the App Store app, or the Music tab in the iTunes store app, on your iPad. Or you can do it via your computer's iTunes, either via the right-hand side of the iTunes store homepage
    Or by logging into your account via the Store > View Account menu option and selecting the payment details link on your account

  • MicroSD Media Card is not being recognized by my BB 8100

    Hi,
    I currently have that problem with my Blackberry Pearl 8100.
    I put it a New 1 GB MicroSD (Patriot) card and connected the cable to the PC and on the PC I created a folder and added the music to it and pictures.  It worked fine but one day I took the SIM card out just because and when my phone restarted it would not go pass the providers screen. It stays there, it seems it freezes and it cannot be turned off.  So, I took the media card out and turned it on and it displays the screen with no problem. So again I turned it off and installed the card back in and it still the same problem. I also somehow I installed the media card in the phone without taking the battery out but it still doesn't recognize the card. Under Options says card is not installed.
    The first time I installed the card I don't think it was formatted(not sure). But it was working fine.
     I have installed another card and it still doesn't recognize another card. Also,the media card I tried it on another phone and it is not recognized. 
    Why would it work the first time as BrandonV(below) but not even locate it or make the phone not work while it has the Media card in?
    BrandonV, if you found a solution please let me know.
    Anyone else be kind enough to propose a solution.
    Thanks,
    Gaby
    this was someone trying to help out:
    Don't know why the BB would stop seeing the media card, but as far as your important stuff... have you tried putting the card into a reader hooked up to the PC to at least retrieve that stuff or move it to that other card that does work?
    Sorry that's all I can think of.

    Emesar wrote:
    I am having the same issue as the previous poster.
    Hi and welcome to the forums!
    Try this.
    1) With power ON, remove the back cover and pull out the battery.
    2) Remove the media card
    3) Insert the battery and replace the back cover.
    4) After boot up (~5 mins), check your Memory stats to be sure that is says that no media card is present.
    5) Pull out the battery again
    6) Put the media card back in and then insert the battery and reboot
    7) Launch the Media app and see if it is "Scanning" the media card (as it does for any new media card insertion).
    Best!
    Occam's Razor nearly always applies when troubleshooting technology issues!
    If anyone has been helpful to you, please show your appreciation by clicking the button inside of their post. Please click here and read, along with the threads to which it links, for helpful information to guide you as you proceed. I always recommend that you treat your BlackBerry like any other computing device, including using a regular backup schedule...click here for an article with instructions.
    Join our BBM Channels
    BSCF General Channel
    PIN: C0001B7B4   Display/Scan Bar Code
    Knowledge Base Updates
    PIN: C0005A9AA   Display/Scan Bar Code

  • Device instance error, vista can't see media card

    hello,
    I have a pearl 8110, with desktop 6 and vista.  After upgrading to version 6 I get this device instance error and specifically can't load any media onto the memory card via usb. 
    USB\VID_0FCA&PID_8001\5&3100FCC1&0&5
    been through the forums for months tracking this down on how to clear it.  Downloaded the calfix.exe program as that was the only clue that related to the 8001 error, ran it and nothing, did not work.  Fix was for versions 4.7 to ver 5.
    I can sync, load and upgrade BB software without any problems, tried two different memory card manufacturers, formatted card, pulled battery so many time don't ask me to do it again.  mass storage mode is on, but software keeps telling me to turn it on even though its already on, been on since day one!  Everything works via bluetooth, pictures, video, mp3, but windows just can't see the memory card.
    Also went through the computer management to loocate the drive, but no luck?
    Does anyone have any ideas on how to fix?

    Greetings, and welcome to the BlackBerry.com Support Forums.
    Are you attempting the format or looking at the Media Card from the BB WHILE you are plugged to the USB?
    Unplug and try it all again.
    1. If any post helps you please click the below the post(s) that helped you.
    2. Please resolve your thread by marking the post "Solution?" which solved it for you!
    3. Install free BlackBerry Protect today for backups of contacts and data.
    4. Guide to Unlocking your BlackBerry & Unlock Codes
    Join our BBM Channels (Beta)
    BlackBerry Support Forums Channel
    PIN: C0001B7B4   Display/Scan Bar Code
    Knowledge Base Updates
    PIN: C0005A9AA   Display/Scan Bar Code

  • HT1386 "Updating to iOS 6.1.5 will delete all of the apps and media..."  Why?

    My daughter has a 4th gen ipod touch, still on iOS 4.3.5. It wasn't updated for such a long time because I had a space shortage on the computer on which it was always updated.  I've recently increased the size of C: so now I could proceed to back up all the kids' ipods and bring them up to the latest OS.
    I backed it up and Synced onto the computer that it has always been backed up to. When I try to update it, it gives me this warning:
    "Updating to iOS 6.1.5 will delete all of the apps and media, including iTunes Store purcahses. on your iPod touch.  To preserve your content. apply this update on the computer where you sync apps. music. videos. and photos."
    This *really is* the computer on which all the backups and syncs had been done, but I think that I may have corrupted the apple files when I copied the image of the old C: drive onto the new hard disk.
    The other two kids' ipod touches updated without any problems.  This third one, however has the warning above.
    How do I fix this problem?
    By the way: Quad core PC with 4GB of RAM, 64-bit Windows 7, and iTunes 11.1.4.62.
    Thanks.

    Do the followings to not lose anything. When you restore from backup as the article says, the iPod will also be updated
    Syncing to a "New" Computer or replacing a "crashed" Hard Drive: Apple Support Communities

  • My ipod touch got wet and is no longer working - i purchased a new ipod touch and want to know how i get my purchased apps onto my new ipod

    my ipod touch got wet and now is broken - I purchased a new ipod touch and want to know how I get my purchased apps onto my new ipod touch

    To restore app data, the apps have to be in the iTunes library of the computer on which you do the restore. The iPod ackup that iTunes makes does not included synced media like apps and music.
    To redownload iTunes purchases see:
    Downloading past purchases from the App Store, iBookstore, and iTunes Store

  • Media Card Issue *maybe*

    I have a 2GB media card in my bberry curve 8330 and when I'm trying to save some pictures to it it's showing "Directory Full" but when I look at my avail free space it's showing 1.1GB Free.  I'm stumped as I can't figure out how to save when it's showing no avail space.

    Hi,
    I also wanted to know what folders I should see on my phone when I go into Media, Explore, Media Card ?  From some of the threads I've been reading they mention that you should see blackberry,documents, music etc right under Media Card but mine is laid out as below
    What's on my phone currently is :
    Media Card
    Folder Blackberry
    inside Blackberry Folder is
    subfolders documents, music, pictures, ringtones, videos & voicenotes
    I've always saved all my pictures, videos etc to folder Media Card only not any subfolders...could that be the reason I got the msg "Directory Full" ?
    Tonight I'm going to try uploading all of my stuff onto my home computer, doing a memory card format and then redownloading all of my info into the approp folders on the media card.

  • MEDIA CARD ERROR

    Hi,
    I am new to Blackberry and my ipod recently broke to i bought a 32GB memory card and uploaded all of my music onto it. However, when i instert it into the phone a message always comes up: 'media card contains errors, do you wish to repair it now?' after I click 'yes' i get: 'if lost clusters are found, do you wish to save them?' the repair repeatedly fails and even if it works, only some of the data appears!!
    I have tried a new handset and i have also run disk utility and re-formatted the card! Nothing works!! However, the card works in non-Blackberry phones!!! PLEASE HELP, IT IS DRIVING ME CRAZY
    Thanks

    Hi and welcome to the forums!
    It is not uncommon to buy a "dead" card. I would simply return it.
    You can run diagnostics and possibly repair some errors, but for how long?
    You  payed good money for a device that functions properly, get your monies worth.
    That said I will give you some information to verify that the media card size is supported by
    your device OS. If you decide to troubleshoot it, we can help you.
    Let us know how it goes!
    Thanks,
    Bifocals
    KB05461
    BlackBerry Device Software version
    Media card size limit
    BlackBerry Device Software version 4.2.0
    Up to 2 GB
    BlackBerry Device Software version 4.2.1
    Up to 4 GB
    BlackBerry Device Software version 4.2.2
    Up to 4 GB
    BlackBerry Device Software version 4.3.0
    Up to 8 GB
    BlackBerry Device Software version 4.5.0
    Up to 8 GB
    BlackBerry Device Software version 4.5.0.81
    Up to 16 GB
    BlackBerry Device Software version 4.6.0 and later
    Up to 32 GB
    Click Accept as Solution for posts that have solved your issue(s)!
    Be sure to click Like! for those who have helped you.
    Install BlackBerry Protect it's a free application designed to help find your lost BlackBerry smartphone, and keep the information on it secure.

Maybe you are looking for

  • Trying to install or uninstall

    I bought a new iMac and want to transfer CS5 from my old iMac. It's telling me to uninstall but that app isn't working either. Help?

  • Posture Policy changes not taking effect in ISE!

    Hi all I think that something is definitely wrong with the posturing rules on our ISE. I am seeing weird behaviour when changing posturing policies and thier elements in our ISE. In Full, we currently have a policy written with a requirement that cli

  • Survey / Survey Suite

    Dear all, I have a really rookie question. Oure customer like to use Surveys in CRM 5 wich is used via a SAP Portal. Now I defined a testsurvey(questionaire) via the servey suite, and activated it. After that I defined the determination and the crite

  • Status tracking system

    Hello We have a Status tracking system. I want to find out what are the tables which are being used for this STS in the backend..can somone suggest me how should i proceed.

  • Regarding Line Selection

    I am displaying the data in a alv grid /  alv list.if i double click a particular field the related data should come(As at line selection).how can i write the code for this