I'm developing a Mac application for sharing files to different social platforms like Flickr, Facebook etc. I want to add the 'share with MyApp' facility within the contextual menu of the files. i.e, when i (control+click) any file in the file system, i must see a menu item like 'share with MyApp' in the contextual menu so that i can run my application for sharing the files.This is the requirement and my question is : is it possible to do and if possible, how this can be achieved? My application will be compatible with OS 10.6 and higher version. I know that there is a facility like Open with > my application name.But i want to show it directly in the contextual menu.
Thanks,
LS Developer
Firstly, Mac isn't an acronym.
Secondly, you can't add directly to Finder's contextual menu, that is far outside Apple's HIG. What you can do however, is add a Service that enables the share facility (Services are accessible from the context menu). You can find more information about OS X services here: http://www.cocoadev.com/index.pl?MakingAppServices
Related
I have use IntelliJ for the development and it's always need permission to open in the Mac OS Sierra.
I have changed the settings in the Security and Privacy to Allow apps downloaded from - app store and identified developers and its behaves still the same.
I have followed the steps to provide an exception for opening,
To override your security settings and open the app anyway:
a. In the Finder, locate the app you want to open.
b. Don’t use Launchpad to do this. Launchpad doesn’t allow you to access the shortcut menu.
c. Press the Control key, then click the app icon, then choose Open from the shortcut menu.
d. Click Open.
The app is saved as an exception to your security settings, and you can open it in the future by double-clicking it just as you can any registered app.
However, it doesn't help at all. How do I open it with only by double clicking?
Sorry if this looks like a lazy question or inappropriate to the website's quality standards , but I searched in many forums and the Cordova API and couldn't find an answer to that. This is a legitimate question.
I am studying the possibility to use Apache Cordova to implement a series of applications for mobile OSs. One of my requisites is that it is able to integrate with specific features of the OS (as obvious as it seems as this is the point of this framework).
To give a few examples of features I am talking about:
Share menu on Android: If you take a picture and then click on the
share menu, it will open a list with all the available apps that
supports sharing (ie. Facebook, Viber, WhatApp, Gmail...) [this is the most important];
Open file types: If you click on a PDF file in any file explorer in
Android, the system will give you a list of apps installed which
support reading this file type.
Be an "Account" source.
I can only give examples for Android as it's the only platform I have enough knowledge to enumerate such features, but I am sure other platforms support features equivalent to those as well.
Are Cordova apps able to "register" themselves in the platform, to tell it that they are able to perform these features?
I wanted to change the default black color of WL.SimpleDialog.show in IBM worklight to red and other colors with specifying color codes, is there a way to achieve this, if not can any one share the links to customize a loading dialog in IBM WL.
Thanks
djrecker
Worklight does not provide the ability to customize the background used for WL.SimpleDialog.
What you can do, is create a dialog of your own, where you will then have complete control over it.
You could find some library online that creates such a dialog via JavaScript, for example jQuery Mobile, or
You could find/implement it via native code. If you choose to implement it via native code, you will need to do so via a Cordova plug-in for Worklight.
For those building an application for the Mobile Web, Desktop Web Browser or BlackBerry 6/7 environments, these environments use a "web busy indicator", essentially implemented via JavaScript, CSS and HTML. Its colors (and design, really) can be altered by over-writing its CSS IDs. You can use Chrome Dev Tools to debug, modify, experiment with, etc...
The IDs are (in Worklight 6.1 the source is in .wlapp\ ... \ worklight\worklight.css):
#WLdialogContainer, #WLdialogOverlay, #WLdialog, #WLdialogTitle, #WLdialogBody, #WLdialog button
I have an application that I'm developing that deals with files of any type. I would like the user to be able to right click on any type of file in the Finder and have my menu option show up. I understand you have to add your application as a service to do this, however, whatever I put in the service settings in my Info.plist doesn't do the trick. I do register my application as a service with OS X, and I know it works because under service preferences my application's service shows up. However, I don't think I'm passing it the right type of parameters, because I can't activate my service by right-clicking on a file.
Any help would be deeply appreciated.
Did you take a look at the Apple documentation?
Also, this might be useful: Writing a Snow Leopard Service for Finder.app
It seems to me that if the user installs another browser on Windows 8, the default tile for Internet Explorer should change to that new browser. However, it doesn't seem like Chrome or Firefox currently does this. Is it even possible to replace the IE tile with the tile for another app programmatically?
You can't do that.
All Windows store applications work in a sandbox environment and doesn't have access to core OS api's. App's are restricted to core OS api's so that malicious applications cannot change system setting without user knowing about it.
Start Screen is OS level, and Apps do not have acces to the order of tiles. If they had, user would loose all personalization made as every App would move itself to the first row and column, as Raymond Chen stated.