NSFileHandle, weird problem in iphone

Hi ,
i am downloading an mp3 file using NSURLConnection and saving it to a file . The problem is mp3 file is created (found the mp3 file created when using simulator), but i cannot access the mp3 file . Any ideas?!!!!!
This is the code i'm using
filename = [[NSSearchPathForDirectoriesInDomains(NSDocumentDirectory, NSUserDomainMask, YES) objectAtIndex:0] stringByAppendingPathComponent:save_name];
[[NSFileManager defaultManager] createFileAtPath:filename contents:nil attributes:nil];
file = [[NSFileHandle fileHandleForUpdatingAtPath:filename] retain];// file is in .h
if (file) {
[file seekToEndOfFile];
} [file writeData:data];

OK, here is the reason the graphics didn't show up:
"The file as it comes out of InDesign works fine on iPhone OS. The breakage happens when I use Acrobat's "reduce file size" command."
So Adobe's "reduce file size" command must have something in it that is also in Flash.

Similar Messages

  • Really, really weird problem involving iPhone and Exposé

    Hey Mac users, try to figure this one out, this started happening to me today:
    My iPhone is rarely near my Mac Pro, but today I set it on top of my Mac Pro to let it charge. When it's connected to the Edge network, and there's network activity, I get the usual "beepbeepbeep" through my system's speakers, except now there's a twist. Whenever I hear the network activity interference, Exposé on my Mac Pro flips out, and acts as if I pushed the "Show/Hide Desktop" button a whole bunch of times. It stops when the activity stops.
    It's not reproducible all the time, and only happens every once in a while. But it definitely only happens during Edge network activity. I've never gotten it while in 3G or Wifi modes.
    I am guessing that the Edge signal is interfering with my Apple Bluetooth Keyboard, or something. I don't have any keys mapped to "Show Desktop," though.
    If anyone has any thoughts on this, I'd love to hear it. This isn't a really big problem, I just keep my phone away from my Mac Pro now.

    If you go into settings - general - about it will give you the version, the latest one is 2.0.1. Updating your phone may solve the problems. Failing that, take it to your nearest Apple store for advice.

  • Weird problem syncing iPhone 3G with Outlook. Stopped working?

    Hi,
    I really hope this isn't a repetitive question; I tried searching around the internet and either found no solution that worked, or problems similar but not quite the same as mine.
    Anyhow, I just got an iPhone 3G last week and I'm running a PC with Outlook to sync my phone. The first few days all the syncs went 100%, updates calendar/contacts no problem. Then, this afternoon it stopped working. No matter what updates I make to my Outlook or my iPhone, nothing will sync. I plug in the iPhone and sync through iTunes, it says "syncing" but no longer goes into "syncing contacts" then "syncing calendar" etc. I even tried importing my IE bookmarks and got nothing. It almost seems like iTunes stopped "talking" to Outlook?
    I've tried playing with the settings in the info tab of iTunes, I've played around in the trust center of Outlook, made new data files, etc and I just uninstalled/reinstalled iTunes, all doing nothing.
    Any idea?
    Thanks,
    John

    After almost 1 week of sheer frustrations, I have been unable to connect my Iphone 3G to my exchange server at work.
    I have tried probably every method discussed here, including restoring my iphone 3G several times. My issue has been elevated all the way up to apple engineering, and still no solution.
    It appears that the issue is that I cannot connect because my company is using Exchange server 2003 with SP1.
    I can connect any Windows Smartphone or Pocket PC and it will sync in what seems seconds….very fast. I have used windows phones connected to our server for more than 4 years, never an issue.
    My company has the attitude of we “We don’t want you to connect, you are lucky to be able to use active sync on windows phones!!” So their change is not probable.
    Has anyone found a way to connect Iphone 3G to an Exchange Server 2003, SP1?

  • Weird problem on iphone 4s

    when i am using my iphone 4s, the screen will suddenly turn black slowly from the four corners of the phone as it is going to reach the centre of the phone screen and if i wait longer, a turquoise colour "glitch" will slowly appear,this happen a lot of times, my phone will also become unresponsive. What is this and what should i do? (sorry for the bad english)

    Standard user troubleshooting steps are restart, reset, restore, restore as new. Start with a simple power off and back on. If that doesn't help, try the reset procedure below. Post back with results.
    Close all open apps by double-tapping the home button, then swiping up and off the screen with the app window (not the smaller icon).
    Reset your device: hold down the home button along with the sleep/wake button until the screen goes black and you see the Apple, then let go. (No data loss)

  • Iphone 4, having a weird problem /: can't seem to fix it!

    So i have been having my iphone for a while, i have no warranty on the phone now. I have this weird problem that when i scoll down my messages and stuff i can see the outline of the message kind of show rainbowish colors that sort of show a bit when i scroll, right near the border of the message. its kind of annoying at times, also there are times when i press the home button, right when i get to my wallpaper, the outline of the letters when i text are there like very very faint, they disappear after for a while but then come back sort of like a glitch, and i cant fix it at all. then i would see faint horizontal lines, i would notice them when i use the camera, they disappear also. can anyone help me with this or suggest something?

    Screen lag is normaly the LCD itself. But try restoring the iPhone. http://support.apple.com/kb/HT1414

  • Hiya, I've got a weird problem with my iPhone4. On the 'home page' of my iPhone the mail symbol tells me there's a new mail waiting for me. However, there's no new mail to be found. Does anyone know what the problem is? Thanks

    Hiya, I've got a weird problem with my iPhone4. On the 'home page' of my iPhone the mail symbol tells me there's a new mail waiting for me. However, there's no new mail to be found. Does anyone know what the problem is? Thanks

    This response is a little late as I just read about your problem. I have a 2012 Dodge Charger and a 2012 Chrysler Town and Country and both worked flawlessly with the iPhone 5s my wife and I had. However, we just upgraded to the iPhone 6 and Uconnect will receive calls but you cannot answer them. You can callout successfully, however. the annoyance being the inability to answer incoming calls in the HandsFree mode.

  • I am facing a weird problem with my iphone 4s Wi-Fi connectivity. As i connect my iphone to my office Wi-Fi, internet works in one building, but it doesnt work in the other building, although the phone shows Wi-Fi is connected. Please help me out!!

    I am facing a weird problem with my iphone 4s Wi-Fi connectivity. As i connect my iphone to my office Wi-Fi, internet works in one building, but it doesnt work in the other building, although the phone shows Wi-Fi is connected in the other building. This problem was not there earlier but has occured recently. I would also like to mention that none of my other colleauges who uses iphone are not facing this issue. Please help me out!!

    Assuming you entered the correct WiFi password for your network, see these articles:
    iOS: Troubleshooting Wi-Fi networks and connections
    iOS and OS X: Recommended settings for Wi-Fi routers and access points

  • I have this weird problem. I have an iPhone. Next to where it says "slide to unlock", there is a camera button that just appeared. Is there a way I can delete it?

    I have a weird problem. I have an iPhone 3G. I just got the camera sliding button next to where it says "slide to unlock". Is there a way I can delete that then restore my original screen?

    It actually says my iPhone is 3G Version 5.1.
    Then you must have a 3GS, not a 3G.  iOS5 cannot be installed on a 3G.
    Either way, the camera icon cannot be removed.  It gives you quick access to the Camera but not your Camera Roll without unlocking, assuming you're using a passcode.

  • Apple Banned me, because of a very weird problem with my "Factory Unlocked"

    Hi Everybody! Im having a very weird problem with my unlocked iphone 4.
    First of all, i would like to apologize because of my english, is not very good. My native language is Spanish.
    Well.. Im from Mexico, and here we can buy the iphone Unlocked on the Apple Online Store.
    Here's my problem. Apple has exchanged my iphone 3 times.
    I returned the iphone the first time because the screen was totally yellowish, other than that everything was working great!, that was by the end of September.
    On October 20th, i recieved my second iphone, and then a bigger problem started .
    Before i continue, let me give you this information: here in Mexico we have basically 3 cell phone companies
    1.- Telcel
    2.- Movistar
    3.- Unefon
    OK, now on october 20th, i recieved my second iphone, and then procced to activate via itunes using my UNEFON sim card (microsim).
    And every time i tried to activate it, only got this message onscreen:
    http://i148.photobucket.com/albums/s2/jorgelomeli/Screenshot2010-10-29at24915PM. png
    I though something was wrong with my brand new factory unlocked iphone 4.
    I have 4 more simcards from my brothers (they all had iphone 4 too)
    I tried telcel sim card, and i could activate my iphone. Then i insterted the Movistar microsim, and it worked too!! But then when i put the Unefon sim, the itunes logo inmediatly appears on the screen asking to activate on itunes, and when i tried that, the only response i got was the image above saying " The Simcard inserted on this iphone does not appear to be supported"
    Weird thing here is, that, when i put my Unefon sim card on my brothers iphone 4, it worked great! on all of them, internet 3g, phone, wireless , evrything!
    I called apple support, and they exchange the iphone for another one.
    I recieved the third iphone on October 29. Last friday. and guess what? SAME PROBLEM! different serial number, same week production (week 42) but exactly the same message on itunes.
    Very, very frustrated, i called apple again, and after 1 hour with thechnical support, they told me " We are sorry, but we can only offer you, your money back, NO MORE EXCHANGES FOR YOU"
    I said why?... i dont want my money back! i want an UNLOCKED iphone!, but they refuse to give me another iphone.
    When i asked techincal support, why my unefon sim card worked great on all three of my brothers iphone but not on mine, he just told me, "I really dont know, i guess they just got lucky" ****, this answer put all my trust i had on apple products for years, right on the garbage.
    Since they refused to give me another iphone, i accepted my money back, and inmediatly after i finished the call, i asked my brother to buy me one more time an iphone 4 using his name, and his credit card. Now i have to wait until November 8-12 to recieve my new iphone, hoping this time i get a REAL UNLOCKED iphone, and not a partially unlocked iphone.
    btw. i even went to Unefon costumer service and bought a new prepiad line, with a new microsim, just to be 100% sure that this problem is not because of the sim. And again didnt worked on my iphone, but it worked on any of my brothers iphone4.
    Serial numbers of the 3 iphones:
    79039C0U* (this one worked great with Unefon, only problem was yellow screen)
    85042GR4*
    81042FJB*
    What do you suggest me? any info would be really aprecciated
    FYI i also restore 4 times the last iphone and nothing seemed to work, i use 3 different computers, Macbook Pro, iMac, and an Hp with Windows 7, and the same message on all three computers.
    Wierd thing also, one of my brothers bougth an iphone 4 this last week too, but he bought the 16Gb not the 32Gb. His iphone production week is 42 also! and when i put my Unefon sim in his iphone works great!
    I dont know what else i can do, I just need to have faith that my new iphone coming this november will be real unlocked, but what if i'll recieve an iphone and then the same problem?? time for android? just kidding really guys, what can i do? anyone with similar problem like me? i dont wanna use Telcel or Movistar, i wanna use Unefon, and thats why i bought an Unlocked iphone
    btw: jailbreak is not a solution for me, because i always like to use legal software on all my apple products, and because of the warranty.

    According to http://support.apple.com/kb/HT1937, there are two official carriers in Mexico (Movistar and Telcel) and neither carrier offers an unlocked phone.

  • Long list of "software" problems on iphone 4.

    My wife and I have iphone 4s, purchased about a year apart (I got mine as a cheaper leftover after the 4S came out.) My phone is fine but hers is having a long list of weird problems nothing seems to permanently fix. It is about 2 1/2 years old, and covered under a product replacement plan from Future Shop, where we got it. (Our city just got it's first Apple Store over the holidays.)
    The problem is all of her issues seem to be software or "network" related, yet all the common fixes/tests are not yielding any results.
    The biggest issue with the phone is with iMessage. I know it is normal for the occasional iMessage to send as an SMS instead, especially if there is a hiccup in the network. The thing is, hers does this all the time, sometimes mid-conversation. If I send her 3 messages in quick succession, she might get #1 and #3 as iMessages but #2 wont appear until 15 minutes later as a text message--making trying to converse via message really annoying. It has done this for several months now, getting progressively worse. We have 3 friends who are our neighbors in our apartment building. We can send a group iMessage to everyone, everyone will get it as an iMessage, but she will get it as a text, usually anywhere from 10-20 minutes later. One of our friends can't even send her an iMessage--he will only ever get the green "send as text" option for the send button, even if they are in the same room, and connected to the same wireless network. When another friend in the same apartment tries to iMessage her from her iMac, it tells her "that is not a valid number for iMessage"--yet it clearly is, because iMessage DOES work...sometimes. All 5 of us are on the same network, Virgin Mobile, so it is not the network--none of us have any problems except for her. It is frustrating because during the day we are both at work and don't have coinciding breaks and sometimes I NEED her to get a message, and it is bad now to the point where I can't be guaranteed she got my message until I get a response back later on. We have not tried turning "send as SMS" off yet, because we don't mind the phone sending an iMessage as a text when iMessage is not available--what the problem is is the delay, the likelihood she may never even *get* the message, (sometimes it doesn't send at all.) and the fact that it will still do this even on a strong full signal or wifi (the wifi network in our apartment is fine, our computers, xbox, 3DS's and my phone never have any issues.) We can try it, but my worry is that if something is wrong with iMessage, turning off SMS will mean she'll never get some of these at all. (more often than this happens as it is, mind you)
    Her safari is also extremely laggy, which seems to hint at a connection problem, maybe.
    The phone has been reset 3 times. Once, we reset it and restored from backup. No dice. Then, future shop reset it from the phone itself while they had it over night trying to duplicate the issue. Still no dice. Finally, on the advice of a future shop tech, who said they can't do anything unless we can prove a hardware failure of some kind, advised resetting from itunes and NOT restoring from backup. So we did that--the phone was completely reset as "new phone", and nothing has been restored from backup, only contacts from iCloud. Right now the phone has only 2 apps re-downloaded on it, and a few songs, and it did it again earlier today. So, still no luck. (It hopefully goes without saying we have verified all her software updates are done and everything is fully up to date.)
    After the reset, a new issue surfaced--it was vibrating randomly. After troubleshooting, we discovered she was getting vibrate alerts from email, despite the fact that email push notifications are OFF and her email app was closed at the time. She had to turn off vibration and sound for email to get it to stop. Now, maybe that is what she has to do, but my iphone has push notifications off as well--but sound and vibrate still on--but will only beep/vibrate if the mail app is open. Otherwise, I don't get the notification. (Maybe my phone is broken, and hers is doing what it should for once? LOL) The thing is, she never touched that setting the first time she got the phone, and has NEVER received vibrate alerts for email. Why suddenly after a full reset would things be enabled that were never on in the first place?
    So I am stumped. It is a huge inconvenience to keep resetting this stupid thing, and we don't really want to pay the genius bar to look at it, but I can't help but feel like these recurring problems can't be software related when we've had this reset so many times--and it's not "network" issues because she is the only one. We have tried checking the diagnostic record for panic.plist (wishful thinking I guess), read through a ton of posts here, and tried what we could... any further advice/what we can try? Is there any chance this IS hardware, something corrupt in the phone memory/storage? An issue with the receiver? If so, how do we prove it? Can the genius bar scan it somehow?

    If you have an Apple Store in town, setup a genius bar appointment.  The genius bar tech should look at the phone and try to diagnose the problem free of charge.  They may not want to fix it free of charge, but they should perform their diagnosis and tell you what they find for free.
    It sounds to me like her iPhone is losing its connection to the Apple iMessage servers.  You might try actually turning off iMessage snd signing out of iCloud on her iPhone, then after a restart of the iPhone sign back into iCloud, then turn iMessage back on.  There is no guarnatee that this will resolve her problems, but it might help.  If her iPhone is not connected to external power, and it has been more than 10-15 minutes since she last used it, it has probably turned off the wifi radio, and will be depending upon cellular data for the iMessage traffic to flow.  This could easily account for the delays she is seeing, and even it dropping back to SMS, especially if you have poor cellular data coverage.  If this is the case, then getting something like a Mophie Juice Pack Air for her iPhone might help, as it would allow her iPhone to be connected to external power (the Juice Pack) thus keepig the wifi radio on more.

  • Volume indicator / buttons problem on iPhone 4

    I am experiencing a weird problem ever since I got my iPhone 4. The problem is that the Ringer Volume Indicator keeps popping up on the screen without touching any buttons. When it happens I can only either decrease or increase the volume - only one button functions.
    I tried restoring, updating, resettings, and almost everything else but nothing worked.
    It works fine for a couple of hours then the problem appears, but after a while everything seems to go back to normal and so on and so forth.
    here is a video that shows my problem:
    http://www.youtube.com/watch?v=9r0MN36pF8o
    I don't know if it's a hardware or software problem.
    Any one can help please?

    I thought so in the beginning, but the problem is not permenant. It happens frequently and every time it behaves differently.
    Check my othe video:
    http://www.youtube.com/watch?v=miChMRU3voE
    It just happens for several time, then everything is back to normal for a certain time.

  • Weird problem With my Audigy 4

    Hi all, I have a weird problem with my audigy 4. When I install the Nvidia IDE and Sata driver for my motherboard, I get sound problem in BF2, It glitches, I don't here my gun, well it's all ****ed up. Does anyone know why?Thanks in advance.

    I have had every iphone model ever made. I have never had a problem like this before. It appears that there are small spots all over the screen. Not to be confused with the "yellow spots" other iphone 4 user have been reporting due to the glue not drying before they reached the customer. This is a different type of spot. I would compare it to a petrie dish that scientist test for things in.
    The only thing I can think of is something is happening with the coating over the glass (oleophobic coating maybe braking down?). It only happened on the front screen and not the back glass. You can get the spots to go away when you use a micro fiber cloth to remove the natural oil from your face against the phone. The minute you start using the phone again, they appear. They are kinda annoying and make your phone screen look dirty and have a weird glare in it when your in the sun.
    I made an appointment tomorrow to go to the apple store to see what they can tell me. Hope fully its nothing major. The worst thing that could happen is the phone gets replaces by another. Ill keep everyone update.

  • Reception / Battery problems with iPhone 3GS after upgrading to iOS 4.2.1

    There are major reception and battery problems with iPhone 3GS after upgrading to iOS 4.2.1.
    I can not believe that Apple did not test this for major bugs like this one is.
    I am a business user and can not effort to have bad reception. Apple wants to gain in the business clients... I never had this with my former BlackBerrys!
    I need a reliable phone not a play thing like this is right now, it just needs it to work propely. And if a major bug like this comes along, fix it immediately. After the iPhone4 story, now this...incredible! Going back to my reliable BlackBerry! It just ain't reliable and takes forever to fix a problem.

    I have the same issue after iOS 4.2.1 update. I am using iPhone 3GS officially unlocked by Apple. I tried using different SIM cards and both carriers show same problem when using phone in 3G mode. Phone falls back to EDGE mode showing 'E' from '3G' at start. I have reset the phone and rebooted several times and moved to different cell areas in the city just to verify the problem.
    I had no such issues earlier. I also have Nokia E71 which shows full signal and has no such issues.
    I have posted the bug on apple iphone feedback page. I hope they Apple will fix the problem and test the release properly on all models before releasing to public.

  • SAP GUI 7.10p15 weird problem on FB70

    Hi all,
    We upgraded SAP GUI 7.10 to patch level 15 from patch level 14 using the install server on our Windows XP machines. A weird problem seems to appear since then on FB70. You press once or twice the ENTER key, without filling any field on the screen and the GUI stays on a busy state forever (trying to constantly redraw the screen as to show an error message on missing account number). It results to 100% CPU usage on the client (Windows XP machines, tried on Windows 7 also with same result) and seems to also stress the SAP system a bit. The only way to stop that behavior is to use the Windows task manager and kill the busy window. I have not seen this behavior before and can't reproduce it in any other transaction until now.
    I got access on a machine that was still on patch level 14 and works just fine. I did the upgrade and the same behaviour (busy, 100% CPU) instantly appears. Oddly enough, this behavior does not occur if I run FB70 throught the debugger (/h) in any case.
    Have you seen something like this or do you have any clue why that weird behavior might appear?
    Thank you very much in advance for any insight

    Hello Artemios,
    Yes, this seems to be a know issue with Patch 15. Please open a ticket on BC-FES-GUI to get a fix for that or wait until Patch 16 is released.
    Kind regards,
    Martin

  • Weird problem involving my external hard drive - help please!

    I recently got a formac mini 120 gb firewire hard drive, which had been working fine with my g4 quicksliver.
    i then went to a friends (g5 machine) with my drive and he put some data on it - bought it back to mine and managed to re connect the drive and take the data - no problem - very happy.
    I recently gave my drive to another friend using a g5 and when it came back, nothing - i don't get the drive symbol appearing. turned the comp on and off many times and tried re-connecting etc still no drive appearing.
    Then i took the drive to my friend with a mac lap top power book. connected there - working fine. Baffling. was happy that my data can still be accessed.
    I know it's not the firewire cable because i can get power to the drive - i can see the red light at the fron on.
    Can anyone help with this weird problem?
    Thanks

    Thought you could use this info about getting FireWire to work!
    First, you should always Repair Permissions in Disk Utility before and after any update; I would do that now. If you installed your update with FireWire plugged in, your Mac may not recognize it anymore.
    Try resetting your FireWire ports by disconnecting all FW devices, shut down your Mac and unplug it from AC power (wall socket) for 30 minutes. plug it back in and try FW.
    If that did'nt work, download the combo update from this site (yours may be corrupt), not Software Update, disconnect all firewire + USB devices except keyboard + mouse, Repair Permissions, re-install update, Repair Permissions again + try. Yours might be the 10.4.10 Combo update. I have no idea since you did not fill out your specs. fully when you signed in to this site. Others reading, download the Combo that applies to your system. This link is for PPC Macs not Intel Macs.
    If that still did'nt get it Zap the PRAM. While restarting Mac hold down the following key combo Command-Option-P-R. Keep holding those keys down till you hear the second start-up chime, then release.
    For those of you with Macs that are not PowerBooks or iBooks, a bad internal battery can cause FireWire to not be recognized, so make sure it's good! Also, here is Apple doc.#88338 on getting FireWire to work.
    Good Luck!
    Cheers!
    DALE

Maybe you are looking for

  • Printing to the end of a Random Access file with FileOutputStream

    I need to use FileOutputStream or anything else to print to a text file. However I need to print to the "end" of the file and not write over existing content. Anybody, given the following how would I append the file "myFile.txt"? The code below write

  • Invalid Serial number for Adobe Acrobat 7.0 Pro downloaded from your site

    I understand that you no longer will activate Acrobat 7.0 Pro...so I went to adobe.com\go\activation and downloaned the file for Acrobat 7.0 pro...which is file 22020134.exe and noted the serial number provided which is <removed by mod - kglad>..howe

  • How to Convert Photoshop File to Illustrator?

    I have a Photoshop image file (jpg and psd) for our company that was to have been used for a label we're putting on a battery. The Photoshop image looks great, but the battery manufacturer emailed us back saying that it wasn't printing clearly on the

  • Restricting access for top Hierarchy in queries

    Hello all, Since we have a top hierarchy that comes from R/3 in which every company from our organization is attached, is there any way to restrict users access in the queries and authorizations so that when a user runs a query and tries to access no

  • Format and Clean install

    I have a virus which I suspect is a keystroke logger. I cannot isolate it and want to do a complete wipe and format and re-install XP professional. (Since the unit was new I have always had occasional freeze-ups, etc.,  which I would also hope to cor