I have been developing a tweak and I want to have my preferences in a separate app kind of like how activator does its preferences.
https://github.com/withertech/NewTermTM
I’ve never made an app before and I don’t have access to Xcode or anything because I don’t own a Mac because they are potatoes.
Related
The default styling for the Web Chat used to be identical to the Bot Emulator. Now, however, there seems to be significantly different default behavior for webchat. I have attached two images below illustrating the differences. My question is: does there exist a ready-made template that will make my Web Chat look and behave the same as the Bot Emulator? I'm aware of the ability to change the styling, but I'd like to make it identical to the Bot Emulator. Notice the difference in color and just general design. Thank you for your time.
Current Webchat
Bot Emulator
BotFramework Emulator is a downstream consumer of Web Chat. Previously, Emulator was not altering any default styling options, but changes were made around version 4.1 or 4.2, I believe. That is why Emulator and Web Chat previously looked identical. If you want your version of Web Chat to match the current look and feel of Emulator, you will need to copy the style options that the Emulator has implemented. Emulator's Web Chat Theme
I am new to Xamarin and not sure if chose Xamarin.Forms to create a application for ios and android platform has a problem or not.
The application has some features below:
The application will be able to running some code in background without launching application by user.
The application can be launched by a href link or a notification.
The application is able to launch a builtin Camera application, and receive picture data from Camera application.
Thanks,
Bo
The features you are mentioning can be done with both. Actually, anything you can do on Xamarin.iOS and Xamarin.Android can be done with Forms. Because Forms is only an abstraction layer for the UI which is installed by a NuGet package.
Now, having that said when to use Forms or when to use iOS/Android? It is mostly about UI. Are you going to do some advanced or platform specific stuff is is easier to implement that with the platform specific project.
If you UI will be the same in both platforms and mostly consists of some lists and input fields, then that is a very good candidate for a Forms project.
Notice how I said it is easier to do in the platform specific projects. Again here, you can do anything in Forms as well by the means of Custom Renderers, it is just a bit harder to do.
Ideally try it out yourself and see what suits you best.
In regard with your need to execute code in the background. This will be tricky and is very dependent on the platform that you're on. You will definitely have to write platform specific code for that for which you can use the DependencyService to abstract it to your shared code.
However like AlancLui mentioned executing code in the background isn't something that is easy to do on mobile. On iOS it is restricted to accessing location data or playing music, but still your app needs to be running (in the background). Android has something called Services for this, which makes it a bit easier.
I was wondering how would it be possible to dev an app to replace the default lockscreen on windows 10 universal apps. I know that there was some kind of apps in windows 8.0/8.1 but I've never seen this on w10. Is it possible? and how?
(Such as Tetra lockscreen)
If you want to build an app such as "Tetra lockscreen" or "Live Lock Screen Beta", which provide additional functionality directly on the lockscreen, this is not possible as the makers of those apps have additionall access to private APIs normal devs have no access to. Also, both apps aren't available any more as far as I can see, probably the private APIs have been removed with Windows 10.
If you simply want to change the lockscreen picture, this is possible with the UserProfilePersonalizationSettings class which provides the functions TrySetLockScreenImageAsync and TrySetWallpaperImageAsync. With the IsSupported you can check if the Windows device is able to change its lockscreen. On Desktop and Mobile the function currently returns true.
I am an WPF developer with little knowledge for the way "mobile" apps work but in general I believe that they work in some sort of sandbox way (meaning they should not be able to access each others process, info etc., I might be totally incorrect on this one). So I am wondering if such "limitations" are applied to the Universal Windows Platform (UWP) apps?
The reasoning for my question is that I would like to write and app that checks if another Universal App is in process and use some of its information. In WPF there are ways of doing just that but in UWP apps I am not sure if it is/should/will be possible.
Thanks.
There are a couple of solutions in Windows 10. Firstly, if you are building an enterprise app and can also side-load normal Desktop apps, you can use this technique to build your UI as a UWP but also be able to break out of the sandbox and do other things on the desktop.
Secondly, if the app you want to read from is cooperative (ie, is designed to provide information; you're not just grabbing it without permission) then you can use App to App services to send and receive information between two consenting applications.
Both links are to //build videos but you can download the slides too that should contain code samples.
I am new to both window hooks and Windows 8 metro apps..
I would like to develop a background service/process that:
Checks the "properties" of the metro app that a user just tapped to start (e.g. app that plays music, text document creator app, ...)
Based on the properties found, activate other applications (i.e., before starting the text creator application that the user just tapped, make him select the font face from a popup list)
I am planning on using window hooks to do 1 and 2..
Is this possible?
Thanks!
It is not possible to hook Windows or intercept the launching of a Metro style app from within a Metro style app itself. While it may be possible to do so with a service installed on the machine in a classic way, doing so would be totally undocumented and unsupported. You would have to reverse-engineer the app launching process to have any chance at making it work.
Check this out..
http://social.msdn.microsoft.com/Forums/en/wcf/thread/43df6c8f-f1e3-4aba-af0a-7c4e1db477b6
You can only write client applications using Metro, not server applications.
In your scenario, if you want inter-app communication, recommended way is to use 'Contracts' which are explicitly started by the user.
I'm taking a blind guess here using your 1 and 2 points. Do you intend to handle a specific file type ? say .txt or .wmv ?
If this is your intention, please check here http://tozon.info/blog/post/2011/10/11/Windows-8-Metro-declarations-File-Type-Associations.aspx
There's also a good set of MSDN documentation about this.
You may use API hooking. Check this thread:
http://forum.nektra.com/forum/viewtopic.php?f=9&t=6228