Detect accelerometer in titanium studio - titanium

I'm new to Titanium mobile development and going to develop an app which will be going to read accelerometer sensed data. Can any body guide me on a proper way? Any resources regarding accelerometer with titanium?

http://developer.appcelerator.com/apidoc/mobile/1.0/Titanium.Accelerometer
This is the link to the Titanium API page. They provide an example at the bottom of the page. Can you give more details about what you'd like? I might be able to help more.

Related

How's is it called the fIlters with specific keywords like in Youtube app. android studio kotlin

I have a question, Using Kotlin in Android Studio. I want to make an app where you can filter through a recyclerView such as in the YouTube app.
how is this called? are there any tutorials that you know can help me? I would strongly appreciate all your help
What you are looking for is called a Chip, check this article.
Look for the Filter Chips section.

iOS Game Center simple leaderboard

I have an iOS app using Sprite Kit that I would like to add a simple leaderboard. I have tried several tutorials, but all are for an older version of Xcode and iTunes connect. As of now I have successfully authenticated the user (ie. when I open the app it says welcome back, or asks to log in if I am not logged in).
Could someone please point me in the direction of a tutorial that encompasses a simple leaderboard (such as in Flappy Bird) that will explain the iTunesConnect side and coding within my app that is up to date with iOS 7 and Xcode 5? Thank you!
The apple documentation for leaderboards is quite good. It explains how to do the iTunes connection portion and another page has the Xcode implementation with code examples.
You can find the iTunes connect info here: https://developer.apple.com/library/ios/documentation/LanguagesUtilities/Conceptual/iTunesConnectGameCenter_Guide/Leaderboards/Leaderboards.html#//apple_ref/doc/uid/TP40013726-CH2-SW1
The code examples are here: https://developer.apple.com/library/content/documentation/NetworkingInternet/Conceptual/GameKit_Guide/Achievements/Achievements.html#//apple_ref/doc/uid/TP40008304-CH7-SW3
Outside of that the app coda link that Iraklii mentioned is a great one.

iOS 7 App Operations Running In Background; Saving a Video Recording In Background

I am currently trying to find the most efficient way to continue a method in the background of my app.
I am probably adding location/gps to my app soon, so I was considering using that flag to keep the app Active in the background. However, I do not want to add that flag yet because I want to post an App Update before I add the location functionality.
I know the exceptions;
Apps that play audible content to the user while in the background, such as a music player app
Apps that keep users informed of their location at all times, such as a navigation app
Apps that support Voice over Internet Protocol (VoIP)
Newsstand apps that need to download and process new content
Apps that receive regular updates from external accessories
Besides asking for a more generic idea then these ^, can someone explain the "external accessory" flag please? I am recording video from an outside device. However, I do not know what constitutes an "external accessory".
I also see that iOS7 has introduced new Multi-tasking functionality but I haven't seen any examples that I understand can someone also explain that? Maybe that is a viable solution?
Thanks in advance!

iOS7 - Game Center Integration

I spent all day searching for a tutorial on how to integrate Game Center into my iPhone app with no luck. I found few of them but they are either incomplete or obsolete.
1. I need a tutorial or documentation or any working source code.
2. Do I absolutly have to add my app in iTunes Connect during dev/test phases?
Here's some documentation about GameCenter that should get you started: GameCenter Programming Guide.
And yes, you absolutely have to add your game to iTC during development as well as prepare all your leaderboards and achievements (if any). If your game isn't completed yet, I have found it useful to just add any screenshots to iTunes Connect until you finish. If you don't have any previous apps, simply put in any image of the correct size, same goes for the app icon.
Hope this helps!

Android Lockscreen API?

I've seen two apps that can customize lockscreens: Widget locker, slidescreen.
Do we really have an API that lets us customize the lockscreen?
If not, what is the trick?
See mylockforandroid:
mylockforandroid
Its GPL'ed but you will get the code tricks by viewing source.