Problem in scrolling in a windows app, which is de...

I am developing a windows app using phonegap and it works properly until I attach a banner ad at the bottom of the layout( using native code for banner ad) and after adding the banner ad the scrolling does not work (which works properly before adding banner ad)and the total application becomes slower. I have used the following code for scrolling
       style="overflow: scroll; -webkit-overflow-scrolling: touch;"
 I just want to know how to solve the problem using phonegap?

Try developer.nokia.com
Click on the blue Star Icon below if my advice has helped you or press the 'Accept As Solution' link if I solved your problem..

Similar Messages

  • Problems with CRC in some windows app's whit zip files generated with Java

    Hello,
    That is very strange but, we have an app for compressing a folder into a zip. For making, we use the Java.Util.Zip API. Our zip file looks fine, we can unzip the files into another folder without problems, even we can open the file with Winzip or Winrar.
    But, we had encountered problems with anothers win apps like "Recovery ToolBox", or another win app built with the "Dynazip.dll" library. This apps give us the next error.
    "Bad Crc".
    But if we unzip this "corrupt" file and we zip the content again, all work without errors.
    [http://img297.imageshack.us/i/dibujoou.jpg/]
    Our code (this function only zips a single file):
        public static File zipFile(String sFile, String sNameFileIn, String sFileOut)
                throws IOException {
            File file = new File(sFile);
            FileOutputStream out = new FileOutputStream(sFileOut);
            FileInputStream fin = new FileInputStream(file);
            byte[] fileContent = new byte[(int) file.length()];
            fin.read(fileContent);
            ByteArrayOutputStream bout = new ByteArrayOutputStream();
            ZipOutputStream zout = new ZipOutputStream(bout);
            ZipEntry zipEntry = new ZipEntry(sNameFileIn);
            zout.putNextEntry(zipEntry);
            zout.write(fileContent, 0, fileContent.length);
            zout.closeEntry();
            zout.finish();
            zout.flush();
            zout.close();
            out.write(bout.toByteArray());
            out.flush();
            out.close();
            File fich = new File(sFileOut);
            fin.close();
            return fich;
        }I try to calculate the crc number for my own without success... I don't know what's happening
    Thanks in advance

    FileOutputStream out = new FileOutputStream(sFileOut);ZipOutputStream zout = new ZipOutputStream(new FileOutputStream(sFileOut));
    byte[] fileContent = new byte[(int) file.length()];Here you are assuming the file size is <= Integer.MAX_VALUE. What if it isn't? Remove.
    fin.read(fileContent);Here you are assuming you filled the buffer. There is nothing in the API specification to warrant that assumption. Remove. See below.
    ByteArrayOutputStream bout = new ByteArrayOutputStream();
    ZipOutputStream zout = new ZipOutputStream(bout);Remove.
    ZipEntry zipEntry = new ZipEntry(sNameFileIn);
    zout.putNextEntry(zipEntry);Correct.
    zout.write(fileContent, 0, fileContent.length);int count;
    byte[] buffer = new byte[8192];
    while ((count = fin.read(buffer)) > 0)
    zout.write(buffer, 0, count);
    zout.closeEntry();Correct.
    zout.finish();
    zout.flush();Redundant but not incorrect.
    zout.close();Correct.
    out.write(bout.toByteArray());
    out.flush();
    out.close();Remove.
    File fich = new File(sFileOut);
    fin.close();
    return fich;I don't know why this method returns a File constructed out of one of its own arguments, which the caller could equally well do for himself, otherwise OK.

  • I am having ongoing connection problems with the Clash of Clans app which means that I lose battles, resources or boost times. This results in a loss of gems which I have purchased but will not be refunded as they will not accept responsibility.

    Whilst playing Clash of Clans I will continually lose the internet connection. This means that I lose battles, resources, gold etc and lose boost times. I have informed Supercell who blame my internet connection even though the iPhone, laptop and TV all work fine so it is obviously a technical problem with their game and probably something to do with their last updates.
    As I have purchased gems I feel that I should be compensated for my loss but they will not accept responsibility nor investigate the technical issue. The loss of connection occurs constantly with the game often freezing during replays or searching for battles. This is obviously not a connection issue.
    What suggestions do you have to resolve this situation?

    Hi.
    Thanks for the reply. I asked because I also wanted to see if others had encountered the same problem.
    I have no problems with my internet connection as I run my TV, laptop and iPhone off the same connection with no problems. I believe that since the recent updates to the game this has caused the problem. The game often freezes, cancels out or returns me to the main game screen during battles or replays.
    What I want to know is how do I get the game designers or owners to acknowledge my problem as at this time they keep telling me it is my internet that is a problem and not their game. How do they know this when they refuse to investigate. What can I do and who do I go to for support if they won't accept responsibility?
    I am very grateful to you for replying but concerned that if this can happen to me then how many other gamers are losing out and paying for something that they are not going to receive.
    Many thanks.

  • I've recently upgraded to Lightroom5.7.1 and now when I try to import photos a window pops up saying 'the photos can't be imported 'cos the files can't be read'. I had no problems before upgrading. I have Windows8 & can't find any 'app' which sets the typ

    I've recently upgraded to Lightroom5.7.1 and now when I try to import photos a window pops up saying 'the photos can't be imported 'cos the files can't be read'. I had no problems before upgrading. I have Windows8 & can't find any 'app' which sets the type of files I can import. Any help appreciated.

    Well, think about it. This is a Lightroom forum. We are here to answer questions about Lightroom and how to solve problems in Lightroom. Your permissions issue is an operating system issue, not a Lightroom issue. I didn't mean to be sarcastic. But there are plenty of Internet resources that will answer that question.
    I just went to Google and typed in "change disk permissions", and there are links for the Mac as well as for Windows listed. There's no sense in me rewriting instructions that are already available.

  • Hi, Dear. I purcahse my iphone 4S on of the guy, my problem is when i update any app from App store and i click update there is an e-mail address is coming which i doesnt know about the password, how can i revome the e-mail address for update our apps.

    Hi, Dear. I purcahse my iphone 4S on of the guy, my problem is when i update any app from App store and i click update there is an e-mail address is coming which i doesnt know about the password, how can i revome the e-mail address for update our apps.

    Yes. Delete the Apps that were not Purchased using Your Apple ID.
    But a Restore as New is the way to go.

  • HT5622 hey! i have a serious problem coming up which is that i am asked to enter my billing info even for free apps. why should i pay for apps which are free? please help me with this problem!

    hey! i have a serious problem coming up which is that i am asked to enter my billing info even for free apps. why should i pay for apps which are free? please help me with this problem! and in the billing info there is pop-up box saying i have accessed my account from didfferent computer but no i have been doing it from the same pc. please help me out.

    Tap Settings > General > International. Make sure the Region Format is correct.
    As for your Apple ID. Tap Settings > Store > Apple ID > iForgot
    Resetting your Apple ID may help.
    Congrats on your new iPad !!!

  • I have apps loaded on my iPad. they show in the main screen are not available to load documents to in the window list which should appear below the main window. the same apps do appear in the sub window on my other iPad. any ideas?

    i have apps loaded on my iPad. they show in the main screen are not available to load documents to in the window list which should appear below the main window. the same apps do appear in the sub window on my other iPad. any ideas?

    From what I can see, unless you're doing things with old versions of Xcode on a Mac (in which case, the solution seems to be to upgrade to the latest version), this seems to e an iTunes issue.
    Accepting that it works fine with another iPad, I suggest trying the following:
    1. Restart the non-working iPad
    2. If that doesn't work, reinstall iTunes. If you're on a Windows PC, I suggest using Control Panel to uninstall all the Apple apps, restarting the PC, and doing a fresh install. If you're using a Mac, a repair permissions might help too.
    iTunes 10.3 is now available, and that may make a difference.

  • When I'm using Safari, acasionally the menu bar just disappears. I'm running the latest version of Lion and the latest version of Safari. This is not a full screen app problem. I have multiple windows open. This happens all the time! Firefox is fine! ???

    When I'm using Safari, ocasionally the menu bar just disappears. I'm running the latest version of Lion and the latest version of Safari. This is not a full screen app problem. I have multiple windows open. This happens all the time! Firefox is fine! What the ****? Please help!

    Right, like I'm trying to say, THERE IS NO SAFARI MENU bar. Example: I have multiple applications open, I click on a Photoshop window, the correct menu or title bar or whatever changes. Every other application window I click on brings up the correct "whatever" bar. If I click on the desktop, the "Finder Bar" shows up.
    Everythiing else, BUT SAFARI, works the same way since OS X came out.  This is ridiculous.
    I'm getting the vibe that Apple is trying to get rid of the finder.... this is the way wrong direction.

  • Hi..someone there?i am looking for an app, which can show and calculate. fully excel data from windows.until now i only found apps, which just show, but not calculate

    Hi..someone there?i am looking for an app, which can show and calculate fully excel data from windows.until now i only found apps, which just show, but not calculate.anybody who know an app???

    Look at the Rccharles answer on this post.
    https://discussions.apple.com/thread/6033082?tstart=0
    Also, you can download these free MS Office apps (Word, Excel, PowerPoint) to view (but not create or edit) these files.
    https://itunes.apple.com/us/app/microsoft-word-for-ipad/id586447913?mt=8
    https://itunes.apple.com/us/app/microsoft-excel-for-ipad/id586683407?mt=8
    https://itunes.apple.com/us/app/microsoft-powerpoint-for-ipad/id586449534?mt=8
    Microsoft Office for iPad:Early Reviews of Word, PowerPoint & Excel Apps
    http://ipadacademy.com/2014/03/microsoft-office-for-ipad-early-reviews-of-the-wo rd-powerpoint-excel-apps
     Cheers, Tom

  • I purchased Premiere Elements 13.  Elements does not support Windows Vista which is our operating system.  I have Elements 12 and never had this problem.

    I purchased Premiere Elements 13 & Elements does not support Windows Vista which is our operating system.  I have Elements 12 and never had this problem.  What are my options?  Do you have a compatible program for WinVista similar to Premiere Element?

    deniseu
    This is not Adobe. Please do not duplicate threads. I have answered one of at least 3 of your threads currently appearing at the top of the list of threads in the Adobe Premiere Elements Forum tonight. Please see
    I purchased Premiere Elements 13 and it is not compatible to Win Vista which is my operating system.  What are my options?
    New to Premiere Elements 13....it does not support Windows XP, Windows Vista, and OSX 10.7.
    Also see
    Removed features and unsupported file formats | Adobe Premiere Elements 13
    In your other thread which I have cited above, I have posted a list of choices ahead of you. There is no workaround to get Premiere Elements 13 to support Vista, XP, or OSX 10.7 that has ever surfaced.
    ATR

  • Windows app, javascript problems

    Hi ,
    We're building a windows app, and we have some issues with executing Javascript in the app itself (not the folios)
    i understand the alert function doesnt work because its a browser function - therefore wont work within an app.
    but we have a 'reload' link on our custom store page that uses the location.reload function and we cant get that to work either - probably for the same reason.
    The code we use is this:
    <a href='javascript:window.location.reload()'>Reload</a>
    And this is the error message we get:
    "No apps are installed to open this type of link (bridge)"
    Does anyone have any ideas of how we can reload our store page?
    Thanks
    Vauneen

    You should put your code in an onClick method, not in the href.
    See Javascript Best Practices
    Neil

  • Problems with shutdown, expose and window switching

    Hi there,
    Recently I've been having a few issues with OS X. First of all it wasn't shutting down properly -- the menu bar would disappear and it would look like it was going to shutdown, but it never did. I could move down to the dock (on auto-hide) and it would re-appear, at which point I can bring up a terminal window and use 'shutdown' to do the job. On startup I'd reset the PRAM, and then do a disk-check, but the problem keeps coming back.
    Subsequently, I've also been having problems with expose and switching windows (i.e. command-tab). Namely, neither of them work. Expose won't fire from either hot corners or the keyboard, and if I re-launch the app from the Apps folder (without trying to kill it first, I should say), it does nothing. Cmd-tab gets interpreted as just tab, and the keyboard shortcut for dashboard also fails (although I can start the dashboard from the dock).
    I read in another post about an invalid jpeg in the downloads folder being able to cause the Expose problem (seems like a most unlikely bug?). Anyway, I cleared all pictures from my downloads folder and functionality came back, but now it's gone again. It's really very frustrating as it makes moving between windows a lot more hassle.
    Any thoughts would be gratefully received.
    TIA,
    Mat

    This sounds interesting.
    Can you post a copy for the rest of us to see?
    As for actually helping you, and not just satisfying our curiousity, if you start cutting pieces of the code you will probably end up finding the source of the problem (and we won't have too big a program to handle). Since DSC is a likely suspect, you may want to start there.
    Also, are you creating an installer and using that to install? If not, you may wish to try that.
    Try to take over the world!

  • Problems with Comodo Kill Switch, Windows Services & Bitlocker Encryption on Asus N56VZ

    Hi All,
    So recently I found myself stuck in a different scenario than before, and after many hours researching and efforts to fix this I still find myself stuck  yet with a few options still to fix.
    What is the problem?
    So as a security cautious user when i first got to Windows 8.1 Pro 64Bit I encrypted both the C and D drive (Split the main disk) to protect myself and my family. Unfortunately that has not been very helpful with the way in which booting and running from
    either external USB devices or CD/DVD works, not allowing myself to at all.
    My usual security suit I  use is Comodo Internet Security, which additionally comes with Comodo Kill Switch. Whilst using the application instead of stopping one of the TCP connections I was meant to I accidently stopped an Windows Explorer connection.
    For some reason since then Windows Explorer, nor most windows apps or services themselves will run. For example msconfig will run but sfc /scannow or mmc will not, whether in safe mode or normal mode.
    What Caused the Problem?
    Cannot 100% say
    What I Think Caused the Problem?
    Myself running Comodo Kill Switch stopping a vital server connection with Windows Explorer that messed up alot. Or a potential Virus unknown how cannot fully scan system as wont boot externally or run many apps.
    Additional Info
    Asus Webcam is Disabled on Purpose
    Laptop was fully customized to run latest games full graphics minus Anti Aliasing, works with Evolve + CoD Advanced Warfare
    Laptop does not boot if USB Keyboard plugged in, works with everything else normal (had this on other systems no problem for me)
    Ask me for more info if required to add here, braindead again
    Specifications of my system
    Intel® Core™ i7 3610QM Processor
    Windows 8.1 Pro 64Bit
    Intel® HM76 Chipset
    DDR3 1600 MHz SDRAM, 2 x SO-DIMM 8GB
    15.6" HD (1366x768)/Full HD (1920x1080)/Wide View Angle LED Backlight
    NVIDIA® GeForce® GT 650M with 2GB DDR3 VRAM
    1TB 5400RPM OR 750GB 5400/7200RPM (Cannot remember off top of head, braindead)
    Super-Multi DVD 
    Kensington lock (Security Feature)
    LoJack (Security Feature)
    BIOS Booting User Password Protection (Security Feature)
    HDD User Password Protection and Security (Security Feature)
    Pre-OS Authentication by programmable key code (Security Feature)
    What Can Run and Won't Run?
    ON BOOT:
    Bitlocker Encryption Password & Advanced Settings are accessible
    Bios (password protected) is accessible
    Windows Recovery Mode is accessible (Think it is F9 or F10)
    Windows Logon Password Screen is accessible
    ON NORMAL/SAFE-MODE START UP:
    After Log-In Windows Explorer will not run
    Task Manager will run, also allows me to browse the files when trying to start new task
    Can run Command prompt
    Cannot run any control panel items
    Cannot run services.msc
    Cannot run mmc
    Cannot run sfc
    Every time it metions windows drive is locked
    Start Error's when running certain applications (Will post codes soon)
    Rufus USB Tool does run
    Cannot boot Kali Linux off USB
    Cannot boot Windows 8.1 off USB
    Cannot boot Windows 8.1 off DVDRW
    Fixwin2 will not run
    Apps either work or don't whether in safe mode or normal
    Cannot use Windows Installer
    What Fixes I Have Tried So Far
    Ok so like any normal user I don't want to lose my files. So here are what I have tried so far:
    Repair MBR (Repair Completed, No Luck)
    SFC /SCANNOW (Returns Error 'Windows Resource Protection could not start the repair service')
    Tried sfc /SCANNOW /OFFBOOTDIR=c:\ /OFFWINDIR=c:\windows (Could not access drive)
    Fixwin2 (Will not run in either normal or safe mode)
    Booting using Windows 8.1 via USB (Cannot boot from extermal devices due to Bitlocker Encryption)
    Booting using Kali Linux Via DVD & USB (Cannot boot from external devices due to Bitlocker Encrytption)
    How do I know it is because of Bitlocker, because last time I disabled it, I could run from external devices
    Tried to run bitlocker to change settings (Will not run)
    Have used both password and recovery keys to unlock driver, they work but when applications are running on windows the drive is still locked?
    Tried windows Automatic Diagnostic and Repair (Could not repair anything, did make a log I am still to extract from the syste)
    There are No System Restore Points
    I'm sure there is much more information I could post however I will leave it on an ask to know basis, apart from the log files and further information to gather. Below is my list of trial and error fixes to try for today (need more ideas and help please!):
    Hiren's 15.2 Boot CD via DVD (NOT ABLE TO BOOT)
    Hiren's 15.2 Boot CD via USB (NOT ABLE TO BOOT)
    Research into the Bios and Possible Update in-case of implementation of Virus, can access flash utility (STILL NOT TESTED)
    Try and get a portable version or a working version of windows installer to try and re-install Comodo Internet Security (STILL NOT TESTED)
    Another way to disable Bitlocker
    Anti-Malware / Anti-Virus Scan If Possible to Run One
    Bitlocker Repair Tool, will try this also
    I have posted this as have not found much info online, usually find it and crack on but this time things are a little more tricky, my priority task I really need to do is remove the Bitlocker Encryption, but if the application will not run... what do I do
    then?
    Thanks for your time reading all, Sorry for any poor formatting or spelling.
    Update 1: MMC.exe Error Code
    Ok so now have the computer in safe mode, still same as before, no explorer.exe, no services etc... Just went into the Task Manager > Services (Tab) > Open Services (Option at bottom)
    This is the error I get:
    'The Instruction at 0x785a746c referenced memory at 0x000000a8. The memory could not be read.
    Any Ideas on what this error is and why?
    Update 2: CHKDSK Works with no Fix
    Update 3: Hiren's 15.2 Boot CD - USB Boot still no luck booting around Bitlocker Encryption
    Just to explain again, I already have unlocked the drive with correct bitlocker password or recovery key yet the drive remains locked not allowing windows refresh of files of complete install from the windows recovery menu as keeps saying drive is locked

    Ok so attempt number two to write this update via bloody phone! (Just refreshed page whilst writing!)
    Update 4:
    Problem - cannot run from bootable devices (DVD/USB)
    Cause - bitlocker fully encrypted drive stops this working
    Repair - Boot up holding F9 to enter windows recovery Input Bitlocker recovery keys to unlock drives
    Navigate to Command Prompt in advanced settings Execute following code:
    Repair-bde c: d: -rp 000111-222333-444555-etc...
    (Code found from https://technet.microsoft.com/en-us/library/ee523219%28v=ws.10%29.aspx)
    Note for those using this: It is common while unlocking certain drives to get errors such as: Quote from http://www.benjaminathawes.com/2013/03/17/resolving-partial-encryption-problems-with-bitlocker/
    "LOG INFO: 0x0000002aValid metadata at offset 8832512000 found at scan level
    1.LOG INFO: 0x0000002b Successfully created repair context.
    LOG ERROR: 0xc0000037 Failed to read sector at offset 9211592704.
    (0×00000017) LOG ERROR: 0xc0000037 Failed to read sector at offset 9211593216.
    (0×00000017) …followed by around 20 similar entries that differed only by the offset value"
    Repair Status for Update 4: COMPLETED - However over wrote D drive data so now need to recover that
    Problem 2 - windows services corrupted along with windows files
    Cause - Unknown
    Repair - wait until system is fully decrypted Once fully decrypted ensure boot from USB/DVD
    Re-do fixes that would not work before if this has fixed boot issue Confirm fix / update post Hope anything I put here helps others also

  • My first problem is that I have no apps on my iPod desktop. The second is that my battery died, and despite being able to charge it, it is unable to restart back up.

    My first problem is that I have no apps on my iPod desktop. After using my computer to install something onto my iPod 5, it somehow disconnected. When i restarted the iPod, some apps (Safari, FaceTime, Game Center, App Store, iTunes Store, Camera, and some others disappeared. Apps like Flashlight and Jetpack Joyride which I had previousyl downloaded from the App Store were still there. I wanted to get the aforementioned apps back, so i decided to back-up my iPod to iTunes. The downloaded apps weren't able to be backed up ("authentication problems") but some apps like Tips, Video, iBooks, Reminders, Stocks, Settings, Voice Memos, were backed up. I then proceeded to factory reset the iPod, deleting everything and starting it as a new iPod. Once I finished this, I looked my desktop to see everything was gone, absolutely everything. I double-pressed the home button, showing Settings was open, but that's it. I opened settings and factory reset it again, this time choosing to restore from a backup. After doing this, I found the iPod looked the same as the last time i reset it - blank. If I scroll down the middle of the screen to bring up a search bar, I can find only the apps I backed up (Tips, Video, iBooks, Reminders, etc.) That is the first MAJOR problem. I was getting really frustrated, so I opened up iBooks and discovered I can download a could free books from the store, which was essentially the only thing I can use the iPod for. There were no videos in the Video app, and pressing the "Go to Store" button did absolutely nothing. No lag, it just ignored my touch. Once i found a few books, I decided to start reading. Eventually, i brought this iPod somewhere to read it, and didn't bring the charger with me. The battery died, and when i got home, tried charging it.
    Which brings me to the second problem. A minute or so after I plugged in the charger into the dead iPod, the Apple logo came on. But the iPod never started up. The logo stayed there, getting dimmer after a minute, but no vanishing even after fully charging or pulling out the charging cord. It didn't leave even after hours, but by then the battery died again. If i press and hold the power button and the home button at the same time, the Apple logo disappears. But I can't get into recovery mode utilizing the volume buttons. If i hold the power button when the screen is blank, the Apple logo comes back. But the iPod cannot start up.
    After everything was wiped, i was pretty angry. But I still had books to read, even if i couldn't do much else. Then the battery died, and it really wrecked me up. I feel so mad right now, although this actually happened about 4 days ago. The iPod being wiped happened about 3 days after the Christmas holidays began. This iPod also was not brand new, I bought it off a friend who had it for over a year, although it was in perfect condition (Obviously out of warranty.) I desperately need a solution to this HUGE problem. Due to personal reasons, I can't go to a Genius Bar or go to an Apple retailer in person, but communicating by E-mail is an option, as is instant messaging.

    Try:                                               
    - iOS: Not responding or does not turn on           
    - Also try DFU mode after try recovery mode
    How to put iPod touch / iPhone into DFU mode « Karthik's scribblings
    - If not successful and you can't fully turn the iOS device fully off, let the battery fully drain. After charging for an least an hour try the above again.
    - Try another cable                     
    - Try on another computer                                                       
    - If still not successful that usually indicates a hardware problem and an appointment at the Genius Bar of an Apple store is in order.
    Apple Retail Store - Genius Bar
    The missing apps could have been done by setting the Restrictions that can hid those apps. If the backup was made with those retrictions set the the Restrictions are also restored.
    Thus, if you get it to work restore to factory settings/new iPod, not from backup                               
    You can redownload most iTunes purchases by:        
      Downloading past purchases from the App Store, iBookstore, and iTunes Store

  • Problem Checking if File Exists When App is Launched

    I'm developing an app which checks a file "lastuser.txt" to determine which database to open, as sometimes people share phones. Anyway, I'm trying to call  TryGetItemAsync() in the OnLaunched() section in App.xaml.cs but I get the message
    "The name 'TryGetItemAsync' does not exist in the current context".  I am new to C# and phone app development. Any help would be greatly appreciated. Below is my code:
    tia
    CS
    using System;
    using System.Collections.Generic;
    using System.IO;
    using System.Linq;
    using SQLite;
    using System.Runtime.InteropServices.WindowsRuntime;
    using Windows.Storage;
    using System.Threading.Tasks;
    using System.Diagnostics;
    using Windows.ApplicationModel;
    using Windows.ApplicationModel.Activation;
    using Windows.Foundation;
    using Windows.Foundation.Collections;
    using Windows.UI.Xaml;
    using Windows.UI.Xaml.Controls;
    using Windows.UI.Xaml.Controls.Primitives;
    using Windows.UI.Xaml.Data;
    using Windows.UI.Xaml.Input;
    using Windows.UI.Xaml.Media;
    using Windows.UI.Xaml.Media.Animation;
    using Windows.UI.Xaml.Navigation;
    // The Blank Application template is documented at http://go.microsoft.com/fwlink/?LinkId=391641
    namespace BP_Alert
    /// <summary>
    /// Provides application-specific behavior to supplement the default Application class.
    /// </summary>
    public sealed partial class App : Application
    public static string DBPath = string.Empty;
    public static string LastUser = string.Empty;
    public static DateTime Time_Taken { get; set; }
    private TransitionCollection transitions;
    /// <summary>
    /// Initializes the singleton application object. This is the first line of authored code
    /// executed, and as such is the logical equivalent of main() or WinMain().
    /// </summary>
    public App()
    this.InitializeComponent();
    this.Suspending += this.OnSuspending;
    /// <summary>
    /// Invoked when the application is launched normally by the end user. Other entry points
    /// will be used when the application is launched to open a specific file, to display
    /// search results, and so forth.
    /// </summary>
    /// <param name="e">Details about the launch request and process.</param>
    protected async override void OnLaunched(LaunchActivatedEventArgs e)
    #if DEBUG
    if (System.Diagnostics.Debugger.IsAttached)
    this.DebugSettings.EnableFrameRateCounter = true;
    #endif
    Frame rootFrame = Window.Current.Content as Frame;
    // Do not repeat app initialization when the Window already has content,
    // just ensure that the window is active
    if (rootFrame == null)
    // Create a Frame to act as the navigation context and navigate to the first page
    rootFrame = new Frame();
    // TODO: change this value to a cache size that is appropriate for your application
    rootFrame.CacheSize = 1;
    if (e.PreviousExecutionState == ApplicationExecutionState.Terminated)
    // TODO: Load state from previously suspended application
    DBPath = Windows.Storage.ApplicationData.Current.LocalFolder.Path;
    LastUser = Path.Combine(Windows.Storage.ApplicationData.Current.LocalFolder.Path,"LastUser.txt");
    bool result = await TryGetItemAsync(LastUser); <--Error!!!!!!!!!!!!!!!
    // Place the frame in the current Window
    Window.Current.Content = rootFrame;

    It seems that TryGetItemAsync is a method on a StorageFolder, so you will need to do something like:
    myStorageFolder.TryGetItemAsync(LastUser);
    See here:
    https://msdn.microsoft.com/en-us/library/windows/apps/windows.storage.storagefolder.trygetitemasync.aspx?cs-save-lang=1&cs-lang=csharp#code-snippet-1
    If you go to that link and scroll down to the bottom of the page, it says:
    Minimum supported phone
    None supported

Maybe you are looking for

  • This computer is not Authorized

    I've created an iMovie (08) project. When I try to put in music from my iTune , i get the message "This computer is not authorized to play this content" The music in question I have bought from iTunes fully legal ! What's wrong ? I've repaired permis

  • Creating a PDF while maintaining same layout

    I've created a label for a client for her to print via a PDF. It is 10 labels per page (Avery product). I can print just fine directly from Illustrator. But creating a PDF for her to print changes the layout, and the labels no longer print exactly on

  • Why can't I access Youtube on my iMac?

    I can't access youtube from any of my browsers: -safari -firefox -chrome -opera The loading bar doesn't move at all, and the page stays white; It's only happening with my iMac computer. I use a router for internet. Other websites work just fine... al

  • FYI - High precision data issue with sdo_anyinteract on 11.2.0.3 with 8307

    For anyone that may happen to be experiencing issues with SDO_ANYINTERACT on 11.2.0.3 with high-precision geodetic data, I currently have a service request in to fix it. The issue we have is with locating small polygons ("circles" from 0.5"-4") in th

  • Need information on Infotypes

    Hi, I want to know some detailed Information on the following infotypes Infotype 1010, 1050, 1051 Pls explain me wut are these infotypes used for and integrations also. Regards Vijay