In this moment, I have many Crash/Hangs/Memory events from Windows Store. In my app, I use Google Analytics but, recently, I implement Microsoft Applications Insights for get more information about this events, but, the problem are the same, I have small information, to detect where is the problem inside application.
I download report file, from store, but the file are in .TSV format.
I try use WinDBG for analyse this event, but this, not accept .TSF file but by example accept .CAB format.
In store, report always generated in .TSV format.
Example Crash (From Windows Store):
- APPLICATION_FAULT_11ee0_MyApp.dll!Unknown
- INVALID_POINTER_READ_c0000005_igd10iumd64.dll!OpenAdapter10_2
- INVALID_POINTER_READ_c0000005_msmpeg2vdec.dll!TaskScheduler_FindAndExecuteTask
- NULL_POINTER_READ_c0000005_mfsvr.dll!CSimpleVRStreamSink::PresentFrame
- MEMORY_CORRUPTION_STRIDE_AFTER_CALL_c0000005_memory_corruption!Windows_UI_Xaml
Example Hang (From Windows Store):
- APPLICATION_HANG_QUIESCE_THROTTLED_PRELAUNCH_cfffffff_E3d14332.MyAppName!outstanding_deferrals
- APPLICATION_HANG_QUIESCE_THROTTLED_PRELAUNCH_BlockedOn_FileIO_cfffffff_E3d14332.MyAppName!outstanding_deferrals
- APPLICATION_HANG_ACTIVATION_RESUME_PRELAUNCH_BusyHang_cfffffff_E3d14332.MyAppName!activation_in_progress
- MISSING_DUMP_80000003_E3d14332.MyAppName_1.3.5.0_x64__x5pj8nbyjfjhfgdr72!Unknown
- APPLICATION_HANG_QUIESCE_THROTTLED_PRELAUNCH_BusyHang_cfffffff_E3d14332.MyAppName!outstanding_deferrals
- APPLICATION_HANG_QUIESCE_THROTTLED_PRELAUNCH_BlockedOn_AlpcPort_cfffffff_E3d14332.MyAppName!outstanding_deferrals
- APPLICATION_HANG_ACTIVATION_BusyHang_dfffffff_E3d14332.MyAppName!unknown_error_in_application
- APPLICATION_HANG_ACTIVATION_BusyHang_cfffffff_E3d14332.MyAppName!unknown_error_in_application
Example Memory (From Windows Store):
- INVALID_ARG_FAILURE_c0000409_Microsoft.Media.AdaptiveStreaming.dll!DllCanUnloadNow
- MISSING_DUMP_80000003_E3d14332.MyAppName_1.3.5.0_x64__x5pj8nbyjfjhfgdr72!Unknown
- SOFTWARE_NX_FAULT_NULL_c0000005_aticfx64.dll!Unknown
- FAST_FAIL_UNEXPECTED_HEAP_EXCEPTION_c0000409_E3d14332.MyAppName!unknown_error_in_application
- STACK_BUFFER_OVERRUN_c0000409_msxml6.dll!URLMONRequest::_CallOnHeadersAvailable
- FATAL_APP_EXIT_c0000409_Windows.UI.Xaml.dll!CD3D11DeviceInstance::RecordDeviceAsLost
WinDBG + .CAB analyse: http://blogs.msdn.com/b/stephe/archive/2015/03/30/how-to-make-use-of-crash-dumps-available-on-the-store-dev-portal.aspx
Someone, help me in this problem? Any tool read and analyse .TSF file from generated by Windows Store? Any information about this events?
Thanks
Related
First of all: I know about the security concerns regarding ftp, so please no discussion about this here - ftp has to be used.
My app has to log into a server with ftp (with username/password), search for and download a file, delete it from the server, then upload an edited version.
I've been searching for tutorials on how to even get a connection to a server via ftp but all I found were Apple's documentation from 2012 here and their documentation about the different functions here (and a bunch of weird "Swift FTP" biking videos on youtube...). Every other example I found (usually <2015) uses some additional framework or library but there don't seem to be any proper tutorial for Swift 5 or even Swift 4.
Is it even still possible to use FTP with Swift 5 (is it still supported?) and if so, how? Or is there simply no point trying to get any of Apple's stuff to work and better to just use an extra framework like FileProvider?
At first I was using FileProvider, unfortunately the library is pretty buggy currently, with functions being called twice (which you can kind of prevent by using a "firstTimeCalled" bool check) and if the server's slow(-ish), you also might not get e.g. the full list of files in a directory because FileProvider stops receiving answers before the server's actually done.
I haven't found any other FTP libraries for Swift that work (and are still supported), so now I'm using BlueSocket (which is able to open sockets, send commands to the server and receive commands from it) and built my own small library that can send/receive,... files (using the FTP codes) around it.
Assuming I have an app on iOS that generates a data file, and I would like the user the ability to import/export that file, how is that best done?
Import from email in xcode/objc:
http://www.raywenderlich.com/1980/email-tutorial-for-ios-how-to-import-and-export-app-data-via-email-in-your-ios-app
Is this possible in Delphi? (i.e. register an ios app as file handler for a specifc file type)
(I am planning on handling export through generating an email attaching a file? I suspect this is probably possible although if anyone knows for sure, feel free to share)
It has been asked why import/export across email is useful.
Because legally EU/US law and cloud storage is difficult with personal data
You don't need any desktop computers
You can sync data between ios and android apps if user changes mobile
You are not bound to any specific cloud provider or anything similar
Quote from above article where author explains where the file path is passed to the app:
application:didFinishLaunchingWithOptions, passing the URL in the
UIApplicationLaunchOptionsURLKey, or via application:handleOpenURL.
But since I have not used Delphi for ages (for mobile), I would just like to know for sure if Delphi supports this or not before buying a new version
You can send files using email. I use the email component from D.P.F Delphi iOS Native Components to send file attachments using email. I don't see any reason why you should not be able to send your data file as long as it is not too big. Use a file extension that is unique to your app.
You could also use iTunes filesharing in order to give your users direct access to your data file. Just set the UIFileSharingEnabled key in your info.plist and store you data file inside of the documents folder. This does require a desktop PC, but it is still a very nice addition to sending backups by email.
Depending on your needs,
I would suggest looking at perhaps saving the file to a server using FTP and Indy and then on the other device you can retrieve it?
http://www.delphipages.com/forum/showthread.php?t=208397
Set the TidFTP connection parameters
Do a FTP put : // ftp.Put('testfile.txt');
Perhaps have a Database with a column that you specify a file version etc
Do a simple Get request if you want to retrive the file with the filename
or Alternatively you can save it to a blob field in a DB and have the other device read the blobfield if you don't want to do it via FTP
Is it possible for an non-beta user of my app to send me their whole app directory for analysis purposes?
I know the way via the Xcode Organizer to download the whole app directory. But is this also possible for a end user to save/export a package of the app including all document files and send me this package via email?
The application directory and its contents are not end-user accessible without the use of a third-party tool such as PhoneView or iExplorer.
Yes. I am sure there are many cheaper ways to do this, but I find PhoneView really handy for browsing the device and copying complete app folders.
Another approach I suppose - easier for the user but tougher for you - is to implement file sharing so that the user can drag stuff from your app via iTunes. It depends on how much / what kind of data you need from the user how you would implement this.
In my mvc2 project i have a method called DownloadPDF. In that i have,
httpContext.Response.WriteFile(<FilePath>);
httpContext.ApplicationInstance.CompleteRequest();
I wan't to track whether the file has downloaded successfully. I referred following tutorial but it doesn't work when i host the project in IIS.
http://www.codeproject.com/Articles/74654/File-Download-in-ASP-NET-and-Tracking-the-Status-o
If you application targeted for HTML 5 browser means, try the "Html5 Progress Event". It will supply all the necessary information
total - Total bytes being transferred
loaded - Bytes uploaded thus far
lengthComputable - Specifies if the total size of the data/file
being uploaded is known
For more information:
http://www.matlus.com/html5-file-upload-with-progress/
I'm absolutely new to iOS App development (I haven't actually started yet, still in a design phase).
The task that I have to accomplish with my app is to download a zip from somewhere, extract anywere to local storage and display its content (html pages with javascript) in a embed webkit widget.
The questions are:
1) Will my app have access to any folder of my iPad storage memory?
2) Will my app's embedded Webkit widget be able to display local html pages (like file:///somewhere/over/the/rainbow.html ?
3) WIll that local page be able to use Ajax method (over httpxmlrequest) to dynamically load external scripts or xml (also locally stored - ie ./something.xml)?
Thank in advance for any help!
No it can't access any file. Apps are sandboxed on iOS. You can only access the app bundle's content and documents folder (a writable area unique to your app).
Yes - provided said content is in the areas mentioned in (1). This is how Phonegap-based apps work.
Yes - they can. We've done exactly this extensively in several of our apps.