I'm trying to get a current location from CoreLocation in WatchOS 3.0 on a series 2 watch. I need to get an up to date location at a regular interval while the watch is stand alone.
Is this possible?
Yes, CoreLocation is available on Apple Watch since WatchOS 2.0.
https://developer.apple.com/reference/corelocation
You can implement CoreLocation just like you would on iOS.
The Watch Series 2 has his own GPS device, so it would update your location regularly even when running stand alone, just like an iPhone would do.
Runtastic is also using this technique on the Apple Watch.
Does this answer your question, or do you have a specific question regarding this?
Related
Yesterday I've received a mail from the Apple Developer Center, stating:
Make sure your apps work seamlessly with the innovative technologies in iOS 7. Starting February 1, new apps and app updates submitted to the App Store must be built with Xcode 5 and iOS 7 SDK.
Will this mean the end of developing apps cross-device off of non-Apple devices?
It sure is a heavy restriction and I'm very disappointed with this news!
Could someone shine a light on this painful news?
I don't believe this is the case.
As long as the app is compiled using XCode, and using the iOS7 SDK, you should be fine.
When they say "built" they mean, it has a corresponding XCode project. Not that every line of code has been written in XCode. At least, that's my interpretation.
I have a game built on xcode using objective c. this game needs to be integrated with another game developed in unity3d as a part of it. how can i do this? what plugins are available to achieve this??
The thing is that.. i have a unity3d game and i have few other games inside the main game(games inside one game). these small games are already built on xcode.. now i have to use these games inside the main unity game.. something like if i chose to play one of the games it has to load that particular xcode game.. how can i achieve this?? also if this is achieved.. can i build it on unity-android and expect it to work? or do i have to do it differently for android? Please guide..
Have a look at the following resources about mixing Unity3D code with Objective-C native code:
Mixing Unity generated code with Objective-C in iOS?
iPhone & Unity3D: Integrating 3rd Party Static Libraries in Unity3D Generated XCode Projects
Unity Native Plugins: OS X
If both application modules need interact on a high frequency, I recommend a polling approach instead of SendMessage, because of a perfomance lack in the latter case.
before posting this quesiton i did extensive research on Forum nokia, Stackoverflow and developer.symbian.org but still unable to find solution to the problem
I am building an application that uses Symbian C++ (to get advanced network data which QT cant provide) and QT libs (for user interface and xml saving and so many other things). Now here is the problem, i cannot build and run Symbian Series 3 sdk (0.9 and o.8) with QT Designer nor Carbide C++. if i use the same approach with Series 60 5th edition, it works like a charm but combining both Symbian C++ and QT (tried 4.6 and 4.7) targeting N8, i am unable to do so.
1:Can someone advise about how to setup the environment in which we can blend Symbian and QT together.
2:Can someone help me in writing down the instuctions from point 1 (i,e pre requisites) and then running a sample code.
This thing is going on my nerves, i will really appreciate your help Stackoverflow!!
Is there any reason you need to build on the Symbian^3 SDK? A build for S60 5th will work on the N8, so unless you need APIs specific to Symbian^3, why not stick with the S60 5th SDK?
(I've had similar problems with the S^3 SDK, but now work with 5th without a hitch)
I'm creating a Qt Symbian application and need to connect to internet. In some way I need to let the user choose a connection when the app starts. I could use Qt Mobility to get it working but when Nokia approves I wan't do publish my application on Ovi Store. As the Qt Mobility is not included in Qt 4.6 it might be a problem to publish my app later. So for this reason I'm thinking of using native APIs instead.
The idea is to use: qt_SetDefaultIap() to set the connection on start. I have been looking at this to actually understand what it is doing. If I have two connections that the app could use, one with WIFI and one through mobile internet, which one will qt_SetDefaultIap() choose? And can I in some way with native api make the user choose a connection on start up? (qt_SetDefaultIap seems to just set a default connection on its own, without user choice)
Thanks!
Qt 4.7 is now released, and although not all of the Mobility APIs have made it into the core, QNetworkSession has.
Mrbiggerm: it looks like you've found the sym_iap_util.h file that's included in the QFtp example code in the Qt SDK. Rather than calling qt_SetDefaultIap(), try calling qt_OfferIapDialog(), and passing its return value to qt_SetDefaultIapName(). That should do what you're after. (Although this is a bit of a hack, it's often a preferred option as it presents a native S60 UI rather than making you implement your own list of access points.)
Do you expect to finish your program before Qt 4.7 release (I don't know the exact release date, but I'd estimate it will be around July), which AFAIK will contain Qt Mobility?
If the answer is no, don't worry about releasing issues, use custom build of QtMobility for development, wait for 4.7 and don't worry about releasing issues.
If the answer is yes, what stops you from deploying your program with custom QtMobility build? Internally it uses the same native API calls you want to use, not some super secret Nokia API, so there should be no problem with code validation (in fact, there will probably be less problems, since you won't have a chance to screw up code covered by QtMobility libraries).
As the title suggests, is it possible to capture system-level keystrokes?
Any help or pointers will be appreciated!!
You can do this in Flex using NativeProcess once it's added. Check out AIR 2.0 Native Process on gotoandlearn.
You mean while the app doesn't have focus?
This isn't implemented in AIR currently, but is in the wishlist.
Danny and myself are working on this project together.
Would it be posssible to use another cross platorm app that can run on Windows, OSX and Linux which can capture keystroke events in while runnning in the background and then tell AIR that a key has been pressed?