I'm using monotouch to develop an application and part of it requires me to be able to switch off the likes of the internet and texting. I've searched through the documents and can't seem to find how to do it without the user being asked (that part is important).
I can do it simply enough with Android, but not with iOS.
Is there a way?
No. Apple does not expose APIs to do this without prompting the user.
Related
have done my due diligence, and not found any other posts that answer this question, but as usual, if you know a similar question, point me that way!
I noticed a long time back that Libspotify has been dicontinued:
(https://developer.spotify.com/technologies/libspotify/)
So, my question is - what should we do for developing Desktop applications?
They do state: "We hope to be able to provide you with a new library for other platforms." But, this has been going on since 2015!
I have seen many projects in GitHub still using Libspotify - so what should we do? An update was promised "in the upcoming months" but I've not seen anything yet.
What should we do for developing Desktop Applications?
We at Spotify don't currently provide playback as part of our platform offering outside of our iOS and Android SDKs, and I don't have any updates on that at the moment. As mentioned on the website, we hope to be able to provide playback SDKs for more platforms in the future. We don't support any new development on libspotify.
You can use the Spotify Web API to interact with Spotify in a variety of ways, including getting information about metadata, and accessing/modifying user libraries and playlists, which may be useful. You can also use the Applescript API to control playback on macOS, which may also help.
The Spotify Web API is pretty straight forward to use. Of course it defines the protocol rather than implements it so it is OS independent.
I put together a few classes to help unwrap some of the JSON parameters simply. These were written in Swift for macOS.
I found no clues in the developer documentation, but equalify claims that it integrates into the desktop application. They don't offer a free version so I couldn't try it out.
Is it possible/supported to create extensions for the desktop client and is there some hidden documentation available?
I'd be interested in developing one, but so far I had no luck in finding any documentation.
It used to be possible using the Spotify Apps API. I think you can still manually sideload apps, but there is no App Store or similar. Moreover, support for old Spotify Apps is about to be dropped completely in the future.
So no, there's no way to extend Spotify as far as I know.
I just wanted to know if there is a way to upload images to Instagram WITHOUT using iOS / Android?
I'm really desperate for a solution, if I can't find anything I will have to run a virtual android device or something like that (I have a virtual machine running Windows XP 24/7 anyway)!
Instagram's official RESTful API does not allow for uploading photos, since they want to encourage "life on the go."
However, some work has been put together to document their iPhone API, and some unofficial client libraries have even been made. Check out https://github.com/mislav/instagram/wiki
It seems that's your only alternative at the moment. None of the unofficial libraries look very complete, so you'd have to do the work of sending requests manually, using the reverse-engineered API specs provided in the wiki.
Since straight Java development isn't going to be supported on BB10 (Am I right?), at least not without using the Android Java Runtime (which I don't want to use), I'd like to know if there will be official support and an official API from RIM for accessing and writing on the Secure Element of the upcoming BB10 handsets. I'm a developer who's considering the BB10 platform for developing an application which will need read/write operations on the Secure Element. Would that be possible? Would I be needing special permissions and/or keys from RIM?
Apparently there's not much documentation on the subject so far.
They have removed the SE on BB10 and left only the UICC...And we feel it's a good thing, as there were loads of issues with accessing the SE of a SIM
After some posting on other forums, I learned that there is indeed an API for accessing the SE in the upcoming BB10 platform. It was included in the BlackBerry 10 Native SDK (Beta 2). So far, it seems it serves my purposes.
Your best bet would be to go to the RIM issue tracker site, you can get access if you make an account at the BlackBerry Jam Zone. Submit an issue under the BlackBerry 10 project making the business case for what you want to do. They may be able to tell you what their plans are, but there is still some mutability in the road map if you can make a strong enough case.
I have experience with Android's search functionality as described here: http://developer.android.com/guide/topics/search/index.html, but haven't been able to find anything similar for windows phone 7.
Alternatively, what is the best approach to provide search functionality within your windows phone application?
The search scope is within the application itself, and while it is obviously possible to implement it myself, I'm looking for something that follows the ui guidelines of windows phone 7, and possibly also an interface to provide search results from the app, even when the search button is pressed while the app is in the background.
You are fully responsible for handling search within your app. There are no WP7 specific guidelines or tools available. Do what's best within the context of your app.
You cannot integrate with the built in search facility to include app specific results with anything returned as part of a bing search.
To add, interface to Windows Phone 7 hardware search button is not exposed to third party developers. You need to provide your own search button in the application and handle it appropriately.