Code Monkey home page Code Monkey logo

tracker's Issues

Publishing Questions

Hello

This is not technival questions but more about Titanium framework it self, which is open source but Appcaelrator is not, did you publish these app with plan or without plan? I am bit confused about that..

Thanks

Android - Click on listView item to open details crash the app

If my device have the "Location" disabled and I started my "Track" I get no information like "0 km/h" or "0 mph", beneath the circle with the stop button.

Afterwards I go to the Rides tab, I click on ListView Item to get my detail View, is where i get the crash.
If I enable the "Location" all works correctly, but then I can't not delete the item that crash the app, because in order to delete an item in this app I have to open the detail View, I'm correct?
Hope this helps!

Provide demo data

To explore the features, the app should either come installed with a tracked activity and/or allow you to import an example activity later.

Path Warning Music Bot/Sound Motivation

Hello!!! I have few proposals for you

  • Path Warning
  • Music Bot/Sound Motivation

Path Warning: This is a function that will serve as a warning on track conditions in terms of landscape, Bleeding, raveling, Potholes, and stripping, which there is a need for incorporation of a sensor to peruse like 15 feet ahead with mobile cam when riding which phone will be placed on bicycle handle band to see indicators of any road defect this could be screen flashlight or heavy vibrate.
Also, there ought to be a switch to enable this feature put users in control.

Music Bot/Sound Motivation: This is a straightforward function to include music into the application yet that could be executed progressively; whereby, there will be a section for users to enter all the music he/she might want to tune in to while on the bicycle and will be fetched from the internet and will play as recorded sequentially on the application until the end. This is somewhat of a capacity that will presumably require a command to function properly, and users will also be placed to enable or disable this feature.

Mockups

Image showing how path warning could look like if implemented

Image below shows how the proposed music feature could be incorporated

Benefits

The principle advantage of Path warning is safety for users that have grasped and will grasp the application because each movement wellbeing is exceptionally fundamental and ought not to be ignored for any reason.

Contingent upon the way any user choose to take, there are typical sorts of road imperfection which I think potholes is one of the perils that can cause harm. The fuse of this component will fill in as fast alarm notwithstanding when the user not very focused on the path he/she is taking.

Music Bot/Sound Motivation is additionally a decent element significantly to entertain reasons. I trust this isn't for everyone except for individuals that like tuning in to music while doing any action for motivational purposes, to prop them up forward.

The consolidation of the bots to get music from the web will make the application to be boundless; users will have the capacity to play any music of there decision without downloading.

Those are the features I trust will be decent if consolidated into the thoughts that you have as a top priority and pushed on issues. I believe the application will dope once done.

Much obliged!!!

Tracking: Detect pause

On iOS we can let iOS detect pause/resume of motion (#7) but on Android we can't. Instead, we can set an interval and if the last location update is X seconds old, interpret this as a pause. Then when a location comes in again this is interpreted as resume.

Back button prematurely closes the app

Hi,
under Android 6.0.1 clicking the back button appears to close the app rather than backgrounding it. Would it be possible to add a dialog box to pop up and say "are you sure you want to exit" when tracking?
What about using intents as a way to keep the application running as a task?

I tried something like this.
in tracker.xml:

<Window id="win" onAndroidback="doAndroidBack" titleid="Tracking">

in tracker.js in the SEF

(function() {
  if (OS_ANDROID) { 
  	$.win.onBack = doAndroidBack; 
 }

and later

function doAndroidBack() {
	if (ride.isTracking()){
		var dialog = Ti.UI.createAlertDialog({
	    	title: 'Closing tracker',
	    	message: 'Closing tracker will stop recording. Are you sure?',
	    	buttonNames: ['Yes', 'No'],
	    	cancel: 1
	  	});
	  	dialog.show();
	  	dialog.addEventListener('click', function (e) {
    		if (e.index === 0) {
    			Ti.UI.currentWindow.close();
    		}
    	});
	} else {
		Ti.UI.currentWindow.close();
	}  	
}

but this did not have the desired effect.

Ability to pause

How would you go about implementing a pause or more specifically, if I restart the tracking anytime less than 5 mins after the previous track ended, append to that track and not a new one.

Application error + question

Hi @FokkeZB :)

I was trying to build your app, to see if it gets GPS coordinates when screen is turned off. I haven't figured out yet how to get my apps to work with background data - they stop receiving anything when the app has been in the background for 5-10 seconds. Is this something you've experimented with, and possibly solved?

Anyway, I'm getting an error when the app starts up.
Built for iOS 9.3 with 5.2.2.GA and iPhone 4s simulator.
The error is:
undefined is not a function (evaluating 'require("alloy/moment".locale(Ti.Locale.currentLocale)') at app.js (line 6)

Ride: Display average speed

Can be calculated in two ways:

  • Average of all speeds
  • Calculate form total distance (#5) and total time (will need to account for pauses)

After I click to start my tracker, speed Label stay empty.

After I click to start my tracker I never got the speed information on "speedLabel" like "0 km/h" or "0 mph" , beneath the circle with the stop tracker button.
I suppose it is not normal?

Notes:

At least on iOS my device (iphone 6)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.