EPG (electronic program guide for TV) App - Java for Android App Development

Hello,
I am developping an application for EPG, but I have a big problem.
The application is very slow cause the construction of the Fragment view after commit() it takes a lot of time.
Operations:
- download of the xml file from an URL
- parsing all data
- saving data into a local db
- reading data to build the fragment view
The fragment has the following layout:
- 2 ScrollViews (1 horizontal and 1 vertical)
- 1 LinearLayout Vertical
- 1 LinearLayout Horizontal for every channel
- 1 or more inflated RelativeLayouts for every Program
- TextViews for program details (title, hour, rating....)
Here an image to explain the sctructure:
s22.postimg.org/v5buk76q9/EPG_Layout.png
All this make the app not usable and it crashes.
Does anyone have a solution for this?
THank you very much

Download and save your file in another thread or use AsyncTask and update local version. Display only the local version in your View.
Regards

EmptinessFiller said:
Download and save your file in another thread or use AsyncTask and update local version. Display only the local version in your View.
Regards
Click to expand...
Click to collapse
Thank you. The problem is in the creation of the view. Not in the downloading... but what do you mean with update local version and display only local version? I'm using a local database where I store parsed data.

sheikko said:
Thank you. The problem is in the creation of the view. Not in the downloading... but what do you mean with update local version and display only local version? I'm using a local database where I store parsed data.
Click to expand...
Click to collapse
He means that you show placeholders on first start, and begin to download the images with an AsyncTask or a worker thread, make sure to read this guide on processes and threads, especially the Threads section!
You place your downloaded images somewhere on the device in your database and use those whenever they are available on future runs of your app. That way you don't need an internet connection everytime.

SimplicityApks said:
He means that you show placeholders on first start, and begin to download the images with an ..., especially the Threads section!
You place your downloaded images somewhere on the device in your database and use those whenever they are available on future runs of your app. That way you don't need an internet connection everytime.
Click to expand...
Click to collapse
I'm downloading the entire programmation for 8 days and I'm saving it in the db. This work takes about 1:30 minute, but only the first time I run the app after the installation. To have the view of the EPG working I have to wait about 30 seconds, and this occur every time I quit to app or I modify some parameters for example the Favorite Channels.
Do you think your solution can help me?

What do you exactly do, when you have to build your view content? Can you store information in local fields (RAM of your phone) so that you do not have to reload them from your db each time?
How big are your pictures?
LG

sheikko said:
I'm downloading the entire programmation for 8 days and I'm saving it in the db. This work takes about 1:30 minute, but only the first time I run the app after the installation. To have the view of the EPG working I have to wait about 30 seconds, and this occur every time I quit to app or I modify some parameters for example the Favorite Channels.
Do you think your solution can help me?
Click to expand...
Click to collapse
I don't know what you're downloading here and wether you own the server counterpart or not, but at the first glance that is waaaayyy too much data you are using here...
You need to modifiy or restrict the amount of data you download from that server, if you can modify it there (If you use images crop them down in there already) it would be best, otherwise you might want to mirror it on your own server.
And what's your app showing when no data is available? You can still show the base navigation and use ProgressBars to indicate you are loading...

SimplicityApks said:
I don't know what you're downloading here and wether you own the server counterpart or not, but at the first glance that is waaaayyy too much data you are using here...
You need to modifiy or restrict the amount of data you download from that server, if you can modify it there (If you use images crop them down in there already) it would be best, otherwise you might want to mirror it on your own server.
And what's your app showing when no data is available? You can still show the base navigation and use ProgressBars to indicate you are loading...
Click to expand...
Click to collapse
Thank you,
To improve performance I saved icons (channels, rating) locally in drawable resources and I download only text info. But because the are 8 days of tv scheduling and a lot of channels this download take a lot of time.
I can't modify o restrict the amount of data, but i can select how data I can download (i.e. 3 days....) but I have to download all.
Also when I modify (add/remove) favorite channels I have to wait about 10 seconds and this is frustrating.
Maybe the problem is that I'm working directly on the database. I have to work on some layers above do DB or there is another solution?
Sorry but I'm new to Android
Thank you

sheikko said:
Thank you,
To improve performance I saved icons (channels, rating) locally in drawable resources and I download only text info. But because the are 8 days of tv scheduling and a lot of channels this download take a lot of time.
I can't modify o restrict the amount of data, but i can select how data I can download (i.e. 3 days....) but I have to download all.
Also when I modify (add/remove) favorite channels I have to wait about 10 seconds and this is frustrating.
Maybe the problem is that I'm working directly on the database. I have to work on some layers above do DB or there is another solution?
Sorry but I'm new to Android
Thank you
Click to expand...
Click to collapse
And I'm new to EPG xD. Do you have to download all the channels or can pick e.g. just the favorites? And what is the size of your local db on the device?
Well then the only thing I could tell that either you have a serious performance bug in your code or you need to find a way to get less data or load it faster. I don't know if mirroring it on your own server is possible but there might be some free servers providing it.

SimplicityApks said:
And I'm new to EPG xD. Do you have to download all the channels or can pick e.g. just the favorites? And what is the size of your local db on the device?
Well then the only thing I could tell that either you have a serious performance bug in your code or you need to find a way to get less data or load it faster. I don't know if mirroring it on your own server is possible but there might be some free servers providing it.
Click to expand...
Click to collapse
I can pick only some days and I can select wich days to download.
Now I'm downloading only 3 days and the size of the db is about 4 MB
May be I have a bug
How I can get them faster?
Can't mirror or move content.
thank you

sheikko said:
I can pick only some days and I can select wich days to download.
Now I'm downloading only 3 days and the size of the db is about 4 MB
May be I have a bug
How I can get them faster?
Can't mirror or move content.
thank you
Click to expand...
Click to collapse
4megs seems to be alright on the first look... Maybe you really have a bug or you are loading it on the UI Thread. You need to use asynchronous loading or the db is too slow. Maybe disable any loading in the app and see if you get any improvements, if you don't, you have a bug in your layout/app

Related

MobilMon - File system monitor utility

To the many excellent folks here at xda-developers.com, I'm releasing MobilMon 0.5 for free.
I wrote a simple app that monitors file system access (specifically, file creation, deletion, or modification). This sort of tool can be invaluable when you are trying to figure out what's happening on your system. You can export the findings to a log file.
It's pretty bare bones at this point, but that was somewhat intentional. I wanted to see what folks wanted out of such an app before spending more development time on it.
Check it out, and let me know what you think: http://www.mobilmon.com
wow! thank you! this is pretty much exactly what i was wishing for ever since i started playing around with new apps and such on my phone.
it's a great help for just before a system backup. for example, i have SPB backup set to run every other morning. let's say it runs on Saturday at 5:00am. I install some apps and do some random things from 8:00am to 9:00am. 9:30am, my phone crashes. I reset to 5:00am, and I lost all that stuff i did from 8 to 9. now i know! thanks for this app.
Feature changes
A couple of things I was considering:
1. CSV EXPORT. Would it be better to leave the plain text formatting for easy readability, or format it for CSV export?
2. DIRECTORY. I was originally going to include the ability to change the directory (i.e. something other than just "\") but that would involve some significant work on my part. And, I'm not sure if you'd really want to do that anyway.
3. VIEW FILE READS. As delivered, it monitors file adds, deletes, and changes - not reads. This was done intentionally for performance reasons. Would people want to see all the file reads, even if it bogged the device down?
This is awesome! I haven't seen anything else like it, so I am really happy to see someone from the xda-forums to make this magic!
I think that you should add in the view file reads, but only as an option. Maybe also an option to select which operations you want logged (eg. when I only want to see the files created, and not deleted). Although being able export to CSV would give me the same results, but with some editing.
3. VIEW FILE READS. As delivered, it monitors file adds, deletes, and changes - not reads. This was done intentionally for performance reasons. Would people want to see all the file reads, even if it bogged the device down?
Click to expand...
Click to collapse
Many thanks for the app.
It would be nice to have (even as a separate app) something like mamaaich's file monitor: http://forum.xda-developers.com/showthread.php?t=247425, with ability to start/stop and good frontend - to capture all file activities in the whole system.
It helps a lot to find frequent, unintended system file reads (in most cases - draining batteries)
monitor lost memory
i wonder if you could add some powerful memory mgmt to check where my pda memory is lost and what is the process,application or service which is causing memory leaks or using too much memory. maybe you could draw a graph or monitor memory usage during time for all processes. when i start my pda i have 48% free ram, after a day i am back to 80% without any visible app running.
Thanks!
Thanks
Thanks for the good feedback; I'll look into making it where you can select the types of events to monitor and then go from there.
Good lead on mamaich's program - I wasn't aware of it. I will take a look. I'm all about working smarter, not harder
Hello,
I stumbled over this (admittedly quite old) thread on the search for a windows-mobile version of something like iTunes FolderWatch or iPad ShutterSnatch.
Would it be possible to extend MobiMon such that an action can be triggered once a new file is found? In my case that action would be to start a picture viewer with the newly created file name as a parameter.
Scenario: Send pictures I take with my camera to my Windows Mobile Phone (HTC HD2) via FTP (MochaFTP) through an Ad-Hoc Network directly from the camera (using Eye-Fi). MobiMon would recognize the new file and fire up the picture viewer. This way, the latest picture taken will be shown on HD2's big display right after the shot was taken.
Of course, if there is a more streight-forward way of doing this (like a picture viewer with integrated FTP-Server ) I'd be more than happy to hear about it!
Regards and a happy new year!
Alex
Yes, it's possible.
In regards to your inquiry, it's programmatically possible, but would require a re-write. This has to do with the way things are instantiated. Whether I could afford the time to do it is a different question
1. What is the target OS?
2. Do you have the means and skills to adjust my code and compile it yourself if I just pointed out the changes needed?
allright, heres my question:
is it possible to add (i.e)tray/taskbar icon showing card r/w activity?
I am thinking not exactly about this specific project, but general idea related to it.

What do you want? (Developing Silverlight App)

It looks like the future of applications for Windows Mobile is leaning towards silverlight 2. So My goal for this summer is to create a good, fun or useful application using silver light. I just need some ideas. What do you guys want?
One app I've been looking for for years. Some apps have some functionality but nothing puts it together in a simple package.
Location Aware Reminders
set up points on a map where a reminder of user defined text would pop up when the device is within a specified distance from that point.
Case #1:
I get off of my freeway exit going home, pass the stoplight before the store, my device plays a recording "DUDE! PICK UP SOME MILK!".
Case #2:
I drive away from my house on a vacation, my device plays a recording "Did you remember to pack your underwear?"
User should be able to:
1. View a map with current location based on gps.
2. Move map to different locations.
3. Define and save a point on the map.
4. Define a distance from that point where reminder would fire.
5. Define the text of a reminder.
6. Define an audio file as a reminder.
7. Define a title for reminder
8. View list of reminders
9. When reminder fires there should be a Snooze and Delete Option.
10. Reminders should have a date/time window of when to fire.
10 ex. All Days, only between 4pm and 7pm.
10 ex. On May 25th. any time.
Yes, there are apps that "sort of" do this. But they are unuseable for this use.
Keeping the functionality simple and specific will ensure EASE OF USE and actual functionality.
I will GLADLY pay you $10 for this app.
sudermatt said:
One app I've been looking for for years. Some apps have some functionality but nothing puts it together in a simple package.
Location Aware Reminders
set up points on a map where a reminder of user defined text would pop up when the device is within a specified distance from that point.
Case #1:
I get off of my freeway exit going home, pass the stoplight before the store, my device plays a recording "DUDE! PICK UP SOME MILK!".
Case #2:
I drive away from my house on a vacation, my device plays a recording "Did you remember to pack your underwear?"
User should be able to:
1. View a map with current location based on gps.
2. Move map to different locations.
3. Define and save a point on the map.
4. Define a distance from that point where reminder would fire.
5. Define the text of a reminder.
6. Define an audio file as a reminder.
7. Define a title for reminder
8. View list of reminders
9. When reminder fires there should be a Snooze and Delete Option.
10. Reminders should have a date/time window of when to fire.
10 ex. All Days, only between 4pm and 7pm.
10 ex. On May 25th. any time.
Yes, there are apps that "sort of" do this. But they are unuseable for this use.
Keeping the functionality simple and specific will ensure EASE OF USE and actual functionality.
I will GLADLY pay you $10 for this app.
Click to expand...
Click to collapse
Would it use GPS or the GSM/3G Network to determine location? Also what navigation software would this use for the maps? This is a good idea however this seems very intermediate. More ideas people.
I'd like this...
http://forum.xda-developers.com/showthread.php?t=426089
I would hope it would use the internal GPS.
I like the voice mail thing Like the iPhones right?
It would be nice if my wife could easily make entries via a website or a client on her desktop. (maybe not).
Actually, it would be kinda interesting. Driving down the street and having the app pop up something my friend put in there.
So you could have a group, and allow people to post GPS Pop Ups to your app.
"This is where I proposed to my wife".
"Don't even bother coming to the game tonight sucka cuz you're goin' down".
That would be kinda fun.
Just thinking out loud.
sudermatt said:
It would be nice if my wife could easily make entries via a website or a client on her desktop. (maybe not).
Actually, it would be kinda interesting. Driving down the street and having the app pop up something my friend put in there.
So you could have a group, and allow people to post GPS Pop Ups to your app.
"This is where I proposed to my wife".
"Don't even bother coming to the game tonight sucka cuz you're goin' down".
That would be kinda fun.
Just thinking out loud.
Click to expand...
Click to collapse
This is a great Idea. Only problem it is not even close to easy and I have no gps experience. But i might assemble a team to create this.
An XDA-Developers forum program that tracks your threads and alerts you when there's a new post, etc. Something that would be cooler than the actual site, and if you could, make it for our phones too.
This is very easy to answer:
1) To the date there isn't a SINGLE mobile e-mail client on the market, which is SIMPLE and FINGER FRIENDLY. In fact, there isn't any finger friendly e-mail clients at all. I think hords of users would welcome this kind of app.
2) Also there still isn't an on-demand connection chooser - look here: http://forum.xda-developers.com/showthread.php?t=408243
Thank You.
sudermatt said:
One app I've been looking for for years. Some apps have some functionality but nothing puts it together in a simple package.
Location Aware Reminders
set up points on a map where a reminder of user defined text would pop up when the device is within a specified distance from that point.
Case #1:
I get off of my freeway exit going home, pass the stoplight before the store, my device plays a recording "DUDE! PICK UP SOME MILK!".
Case #2:
I drive away from my house on a vacation, my device plays a recording "Did you remember to pack your underwear?"
User should be able to:
1. View a map with current location based on gps.
2. Move map to different locations.
3. Define and save a point on the map.
4. Define a distance from that point where reminder would fire.
5. Define the text of a reminder.
6. Define an audio file as a reminder.
7. Define a title for reminder
8. View list of reminders
9. When reminder fires there should be a Snooze and Delete Option.
10. Reminders should have a date/time window of when to fire.
10 ex. All Days, only between 4pm and 7pm.
10 ex. On May 25th. any time.
Yes, there are apps that "sort of" do this. But they are unuseable for this use.
Keeping the functionality simple and specific will ensure EASE OF USE and actual functionality.
I will GLADLY pay you $10 for this app.
Click to expand...
Click to collapse
Wow. I had the exact same idea. I'll be making this in silverlight/xaml since I know it's the future of WinMo.
Me and a couple of friends are trying to do this on 3 different platforms - and will be using WPF/Silverlight for WinMo
Don't we kinda need the WM Silverlight runtime first? Last time I checked, it's not out yet.
G-Profile??
aiiro said:
This is very easy to answer:
1) To the date there isn't a SINGLE mobile e-mail client on the market, which is SIMPLE and FINGER FRIENDLY. In fact, there isn't any finger friendly e-mail clients at all. I think hords of users would welcome this kind of app.
2) Also there still isn't an on-demand connection chooser - look here: http://forum.xda-developers.com/showthread.php?t=408243
Thank You.
Click to expand...
Click to collapse
For #2, I might be completely misunderstanding you, but have you looked into G-Profile for this?
TheParadox said:
I like the voice mail thing Like the iPhones right?
Click to expand...
Click to collapse
Yep. Pretty much
@ Sean D:
About #2. You remember back in the dial-up days when You started Internet Explorer it had an option whether to ask the connection to use or not? Well, I think for PPC and the apps that need internet connection this would be the ideal solution - if You start PIE for example, the system will ask You whether You'd like to use WiFi or GPRS or whatever else connections You have and You'd just check the option that suites You the most at the given location. If You're in a cafe with free WiFi You'd choose to use WiFi, if You're in the woods You'd choose GPRS (or 3G or whatever similar). Instead of manually connecting to desired network before launching browser. I hope You get the idea...
G-profile is not asking You how to connect, it just manages Your connections with profiles for different occasions. You'd still have to manually choose a profile with the desired connections before launching a browser.
Ha!
aiiro said:
@ Sean D:
About #2. You remember back in the dial-up days when You started Internet Explorer it had an option whether to ask the connection to use or not? Well, I think for PPC and the apps that need internet connection this would be the ideal solution - if You start PIE for example, the system will ask You whether You'd like to use WiFi or GPRS or whatever else connections You have and You'd just check the option that suites You the most at the given location. If You're in a cafe with free WiFi You'd choose to use WiFi, if You're in the woods You'd choose GPRS (or 3G or whatever similar). Instead of manually connecting to desired network before launching browser. I hope You get the idea...
G-profile is not asking You how to connect, it just manages Your connections with profiles for different occasions. You'd still have to manually choose a profile with the desired connections before launching a browser.
Click to expand...
Click to collapse
Okay, I misunderstood you. But the funny thing is, i was just thinking that WM needs this function the other day.
So yeah, this gets my vote too.
Good, then it's settled
Well, OK, just one minor issue left - kinda have to wait for the approval from the thread starter too
FloatingFatMan said:
Don't we kinda need the WM Silverlight runtime first? Last time I checked, it's not out yet.
Click to expand...
Click to collapse
The whole point of this thread is that since it's pretty much confirmed there will be a silverlight or some type of WPF subset for WinMo, applications can be designed so that when devices do release, some changes can be made (e.g. support for accelerometer) so that the program can be released from the get-go.
It's also to provide devs with some practice with WPF/Silverlight
ND4SPD said:
Wow. I had the exact same idea. I'll be making this in silverlight/xaml since I know it's the future of WinMo.
Me and a couple of friends are trying to do this on 3 different platforms - and will be using WPF/Silverlight for WinMo
Click to expand...
Click to collapse
I could care less about how it's written....I got $10 burnin a whole in my pocket for this app...
BTW...did you read my post about the community part of the app?
OK, seems it's again just one of those countless threads that get started with a big hooray and then is forgotten forever. I mean I still do post in these in hope that someone will some day build the connection manager I keep asking for, but having posted it already to couple of threads and seeing that after couple of days the thread just dies and the original author of thread mysteriously disappears, I think there are some dark forces behind it. OK, just kidding, but seriously, just from top of my head You can check this thread - http://forum.xda-developers.com/showthread.php?t=413600 - or this thread - http://forum.xda-developers.com/showthread.php?t=506672. They have all died as far as I know. Or if You just wanna have a laugh (completely off-topic) check this thread - http://forum.xda-developers.com/showthread.php?t=425424

GPS SirfIV Tool Development - Disable Static Navigation / ...

Hello
I just stumbled over this document: micro-modular.com/docs/AddlRsrc/GSD4e OSP Manual (CS-129291-DC-9).pdf
So, for example on site 119 for example you can see that it is possible to disable the static navigation filter by sending the corresponding Payload Sequence to the SirfIV chipset. The only question which remains is "how can we send these strings to the chipset".
And this is the point where we need some really brilliant XDA developers. If someone would manage to open the communication way to the sirf IV chipset, it would be possible to reconfigure this chipset totaly free.
At the beginning it can be a really simple tool where you have to enter the Start sequence, payload and end sequence which should be send manually. This would be good enough. But the biggest part will be to find a way to communicate with the GPS chipset. Maybe someone knows some good tools to find out how to communicate with the GPS chipset.
I'm very curious on your suggestions.
Best regards,
Chris
And here we can see what static navigation is doing with our tracks. On the right side I was running (high speed) and on the left side I was walking (slow speed). You can see that the static navigation feature freezes the track if you do not move very wide within approx. 30 seconds and releases the freeze if you moved a certain distance. This continues until you are moving at higher speeds.
To generate the tracks the original NMEA data from the SirfIV GPS chipset was dumped every second.
Because of the zoom level you can not see every timestamp, but there IS a trackpoint every second. While at higher speeds they are aligned along the track (right side) the are lying at exactly the same place during the freeze on the left track.
Best regards,
Chris
Maybe an interesting place to search for is the file:
/system/lib/hw/gps.s5pc210.so
Inside this you will find strings like:
MI_SetStaticNav
NL_GetStaticNavMode
NL_SetStaticNavMode
NL_Get_StaticNav_Status
NL_GetStaticNavMode_NL3
NL_SetStaticNavMode_NL3
NL_StaticNav
MI_GetStaticNav
StaticNav: %s3SV
NL_SetStaticNavMode()
NL_StaticNav()
Seems to be interesting.
Best regards,
Chris
And for the usage of the "MI_GetStaticNav" and "MI_SetStaticNav" functions see:
read.pudn.com/downloads28/sourcecode/embed/88065/SDK%20Users%20Guide%20Part%201%20-%20Software.pdf
Page Nr. 196
Is it possible to use the functions defined within the .so file from your own programs???
segelfreak2 said:
Is it possible to use the functions defined within the .so file from your own programs???
Click to expand...
Click to collapse
Yes, it is possible and easily done.
segelfreak2 said:
Hello
I just stumbled over this document: micro-modular.com/docs/AddlRsrc/GSD4e OSP Manual (CS-129291-DC-9).pdf
So, for example on site 119 for example you can see that it is possible to disable the static navigation filter by sending the corresponding Payload Sequence to the SirfIV chipset. The only question which remains is "how can we send these strings to the chipset".
And this is the point where we need some really brilliant XDA developers. If someone would manage to open the communication way to the sirf IV chipset, it would be possible to reconfigure this chipset totaly free.
At the beginning it can be a really simple tool where you have to enter the Start sequence, payload and end sequence which should be send manually. This would be good enough. But the biggest part will be to find a way to communicate with the GPS chipset. Maybe someone knows some good tools to find out how to communicate with the GPS chipset.
I'm very curious on your suggestions.
Best regards,
Chris
Click to expand...
Click to collapse
Not Applicable.
The GS2 has a GSD4t, not a GSD4e. It's the "crippled" version of the Star IV that uses the host processor to do all the work.
Entropy512 said:
Not Applicable.
The GS2 has a GSD4t, not a GSD4e. It's the "crippled" version of the Star IV that uses the host processor to do all the work.
Click to expand...
Click to collapse
Hello Entropy512,
thank you for your comment. I know that the SGS2 has a GSD4t unit. But despite the document is named GSD4e OSP Manual... it is also applicable to the GSD4t version. So it is written in the document. And as I posted, there is a .so file who has all these functions in it. We just need to use it. And I think that the functions provided within gps.s5pc210.so are really worth a try.
aerobahn said:
Yes, it is possible and easily done.
Click to expand...
Click to collapse
Hello aerobahn,
many thanks also to you for your input. Your answer sounds great in my ears . I think it should be worth a try if it is really so easy to use functions defined within a .so library file. I do not have any experience in programming for android, but if someone who has would try it I would appreciate that. Because without static navigation the SGS2 would be a very good GPS logger too. And this can be somtimes very valuable, for geocaching, hiking tours, even low speed navigation...
Best regards,
Chris
No one who wants to try? Please. If you succeed I'm willing to honor your effort.
I have no programming skills at all but i am able to test whatever lib is generated
I can test daily in a 30 Km path (and 30 Km back).
segelfreak2, what you really want is to enable satic navigation and not disable it, as it is already disabled by Samsung. Static navigation disabled means filtering is ON. Static navigation enabled means filtering OFF. It is a common misconception.
Nevertheless, I have developed a tool called GPS Control for SGS2. You can check it out on market. It does exactly what you need. Just remember to reboot after changing Static Navigation config. It requires root access and works only on I9100.
You are welcome to propose any additions you might want in future versions.
The app doesn't work with CM7. I'd like to know if static navigation is enabled in CM7 by default.
Sent from my GT-I9100 using XDA App
Yes, it is not supposed to work with CM (yet). Just send me your gps library file (.so) and I can update the app so that it works with CM also. (or I'll just send you a modified .so)
It's not working with MIUI too. If you tell me which file(s) you need, I would give them to you. At the moment it just says unknown driver.
Sent from my GT-I(OVER 9000!!!!) using XDA App
In recent stock firmwares the file is /system/lib/hw/gps.s5pc210.so
In older ones the file was /system/lib/hw/gps.GT-I9100.so
steffato said:
segelfreak2, what you really want is to enable satic navigation and not disable it, as it is already disabled by Samsung. Static navigation disabled means filtering is ON. Static navigation enabled means filtering OFF. It is a common misconception.
Nevertheless, I have developed a tool called GPS Control for SGS2. You can check it out on market. It does exactly what you need. Just remember to reboot after changing Static Navigation config. It requires root access and works only on I9100.
You are welcome to propose any additions you might want in future versions.
Click to expand...
Click to collapse
I'm curious, why did Samsung disable static navigation by default?
I think this would be good for those who uses the phone to track their marathons etc
mengsuan said:
I'm curious, why did Samsung disable static navigation by default?
I think this would be good for those who uses the phone to track their marathons etc
Click to expand...
Click to collapse
As long as you don't walk the marathon, you should be fine
@ steffato: I've sent you a pm with the .so files​
Just updated the app in the market. It now should support both MIUI and CM. Try it and I 'm waiting for results. Thanks for your input.
Please be patient. The update may take some time to show up in the market.
Raudi1 said:
As long as you don't walk the marathon, you should be fine
@ steffato: I've sent you a pm with the .so files​
Click to expand...
Click to collapse
I tried endomondo on the phone. It does "pause" my location and then update seconds later. Average speed is 9-10km/h
Sent from my GT-I9100 using Tapatalk
Don't forget to reboot after changing setting. It's required or there will be no change. On some cases the phone may crash and reboot on its own, unless you rebooted after changing settings.
If you want to check your gps behaviour after enabling static navigation, you should try disabling any filtering options that you app might have. I test with locus after disabling filters.
Don't test it with googlemaps. There is filtering in that app, therefore gps behaves the same either with sn enabled or disabled.
Sent from my GT-I9100 using xda premium
thank you.
your program is working quite good.
mayby you should create a separate topic in the original dev forum?
the question is how it influence battery life?
Sent from my GT-I9100 using Tapatalk

[XAP][Source] Webserver v0.6.0 (File uploads)

Version Alpha 0.6.0 is now available
I'm back! Not dead yet, I promise. This is actually a relatively small update in terms of user-facing features, with only one really big new thing - support for file uploading - but that's a lot bigger than it might sound. It's the first write support I've implemented in the server, and it also required some fairly massive updates to the HttpServer component (support for binary requests, for POST parameters, for MIME multipart parsing). These will be built upon in forthcoming versions to add support for things like registry editing, in-browser file viewing (possibly editing), and so on. There are also a large number of small fixes and improvements that I've made over the last two-weeks-shy-of-a-year, which should make the server faster, more robust, better able to support concurrent connections, and lighter on device resources. Finally, while the app still targets WP8.0 and should run on 8.0, it now is designed for 8.1 compatibility (especially the AllCapabilities version).
Previous update (0.5.6): This version is mostly bug fixes and UI changes. The biggest changes are: clearer display of weird registry data types, the server now consumes fewer threads (it used to spawn them with wild abandon) and does faster string compares, the app version is now shown on the phone, error pages are now better, if you launch the app without a WiFi IP address it'll offer to take you to the WiFi settings page, connections are no longer closed as soon as the app starts sending a response, and the server now defaults to using the Connection: keep-alive header, with a two-minute timeout. The last change, combined with the second-to-last, should hopefully both do away with the tendency to have the app fail to display a page. However, I shouldn't have *needed* to switch it to "keep-alive" - using "close" should have worked - but it still veeeery occasionally would kill the connection early. Agh. Anyhow, this is better in the meantime.
DevDB offers me a support / Q&A thread. Please use that thread to ask questions; don't PM me unless it needs to be kept private for some reason!
ISSUES ON WP8.1:
It *should* work to deploy the app with "Application Deployment", but if you have a problem try deploying with "Windows Phone Application Deployment 8.1" instead.
Problems have been reported in the past when the app is installed to the SD card. It's small, though; putting it on internal storage shouldn't be a problem.
RESOLVED The AllCapabilities version included a few capabilities that were present in 8.0 but removed in 8.1. Those capabilities have been removed; the AllCapabilities version now deploys and runs on capability-unlocked WP8.1 phones.
IN CASE OF OTHER ISSUES: Please provide a *detailed* error report - what phone and OS version you have, what hacks you've installed, what Webserver version you're running, what you do to get the error to occur, and exactly *what* occurs - and I'll fix it as soon as I can! There's a DevDB section for posting bug reports, and you can also use CodePlex if you want.
I finally implemented file upload! I'll work on getting more stuff like that (file delete, possibly file rename/move/copy, various registry edits), hopefully soon! I also hope to add support for different areas, like an "Applications" path, a "Processes" path, a "Services" path... eventually. Many of those are really hard without good privileges. I'm also looking at moving the server to a background process and making the app just a control UI for it, adding support for authentication and/or HTTPS, adding some stylesheets to the web UI, adding caching, and much more. I did finally implement Connection header support.
Once again, the XAP is published twice. One is a fairly standard XAP that any phone can sideload, and the second has many exotic capabilities to enable viewing of (and writing to) slightly more of the file system and registry. The standard XAP has had its list of capabilities expanded to pretty much all of them that can be used without interop-unlock. The high-capability variant requires not just interop-unlock, but the additional capability-unlock hack available in the interop-unlock thread. The AllCapabilities version now works with WP8.1; sorry for the long delay on that!
An item of note: the AllCapabilities version (or either version, on WP8.1) can open other drives in the file system. On phones with an SD card, it is mounted at D: and you can browse it as normal. Credit to @hjc4869 for this discovery!
DESCRIPTION: This is a simple webserver app which can enumerate those files that are in folders readable from the sandbox, can download and upload (access permitting) files, can browse the registry, and can display the contents of registry values of any type. It runs on WP8.x (not yet tested on W10M). It is a spiritual successor to the Functional Webserver / WebServer (Mango) projects from WP7. This version is still missing a lot of functionality as I decided to implement it from scratch, but it is advancing swiftly. Note that there's no access controls implemented; use it on a public network only at your own risk!
Instructions are simple: sideload the XAP, connect to WiFi (required), run the app (called "WebServer Native Access"), point a web browser (on a PC or phone that is also on that local network) to the URL that the app displays. You should get a basic index page. Click on a Filesystem or Registry link to begin browsing the phone. There's a textbox near the top of all filesystem pages, type in a path there (for example, "C:windows" with no quotes) and hit Enter or click Get Files. You'll see a list of the contents of that folder. Click on a file to download it or a directory to open it. There's also a box for uploading files, one at a time, to the current directory. Navigating the registry is similar, except you'll need to specify the registry hive and then the path from that hive (or no path, to access the root of the hive).
As of v0.6.0, uploading files is finally supported! Other modifications (editing files, creating, deleting, or changing registry keys or values) are currently not supported. They will be "soon" although my personal testing suggests that basically the whole registry, and most of the file system, is off-limits for writing unless you use restricted capabilities.
You might see an error code (error 5 is "ACCESS_DENIED", you'll see it a lot; I should replace it with an appropriate 403 or whatever). Or you might see a status 500 message because of an exception in the server. Or the server may just crash (hopefully not so often anymore...). I'm making it more resilient, but there are still bugs. Please report any previously-unreported issues you find, including how to reproduce them, and I'll fix them if possible.
Also feel free to request features or changes; I'll implement them if reasonably possible. The app is a mixture of C++ and C# code; I could probably have done it all in one or the other but wanted to have a C++ component in case I ran into something that wasn't available in C#, and although it probably would have saved some time, I decided that hacking up a web server in C++ was maybe not the best idea.
The source code is on Codeplex, at the following projects: https://wp8webserver.codeplex.com/ for the server and the app (C#) and https://wp8nativeaccess.codeplex.com/ for the native access wrappers (C++). You may have to fix up the reference paths to get the C# component to see the C++ component correctly. The code is reasonably well documented, but let me know if you have any questions. Permission to re-use the code or components is granted under the MS-PL (Microsoft Permissive License) as posted on Codeplex.
Go forth and find cool stuff!
Version history (see the git commit logs for more detail:
07 July 2013 - 0.2.0: Initial release, FS only, 920 downloads (source: 652 downloads)
14 July 2013 - 0.3.2: initial registry, HTTP server and web app encapsulation, source on Codeplex, 225 downloads
0.3.3: bugfixes, 454 downloads
0.4.2: basic registry values display, 86 downloads
0.4.3: bugfixes, 326 downloads
0.4.6: multistring registry values, bugfixes, updated libraries, first AllCapabilities version (950 downloads), 453 downloads
25 Oct 2013 - 0.4.8: binary and long registry values, formatting and bugfixes, 451 downloads AllCaps, 201 normal
22 Dec 2013 - 0.4.9: all registry value types, better threading, proper resume, remembers port, 97 downloads AllCaps, 53 normal
24 Dec 2013 - 0.5.0: background operation using Location APIs. Downloads: 1011 AllCaps, 963 Normal
20 Jul 2014 - 0.5.1: More capabilities, better navigation. Downloads: 358 AllCaps, 352 normal
07 Aug 2014 - 0.5.3: .REG export, better traversal, bugfixes. Downloads as of 0.5.5 release: 260 AllCaps, 164 normal
10 Oct 2014 - 0.5.5: Bugfixes and back-end work. Downloads as of 0.6.0 release: 140 AllCaps, 113 normal
25 Oct 2014 - 0.5.6: Bugfixes and UI tweaks. Downloads as of 0.6.0 release: 1720 AllCaps, 1334 normal
12 Oct 2015 - 0.6.0: Binary requests, file uploads, bugfixes.
XDA:DevDB Information
WebServer Native Access, Tool/Utility for the Windows Phone 8 General
Contributors
GoodDayToDie
Source Code: https://wp8webserver.codeplex.com/
Version Information
Status: Alpha
Created 2014-10-17
Last Updated 2015-10-12
I'm going to use this space to mention something that's pretty cool:
J. Arturo of http://www.komodosoft.net is using a modified version of the HTTP server that powers this app in the ShareFolder app (http://www.windowsphone.com/s?appid=e2b9c82e-eaa1-4a3b-9d4a-8a2933a8bdb4) to support opening video files directly from Windows network shares! This was done to work around a limitation of the WP8 media control: it can only source from an isolated storage file or a HTTP URL. By running a server in the background and streaming the video file through it, and pointing the video player control at the localhost URL, it becomes possible to play the file on the phone without first copying it to the app's isolated storage. A very cool way to solve the problem! Also, reviewing the changes that were made to the network code of the server pointed me toward those threading fixes I made that have hopefully much improved version 0.4.9.
Please note that the updated version of ShareFolder with this feature may not yet be available, although it should be soon. It is a commercial (paid) app, but the author sought and received permission to use my code (although the license does not require such permission be received).
What exactly is the problem with sockets? I am battling myself with sockets atm too, maybe we can share knowledge?
Strictly speaking, the problem was with the phone's limited subset of the Sockets API forcing me to access it through functions I wouldn't normally use (asynchronous everything, SocketAsyncEventArgs and lambdas and AutoResetEvents and so on everywhere...) but I've got a pretty good handle on it now, at least for the System.Net.Sockets.Socket and its friends. The new .NET 4.x ones (using the async keyword and all) are in a different namespace; I didn't mess with them. They are more abstracted from the Bekeley sockets interface that I'm used to from C, but they are also (supposedly) more user-friendly, especially if you don't feel like writing all your own thread management code (and in fairness, I should re-write the webserver's threading to use threadpools; they're better for this type of work).
If you want to ask questions about the topic, I suggest starting a new thread (possibly in the Q&A subforum, although it's also dev related...) and I'll answer if I can.
GoodDayToDie, just an idea: how about sharing your source code via CodePlex or GitHub?
Oh man, this is pretty nice! GoodDayToDie does it again!
So far, I can read \Windows, the current install folder which you access just by typing "." with no quotes and the current application folder by typing ".." I can access the .dlls, .winmd and AppManifest.xml from the current install, but from everywhere else, it goes boom. This is a great step towards something awesome though!
EDIT:
I was wrong. For some reason, when you click on a folder it's trying to "download" it, rather than chdir. I can get pretty far into the Windows directory.
THAT's what you meant by "Click on a file (note: there's no current way to tell the difference between files and folders) to download it.
You might see an error code (error 5 is "ACCESS_DENIED", you'll see it a lot). Or you might see a status 500 message because of an exception in the server. It's getting a lot more resilient but there are surely still some bugs. ".
If you see a folder, just type the full path to it instead of clicking on it and you will be able to read the contents.
ANOTHER EDIT:
I just found a file inside of the \Windows\System32 directory named [guid].devicemetadata-ms (It's easier to just search for "devicemetadata-ms"). It's a cab file with some metadata about WP8 with a sign.cat and packagesign.cat file in the archive. I don't know what these files could potentially be useful for.
New version in a day or two (busy tonight). Features I plan to implement (not necessarily in the next version or at any particular time):
File upload (IsoStore and, of all crazy things, install directory are writable. I think I'll put a flag on each FS page that says whether the current dir is writable...).
File deletion (where possible, of course).
File and Directory distinction in the listing (clicking a dir should open it, not error out).
Filesystem index page with links to folders that can be accessed successfully (since the root isn't readable).
Some more file info (size, probably attributes, possibly permissions).
Possibly an option to preview a file (as plain text) without downloading it.
Some kind of background mode (the server uses minimal resources when not actively servicing a request, so I'll see if I can get it to work in the background, perhaps by abusing the music transfer agent...)
Some kind of offline mode (at least basic file browsing within the app, as an alternative to using the web interface, though I might just make a second app for that).
Source code changes: separate the server code from the webapp / phone app code (move it into its own project).
Source code changes: move to a hosted version control service, probably CodePlex (good suggestion sensboston).
Maybe add an icon and such...
Any other suggestions?
I also want to try experimenting with various non-standard capabilities and see if I can get access to more of the system . I've already added the ability to access removable storage, but I've also found a bunch of really weird and frequently undocumented capabilities in the OS's policy configuration files, and I need to look into those... The interesting (and possibly the uninteresting) ones are probably blocked for unsigned sideloaded apps, but it's worth checking on anyhow.
Yeah sorry, I should have been more explicit about clicking on dirs. not working in 0.2.0. Also, it's "unofficial" but if you check the URL bar you'll see a URL parameter called something like "pattern" (by default, it's *) and if you change that, you can filter the results. For example, "foo*.exe" (note: no quotes!) will search for EXE files whose names start with "foo". Among other uses, this makes it a lot faster to load large dirs like System32. This will be added to the UI at some point. Also note that URL decoding is applied correctly to querystring parameters (Probably already noticed with the path sometimes written using %5C for \) so you can add special characters that way if needed, though currently any of them but \ will probably just cause an exception.
...
Actually, does this filesystem support Alternate Data Streams? If so, you should be able to download them by appending a : and the ADS name to the filename in the download URL...
OK, so that was a new version in five days. Sorry, stuff takes time.
The source code is now on Codeplex. The native access portion is at https://wp8nativeaccess.codeplex.com/, and the web server portion is at https://wp8webserver.codeplex.com/. Both are licensed MS-PL and use Git for version control. The full XAP is also available for download from the Webserver project on Codeplex.
GoodDayToDie said:
OK, so that was a new version in five days. Sorry, stuff takes time.
The source code is now on Codeplex. The native access portion is at https://wp8nativeaccess.codeplex.com/, and the web server portion is at https://wp8webserver.codeplex.com/. Both are licensed MS-PL and use Git for version control. The full XAP is also available for download from the Webserver project on Codeplex.
Click to expand...
Click to collapse
You are a god. I'll be sure to post my findings .
Hmm. When I first load up WebServer File Access then access from my laptop, I get the main page then the program crashes on my phone. It seems to hold a lock on to the socket as i can no longer access port 9999 from any other device when re-opening the app. I can access it again when I reboot, but the same thing happens.
EDIT: I think it may be due to the WiFi at work... it's junky. I'll try again when I get home. I was just able to browse some directories.
Wow, that's completely unexpected... I can beef up the error chacking and handling around the listener port though. That part of the code is really straightforward, so I actually haven't hardened it very much. I can also put in a Finally block to close the socket and/or mark the socket as re-usable so that other apps (or the same one again) can listen on it in the future.
I also plan to add support for setting your own port, but that doesn't solve the underlying problem. I'll put in more error reporting as well, to enable better debugging. Thanks for the report! Always good to have users report problems so I know where to prioritize fixes.
GoodDayToDie said:
Wow, that's completely unexpected... I can beef up the error chacking and handling around the listener port though. That part of the code is really straightforward, so I actually haven't hardened it very much. I can also put in a Finally block to close the socket and/or mark the socket as re-usable so that other apps (or the same one again) can listen on it in the future.
I also plan to add support for setting your own port, but that doesn't solve the underlying problem. I'll put in more error reporting as well, to enable better debugging. Thanks for the report! Always good to have users report problems so I know where to prioritize fixes.
Click to expand...
Click to collapse
I tried the app at home and it DOES crash on the first hit of the home page, but I'm able to open it up again and it works fine.
The new version 0.3.3 should be more rebust; try it and let me know if you still have issues. If you do, let me know what the exception message is (and any other info you can provide) and I'll try to track it down.
Downloading really big files should also work now. The app will read and push files in smaller chunks (the code to do this existed in the NativeAccess library before, but wasn't used).
a simple SDK?
Dear Sir
Will it be possible for you to make some sort of SDK from this so other developers can integrate this into their apps and enable browsing isolatedstorage?
Sorry if it is a stupid question.
Bruce_X_Lee said:
Dear Sir
Will it be possible for you to make some sort of SDK from this so other developers can integrate this into their apps and enable browsing isolatedstorage?
Sorry if it is a stupid question.
Click to expand...
Click to collapse
With the restrictions in permissions, this app only allows browsing of the app's isolatedstorage locally. You are able to use the IsolatedStorage API within your app to browse files and directories already.
snickler said:
With the restrictions in permissions, this app only allows browsing of the app's isolatedstorage locally. You are able to use the IsolatedStorage API within your app to browse files and directories already.
Click to expand...
Click to collapse
That's right. What I want is to allow the end user to be able to browse the isolatedstorage. Imagine I have a video download app, I want the user to be able to transfer those downloaded videos from the app's isolated storage to, say, a PC.
One can do this by integrating the webserver code into the said app.
Bruce_X_Lee said:
That's right. What I want is to allow the end user to be able to browse the isolatedstorage. Imagine I have a video download app, I want the user to be able to transfer those downloaded videos from the app's isolated storage to, say, a PC.
One can do this by integrating the webserver code into the said app.
Click to expand...
Click to collapse
Ahh I see what you mean now. That sounds like a pretty nice idea. I think more research needs to be done to see whether it would even be allowed in the marketplace.
The webserver portion is stand-alone (builds to its own .NET DLL with no dependencies on the other parts) and has a pretty clean interface. You'd need to implement the web application portion of it yourself - the thing that generates the response pages for a given request - but the HttpResponse class in the server does a lot of the work of that for you; you basically just specify the content you want to send (as a String or byte array) and it sends it.

[Q] Nook Simple Touch disable screensaver & full screen browser

Hi,
First of all, thanks for great set of resources! I was rooted an up and running with market in no time.
I am planning to use the Nook as a home automation controller, where the interface is presented through a webpage. For that, I am going to have it mounted and constantly powered-up.
So, my question is - how can I disable screensaver to have the Nook show the browser 24/7?
Also, is there any simple way to show contexts of the browser window without the navigation buttons? (If not, no worries - I can put something together quickly in PhoneGap or similar).
Thanks!
Bumping for interest - has OP/anyone found a solution to this? I'm going to have a tinker with the sys files in the next few days to see if I can manipulate those, will post any positive results.
I'm looking for always-on functionality as part of a live bus timetable / weather station project I'm 75% through.
For those interested, I'm running a simple PHP server pulling data from London's TFL API and the UK MetOffice's Datapoint API and displaying the page in Dolphin.
julianfox said:
Bumping for interest - has OP/anyone found a solution to this? I'm going to have a tinker with the sys files in the next few days to see if I can manipulate those, will post any positive results.
I'm looking for always-on functionality as part of a live bus timetable / weather station project I'm 75% through.
For those interested, I'm running a simple PHP server pulling data from London's TFL API and the UK MetOffice's Datapoint API and displaying the page in Dolphin.
Click to expand...
Click to collapse
http://forum.xda-developers.com/showthread.php?p=29113425 (found by googling "nook screensaver disable sqlite3").
julianfox said:
Bumping for interest - has OP/anyone found a solution to this? I'm going to have a tinker with the sys files in the next few days to see if I can manipulate those, will post any positive results.
I'm looking for always-on functionality as part of a live bus timetable / weather station project I'm 75% through.
For those interested, I'm running a simple PHP server pulling data from London's TFL API and the UK MetOffice's Datapoint API and displaying the page in Dolphin.
Click to expand...
Click to collapse
Hi, I am quite interested in your project and was wondering how you got on with this.
Basically I am looking to have a calendar + weather page up constantly on in my rooted Nook Simple Touch. I have managed to get rid of the screensaver but it still goes into sleep mode after a while. Also would like to get some direction on how I could do my own PHP based page because most of the calendar apps out there dont seem to report weather
Jayyzee said:
Hi, I am quite interested in your project and was wondering how you got on with this.
Basically I am looking to have a calendar + weather page up constantly on in my rooted Nook Simple Touch. I have managed to get rid of the screensaver but it still goes into sleep mode after a while. Also would like to get some direction on how I could do my own PHP based page because most of the calendar apps out there dont seem to report weather
Click to expand...
Click to collapse
I implemented the server side part of this weather app
http://www.mpetroff.net/archives/2012/09/14/kindle-weather-display/
also made the following changes
http://www.shatteredhaven.com/2012/11/1347365-kindle-weather-display.html
Getting the image on the nook is a different story. I tried using crond to wget or curl the image from the server to the screensaver folder so I could have other info graphics rotated throughout the day. I was unable to get the image via wget and unable to get cron working. Any suggestions... (besides having a browser open 247)
here is another example
http://origami.phys.rpi.edu/~jimenc/public/pjs/weather_kindle/server2/weather.php
Refresh?
larryflynt said:
Getting the image on the nook is a different story. I tried using crond to wget or curl the image from the server to the screensaver folder so I could have other info graphics rotated throughout the day. I was unable to get the image via wget and unable to get cron working. Any suggestions... (besides having a browser open 247)
Click to expand...
Click to collapse
Hi, kudos for the progress so far.
I take it you couldn't just use another device to FTP the file to the nook every so often?
I was hoping to do a very similar thing with my spare NST but unfortunately my coding skills are not up to that level. You mention that you were trying to populate the screensaver folder with the image to be displayed, would there be any way to automatically make the NST wake up every few hours to refresh this image (assuming you can get the image there in the first place)?
I think that the better way to do this all is to write an app.
The app could use either an ImageView or a WebView.
You could easily make this work directly without a proxy or a server.
You wouldn't have to play around with screen timeout/wakeup,
This is going to be hard wired powered?
Renate NST said:
I think that the better way to do this all is to write an app.
The app could use either an ImageView or a WebView.
You could easily make this work directly without a proxy or a server.
You wouldn't have to play around with screen timeout/wakeup,
This is going to be hard wired powered?
Click to expand...
Click to collapse
The more I think about this, the nook simple touch might have to be charging.
I've done something very similar with my nook showing a custom weather listing in a fullscreen Dolphin browser. Though I have a problem with it not running for more than a day or so before the browser stops refreshing anymore. Have you experienced this? I'm currently looking into some way to kill/restart the browser on schedule perhaps.
Also, how did you get the browser in landscape mode? I can't find that anywhere.
neonpolaris said:
Also, how did you get the browser in landscape mode? I can't find that anywhere.
Click to expand...
Click to collapse
I use this to set the orientation: https://play.google.com/store/apps/details?id=com.mah.screenrotationlock
OB
Sent from my HTCEVOV4G using Tapatalk 2
Another way to set orientation is if you have an application that only does landscape.
Switch to the landscape app, home out of that, go to the application that does both.
It should stay in landscape mode.
I have an assortment of apps, some portrait only, some landscape only, some both orientations.
By jumping briefly to a landscape only or portrait only app you can set the orientation for subsequent apps.
Thanks for the help guys!
I've got a web server running on my NAS serving a custom page for me. The browser launches fullscreen on boot up via some auto start app. After 5 min, the page redirects to an all black page for a second, then an all white page for a second (to clean up the display), then back to the original page with any new information on it.
This works well except for two issues.
1. On boot up, there's no way to avoid the first lock screen. After unlocked, it doesn't come back, but it's always there on startup. This wouldn't really be an issue except...
2. The browser stops loading the page after a while. I can hit refresh and it goes through the motions, but the page isn't updated. It can take a couple of days for this to happen. Restarting the nook solves this. I confirmed that the page is still served normally to other devices (not a web server problem). I would just have the device auto restart at 3am or something, but then the lock screen would always be there.
Do you guys have any ideas about how to correct this or at least work around it?
I can't even try other browsers because this is the only one I've found that displays full screen.
Any updates on this?
I wonder if there's a way to have a cron job kill and relaunch the browser every once in a while to get past the freezing issue you'd mentioned. Or just have the cron job kill the browser every once in a while and relaunch it, pointed at a new information display page.
Even better would be if there was way to bypass the need for a web browser and interact directly with the e-ink screen buffer as can be done on rooted kindle devices. (I can't post a link, but google search "Tools Eink Framebuffer Update Trigger" to find the kindle framebuffer commands)
Yeah, I worked directly with the screen output on my kobo, which worked well, but it was more of a pain to make changes. That might be because I'm more familiar with php and css than python and screen blit-ing. Having android to work with makes it much easier to expand functionality by just downloading an app and using my fingers, instead compiling software and ssh-ing in for everything.
Speaking of which, it looks like my problem is solved. I installed tasker and set it to kill the browser at 3am and start the browser at 3:01am. Thanks all.
What about google play apps for weather? Most of the apps I have used so far have had contrast issues since they are designed for color screens. Does anybody know of good apps that display the current weather info and forcast data in an eink friendly color scheme?
As far as the going to sleep issue, the apk listed in the second comment here: http://forum.xda-developers.com/nook-touch/general/fridge-calendar-t3057759
worked without issue for me, so that problem has mostly been solved.
Try this: electricsign app
Apologies for the resurrection, but for those looking for a digital low power / e-ink info display this might just do it.
This app will do the trick if a static jpg of a web page updated at an interval will do (set to output a jpeg in the custom screensaver folder on rooted nook)
Electricsign android app: (search electricsign on the play store - I can't post a URL here yet).
Leave the WiFi on and set the screensaver timeout.
The source code is on github also (google.it ).
I can never find the app because I always think it's called electricsheep.
Hope this helps someone...or me in the future.
Hi future me, the app is called electricsign, not electricsheep. You'll thank me next time you forget. From your past self bored at a ceildh BC your gf doesn't want to dance.
electricsign looks like the ticket!

Categories

Resources