change an icon of an installed application using xamarin - file

I want to change the icon and the name of an existing application installed on the device. would be ideal if the application icon could somehow be hidden.
the project I am working on is using a secondary application that I do not want the user to see. only my application should be able to launch it.
but I figured I would have a better chance just changing the icon to something similar to my application.
is any of this possible?

If you do an update to the application it's straightforward to change in your application file. Do you mean you want to change the icon remotely without a redeploy? (It seems like an update could be easier).
In terms of the secondary application, can you give more details on what you're using it for? If you're doing Android development, for example, if you're just using this to do a background task and the user never interacts with it it seems like moving this to a service could be ideal.

Related

Winform desktop app and touch

I`ve a legacy winform desktop app that works perfectly with mouse and keyboard. It has some selfmade controls that involve the creation of threads and so on, for example the longer a button is pushed the faster a number is incremented.
The application also uses a win32 dll. Now, the client wants that application to be touch enabled and run it in a tablet, which also means resizing and rotation capabilities.
My question is, which is the better way to get that application touch enabled and responsive design?
I can try to modify the existing winform, but I think it will be lot of work with poor results. I can also migrate to WPF and reuse the c# code, but I might have trouble with the keyboard, as I have not found a good way to show the keyboard and maintain the whole app on the screen. Or I can migrate to windows store app, but with the problem of that win32 dll, that I`m not sure it could be migrated.
The winform application is multilingual so creating a keyboard is not a valid option.
If the target is touch screen, then for sure the best option would be a Windows Store App, although there are several limitations.
If you are not going to publish this application in Windows Store, then you should be able to use all WinAPI functions. (I'm not sure what is win32.dll - if it's your own dll then it can be a problem).

Customize Setup Project Dialogs

Using VS2010 - I have a winforms project that I needed to make an installer for, I have that all done and it works great. But there's a lot of files in the Setup project I created and customizing all of the dialogs in the Unser Interface will be a huge pain. Because I think I have to build each time I want to test/preview it, which takes a loooong time.
Is there a simpler way to edit and customize these User Interface dialogs? I don't need to do anything too fancy. Hopefully something like, "Make a quick change, preview it, make another change, preview it, etc."
Thanks!
If you want to custom the User Interface Dialog, you can try InstallSheild. In vs2013, Microsoft use the InstallSheild Limited Edition instead of the the default setup project in vs2010.

Is there something like a QueryUnload event in WPF page-based apps?

I'm working on my first WPF app, using VS 2008. When I worked in VB6, there was a form event called QueryUnload, which one could use to determine how an application was shutting down. I'd like to do the same thing in a page-based WPF application, if that's possible. (My app is not an XBAP application, but a page-based app.) I know that VB6 didn't have anything like a page-based application, so it might not be possible.
You do it in your handler for Window.Closing, see here

Silverlight 4 Context Menu: Maintain ability to launch Silverlight Configuration Box

I love being able to add my own context menus to my application but I've run into a bit of a dilemma, how do I override the menu for my entire app (video player) and also provide the user ability to go into the Silverlight Configuration dialog.
For reference I'm talking about the following dialog box
http://msdn.microsoft.com/en-us/library/cc645084%28VS.95%29.aspx
Does anyone know of a way to launch this via code? If there isn't this a bit of an oversight on MS' giving us the ability to do our own context menus. I know with Flash one can add new things into the default right click menu.
Was informed by MS that this is not possible in SL4

Silverlight 4 Trusted Application - Can I drag widgets outside the window?

I have a feeling this really isn't possible, but (for example) would it be possible to implement a trusted Silverlight 4 filesystem browser that allows me to drag files from within the Silverlight application to another application on my desktop?
For Windows... technically, maybe being able to run your own app when a drag is going outside the area of the app. But super complex and challenging.
You would need a few things:
Elevated SL4 OOB app
A COM component on the system, or a native code app embedded in the app that you can execute with parameters about a drag operation, look into isolated storage, etc.
You monitor when a drag starts, and then would need to execute your native code app somehow to realize the drag. Even then, I don't think the new app could pick up on the true drag operation.

Resources