Introducing XDA:DevCon – A Conference For Developers By Developers
XDA Developers Android and Mobile Development Forum
Forgot your password?
 
Post Reply+
Tip us?
 
fourthw
Old
#31  
Junior Member
Thanks Meter 1
Posts: 11
Join Date: Apr 2012
Thumbs up Both GPS map and mail notification now work perfect, thank you

Much appreciated, I also left a note on googleplay, but are you able to make the mail notification instantaneous like the app on googleplay called Gmail Notifier? that one notifies upon the phone receiving an email. No problem if not possible, since the two apps you have created are must have apps for the smartwatch.

finally, on your calendar events app, the text is too large on my smartwatch so i cannot see the day of the event and sometimes the whole text of the event, can you make it smaller font on the widget? thank you

Quote:
Originally Posted by beowulf6 View Post
Hi.

yes. 10 minutes is definetly too long. it should load at least after some seconds.

Can you please try the following url on the default android browser on your phone and tell me what you see?
http://code-i.de/staticmaplite/gmaps.php?lat=30&lon=31
(the google maps app is more or less just the android browser that communicates with the app and sends the picture of the browser to the smartwatch)

Yes sorry. The Calendar App only supports Android 4.0 and up because the calendar resolver changed at this version. Sorry that i have forgot to mention that in the first post. will change that.
Will look if i can support older versions there has changed a lot with the calendar.

I also updated the mail notifier and uploaded it to the play store.
It can now also get the complete e-mail from the google mail imap server and maybe some others that work the same way.
I removed the error notifications that where send to the smartwatch so you do not get notified when you lose connection or disable the network connection yourself. For testing i added a "Test connection" button in the settings menu where you can try the current settings and see a more detailed error message.

https://play.google.com/store/apps/d...apnotification
 
beowulf6
Old
#32  
Senior Member - OP
Thanks Meter 69
Posts: 110
Join Date: May 2007
Hi and thanks for testing.

I already thought about the permission asking but i already removed it in the newest version so it should not be the problem.

But it might be possible that even the view in the app is trying to ask to open with a different browser so i have overwritten the Urlloading.

Can you please try this version:
http://bytewiese.de/fileadmin/_media...watchMap12.apk
and tell me if this fixes the white screen issue?

That would be nice.

Thanks


@Tippfehler:
do you really have only 10 mails in the mail folder?
Do the notified mails get marked as read on your Server? (they should not)

there might be a problem when you have less than 10 mails on the server.
Must look at this.

If it still does not again notifies you about new mails you can go to the app settings in the android system settings and clear the data for the "Mail Notification" app. You will need to enter the server settings again though.
 
gtdRR
Old
#33  
Senior Member
Thanks Meter 21
Posts: 229
Join Date: Mar 2006
Location: Los Angeles, CA
Quote:
Originally Posted by beowulf6 View Post
Hi and thanks for testing.

I already thought about the permission asking but i already removed it in the newest version so it should not be the problem.

But it might be possible that even the view in the app is trying to ask to open with a different browser so i have overwritten the Urlloading.

Can you please try this version:
http://bytewiese.de/fileadmin/_media...watchMap12.apk
and tell me if this fixes the white screen issue?

That would be nice.

Thanks

Loading the webpage I receive the "share location" option and the map does load with my location. I never received the which broweser pop-up like the other user. As for the new version, I am still getting the white screen.

Thanks
DEVICE: Samsung Captivate Glide
RETIRED: HTC Rhodium, HTC Kaiser, HTC Wizard

Gotta have me some QWERTY!
 
Tippfehler
Old
#34  
Tippfehler's Avatar
Senior Member
Thanks Meter 11
Posts: 204
Join Date: Oct 2008
Location: Bavaria
@ beowulf6
I have only the last 15 - 20 mails on the server, because I use POP and can not change to IMAP. I thought, it doesn´t matter, if they are marked as read or not.
I have tried, to clear the app data in the android apps section without luck.

O.T.
Only the newest mails are interesting for me on the phone and on the smartwatch. (If read -> delete. If I need it a second time, I can use a different mail program and receive the mails again or can open the strato webmail or go to the main-pc with all the millions of archieved mails of the last years. The pc is only receiving mails, if a wlan-ping to my phone is positive. In that case, the stato server is mostly empty and my mobile phone mail program too. I like it when it is clear.)
Unfortunately the app does not support POP, but for the last mails, I thought, I can use imap too.
After receiving and deleting all mails from the pop3.strato.de, the imap.strato.de should also be empty.
Please excuse my bad english.
HTC Wildfire, Sensation
 
jamo
Old
#35  
Junior Member
Thanks Meter 0
Posts: 4
Join Date: Feb 2005
I tried the new version but always white screen.
Ps the gps doesn t turn on alone
 
beowulf6
Old
(Last edited by beowulf6; 13th May 2012 at 09:13 PM.)
#36  
Senior Member - OP
Thanks Meter 69
Posts: 110
Join Date: May 2007
hi. i experimented a bit.
The problem is. i can not reproduce the problem on my device or in different android emulator versions. So i have not really any idea why.

I have build a quick new version that waits to render the webview until it is fully loaded. While it loads it shows a loading screen.

http://bytewiese.de/fileadmin/_media...watchMap13.apk

Please tell me if it stays at the loading screen or if you still get a white screen after the loading screen. That way at least i know if it is just a rendering issue or some problem while loading.


@jamo Android does not allow apps to enable or disable GPS completely. So you need to enable it on your phone. Android will manage it so even when you have it on enabled it will disable the gps chip when no app is asking for GPS data.

This is because of Android Security so no way to do it. There are hacks for old android versions because of a security hole, but i will not use them.
You can see if android is using GPS when the GPS icon is in the taskbar.

@Tippfehler: Try this version:
http://bytewiese.de/fileadmin/_media...notifier12.apk
it should work better when there are less e-mails.
 
Tippfehler
Old
#37  
Tippfehler's Avatar
Senior Member
Thanks Meter 11
Posts: 204
Join Date: Oct 2008
Location: Bavaria
Thanks, but the link is not o.k.
HTC Wildfire, Sensation
 
beowulf6
Old
#38  
Senior Member - OP
Thanks Meter 69
Posts: 110
Join Date: May 2007
whoops. Sorry. that happens when you copy and paste. fixed the link.
 
gtdRR
Old
(Last edited by gtdRR; 13th May 2012 at 11:34 PM.)
#39  
Senior Member
Thanks Meter 21
Posts: 229
Join Date: Mar 2006
Location: Los Angeles, CA
Quote:
Originally Posted by beowulf6 View Post
hi. i experimented a bit.
The problem is. i can not reproduce the problem on my device or in different android emulator versions. So i have not really any idea why.

I have build a quick new version that waits to render the webview until it is fully loaded. While it loads it shows a loading screen.

http://bytewiese.de/fileadmin/_media...watchMap13.apk

Please tell me if it stays at the loading screen or if you still get a white screen after the loading screen. That way at least i know if it is just a rendering issue or some problem while loading.
With the new apk. I click the app icon, GPS turns on right away on the phone, watch shows the loading screen for a couple seconds but then just shows a black screen. It will stay on that black screen and keep the display active on the watch. Doesn't crash or let the screen timeout either but still no map displayed.

Thanks for the continued work.
DEVICE: Samsung Captivate Glide
RETIRED: HTC Rhodium, HTC Kaiser, HTC Wizard

Gotta have me some QWERTY!
 
beowulf6
Old
#40  
Senior Member - OP
Thanks Meter 69
Posts: 110
Join Date: May 2007
thank you so much for your testing.

Ok. that means it does actually show the view and the onfinishedloading is called.

So here is my last try for now. need a bit sleep.

http://bytewiese.de/fileadmin/_media...watchMap14.apk


But at least i think i can narrow the problem more and more.
So thanks again.

 
Post Reply+
Tags
android, apps, development, smartwatch, sony
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Go to top of page...