Can I get the language from device?

with the adobe packager 3.0 can I get the language from device?
thanks

You can get the devices "Language" setting by looking at the first element of the array returned by Capabilities.languages.
Unfortunately the codes returned don't seem to always match the standard naming convention for language codes.
var languageSettings:Array = Capabilities.languages;
if ( languageSettings.length > 0 )
    if ( (languageSettings[0]).toString().toLowerCase() == "en-gb" )
        // Do something based on the language being "British English" in this case.
I still need a way to determine if the user is using Canadian English, but the device seems to only have 2 English settings (English and British English).
There is a Canadian "Region Format" setting also under Settings->General->International->Region Format, but I'm not sure how to access that information.
If anyone knows how to access the region format, I'd love to know.
Thanks.

Similar Messages

  • My computer crashed and I no longer have the itunes library. i get an error msg that my iphone is synced to another library - how can I get the info from the phone to the itunes library?

    my computer crashed and I no longer have the itunes library. i get an error msg that my iphone 3g is synced to another library - how can I get the info from the phone to the itunes library without losing everything? How do I delete old audiobooks from my iphone?

    You can transfer itunes purchases:  File>Devices>Transfer Purchases
    The iphone is not a storage/backup device.  The sync is one way - computer to iphone.  The exception is itunes purchases.
    It has always been very basic to always maintain a backup copy of your computer.  Use your backup copy to put everything back.

  • How can I get the language of the user logged on using only DI API?

    Hello,
    how can I get the language of the user logged on using only DI API,
    without invoking the UI?
    Can I read the value from some table using sql?
    I could write to file the first user's connection to the language code in SAP and then use it from external program, but I do not like this solution ...
    I know only this possibility:
            '_SboCy ==> SAPbobsCOM.Company
            '_SboCys ==> SAPbobsCOM.CompanyService
            '_SboApp ==> SAPbouiCOM.Application
            CodLng Dim As String = ""
            Dim lng As SAPbobsCOM.UserLanguages _SboCy.GetBusinessObject = (BoObjectTypes.oUserLanguages)
            If lng.GetByKey (_SboApp.Language) Then
                codLng = lng.LanguageShortName
                'Etc. ..
            End If
            lng = Nothing
    Thanks

    Hi Enrico,
    The language settings are held on the user's Windows profile and not in the database. In SBO 2007A onwards there is an XML file that is created by the SBO client (previous versions stored the information in the registry). The file is called b1-current-user.xml and you'll find it in the temporary application data under the user's profile (by default this will be C:\Documents and Settings\<profile>\Local Settings\Application Data\SAP\SAP Business One for Windows XP). This XML file contains a node that looks like the following:
    <leaf kind="single" name="Language" type="String">
         <value>8</value>
    </leaf>
    where the value is the language id that should correspond to the same setting in the DI API. If your application will always run on a workstation where the SBO client is installed then you could read this XML file. Of course, this file may not exist for a particular Windows user if they have never opened the SBO client so you'd need to have a default setting.
    If you application will be installed on a workstation which doesn't have an SBO client installed on it then there is no way to tell what default language to use and you'll need to build this logic in to your own application (eg have a screen where the user can choose their preferred langauge and then store this as a config file in a similar way to how the SBO client works).
    Kind Regards,
    Owen

  • I have a shuffle and it dont work so i got a nano how can i get the music from the shuffle to the nano

    i have a shuffle and it dont work so i got a nano how can i get the music from the shuffle to the nano

    Hi tak661_99m,
    It sounds like you want to transfer music from your older iPod shuffle to iTunes and then sync it to the new iPod nano. Take a look at the article below for more information about transfering music from your device to iTunes. The way you transfer the music to the new iPod nano will vary depending on where the music came from and whatever is most convenient for you.
    iTunes: Transferring media from your iPhone, iPad, iPod touch, or iPod
    http://support.apple.com/kb/ht1209
    Media type
    Transfer method
    Music purchased from the iTunes Store
    Transfer your media through iTunes.
    Download your media through iTunes in the Cloud1.
    Download your media through iTunes Match2.
    Music imported from a CD or other source
    iTunes can't transfer this media back to your computer.
    Back up your iTunes library or use iTunes Match2.
    iTunes in the Cloud is supported on up to 10 devices:
    iPhone
    iPad
    iPod touch with iOS 4.3.3 or later
    iTunes for Mac or Windows 10.3 or later
    If you use an iPod classic, iPod nano, iPod shuffle, or earlier iPod model, use iTunes in the Cloud within iTunes on your computer. Previously purchased content may be unavailable if it's not in the iTunes Store. Learn more about
    downloading past purchases from the App Store, iBooks Store, and iTunes Store
    and
    which content types are supported for iTunes in the Cloud by country
    iTunes Match is supported on these devices:
    iPhone
    iPad
    iPod touch with iOS 5.0.1 or later
    iTunes for Mac or Windows 10.5.1 or later
    If you use an iPod classic, iPod nano, iPod shuffle, or earlier iPod model, use iTunes Match within iTunes on your computer. iTunes Match is subject to subscription purchase and
    availability
    . Learn more about
    subscriptions to iTunes Match
    -Jason

  • HT1848 how can i get the music from itunes on my pc to transfer to my iphone?

    how can i get the music from itunes on my pc to transfer to my iphone?

    The only supported method to get media onto an iDevice is via iTunes.  Read the User's Guide it will describe how to do this in detail.
    iCloud does not put media on the device, but using iTunes Match and iCloud it is possible to have access to all media that exists on your computer, but only when the device has Internet access.  It will not load media onto the device.
    Use of 3rd party tools to transfer files to the device is not supported.

  • How can i get thes songs from ipod nano to the itunes libary??

    hi
    i have ipod nano and i sync it with over 500 songs .....my bad i lose all that songs on my libary  .... how can i get thes songs from ipod nano to the itunes libary??

    See this older post from another forum member Zevoneer on different ways to copy content from your iPod to your computer.
    https://discussions.apple.com/thread/2452022?start=0&tstart=0
    B-rock

  • HT4437 I want to develop a software with AirPaly service for business things. How can I get the permission from Apple?

    I want to develop a software with AirPaly service for business things. How can I get the permission from Apple?
    This one is used in Windows laptop, and I want it support AirPlay service, but Apple doesn't publish the AirPlay protocol.
    Many thanks.

    Create a developer account, then access he developers forums and see if you can find the information that way 
    The other option would be to simply contact Apple directly.

  • My wife has an I Tunes account on our PC, I have an I tune account on my Mac Book Pro.   How can I get the music from her account on the PC to my account on the Mac Book and I phone?

    My wife has an I Tunes account on our PC, I have an I tune account on my Mac Book Pro.   How can I get the music from her account on the PC to my account on the Mac Book and I phone?

    IflyDavie wrote:
    I need help to delete my icloud account from my iPad.  It has "Find my iPad" on it and won't let me delete without the old password.  I don't want to reset password as it will require reset of Mac Book Pro and 2 iphones.  Help appreciated.
    Your description of the problem is a bit confusing.  Do you have ONLY ONE Apple ID or do you have MORE THAN ONE?

  • Can anyone let me know how can i get the ouput from BW in .txt format.

    Can anyone let me know how can i get the ouput from BW in .txt format. See we can get output as Excel(i.e BEX) and manually convert it into txt format. I need a direct or automated way to do the same.no human intervention.
    mail me at [email protected] or post answer in sdn.

    Please do not multiple post across forums..
    how can i save the data in BEX reports in .txt format automatically
    This helps in keeping track of answers and avoids the issue of repeated answers across forums...
    Please close one of the threads as answered and provide the link that you want to follow
    Arun

  • How Can we get the data from Non-SAP to SAP in WebDynpro

    Hi,
    I hope u understand my query, How can we get the data from Non-SAP to SAP thru WebDynpro Programming.
    Help out with the steps for getting the data or procedure.
    Regards,
    Mutyapu

    You can expose the APIs in the Non-SAP backend as Web Services, and consume them in SAP by creating an Enterprise Proxy. Then these can be called just like normal class methods from Web Dynpro.
    Regards,
    Nithya

  • How can I get the events from a java program?

    I want to make a monitor to watch a java program.How can I get the events from the GUI of this program some as mouse cliking, keyinput. So I can watch these in my monitor.
    Thanks

    Hi,
    To put a monitor to the events occuring in the GHUI u need to register required components with the appropriate EventListeners.
    Liek if u want to get notified when a mouse is clicked, then u need to add The MouseListener to the component which u want to be monitored.
    Say
    myFrame which is the JFrame object which shuld be monitored for the events.
    Then in ur program u have to add following code
    myFrame.addMouseListener( someObectReference );
    Here the someObjectReference should be an instance to a concrete class ..i.e. U write a class like the following
    public class MyMouseListener implements MouseListener {
    // override the followig methods
    public void mouseClicked(MouseEvent me){ sop("MOUSE CLICKED ON THE FRAME");}
    public void mousePressed(MouseEvent me){}
    public void mouseReleased(MouseEvent me){}
    If u dont want to use another class for listening to the events. Then u can make teh current class monitor the events. To do so ur class should implement the appropriate listener and should override the required methods.
    and u should say myFrame.addMouseListenet( this );
    thats it

  • If i got an iphone 5 and synced it with my computer, can i get the contract from my iphone 4 to a iphone 5 without upgrading the contract? (So that i will still have the same contract)

    If i got an iphone 5 and synced it with my computer,
    can i get the contract from my iphone 4 to a iphone 5 without upgrading the contract?
    (So that i will still have the same contract) (I have verizon.)

    Ask Verizon.
    You will have to activate the phone through them.

  • I have an old iPod Classic with 80 GB (I think) of space. I saved all my songs in an external hard drive, but the iTunes library resided in an old computer (no longer working). Can I get the libray from my iPod and use it in my new computer (Windows)?

    I have an old iPod Classic with 80 GB (I think) of space. I saved all my songs in an external hard drive, but the iTunes library resided in an old computer (no longer working). Can I get the library from my iPod and use it in my new computer (Windows)?

    You might want to check your process for moving your iTunes music against this: http://support.apple.com/kb/HT4527.

  • Can I get the library from my Ipod touch next generation back to my PC?

    Can I get the library from my Ipod touch next generation back to my PC?
    My PC got a virus and I had to reinstall windows from scratch so I lost most of my music. I had a backup program that died in the middle of it so only half came back. the only place that I have all the songs is on the ipod. if I let it sinc it will loose the half that I do not have.
    Any ideas on which direction I should go?

    If your iPod is set to update automatically you need to take care connecting to an empty iTunes. You can use a keyboard command to prevent your iPod auto-syncing with iTunes. While connecting the iPod to the computer on Windows with iTunes installed hold down the Shift + Ctrl keys together. This will stop the iPod from auto-syncing with iTunes and the iPod will appear in the source list. Wait until you are sure the iPod has mounted, and that it will not auto sync and then you can let the keys go. This may take between 20 to 30 seconds depending on your computer: iTunes - Keyboard Shortcuts for Windows
    If at any point you get a message that your iPod is linked to another library and asking if you want to link to this one and replace all your songs etc, press "Cancel". Pressing "Erase and Sync" will irretrievably remove all the songs from your iPod.
    If you only want to copy your purchases to the computer that can be done using iTunes, you'll find details in this article: Copying iTunes Store purchases from your iPod or iPhone to a computer
    For everything else (including purchases) there are a number of third party utilities that you can use to retrieve the music files and playlists from your iPod Touch or iPhone. You'll find that they have varying degrees of functionality and some will transfer data (such as playcounts and ratings), movies, videos, photos, podcasts and games as well.
    A selection of iPod/iPhone to iTunes utilities:
    Senuti Mac Only (iPod Touch & iPhone compatible)
    SharePod Windows Only (iPhone and iPod Touch compatible)
    TuneJack Windows Only (iPhone and iPod Touch compatible)
    iPodRip Mac & Windows (iPhone and iPod Touch compatible)
    Music Rescue Mac & Windows (iPhone and iPod Touch compatible)
    iPod Music Liberator Mac & Windows (iPhone and iPod Touch compatible)
    iGadget Mac & Windows (iPhone and iPod Touch compatible)
    iRepo Mac & Windows (iPhone and iPod Touch compatible)
    iPod Access Mac & Windows (iPhone and iPod Touch compatible)
    TouchCopy Mac & Windows (iPhone and iPod Touch compatible)

  • Hello everybody out there, which way can I get the screensaver from Lion get back on Mountain Lion??

    Hello everybody out there.
    Which way can I get the screensaver from Lion get back on Mountain Lion??
    Thanks
    malibu0978

    Thanks very much I have contacted them via this. Just hope they respond quickly- rather annoing! Greatly appreciated though

Maybe you are looking for