My first Android Ap...
 

MegaSack DRAW - 6pm Christmas Eve - LIVE on our YouTube Channel

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

124 Posts
54 Users
0 Reactions
291 Views
Posts: 0
Full Member
 

Just downloaded it.
I'm currently sat in HK airport waiting to fly to Singapore.
I've set a point at Singapore airport to message the wife whose in China once I have landed.
Looks promising so far.


 
Posted : 08/03/2015 4:28 am
Posts: 646
Full Member
Topic starter
 

OK, a couple of additions/changes. (Available in a few hours)

NBT - you should now be ok with just your device GPS.

I've added "self alerts" - You are alerting yourself about where you are.

Someone suggested they could use this to wake them up on the train when they are approaching their station.

When the alarm goes off, go into the status screen and press "Stop Alarm"

Next week, I should have email working and a couple of other bits and bobs.

[img] [/img]


 
Posted : 12/03/2015 7:38 am
 nbt
Posts: 12404
Full Member
 

Cheers! Will update soon.

Is that your own phone number on that screnshot? I'm going to add an alert to text you 🙂


 
Posted : 12/03/2015 8:36 am
Posts: 646
Full Member
Topic starter
 

Cheers nbt! Maybe i'll make it a premium rate number.


 
Posted : 12/03/2015 8:44 am
Posts: 17773
Full Member
 

Tried it last night on a local loop and it worked really well! Haven't upgraded to the latest version, so need to do that, really.

I forgot to turn it off when I got back though, which spanked my battery - I guess because of the GPS searching once I was back inside the house.

It's a great app! Appreciate you putting it out there.


 
Posted : 12/03/2015 8:51 am
Posts: 646
Full Member
Topic starter
 

Hmm, maybe I could let you create a special hotspot, call it "Home", which will then automatically switch the app off.


 
Posted : 12/03/2015 8:56 am
Posts: 26
Full Member
 

Hi, I had a ride this morning and tried it out again. Worked fine but I was also running viewranger at the same time which seems to cause conflict. When using buddy beacon on vr, vr was counting the time of the ride, but not showing my position on the map or marking a track. When I turned off buddy beacon but left vr running it then marked my posotion, created a track etc. Bit of a pain because I would probably use both.

Another small bug is with the location url that is sent in a text. The url is being split between the google map part and the actual grid ref (ie at the = symbol). This means that when my mrs clicks on the url she is just taken to the map but not shown where I am.

Finally another suggestion to add to your long list. It would be good if you could set the app to just send a text with the (fixed) location url at regular intervals rather than being triggered buy a location. Just a thought.

Thanks for your work on this, it is good.


 
Posted : 12/03/2015 2:50 pm
Posts: 646
Full Member
Topic starter
 

Cheers for that, dunno what happened to the position url, seemed to work fine. (doesnt work on my own phone now), Some unexpected effect of another change, shouldnt be hard to fix.

Strange that the apps are interfering with each other, in theory they all should be relying on one background Android service. But, i'll investigate.

The regular update thing shouldnt be hard to do.


 
Posted : 12/03/2015 3:05 pm
Posts: 17773
Full Member
 

Mackem - Member

Hmm, maybe I could let you create a special hotspot, call it "Home", which will then automatically switch the app off.

This sounds like a good idea - just have to make sure it doesn't turn itself off as soon as you turn it on, if you are leaving from 'home'.


 
Posted : 12/03/2015 4:18 pm
Posts: 646
Full Member
Topic starter
 

I would just se it's how often to 2. You could set it up like that now with a message to self telling you to switch it off.


 
Posted : 12/03/2015 4:45 pm
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 6:48 am
Posts: 646
Full Member
Topic starter
 

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


 
Posted : 13/03/2015 6:53 am
 nbt
Posts: 12404
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 9:05 am
Posts: 646
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 9:56 am
Posts: 17773
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 9:58 am
 nbt
Posts: 12404
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 10: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 10:07 am
Posts: 646
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 10:11 am
Posts: 0
Free Member
 

Samsung S4 mini so a relatively small screen.


 
Posted : 13/03/2015 10: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 10: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 10:53 am
Posts: 646
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 11:01 am
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 11:25 am
Posts: 0
Free Member
 

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


 
Posted : 13/03/2015 11:26 am
Posts: 646
Full Member
Topic starter
 

Me, via google.


 
Posted : 13/03/2015 11:27 am
Posts: 646
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 11:42 am
Posts: 0
Free Member
 

OK - I've reported it for you.


 
Posted : 13/03/2015 11:42 am
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 11:44 am
Posts: 0
Free Member
 

I can't delete the point though.


 
Posted : 13/03/2015 11:45 am
Posts: 646
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 11:50 am
Posts: 0
Free Member
 

That sorted it.


 
Posted : 13/03/2015 11:57 am
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 12:01 pm
Posts: 3461
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 12:23 pm
Posts: 646
Full Member
Topic starter
 

Cheers. I'll have it.


 
Posted : 13/03/2015 12:57 pm
Posts: 646
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 8:49 am
Posts: 646
Full Member
Topic starter
 

doh, just noticed a typo in the screen.


 
Posted : 17/03/2015 8: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 10:46 pm
Posts: 646
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 10:03 am
Posts: 646
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 3: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 4:44 pm
Posts: 646
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 9:13 pm
Posts: 646
Full Member
Topic starter
 

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

[img] [/img]


 
Posted : 25/03/2015 6: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 8:22 am
Posts: 646
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 8:39 am
Posts: 646
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 8:53 am
Page 2 / 2