This is probably dumb but...

How do I turn a byte array to a string.
I try to do something like this
Byte b[];
String s = b.toString();
and I get garbage.....

Byte b[];
String s = new String(b);

Similar Messages

  • This is probably useless, but I'll try anyway. My iPhone5 got drenched in water, is there any way saving it without having to buy another phone?

    This is probably useless, but I'll try anyway. My iPhone5 got drenched in water, is there any way saving it without having to buy another phone?

    Take it to the Apple Store
    Confess the error of your ways with the soaking of your iPhone
    Ask them to check it out
    They will charge you $229
    Allan

  • This may sound dumb, but is there an app or a monthly subscription to carry wi-fi or internet connection. so i dont lose connection when i leave my house. want internet connection at all time

    I have an ipod touch 5th gen.  storage capacity is 27.9 / 23.3 available.  IOS 7.1.2    model # ME978LL/A.   My question is, now this may sound dumb. But i was wanting to know if there is a app or a monthly subscription to have internet connection or wi-fi at all times instead of just shutting my ipod off very few apps work without internet connection almost dosen't seem worth 300 dollars.  THANK YOU FOR YOUR INFO.

    Your internet connection depends on access to a wifi network. When you leave your house you go out of range of your own network, so the only way to connect is to find a free or paid public wi-fi service in the location you are in at the time; the alternative is to use your iPhone for what is called 'tethering' (providing a wifi signal you iPod can connect to) but it you have an iPhone you would want to use that anyway (and many service providers don't allow it - in any case it comes expensive as you are using a mobile data connection).

  • This is probably impossible but....

    I have a server that streams internet radio from WMAs using a
    standard ASX format for the playlist. Switching to streaming MP3s
    is not an option.
    I would like to make a flash player which people can embed in
    myspace ect and also use as a desktop app via Air.
    My question is this, is there any way to capture the ASX
    stream and play it within a Flash movie?
    Thanks for any advice.

    Hi John
    interesting...  I had seen that field many times and it never clicked. 
    What is odd is that I had posted about this and my work around in several blogs, and a couple of well known couple LR experts had commented my work around was probably a good approach given LR limitations.  
    As I think through this, I wonder if it is a matter of the list of choices from Adobe that made several of us think they meant something else. 
    "Unknown" does not seem to fit if "I know that I have not filed for registration"; would have been nice to have a little more granularity or clarity as in "Registration Pending" as a choice, but it comes down to semantics.
    Certainly your workflow approach works, and probably will start using this approach, while hoping that Adobe will give me one more choice !!
    Thanks again.
    -- Luis

  • This may sound dumb but can i return music that i have bought?

    I bought an album i was intending on buying, so im wondering if i can return it?

    All purchases are final - you can't return something you've already downloaded. If you have purchased something in error you could try asking iTunes Support whether they could consider refunding you just this once: they have been known to do so but please be aware that they are under absolutely no obligation to do so.
    To contact them, go to https://expresslane.apple.com ; select 'All Products and Services' in the first column, 'iTunes' in the second column and then 'iTunes Store' in the third column.

  • This may sound dumb, but I cannot delete videos. Please help!!!

    I try to right click and delete the video and cannot. Music will delete this way but for some reason, videos will not. I do not know if this is normal or if I am the only one experiencing this...
    Gateway Tablet   Windows XP  

    Welcome to Apple Discussions!
    Just click it and then click Delete on your Keyboard. There is no way to delete videos by right-clicking (so just use your keyboard).
    btabz

  • This is probably simple but ****, HELP!

    Hey guys, I'm a musician and not very computer savvy, I'm having a very basic problem, I've created a song on Logic Express 8 and i want to export it into an actually audio file (IE .mp3, .wav, .mov ANYTHING!) Please help I want to get my music out there.
    -Jonny Goode

    Hi,
    When you are happy with your track, all you have to do is click 'Bounce', this can be found on the top menu bar at the very right side of the screen. There is also a little button under the master track that says something like 'bnce' or something like that. Clicking this will then give you a window with a load of options of what you want to bounce your track as, just select your preferences and click 'bounce' at the bottom, and that's it!
    Hope this helps
    Cheers

  • This is probably old but...

    Alright so i've gotten a new white macbook (MA700) and I am now experiencing the 'whine' that so many people have complained about. This is my 3rd macbook i've tried (the 1st was coming apart and the 2nd one the fan sounded like it was rattling apart no matter how fast it was going and now I am onto this whine problem).
    Is there an easy fix/stopgap? It seems to only happen while plugged in, it just started after about a week's usage, and it cuts in and out as I turn apps on or off (i.e. as the load on the CPU changes).
    Any suggestions please?

    As far as I know yes, is there any easy way to check? I downloaded the latest one apple released and it said it could not be applied to my computer.

  • I have never used my mac for desktop publishing before and am having some problems.  This sounds really dumb, but I can't figure out how to put a border around a text box.  Also, how do you edit the border, i.e. border color, thickness, etc. Help!

    I have never used my mac for desktop publishing before and am running into some real problems.  How do you put a border around a text box?  Can you edit the border - color, thickness, etc.?  Help!

    I think the best solution is to read Pages documentation, go to Help and you have a long list of options. Pages is capable of quite sophisticated things, some features are above Nisus or Mellel, so it is not so simple to summarize things in a few lines.

  • I know this may seem dumb but like so many others before me I can't find the photos tab in itunes

    Need help finding the photos tab to sync up my iPad and PC

    If you are using a mac, you use iphoto.
    If you are on windows, you use whatever camera software windows uses.
    Itunes does not import photos.

  • This is probably a dumb question, but I can't find an answer. How do I make the text on my calendar larger so I can actually read it when I print it out?

    This is probably a dumb question, but I can't find an answer. How do I make the text on my calendar larger so I can actually read it when I print it out? I am using a MacBook.

    Press "Command P" and when the Print dialogue box comes up, towards the bottom there is an option allowing you to choose the text size, i.e: small, med, large.
    Hope this helps,
    NEIL

  • Help! This probably sounds dumb, but I got my Ipod touch fourth generation yesterday and they said I could sync the music from my computer to the Ipod. Could you guys help me do that? All the websites I have looked on don't help. Thanks!

    Help! This probably sounds dumb, but I got my Ipod touch fourth generation yesterday and they said I could sync the music from my computer to the Ipod. Could you guys help me do that? All the websites I checked didn't help. Thanks!

    You need to read the manual
    Click Support at the top of this page, then click manuals
    Open itunes, connect ipod, select what you want, sync

  • This is probably a stupid question, but what does the red circle with a number in it mean on iCal? It looks just like the emails notification. I do not have anything do or up in my cal.

    This is probably a stupid question, but what does the red circle with a number in it mean on iCal? It looks just like the emails notification. I do not have anything do or up in my cal.

    Actually, another person on the "more like this" had the right answer. It meant I had a notification for an invite that I needed to respond to.
    Hope this helps you as much as it helped me.
    D

  • This is probably an overscan problem, but..

    Hey guys/girls,
    I'm a fairly new video (80gb) iPod owner and I have some questions about tv output.
    I've been trying to output some subtitled avi files to my television, and the subtitles are getting cut off on the sides and some on the bottom.
    The best result I got was cropping a 16:9 format .h264 640x352 file with 14 pixels on the top and bottom, then all of the subs were visible, but the characters were stretched and squatty (as expected, since I do not have a 16:9 television).
    The video files in question are in 640x480 resolution divx format, and if displayed using another media player on the television (such as one for the ps2 or xbox media center), they display fine with subtitles intact.
    The fact that they are getting "blown up" over the screen size of the tv, even at 640x480 tells me that this is probably an overscan problem, but does anyone have any suggestions on how to get these videos to display properly on my tv?
    My next thought was to try cropping the sides of a 16:9 format to make things look closer to 4:3 with borders on all sides, as that would be preferable to having the subtitles cut off.
    Thanks in advance

    hi, yeh i had the same problem as u, it would say that the usb is unknown, and yeh it is because u are using the wrong cable.
    i had tried, for instance dwnloading the driver n stuff, eventually i found out it was because its the wrong cable, u see i had a previous cable for an old nokia phone, and i mistakly used that instead of the new one. once i plugged in the new cable although they both luked the same, it wrked. u sud luk up the type of cable ur phone takes.
    hope this helps.

  • HT1349 My ipad screen has got locked. This is probably because a teenager tried to use the device in my absence. The passcode window appears when I try to restart the device. But, there is no response when I try to type in my code. How can I revive the de

    My ipad screen has got locked. This is probably because a teenager tried to use the device in my absence. The passcode screen appears when I restart  the device. But, does not respond to typing. How can I revive the device?
    The device was synced to icloud some time ago. The Laptop PC I normally use with the device is not with me now and is being formatted for a different reason.

    iOS: Device disabled after entering wrong passcode
    http://support.apple.com/kb/ht1212
    How can I unlock my iPad if I forgot the passcode?
    http://tinyurl.com/7ndy8tb
    Using iPhone/iPad Recovery Mode
    http://ipod.about.com/od/iphonetroubleshooting/a/Iphone-Recovery-Mode.htm
    Saw this solution on another post about an iPad in a school enviroment. Might work on your iPad so you won't lose everything.
    ~~~~~~~~~~~~~
    ‘iPad is disabled’ fix without resetting using iTunes
    Today I met my match with an iPad that had a passcode entered too many times, resulting in it displaying the message ‘iPad is disabled – Connect to iTunes’. This was a student iPad and since they use Notability for most of their work there was a chance that her files were not all backed up to the cloud. I really wanted to just re-activate the iPad instead of totally resetting it back to our default image.
    I reached out to my PLN on Twitter and had some help from a few people through retweets and a couple of clarification tweets. I love that so many are willing to help out so quickly. Through this I also learned that I look like Lt. Riker from Star Trek (thanks @FillineMachine).
    Through some trial and error (and a little sheer luck), I was able to reactivate the iPad without loosing any data. Note, this will only work on the computer it last synced with. Here’s how:
    1. Configurator is useless in reactivating a locked iPad. You will only be able to completely reformat the iPad using Configurator. If that’s ok with you, go for it – otherwise don’t waste your time trying to figure it out.
    2. Open iTunes with the iPad disconnected.
    3. Connect the iPad to the computer and wait for it to show up in the devices section in iTunes.
    4. Click on the iPad name when it appears and you will be given the option to restore a backup or setup as a new iPad (since it is locked).
    5. Click ‘Setup as new iPad’ and then click restore.
    6. The iPad will start backing up before it does the full restore and sync. CANCEL THE BACKUP IMMEDIATELY. You do this by clicking the small x in the status window in iTunes.
    7. When the backup cancels, it immediately starts syncing – cancel this as well using the same small x in the iTunes status window.
    8. The first stage in the restore process unlocks the iPad, you are basically just cancelling out the restore process as soon as it reactivates the iPad.
    If done correctly, you will experience no data loss and the result will be a reactivated iPad. I have now tried this with about 5 iPads that were locked identically by students and each time it worked like a charm.
    ~~~~~~~~~~~~~
    Try it and good luck. You have nothing more to lose if it doesn't work for you.
     Cheers, Tom

Maybe you are looking for