Forum menu
My first Android Ap...
 

[Closed] My first Android App (..and you might find it useful)

Posts: 0
Full Member
 

Works very well across Countries.
Wife very pleased.

Once you have made a location, I am having trouble making the size of the area larger.

But very happy with it.

Now, I have to give my wife pre-planned routes, so she know what I'm on about when I say I am just going past a certain point.


 
Posted : 13/03/2015 7:48 am
Posts: 4116
Full Member
Topic starter
 

What trouble ate you having? Is it just selecting the point on the map?


 
Posted : 13/03/2015 7:53 am
 nbt
Posts: 12482
Full Member
 

[quote=Mackem dijo]What trouble ate you having? Is it just selecting the point on the map?

I found that last night. Couldn;t find any way to explicitly set the size of the hotspot, ended up just tapping it randomly until it got to a size I was happy with


 
Posted : 13/03/2015 10:05 am
Posts: 4116
Full Member
Topic starter
 

Dont you have a slider at the bottom of the screen? The metres should be in the Accept button.


 
Posted : 13/03/2015 10:56 am
Posts: 17846
Full Member
 

I just updated the app & tried the above - added a new spot and got the slider on the bottom. Adjust the slider & the black 'zone ring' gets bigger/smaller with a corresponding number in the window . Then just click accept.

That's on a Sony Xperia T, if the phone makes any difference.


 
Posted : 13/03/2015 10:58 am
 nbt
Posts: 12482
Full Member
 

[quote=Mackem dijo]Dont you have a slider at the bottom of the screen? The metres should be in the Accept button.

ahh, that 's what it is! I saw a blue dot at the bottom left of the screen, under the "accept" button. I only wanted a small radius circle (covering the road junction) so was tapping the blue dot trying to get it to the desired radius. Just didn't realise it was a slider! User error - PICNIC ๐Ÿ™‚


 
Posted : 13/03/2015 11:06 am
Posts: 0
Free Member
 

I have the slider but it's slightly out of alignment with the bottom of the screen so I'm going to guess that for some screen sizes it won't appear in teh right place or maybe at all.


 
Posted : 13/03/2015 11:07 am
Posts: 4116
Full Member
Topic starter
 

nemesis, what phone do you have?

This is my biggest problem at the moment, catering for different phones. Mapping doesnt work on emulators, so I test on my own phone, which is huge. Think I'll buy a tiny phone, just for testing.


 
Posted : 13/03/2015 11:11 am
Posts: 0
Free Member
 

Samsung S4 mini so a relatively small screen.


 
Posted : 13/03/2015 11:16 am
Posts: 0
Free Member
 

Actually looking at it, maybe it's not misaligned, just very close to the bottom of the screen.

Another bug though. If I long press on a point I've created (I thought I might get an option to delete it), the app crashes.


 
Posted : 13/03/2015 11:19 am
Posts: 0
Full Member
 

I didn't see the slider on my first use.

I've used it after, if there is a way of amending or deleting a previous made point?


 
Posted : 13/03/2015 11:53 am
Posts: 4116
Full Member
Topic starter
 

To amend a point. Either longpress on the first screen with the list of points. Or, tap on on the pin on the map.

nemesis, where are you long-pressing the point? On the fist screen, or the map screen?


 
Posted : 13/03/2015 12:01 pm
Posts: 0
Free Member
 

On the first screen (so I've got a tick box and then the name of my point) - if I longpress on the name of my point, it crashes.


 
Posted : 13/03/2015 12:25 pm
Posts: 0
Free Member
 

If I click 'report' does that go back to you or google?


 
Posted : 13/03/2015 12:26 pm
Posts: 4116
Full Member
Topic starter
 

Me, via google.


 
Posted : 13/03/2015 12:27 pm
Posts: 4116
Full Member
Topic starter
 

nemesis, can you edit the point from the map screen?
is it only that one point or do you have a problem with every point created?


 
Posted : 13/03/2015 12:42 pm
Posts: 0
Free Member
 

OK - I've reported it for you.


 
Posted : 13/03/2015 12:42 pm
Posts: 0
Free Member
 

It looks like it's only the first point I had - a new one works. I expect that I created it on an old version..


 
Posted : 13/03/2015 12:44 pm
Posts: 0
Free Member
 

I can't delete the point though.


 
Posted : 13/03/2015 12:45 pm
Posts: 4116
Full Member
Topic starter
 

Hmm, if new ones are working, I suggest going to settings, apps, select HereIam and then clearing the data, then start again. I'll check for holes in my code.


 
Posted : 13/03/2015 12:50 pm
Posts: 0
Free Member
 

That sorted it.


 
Posted : 13/03/2015 12:57 pm
Posts: 0
Free Member
 

Not had chance to have a proper look at your app, but looks interesting.

As a headsup I've been using TrackMe since Windows Mobile was a thing, you should have a look at it for some inspiration. It's not exactly the same, but there's broad cross-over. Basic difference is it uploads a .kml file to a server, which is then accessible on all sorts:

http://www.luisespinosa.com/central_eng.php

I haven't explored it in ages, this thread prompted me to have another look, so I don't know how good it is at alerts etc, but if you set it up then add your .kml file to Google Earth it's pretty cool.

One thing to consider is that if someone is waiting for a text to say you've passed a point etc, what do they do if you don't pass the point. And it's pouring down. And you're on your own. And the point was the top of Nan Bield etc? With a live stream you can at least see when data issues have stopped an update. If it causes partners to worry unnecessarily then I imagine a lot of people wouldn't use it, so cracking that would be a good idea.

Anyway, good luck with it, definitely interested to see how it develops.


 
Posted : 13/03/2015 1:01 pm
Posts: 3536
Full Member
 

Think I'll buy a tiny phone, just for testing.

My wife's old HTC Desire C is kicking around unused.

If interested, you're welcome to it for a tenner*

*assuming MrsV has no objections.


 
Posted : 13/03/2015 1:23 pm
Posts: 4116
Full Member
Topic starter
 

Cheers. I'll have it.


 
Posted : 13/03/2015 1:57 pm
Posts: 4116
Full Member
Topic starter
 

Ok, a couple of things that'll go live in a few hours.
Fixed the texting of the location bug.
Added a "Settings" opttion on the first screen, you can now set up defaults so you dont have to keep typing in the same telephone number etc...
Changed the layout, I think it'll be better for smaller screens, and I think it doesnt look like i've randomly thrown a lot of buttons at a screen. You dont need to set the accuracy separately, it's now part of the general entry screen..

[img] [/img]


 
Posted : 17/03/2015 9:49 am
Posts: 4116
Full Member
Topic starter
 

doh, just noticed a typo in the screen.


 
Posted : 17/03/2015 9:53 am
Posts: 6
Free Member
 

Mackem

Hi, Im struggling to get this working on my Galaxy S5 but it just wont

I cant see what Im doing wrong but it just wont work

Ive tried many times, your App starts properly, I have good GPS fix etc etc just no joy

Anyone else?

cheers


 
Posted : 23/03/2015 11:46 pm
Posts: 4116
Full Member
Topic starter
 

What do you mean "it doesnt work" ?
Do you get maps showing? If not, check Location services is switched on.

Can you create hotspots?

Have you remembered to press the bike icon to start up the background monitor program?

Or something else?


 
Posted : 24/03/2015 11:03 am
Posts: 4116
Full Member
Topic starter
 

I got a tiny testing phone today. By God, my app is shite on a small screen. Things I expected to happen automatically dont. I'll be fixing things tomorrow. A lesson learned anyway.


 
Posted : 24/03/2015 4:42 pm
Posts: 6
Free Member
 

Sorry for the unhelpful comment ๐Ÿ™‚

Yes, all the above

It installed and opens as normal
I set hot zones and can label them and associate them with contacts and messages all OK
GPS fix not an issue, Ive checked its rock solid
I press the bike icon and off I go

But when I pass through a hotspot it just doesnt trigger ๐Ÿ™
Ive tried multiple times with different hotspots, and have configured it to try to send a text or just vibrate my phone without joy

Hope this helps - its a great idea


 
Posted : 24/03/2015 5:44 pm
Posts: 4116
Full Member
Topic starter
 

That's rather odd. You have pressed the "Start" button on the status screen?

Other than that, I can only suggest making the hotspots bigger, or going slower.

I've have had a few issues with the UI, largely because of screen size, but core thing has been sound, so far as I can tell.


 
Posted : 24/03/2015 10:13 pm
Posts: 4116
Full Member
Topic starter
 

Think I've got testing with different screen sizes covered now...

[img] [/img]


 
Posted : 25/03/2015 7:18 am
Posts: 6
Free Member
 

OK I think Ive got it

The hotspots were at the default 25m and set to trigger in areas where Im tanking it at 50kph (downhill)

Ive reset them to 100m and will report back when Im next out on the bike

Cheers - once again great idea, thanks for getting it out there


 
Posted : 25/03/2015 9:22 am
Posts: 4116
Full Member
Topic starter
 

I could knock up a test version for you, at the maximum sample rate. It might kill the battery, might not.


 
Posted : 25/03/2015 9:39 am
Posts: 4116
Full Member
Topic starter
 

Some updates going live in a few hours...
Should work on little phones.
Added feature where a message is sent if you do not reach a point before a specified time.
A default number needs to be specified, an SMS is sent if you dont get to the point before the time specified, the message says "Did not reach point (location name). Current location is (google map reference to location(.

Added a "share" button for instantly sharing your location via Facebook etc

Added flags to automatically create a message for when you enter or leave a hotspot.
The app always sends a message/does action when you enter a hotspot, if you tick the enter box then it just defaults the message sent to "Arrived at (location name). You then dont need to enter a message.
If you tick the "leave" box it will generate a message when you leave the hotspot. It'll just say "Left (location name)"

When the background job is active you have a bike whizzing across the status screen.


 
Posted : 25/03/2015 9:53 am
Page 3 / 3