Community Questions & Answers

Geolocation not refreshing

SDK: 3.0.2 IOS: 6.1 I have a list that fetches locations from the server. Here's the flow: 1. Get Position (see function) 2. make call to the server with those coordinates (that the location callBack) 3. update list Now this works perfectly fine, until I...

Geoloqi - Android - Crash.

Geoloqi Released the Source Code for their titanium module today. (Thank so Much to the Geoloqi Team). I will be the first to admit I am still a titanium newbie....so I am trying to figure out why the android system crashes with a Signal 11. Any Help from...

City & Zip Code Search

I am a Titanium beginner and I am currently working on an iPhone application that needs to allow the user to search for their location either by entering their zip code or city. I would like the application to accept a zip code or city in the search bar...

Ti.Geolocation.getCurrentPosition() doesn't work suddenly

os: mac os platform: android4.0 sdk: 3.0.0GA following is my code, it was always working by the end of yesterday. but it 'suddenly' doesn't work today, i see the errors called "location is currently unavailable" with error code "6", do...

Defining a custom sqlite function

Is there a way to define a custom sqlite function in Appcelerator? I am trying to do a distance calculation using latitude and longitude points in a sqlite database but the normal formula I would use relies on SQL Math Functions that sqlite does not have...

App stops and closes after a few hours

I've confirmed this on Android 2.3.6 and 4.1.2 .. Can't say i did on iOS(Haven't had an extended test on it yet). But here's the deal: I've got an app which sends it's current coordinates to a php service which saves it to a mysql database and sends a...

Looking for a developer

I need to do an app for both iPhone and Android, and firstly, I want to make sure titanium is suitable to do the job. The app will have functionality that will generate routes on google maps etc, I need to know if this is possible? Also, wondering if...

geolocation track at all times

Hi guys, After lurking the wiki, google and Q&A for this topic, i cant figure out whats true. I need to develop an app for iOS 5 and 6, that registers the user´s location each 10 min, even if the app is in background. No matter the device´s battery...

Curent Postition (lan, lon)

Hi all, I use the below code in the app.js because i have some table view rows with distance filtre. The problem is that not refresh the position after re open the app from pause. ~~~ function getCurrentLocation() { Ti.Geolocation.preferredProvider =...

Changes for Apple Maps in iOS6?

Just getting started with Titanium. I have a small iOS/Android application that is using Google Maps for displaying stuff on the map for a few customers. Now it looks like Google Maps will be banned from iOS 6. So I have to make an invest in upgrading to...

Geolocation showing old/outdated data

Hello, I'm trying to get devices position and Ti.GeoLocation.getCurrentPosition() is returning old data, judging by the timestamp and location it's providing. I ran GoogleMaps yesterday and it showed my position then, but now when I run my own application...

GPS jumping all over the place IOS

I've got a geolocation handler which deals with my GPS locations and sends them to a PHP service. This works perfectly fine on Android and is easily followed on a google maps web-app i made. However; I've tested it on an iPhone 4s and 4 and the coordinates...

Save geolocation coordinates in db

Hi, i want to save geo location coordinates in db for later retrieval... but geolocation response comes a little late ... and my insert query stores nothing in db ... Does anybody know what to do ?? Regards

GPS reverse geocoding current location

Hi. I have an app where i want to get current location and put it in a DB with reverse geocoding. It seems that the GPS function wont "bite" or something or maybe i remove the eventlistner to fast so it dont have time to get the position. I...

Showing 1-50 of 468 1 2 3 4 5 610