desktop-application

WPF application using MVVMCROSS

爱⌒轻易说出口 提交于 2019-12-08 09:32:56
问题 I recently came across MVVMCROSS which I think is a very good idea to solve cross platform issues. So I was tempted to port over an application I was working on and my entire libraries to make them more portable. Now I am trying ti bind my viewmodels to the views and I am facing several issues and questions... I have seen the examples of how navigation works and how to start the first view which works fine. However, for my application I cannot use this.. My main view consists of a menu bar at

Unexpected Behavior of Toast Notifications for windows 10 desktop applications

跟風遠走 提交于 2019-12-08 07:56:26
问题 I am adding Toast Notifications to my desktop application and experiencing strange behavior of Action Center in Windows 10 Observed Behavior: Toast Notifications does not appear in Action Center after time out Toast Notifications appear in action center when you click on the action center button during the toast display,but it disappears as soon as you close the action center Expected Behavior: Toast notifications should appear in Action Center after time out Toast notification should still

Is it possible to capture the screen and save the image in actionscript 3?

不打扰是莪最后的温柔 提交于 2019-12-08 03:15:45
问题 I need to capture whats currently shown in my app and save it as a image, is a flash app running locally, without apache, just a flash app with AS3, is it possible? Ive seen many solutions googling but all need a webserver and this app is running as a desktop app. Thanks in advance. 回答1: Yes, it's possible. Draw some display object to a BitmapData (the stage, for example) and crop it if neccesary (the second param of BitmapData::draw will help you out here). Then, convert the raw pixel data

Can I use jquery Mobile for creating a Deskop browser based web applications?

随声附和 提交于 2019-12-07 23:45:02
问题 I just liked the declarative approach of jQuery Mobile! It is a good option to use jQuery Mobile for creating desktop sized web applications? What are the challenges and opportunities involved? It is a webapp framework which seems compatible to iPad and likes, iPhone and likes and modern desktop browsers too! 回答1: It's fine Look at the following article How to style forms using jQuery Mobile on a website. You can use without any major problem but i would recommend it only for tablet and

Titanium Desktop createProcess to run shell script

三世轮回 提交于 2019-12-07 23:33:29
问题 I'm new to Titanium and am trying to create a small test. I am on a Mac and trying to run the following code: <a id="btn-file" href="#">Create File</a> <script type="text/javascript"> document.getElementById("btn-file").addEventListener("click", function() { var process = Titanium.Process.createProcess( ['touch', 'file.txt'] ); }); </script> However, file.txt is not created. How do I run a terminal command from Titanium Desktop? Eventually, I'd like to click btn-file and it runs a shell

Implement a “Remember me” CheckBox in windows application?

六月ゝ 毕业季﹏ 提交于 2019-12-07 23:14:04
问题 Hello I am creating a Windows application (WPF) that is going to be running in few stations accessing 1 database. I already implemented a login form with a login system thru My.User.CurrentPrincipal . Now, I want to implement a "Remember me on this computer" check box in the login form, where should I store the value? Should it be a cookie? a .settings value? or what good other suggestion do you have. Update Also what data (i.e. what value) shoud I store, I want it to be secure, that users

cookies and desktop application

不打扰是莪最后的温柔 提交于 2019-12-07 18:14:27
As I know, websites send cookies to browsers for maintaining some state and browser stores it locally. When that website is visited again, browser sends those cookies back to the website as a part of the request. I am under the impression that cookie is a browser-specific thing. I wanted to get this understanding clarified. Can desktop applications which connect to web services support cookies? We have a web application and we are trying to setup communication from desktop applications such as Adobe apps. For session management I was wondering if we can write an auth token in a cookie if that

Prevent Multiple Same User Logins On A Desktop Application

时光总嘲笑我的痴心妄想 提交于 2019-12-07 17:01:14
问题 I'm developing a multi-user desktop application. I need to figure out a way to allow only one user to login at a time per username. Basically, John can't login to the application from PC-A and then run over to PC-B and login as well. What I had in mind was to set up a bit flag that indicated that a user has logged in and when an attempt is made from another location that it would advise the user that the current username is already logged in. This would repeat until John on PC-A either exits

Cross platform desktop application

纵然是瞬间 提交于 2019-12-07 16:36:25
问题 I would like to develop a cross platform application, i'm not sure which is best to use for a desktop application Microsoft Silverlight Adobe Air Java? (don't want to do this) Firefox Add-On? 回答1: There are quite a few options available for you, but your choice may depend on how complex your desktop application is: Medium to high level complixity : Here you may want to go with desktop application frameworks like SWT Eclipse RCP) or Netbeans Platform. Ofcourse you also have low level toolkits

Distributing Ruby along with application?

↘锁芯ラ 提交于 2019-12-07 15:46:27
问题 I have a simple desktop Ruby client which I would like to distribute to a small number of (technical and non-technical) people. The client will run as a daemon, hence there is no GUI. I only need the client to run on OSX and Linux. Is there a way that I can distribute a certain version of Ruby with the application and run my client using that version? How would I do this? 回答1: Yes, but it's probably prohibitively complicated. Ruby needs to be compiled for the platform you're running it on, so