How can I open a particular settings screen programically on my Titanium/ Alloy app.
In particular I want to open the Location Services settings page found under: Settings > Privacy > Location Services.
Note I know how to open the app settings page like so (although I did not see this documented anywhere in the official docs):
Ti.Platform.openURL(Ti.App.iOS.applicationOpenSettingsURL);
However, I do not know how to open any other settings page, such as the 'Location Services' page.
It was possible before using the following code:
Ti.Platform.openURL('prefs:root=LOCATION_SERVICES');
However, this is no longer possible, since iOS 5.1.
Related
I have an app, in which the user can initiate a short, asynchronous download to access data on the internet, and then the app displays that data. The app is not yet released, but I have tested it on both simulator and several physical devices. On none of them, however, I can locate the app inside the settings menu where I could, for instance, restrict its network access to WiFi only, etc.
I assumed that if my app accesses the internet, it would automatically appear in the settings menu, but apparently it is not so. Am I doing something wrong? What is the process to allow the user to access such basic settings?
I use XCode 10.3, and probram in Objective-C.
If the problem is that there's not a settings entry for your app, please keep in mind that sometimes, in order for an app to be registered, you may need to close your app and the settings app and try opening it again.
If the problem is that you don't see the standard settings for location services, cellular data etc, then you may find maddy's answer here to be helpful: Why is my iOS app forcing a Settings Bundle might be helpful.
Copying the relevant part from this answer:
The iOS 8+ settings page appears […] if the app does any of the
following:
Attempts to access data via a cellular network
Various privacy data
Camera
Microphone
Photo library
Contacts
Location
Notifications
Background data fetch
A settings page may not appear for an app if none of these conditions
have yet been met.
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?
I use Weblogic 12.1.3, when logged to admin server I see a tab with label "WLDF Console Extension" when choosing it, I get this message
"The WLDF Console Extension, which provided visual tools to display diagnostic information in this domain, has been replaced in this release by new integrated Monitoring Dashboard and Request Performance tools. For more information on these updates, please consult the online help and release notes for this release..."
How to hide this uselss tab, I have another installtion at work with the same version does not have this tab.
In general the WLDF extension is not installed by default so someone must have put it there and/or turned it on. To remove it there are 2 options:
Navigate to <domain dir>/console-ext and remove the diagnostics-console-extension.jar file. Restart your admin server.
Click the perferences link at the top of the admin console, click the Extensions tab, find the diagnostics-console-extension and disable it
If you ever need it back you can re-enable it or copy it back into your domain directory from the WL_HOME\server\lib\console-ext folder
Just followed the tutorial in the following link and created a worklight weather app but while previewing it on Mobile browser simulator it loads index.html. But created views from data objects using Workligt Application Framework editor.
https://www.ibm.com/developerworks/community/blogs/WASFAQs/entry/building_a_worklight_mobile_application_without_code_in_worklight_v6_1?lang=en
Can anyone please help me, how to set initial view view.html file.
Thanks for your help in advance.
The Mobile Browser Simulator, as the application running on a real device always loads the index.html file. The Worklight Application Framework runtime code dynamically loads the views defined in the view.html file.
To select the initial view to be shown by the Worklight Application Framework runtime:
1) Open the application's common/application.json file using the Worklight Application
Framework editor
2) Go to the Views tab
3) Right click on the view you want shown initially and click on "Set as initial view".
The selected initial view when working in the editor will have it's title bar's background color set to black. Save the application.json file and refresh the application in the Mobile Browser Simulator (if it's still open) by clicking the "Go" button.
Resolved, as of now worklight application framework editor works only with Dojo mobile toolkit.
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