Import txt file from computer to windows phone 8.1 - c#

to finish my app, I need something to load a txt file from computer to Windows phone 8.1 when USB is connected, in c# windows mobile app.
I found nothing related to this, and can't develop any code.
Hope someone can help.

You can use IsoStoreSpy, a very handy tool. Just select the device -> select the app -> upload your file into the Isolated Storage.

Related

Embed mobile emulator in Windows forms application

Dears
I am creating a windows forms application (c#) in which allows the user to upload .apk file to number of participants and hence my program will analyse some UAT properties.
My question is: is it possible to show any emulator inside a winform application and is it possible to communicate with it? In other words, is there any APIs or extensions for Android Emulator that I can use?
Thanks 😊

Show Windows Phone app demo to client

I'm developing a windows phone 8.1 app for a client. I need to show a demo to the client but without uploading to the Store. One way to show the demo is by recording a video using screen recorders. Is there any other way that can be used to do the same.
PS The client is not in my city. And he doesn't have a windows phone.
Any help will be appreciated.
Thank You.
I think you can send him the xap file,which can be run on a Windows Phone or a Windows Phone Emulator. So to run it on the emulator or the phone you need the Application Deployment Tool. You can download the tool from here https://www.microsoft.com/en-us/download/details.aspx?id=13890

Launching windows 10 store apps

I am looking for a way to launch/run windows store apps on windows 10/8.1 from C#.
Examples of the apps I am trying to run are
Calculator
Photos
Settings
Note: in Windows 10 these are no longer standard .exe files that can be executed by double clicking or calling Process.Start() as they are now windows store apps.
I have tried to use IApplicationActivationManager but I cannot find decent documentation with examples of how to use it.
There are several ways to do it. The easiest way is to use Process.Start and the URL or file handlers.
For example this will open the Video app:
Process.Start("microsoftvideo://");
Or the Store on the updates page:
Process.Start("ms-windows-store:updates");
Or the Photos app:
Process.Start("ms-photos://");
There are several more handles, some of them can you find here. You can find the names when you open the registry key HKEY_CLASSES_ROOT\Extensions\ContractId\Windows.Protocol\PackageId. Look for the CustomProperties key. It has an attribute Name. That is the one to use.
Some other useful pointer can be found on SU: How do I run a Metro-Application from the command-line in Windows 8?.
I found a cool way to run every Windows Universal apps which downloaded via Windows Store or preinstalled.
Each Windows 10 Universal app has an AUMID which stands for 'Application User Model ID'.
PowerShell Command to get all AUMID:
get-StartApps
Output:
PS C:\> get-StartApps
Name AppID
---- -----
Skype Microsoft.SkypeApp_kzf8qxf38zg5c!App
Snip & Sketch Microsoft.ScreenSketch_8wekyb3d8bbwe!App
Mail microsoft.windowscommunicationsapps_8wekyb3d8bbwe!microsoft.w...
Calendar microsoft.windowscommunicationsapps_8wekyb3d8bbwe!microsoft.w...
Movies & TV Microsoft.ZuneVideo_8wekyb3d8bbwe!Microsoft.ZuneVideo
OneNote for Windows 10 Microsoft.Office.OneNote_8wekyb3d8bbwe!microsoft.onenoteim
Photos Microsoft.Windows.Photos_8wekyb3d8bbwe!App
Video Editor Microsoft.Windows.Photos_8wekyb3d8bbwe!SecondaryEntry
Maps Microsoft.WindowsMaps_8wekyb3d8bbwe!App
Alarms & Clock Microsoft.WindowsAlarms_8wekyb3d8bbwe!App
Voice Recorder Microsoft.WindowsSoundRecorder_8wekyb3d8bbwe!App
Feedback Hub Microsoft.WindowsFeedbackHub_8wekyb3d8bbwe!App
Xbox Game Bar Microsoft.XboxGamingOverlay_8wekyb3d8bbwe!App
Camera Microsoft.WindowsCamera_8wekyb3d8bbwe!App
Microsoft Store Microsoft.WindowsStore_8wekyb3d8bbwe!App
Weather Microsoft.BingWeather_8wekyb3d8bbwe!App
Cortana Microsoft.549981C3F5F10_8wekyb3d8bbwe!App
Instagram Facebook.InstagramBeta_8xx8rvfyw5nnt!Instagram
...
So now, you can start any universal app via its AUMID like this:
explorer shell:appsfolder\[AUMID]
For example, if you want to execute Skype:
explorer shell:appsfolder\Microsoft.SkypeApp_kzf8qxf38zg5c!App
Now it's the time to back to Csharp:
Process.Start("explorer shell:appsfolder\Microsoft.BingWeather_8wekyb3d8bbwe!App");
The Windows Weather App will execute.

How do I record loopback sound in a Windows Store App?

I want to record loopback sound in a Windows 8.1 Store App.
Currently I have investigated the following options, but I think they don't work for the given reasons:
nAudio & CSCore: Cannot resolve Assembly or Windows Metadata file 'System.Windows.Forms.dll'
nAudio.Win8:WaveFileWriter and WasapiLoopbackCapture are not available.
ScreenCapture with only Audio:Windows.Media.Capture.ScreenCapture.GetForCurrentView() is available only Windows Phone 8.1 but does not work on Windows 8.1
Does anyone have other suggestions to record loopback sound, or is it impossible to do that?
I would like to hear about possible approaches that could work or any examples.

How to browse the content of File in window phone 7?

I am new to the windows phone 7 development world. I am developing an application in window phone 7. In window mobile application (smart device application) we can browse the content of the mobile device by selecting the tools -> Device Emulator Manager -> slecting the emulator & then after clicking the cradle we can browse the content of the mobile device. I want to know how to do this in windows phone 7 application ? I also want to know how to programatically access the content of the Window Phone 7 ? (for e.g I want to open the screen which we will be opened after clicking the upload button in asp.net. In that screen we can navigate between the folder structure of the computer. In such way I want to open the screen for window phone 7) Because I am developing an application in which I want the images from the existing mobile device. So I want to browse the content of the mobile device so that I can select the particular image from the existing content of the mobile device & after that I will dynamically add these images to the images folder of my application. Can you please provide me any code or link through which I can resolve the above issue? If anyone know anything that will also help me a lot. Please share anything whatever anyone knows.
Due to the security model of Windows Phone 7 and fact that applications are sandboxed means that it is not possible to create a file system browser on the device. You can only see files / the directory structure within IsolatedStorage and you must create these files yourself.
You can, however, use MediaLibrary.Pictures or the PhotoChooserTask to access the images stored on the device. These are the images youu'll see in the Pictures hub and, therefore are outside of the files you specifically put in IsolatedStorage.
You can only access the files/directories that are located in the Isolated Storage that is assigned to your application, and you can get a list of those via GetDirectoryNames (for folders) and GetFileNames (for files). You will have to implement a custom listing mechanism since there is no default storage browser component.

Categories

Resources