huawei watch gt- export data from health - Huawei Watch

Got the Huawei watch GT some days ago.
Everything is good except the fact that i can't get track data from Google fit (i know about the issue since they did update the app) and there isn't a way to get the data straight from huawei health.
So i rooted my phone (Xiaomi natrium) and found out the attached file at the path /data/data/com.huawei.health/files.
I can see the latitude/longtitude/time entries and their count.At the bottom it has the HRM and the altitude.
I am sure is a gps location log file of some kind but i can't understand and i am not a developer. Maybe it is a proprietary log file ?
Can anyone help ?
Is there any kind of converter to .GPX ?

My problem is the calorie count is not your daily count, but rather your activity count which is completely useless.
Also, if I sync with Google Fit the heart rate does not pull through.

grlazy said:
Got the Huawei watch GT some days ago.
Everything is good except the fact that i can't get track data from Google fit (i know about the issue since they did update the app) and there isn't a way to get the data straight from huawei health.
So i rooted my phone (Xiaomi natrium) and found out the attached file at the path /data/data/com.huawei.health/files.
I can see the latitude/longtitude/time entries and their count.At the bottom it has the HRM and the altitude.
I am sure is a gps location log file of some kind but i can't understand and i am not a developer. Maybe it is a proprietary log file ?
Can anyone help ?
Is there any kind of converter to .GPX ?
Click to expand...
Click to collapse
Hi,
Just checked shortly your file and found a few things: if you import it to excel as delimited by semicolon, you can do the necessary conversions, needed to use Excel GPX converter. I am not allowed to post links here, so please search for the site. Please check the requirements how to name the Excel columns!
What shall you do?
- e.g remove lat=, lon=, from the beginning of the coordinates - for 18119 points
- tp=alti rows contains the altitudes, again remove the 'v=' before the value - for 3560 points
- tp=h-r contains the heart rate, again remove the 'v=' before the value - for the same 3560 points
- tp =rs contains the average speed for the same 3560 points, again remove the 'v=' before the value. Speed is most probably m/s.
- tp=s-r - i have no idea what is this, but can be identified if you share what kind of activity you did and where
- tp=p-m - no idea
- tp=b-p-m - no idea
- In case of speed - it is calculated for every 5th point, so you must copy speed values with k=0 to an additional column right to the coordinates, like this: speed for k=0 you copy to coordinates from k=0, k=1, k=2, k=3, k=4, continue with k=5, etc. in the same way.
- Due to the fact that we have Heart Rate and altitude records in the same amount as speed, I guess we have to do the same (add two more columns to the excel and copy the same way). I have no idea, what those huge k values mean at the beginning of the rows, my best guess is a coded time stamp, the difference is always 5000. Half second? 5 second? Can you tell me when you made that track (date and time)?
It's OK, if you convert just e.g. 10-20 records and skip the rest, just to check if the theory is correct or not.
At the end you must remove the columns which contain just type and sequence information (first two). Please also be sure that at the end no formulas remained in the excel, just simple values. Run the GPX export, try to import it to Strava.
If it does not work, download a GPX file from Strava open in Excel as xml and check what is the difference. Fine-tune the excel conversions accordingly and it will work sooner or later. If you can share the final working method here, I will really appreciate it!
I might buy a Honor Magic Watch or a Huawei Watch GT. If that happens, I will write a conversion program to avoid manual work in Excel.
Best regards,
Gabor

Well done finding this file - it looks like it might finally be a step in the right direction for getting this data out of the Huawei Health app! I'm going to give this a go with data from a Huawei Band 2 Pro.
Regarding the huge time-stamp, I suspect it's simply the number of seconds since the unix epoch, written in scientific notation. For example the first timestamp (t=1.543646826E9) written without scientific notation becomes (1543646826) which corresponds to (Sat, 1 Dec 2018 06:47:06 GMT).
I'm going to try and access this file without rooting my phone, hopefully by "backing-up" the app-data to my computer using ADB. I'm reluctant to root my phone as I don't want to lose the ability to use Google Pay. I'll keep you updated!

Update: I could neither debug nor backup the Huawei Health app (Version: 9.0.4.332) on my unrooted Huawei P10 Lite. A workaround might be to backup the Health data to the Huawei cloud and re-download it onto a different rooted handset, but as I don't have a rooted handset at the moment I can't do that. Another workaround might to be trying to download an older version of the app, and hoping that it doesn't restrict backup/debugging. Another option might be to use the HiSuite application to backup the data to your computer and extract the health data from there. I'm trying all these options to avoid rooting.

Why does not Huawei put the option to export to gpx in the Health application?

GiovaniM said:
Why does not Huawei put the option to export to gpx in the Health application?
Click to expand...
Click to collapse
I wish! There is an open question on the Huawei forums for this - it's probably worth adding your voice to the crowd to push it up their priority list
I have found a way to access the data without a rooted phone though!!
Download the Huawei Backup app (previously called KoBackup)
Make a local backup to an SD card of just the Huawei Health App Data (ensuring that the backup is not encrypted)
Navigate to the backup on your SD card and you'll find a .tar file containing the data files posted above. You can then move this across to your computer for processing.
The relevant files start `HiTrack_` then a unix timestamp, and can be found in `com.huawei.health/files/`
It is currently not possible to use the HiSuite to extract this data directly to your computer as it is encrypted, even if you choose not to use a password. There are some expensive commercial tools that can decrypt the data (MOBILedit Forensic Express), and a new paper (doi: 10.1016/j.diin.2019.01.008) has been released that proposes a framework for doing this but they don't supply the tool that they've created.
So now we just need to work on converting this data to a useful format, such as Garmin's .tcx- I'll try and whip up a python tool to do this so that it can be cross-platform. I have no experience working with XSD Schema so any help would be appreciated!

I've not forgotten about this and am working on it - I've wrapped my head around generating .tcx files and can generate valid ones in python now based on very simple data. Now I'm working on parsing the HiTrack files in order to feed them in to my .tcx generator.
I have noticed that my backed-up com.huawei.health folder doesn't always hold all of my recorded tracks. It doesn't even seem to only store the recent ones, but a somewhat random selection. I'm beginning to think that these files aren't how the data is stored long-term, but something that the app is producing as temporary files in order to make displaying the information easier/faster. This might be a pain later on, but for now it's better than nothing.
I've also noticed that our files are slightly different, probably because mine is generated using a Huawei Band 2 Pro rather than the Watch GT. Again, this is a problem for later on - perhaps altitude measurements from your watch won't transfer across initially (mine has no altitude measurement), but with enough data files from you I'll be able to sort that.
I've worked out that the tp=p-m lines store your pace (the number of seconds it took you to run that particular kilometer), and on these lines k is distance run in micrometers (!?). I still have no idea what tp=b-p-m but it's probably also measured in micrometers. We can calculate pace from our timestamped location data so I'm going to ignore these lines.
Finally, the timestamps associated with location and heart-rate measurements are not the same, meaning we will need to interpolate heart-rates for the locations that we do have recorded. For the moment I'll just ignore heart-rate data, and that can be a problem for later on.

There we go, I've got a very early-alpha version up on GitHub

grlazy said:
Is there any kind of converter to .GPX ?
Click to expand...
Click to collapse
There is now!
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
I noticed whilst processing your data that you have 4 or 5 incorrectly recorded GPS points that pointed at:
Code:
lat=90.0;lon=-80.0
Once I'd stripped these out by hand the conversion went smoothly.
I'll implement some kind of filter that removes lines that contain these coordinates during conversion so that you don't have to do this by hand in the future. I don't think those coordinates will crop up in real run data, as they're in the middle of the arctic ocean...
EDIT: Done, you can now filter these records out by passing the tool the command line argument '-f' (see readme for details).

@ aricooperdavis
those are very good news, thank you so much for your time and effort .
I will test it asap (most likely at weekend ) and report back

ethgkk said:
Hi,
- tp=s-r - i have no idea what is this, but can be identified if you share what kind of activity you did and where
Gabor
Click to expand...
Click to collapse
@aricooperdavis
Hi, I have Watch GT.
tp=s-r - This is cadence. Your program works excellent. I use the tcxconverter program to attach altitude. I'm just missing cadence. Could you implement it?

grlazy said:
@ aricooperdavis
those are very good news, thank you so much for your time and effort .
I will test it asap (most likely at weekend ) and report back
Click to expand...
Click to collapse
My pleasure! If you have any trouble send me the files and errors and I can troubleshoot
---------- Post added at 06:02 PM ---------- Previous post was at 05:59 PM ----------
lio_pawel said:
I'm just missing cadence. Could you implement it?
Click to expand...
Click to collapse
I'll see if I can add it At the moment I'm not interpolating the heart-rate, I'm just putting it in where it appears, so I can do the same for cadence?

aricooperdavis said:
I can do the same for cadence?
Click to expand...
Click to collapse
exactly. I compared HR and everything is correct.
Wysłane z iPhone za pomocą Tapatalk

not sure if it is going to help, but I found by chance that you can request your data from Huawei. Just click your picture in the health app click setting/ request your data. you will be asked to confirm your mobile and they will email it to you. I have done it the other day and got the data within few hours. If someone wants, i am happy to share over a year of my data from Huawei Band 2 (my steps, sleep and heart rate, plus couple of gps routes)
Just to add all the info is generated in .xml format.

lio_pawel said:
exactly. I compared HR and everything is correct.
Click to expand...
Click to collapse
There you go, I've updated it
Can you have a look and see if that's worked for you? The TCX schema for cadence is a bit complicated; there is a <Cadence> tag for each trackpoint but according to Strava this isn't used for Running; instead you need to use the <RunCadence> extension. This is what I've done, and the files validate happily enough, but I'm not 100% sure that tools like Strava will recognize them. Let me know if this is a problem.

majo_scigo said:
not sure if it is going to help, but I found by chance that you can request your data from Huawei. Just click your picture in the health app click setting/ request your data. you will be asked to confirm your mobile and they will email it to you. I have done it the other day and got the data within few hours. If someone wants, i am happy to share over a year of my data from Huawei Band 2 (my steps, sleep and heart rate, plus couple of gps routes)
Just to add all the info is generated in .xml format.
Click to expand...
Click to collapse
Thank you - that's potentially very useful for iPhone users who aren't currently able to access these HiTrack files, although it is a shame that you can only request your data once per month. I have requested a copy of my data too; hopefully it will be possible to adapt the tool, or make a new one, that can process these .xml files directly in order to generate .tcx files of activities :good:

aricooperdavis said:
There you go, I've updated it
Can you have a look and see if that's worked for you? The TCX schema for cadence is a bit complicated; there is a <Cadence> tag for each trackpoint but according to Strava this isn't used for Running; instead you need to use the <RunCadence> extension. This is what I've done, and the files validate happily enough, but I'm not 100% sure that tools like Strava will recognize them. Let me know if this is a problem.
Click to expand...
Click to collapse
Thank you very much for your work. Cadence is here, but the distance has disappeared. The TCX Conventer after loading the file generated by your program, does not show the distance and I can not add the altitude. In the previous version it worked great.
---- Input File ----
reading: OKAY
filtering: OKAY
processing gps: OKAY
processing heart-rate/cadence: OKAY
---- Details ----
start: 2019-02-16 14:00:50
duration: 00:24:46
distance: 0m
sport: Running
---- XML file ----
generating: OKAY
saving: OKAY
validating: OKAY

lio_pawel said:
the distance has disappeared
Click to expand...
Click to collapse
!?!?!
I can't replicate that problem - can you send me your HiTrack file? You can upload it here or as an issue on GitHub! Thank you!

aricooperdavis said:
!?!?!
I can't replicate that problem - can you send me your HiTrack file? You can upload it here or as an issue on GitHub! Thank you!
Click to expand...
Click to collapse
I uploaded two files. One is correctly processed, the other is missing a distance. Before adding cadence, all files were correct. In my files there is also a altitude at the end of the file. This is probably the last thing missing.

Related

[APP][BETA][Awesome] GpsTracka - GPS logging app

Greetings, long time lurker, first time poster. (Translation: Sorry if this is in the wrong forum, please move it)
I've made a GPS logging app for Windows Mobile. I'm sure there are others that exist out there, but I had to make this because it's lighter. The main purpose is to log to a GPX file which I can then use to geotag my flickr photos (example Greece vacation pics).
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
I was hoping to get some feedback on this app, all you need to do is install it on your phone and when you go out, get it to read your location. The source code is also available for you to see, so I won't post the CAB here, you can download it from Codeplex - is that OK? The codeplex page also has instructions, other information that you might need.
http://www.codeplex.com/gpstracka
One of the problems I've faced is that there is no Folder Dialog in the compact framework, I'm getting the user to enter a path to a filename and I just strip the file name out afterwards.
Another problem is that this isn't working on the Xperia X1!
The biggest problem - 450 downloads and virtually NO feedback!
So, I'd appreciate any feedback and if you do try it out, what your phone model is. All info is on the codeplex page too, so if you want to make modifications, I can add you as a developer.
I am so happy to see you post your application here. This is definitely the right forum for it.
I actually discovered it myself not so long ago, and I highly recommend it to anyone who is looking for a GPS logger. I have tried most of them and IMHO, this is by far the best. The author forgot to mention a few things, check out these features, and try it for yourself:
* works even when the device is in suspended mode, without having to wake it up whenever logging is required
* only switches on gps when needed, and switches it off once fix is acquired
* user defined location for log file (eg: main memory uses less battery than sd card)
* low battery consumption (as inferred from the above points)
* can be run simultaneously to other gps software (I only tried it once with TomTom, but did not have any problem in either app)
* small and simple, does what is required, and does it well
I am a fan :-D
I'll give it a try and see how it works, even though you appear to have tested it on a Tytn II already, I have a Tilt.
I like the convenience of TrackMe uploading everything to the website with the nice web viewer, and I've written some various things to extract the data, including a Perl script to geotag images from the same data. But there are times I just need a GPX file, maybe even to record it right there and mail it on the fly or such.
Considering light is one of your main requirements, not sure you want to add many features but one thing you might consider is also generating KML output. KML will plug right into Google Maps Mobile and is generally 'easier' for other people to use.
I'll try it out today, cheers!
Hi arman. You're better at this than I
Thanks khaytsus, any comments would be received with the welcome that a Mountain Dew would get if it ever came to the UK.
Nice app mendhak. I would of used something like this on my trip to Thailand last year. I ended up using Beeline.
What solution did you use to keep the GPS on while allowing the screen to turn off to save on power (and stop the PDA from getting hot).
One of my other threads has a few suggestions, Blackme and PhoneAlarm, both I don't find easy solutions.
Not usable for cycling
Is it possible to remove the limitation on the polling interval? 60 seconds is way too high if you want to use this program for tracking during cycling.
I'm still looking for a program that can do the job while the device is in standby mode. I have already tested a few, and up till now GPSCyclingComputer is the only program that I can use for this, but it's not really working well in standby (you can turn of the display, but you can't put the device in standby).
Anyway, thanks for the effort.
Hi, love the concept of your app. It's exactly what I'm looking for to geo tag photos.
Unfortunately I can't get it to work. My Bluetooth attached GPS works fine with other apps (and tomtom) on my Hermes but your app falls over.
I've selected the correct COM port and baud (default 4800) but when I click 'start', no data comes through. If I stop, enable verbose mode and click start again, the app crashes with an 'unexpected error' null reference exception (and a page of info too long to type, but let me know if you want it).
I had to the a photo to read it, but right before the error box pops up the screen reads:
"textbox.Opening....
Com Port COM2 Is Not On Device. The
GPS data is:"
I tried changing com ports in the bluetooth setup, no dice.
Any ideas?
can u explain, what does "Polling Rate" means?
can u make the logging interval to 1second? which means, the GPS coordinates are logged/recorded for every 1 second?..
Thank you
Looking for a light GPS logger and tried GPSTracka, but it doesn't work on my HTC Rose/S740. I get this error when trying to launch the app:
GPSTracka.exe
NotSupportedException...
Saw on CodePlex that it might be related to the fact that it's not a touch screen phone; any plan of making a version for smartphones?
Thought I was subscribed to the thread, didn't realize the replies came in, so I'm sorry for being late.
@icemantwilight - try it with the latest version on codeplex... it uses the GPS Intermediate drivers, and you can specify device names, so that means that the GPS bluetooth device should work now.
@pcboyy - The polling rate simply means that it will open up the GPS port and read from it every x seconds. To conserve battery, you'd obviously use a large polling rate. If you want more continuous points, then set it lower.
@jgeerts: Done, it can be set to a lower value than the default of 60.
@tytn2user: I stop the GPS port after every read, then use a timer to wait and then do the next read. The act of opening the port is what starts draining the battery (and hurt my thighs ), so this helps.
Wow! This is an awesome application! Just what I was looking for, for geotagging my photos. Great work Mendhak.
I have a little problem though. I'm trying to import the GPX file to an application called GPScorrelate, in order to add GPS coordinates into photos' EXIF, but I receive this error...as if the data format is wrong:
"Unable to read file 20090822_194822.gpx for some reason. Please try again"
I thought GPX was a unified format.
My example GPX file contains:
<?xml version="1.0"?>
<gpx version="1.0" creator="GPSTracka - http://www.mendhak.com/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://www.topografix.com/GPX/1/0" xsi:schemaLocation="http://www.topografix.com/GPX/1/0 http://www.topografix.com/GPX/1/0/gpx.xsd">
<time>2009-08-22T16:48:22Z</time>
<wpt lat="34.6884017" lon="33.050615">
<time>2009-08-22T16:48:22Z</time>
</wpt>
<wpt lat="34.6884817" lon="33.0506">
<time>2009-08-22T16:49:24Z</time>
... etc
Is there something I could do with GPS Tracka to correct this problem? Or could it be an issue with the GPScorrelate application?
Unfortunately I didn't find many alternative programs for Linux for do further testing.
Greetings, glad you like it!
Yes, GPX is definitely unified, so I'm wondering if GPSCorrelate is looking for a node that isn't there. Do you have an example of a GPX file that does work with GPSCorrelate? If the GPX file doesn't work with that software, try changing a few settings.
Go to the settings in GPSTracka, and change it from tracks to points or vice versa. Perhaps GPSCorrelate wants tracks because it's trying to interpolate the location of your photos?
mendhak said:
Greetings, glad you like it!
Yes, GPX is definitely unified, so I'm wondering if GPSCorrelate is looking for a node that isn't there. Do you have an example of a GPX file that does work with GPSCorrelate? If the GPX file doesn't work with that software, try changing a few settings.
Go to the settings in GPSTracka, and change it from tracks to points or vice versa. Perhaps GPSCorrelate wants tracks because it's trying to interpolate the location of your photos?
Click to expand...
Click to collapse
Yup, you are right! GPSCorrelate expected tracks as an input. I created a test log with tracks and it was accepted by GPSCorrelate.
Everything should work fine now.
Thank you for this great application and support. I will definitely keep track of this GPSTracka and install any newer versions you release
GREAT application But I noticed small problem also...
I discovered Your great app today and I will test it soon better. Its great it works as it works (runs GPS module in time intervals, not constantly, and on standby also) and I hope to get small battery drain. I have Samsung I780 and even having two batteries it is difficult to log whole day of trekking with any other app I tested.
I have noticed some small problem at the begining - Google Maps Mobile cannot open klm files generated by Your app. I tested other klm files I have (from BeeLineGPS and NoniGPSPlot) and it works, but when I try open one of Your app`s KLM it shows that klm files cannot be opened becouse it contains errors.
I will check tommorow if I can open it with Google Maps on PC.
Anyway, Your app is a little shiny diamond and I will try to promote it on PDAClub forum
Hello, I am using your program for a while and I think it's great. I am trying to log a route though and I want it to run the gps every 2 seconds (I don't mind the battery drain). I set it to do that but instead it runs every 6 or 7 seconds. I am guessing that is because it turns the gps off. What can I do to have it keep the gps open?
I noticed a pauze in the advanced settings. What does this pauze mean?

[App] Sab Watch - Monitor Sabnzbd and search/download from NZBMatrix and Newzbin

After a long delay, I wanted to see if anyone wanted to do some Beta testing. Sab Watch has been changed quite significantly, and before it heads to the Marketplace, I thought it could use a little more real world testing.
If you're interested, Ill send you a XAP which you can use with no limitations... Just post here with your email. Note that the unofficial contract in the deal is that you provide a little bit of your experience. (Errors that you see, language translation errors, etc). Without further adeu, here's the changelog:
3/20/2011 - Version 2.0
Layout change. Quite a few things have moved around. I am interested in hearing what you think: [email protected]
Trial version added. The trial version is the same as full version, except for ads on main screen and a nag when loading the app.
Multi-Language support. Sab Watch will now identify your language, and change text to work for your language. This is experimental, but testing did not show any problems. If you would like to help translate, please contact me at [email protected]. If Sab Watch doesn't recgonize your language automatically, you can change to a language of your choice by going to App Settings.
Supported Languages:
English
English (United States)
Spanish
German
Japanese
Dutch
French
Quite a few UI improvements.
Much more input validation.
Sab Watch will now save your search history. You can clear the history in app settings.
HTTPS support. Note that you will need a valid certificate, or you'll need to add your server certificate onto your phone.
A great tutorial can be found here:
http://davesimm.blogspot.com/2011/03/using-openssl-to-secure-and-encrypt.html
Price Drop - Sab Watch will now sell for 99 Cents (USD)
Please email me for any requests, support, and questions at [email protected].
http://www.williammelani.com/wp-content/uploads/2011/03/changelog.html
It also should completely support landscape mode.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Bought the app, looks great but its a bit difficult to setup. Can you post some sort of guide.
serialtoon said:
Bought the app, looks great but its a bit difficult to setup. Can you post some sort of guide.
Click to expand...
Click to collapse
I can't currently post links, but I made a post about it on williammelani.com which has some pictures which may be helpful in setting up Sab Watch. Alternatively, you can try reading the information below for more help.
Yep, sorry about it, I actually just changed it to a Pivot/AppBar application which makes the configuration much easier.
On the configuration Page, click on the + Icon to add your first server (or a new one, etc)
From here, enter your Sabnzbd Credentials. You can click the blue 'Config Help...' for more detailed information, but the idea is this:
Server Name is a way for you to identify the server. For example, if you want to communicate on your local network when you're at home, you might call it 'home', and another server with a remote IP you might call 'away'.
Then, enter the IP you use to connect to Sabnzbd, as well as the port and API.
You can find the API key for sabnzbd by going to the 'Config' header and clicking on General. It should be a ~30 character long string.
The IP/host is something like 192.168.1.201, or if you have a domain name attached, it might be something like myhomeserver .com.
Back on the configuration page, you can directly enter your NZBMatrix details. You will need the username you use to login, as well as your API key. The API key can be found by clicking on Your Account at the top of the page after you've logged in.
Finally, you can set a server to be your 'default' by clicking the 'check' button. This server will be the one the application tries to automatically connect with when the application is launched.
When you've done all that, you need to connect to the server for the first time.
To select a server, click on the name until it highlights in your accented color. Then the 'Edit Server', 'Delete Server', 'Default Server', and 'Connect (PLAY icon)' will become available to use.
Your queue and history should show up after the first refresh, and continuously refresh based on the value you set on the 'status' page.
The application fully supports Context menus, meaning that in the three large lists (Queue, History, and Search), you can press and hold for a second to bring up a context menu to perform actions on the selected item.
Single clicking any item brings the 'detailed' view, which shows more information about the particular item you clicked on. On the queue page, you're presented with a few buttons to pause/resume the item, delete it, or move it to the top of the queue.
You can also change the category by clicking on either the Category header or the category itself.
History lets you view slightly more detailed history information, as well as delete the item from the history.
Search lets you view detailed results from NZBMatrix, and gives you a button to download to the server. This button, as well as the one from the context menu, will attempt to automatically sort downloads to their respective category.
I will add some pictures soon to help with the configuration. Sorry about that, Version 1.3 in ~ a week will make configuration and layout much easier.
Thanks again for the purchase
In the version currently in the app store, Newzbin is not available, although It was submitted 2 days ago so you should expect it soon.
Gotcha! Looks like i successfully added my Sab server. Thanks! Fantastic app so far!
Thanks I've just spent the last couple hours making the app use the pivot/appbar design, and I can't wait to release it It's much more intuitive and responsive, and the app seems more fluid in general.
williammel said:
Thanks I've just spent the last couple hours making the app use the pivot/appbar design, and I can't wait to release it It's much more intuitive and responsive, and the app seems more fluid in general.
Click to expand...
Click to collapse
Im looking forward to it!
Check out a preview of Sab Watch 1.3 here: youtube.com/watch?v=VYJpHDeQCyo
New version looks great! Do you know if Sab Watch will work with https, I tried it real quick on my machine and it didn't appear to work. Could easily be a problem on my end though.
Goatmaster said:
New version looks great! Do you know if Sab Watch will work with https, I tried it real quick on my machine and it didn't appear to work. Could easily be a problem on my end though.
Click to expand...
Click to collapse
Thanks !
It doesnt support https yet, but only because I have hard-coded it to use http. Ill try to add it into 1.3 however. NZBMatrix is already using https.
Sab Watch 1.2 Is now in the marketplace!
Sab Watch 1.3 has been submitted to the marketplace. There was a weird goof/bug/something that happened in the 1.2 submission that renamed the app to 'sab watch (app)'.
I have been talking to support, and they advised me that it would be fixed if I submit a new app with the 'Sab Watch' name. If it doesn't fix it, ill just submit the app updates to each
Anyway, since 1.3 is considered a 'new' application, it goes through a more strenuous testing than if it was an update; therefore it might take a couple more days. Expect it by 12/9.
VERSION 1.3
NEW FEATURES
Entire App switched to Pivot/AppBar design. Makes performance on the main page better as it isn't always trying to display every list at once.
Added ability to set Pause Timer for SabNZBd server.
'Status' page renamed to extra. Still not quite sure what to do with it yet, as seems like less important information than anything else. Would appreciate suggestions.
Removed config page. This has been replaced by options on the Application Bar.
You may now set a custom amount of items to display for the Queue, History, and Newzbin Results. This will persist throughout application launches.
You may now set a custom refresh rate for the application. This will persist throughout application launches.
When entering the list of servers with no servers defined, you will now get prompted on how to begin adding your first server.
Clicking on a Warnings on the Detailed Server Information page shows the actual warnings received.
Trying to change the NZBMatrix category should be a little easier to bring up the category selector list. In addition, the selector list should load a little faster.
Added Turnstile transitions to pages.
You can now pick from a list of times to pause the server if you wish. This will make it much easier in most situations. Selectable times are 0 (off), 15 min, 30 min, 1 hour, 3 hours. You can still enter a number instead if you wish.
BUGFIXES
Certain Help dialogs contained outdated information from old versions, this is corrected and updated now.
Fixed numerous misspellings of the word occurred.
Fixed a bug where if the user left out their port on the server setup page, the port would be changed to 80, and then tell the user 80 is not a valid number.
Fixed some text placement inconsistencies on the Newzbin detailed post page.
Sab Watch now properly urlencodes search queries. I haven't observed any changes in search results, but YMMV.
Category on queue page should now stay at the line below the rest. This should prevent the 'jumpy' behavior you might have experienced, where as soon as it could fit on the previous line, it moved.
Made error messages that show when you attempt to use NZBMatrix or Newzbin without entering login information actually state that there is no information saved.
NOTES
Newzbin only supports 500 results returned. Any number higher than 500 will still return, at max, 500.
Setting the amount of items to display higher not only causes the application to lag while displaying them, but also uses considerably more data downloading the results, and CPU time to format the results. Keep the display amount reasonable to see good performance.
Here's an look at the upcoming Sab Watch 1.4, Which will feature RSS feeds of NZBMatrix, and possibly Newzbin. You can browse the categories in the same way as you can when select a search category.
Edited 12/5:
NZBMatrix feeds have been completed.
I bought it, thanks for your work so far.
Goatmaster said:
I bought it, thanks for your work so far.
Click to expand...
Click to collapse
Thanks Goatmaster. I sent you a pm about HTTPS; but the problem is basically this:
Windows Phone 7 requires a valid certificate to use https, which means that:
1. You must have a valid certificate on your server.
or
2. You must jump through quite a few hoops to copy a your invalid certificate to special file format, email it, and open the email in IE, verify it, etc.
I don't mind adding it, its not much work, but just getting your opinion on if you'd do step (2). I asked some of the SabNZBd developers what they thought and they told me probably no one has a valid certificate.
Microsoft said:
If I understand correctly you want to communicate with a Web Service that is running on your own computer using SSL over HTTP (HTTPS). If the certificate of the Certificate Authority (CA) that signed the SSL certificate used by the server hosting your Web Service is not in the certificate store of your Windows Phone 7 device you could do the following:
Export the CA certificate to a Base64-encoded or DER-encoded X.509 .CER file.
Send the .CER file as an email attachment to yourself or put it on a Web server so that you can open and install it from the email application or Internet Explorer Mobile on the device .
If there are any intermediate certificates used do the same for those since a .CER file can only install one certificate.
Click to expand...
Click to collapse
Edit: Sab Watch 1.3 is going to be skipped, and 1.4 was sent to the marketplace last night.
This may be a dumb question but would this allow me to start downloads from my phone? I use newsbin currently and I am sure I can figure out sabNzb if it would allow me to search and add things to my download queue. Or is this app just to watch and make priority changes to your queue?
IVIadness said:
This may be a dumb question but would this allow me to start downloads from my phone? I use newsbin currently and I am sure I can figure out sabNzb if it would allow me to search and add things to my download queue. Or is this app just to watch and make priority changes to your queue?
Click to expand...
Click to collapse
Yep, you can download things onto your sabnzbd server from within the app.
You setup the server to have your NZBMatrix/Newzbin credentials, and then this app have your credentials too.
It works like this: You search for new content on Newzbin/NZBMatrix, or browse feeds in the new version (comes out today!).
Once you find what you need, you click download in the app, which 'sends' the link to sabnzbd, and it begins the download.
There's a video on youtube in the first page which shows how you'd use the app. It's the closest version to the version that should be out today.
http://www.youtube.com/watch?v=VYJpHDeQCyo
ok that is awesome, looks like I may be buying this asap becuse this takes care of my remote issues the only time I remote into my pc from the phone is to queue stuff on Newzbin
Cool! I just got the "Approved Marketplace Submission" email a couple hours ago, should the new version should be in there today or at latest tomorrow.
Right now there is a version which works for newzbin currently in the marketplace however. There was a goof with the name so it's called
sab watch (app) in the marketplace, but the new version should fix it.
Cool got it working and it kicks ass thanks for saving me money and being really awesome and updating this thread to answer my questions, also works great with dyndns!!

[XAP + Source] Advanced Explorer [Version 1.4]

Hello XDA Community,
@DEVELOPERS: I need some developers with other devices to make things (at least parts of advanced explorer) work on other devices (i have a htd hd7). !Programming & Testing!
Please PM me
To bring all together what xda achieved for WP7, i wrote a helper app for the following tasks,
- File management
- Registry management
- Copy files from desktop to phone
- Copy files from phone to desktop
- Set max unsigned apps
- Provision any given XML
If you post in this thread how any of those features could be implemented on other devices, i will maybe implement them. You can always send me a modified version and i will maybe update this post with the new version!
Usage/(Release-)Notes on the website!
If you encounter any errors, or wanna give some feedback => just leave a post here or use the idea page or write me an email (go to contact on the homepage)!
I included the source code, so that anybody can modify it at will but do not use anything here for commercial purposes (contact me first).
Homepage for this project:
http://sites.google.com/site/yaafdevelopers/projects/advanced-explorer-for-wp7
You can give feedback / bugreports:
http://advancedexplorerwp7.codeplex.com/
(Go to Discussion or Issue Tracker)
You will find the latest version and the Release-Notes there. I will continue to watch this thread!
Because some people asked how to support/donate me:
I appreciate every donation! Thank you!
reddragon
He that is great stff... i am glad you added the source i was thinking about how this could work having had a little peek at the code in the samples that Ms provided.
wings over a thanks too
Question...If you send a file, where does the device dump it into the computer? I was getting an error sending the file to my computer at first, but then I configured correctly and it sends fine, but I don't know where it is...
Edit: Nevermind, I got it. Upload/Download Root folders. Good work on this app man. Pretty nifty. Uploaded a .doc from my laptop to the phone, copy/pasted it into My Docs and it appeared and opened on MS Office Word perfectly.
nice ! but ...
Nice app !
But can't send from \windows directory ?..
Re: can't send from \windows
Hey,
like i said in my first post i brought together what was achieved...
Im using the HTC app COM dll files for file system access. Actually you can send files from \windows but not all. (in usage or no access)...
If somebody knows a better way, or something for other devices => just implement and send it, or post here!
The problem: Now it works on my device, so I can do what i wanted to do (coping .pdf and other stuff on the wp7) I have not the time to search & wait for other devices.
I tried to code it very generic and emulated the System.IO namespace, so everybody can add his results or replace it with better results.
Just contact me and I will check the code and update the first post.
reddragon93
eternalemb said:
Question...If you send a file, where does the device dump it into the computer? I was getting an error sending the file to my computer at first, but then I configured correctly and it sends fine, but I don't know where it is...
Edit: Nevermind, I got it. Upload/Download Root folders. Good work on this app man. Pretty nifty. Uploaded a .doc from my laptop to the phone, copy/pasted it into My Docs and it appeared and opened on MS Office Word perfectly.
Click to expand...
Click to collapse
actually you can double tab any file and it should open from any folder.
To get PDF working I copy the file to the PDF reader (most likely the app will crash if Adobe reader is not installed), but you will not see anything as PDF reader just pops up with the file
Just like always contact me if there are file types missing!
cool app, ty
how long did it take?
hi reddragon93, thank you for your work, i've an lg optimus 7, is there an eta for explorer for other device?
i need it!!!
thank you so much!
gianlucarugby said:
hi reddragon93, thank you for your work, i've an lg optimus 7, is there an eta for explorer for other device?
i need it!!!
thank you so much!
Click to expand...
Click to collapse
I really can understand you because I needed this for myself (that's why I coded it in the first place)
But the answer is NO, because we have to wait until somebody finds a way to get access on other devices and shares the info (i will observe this thread for new infos).
And by the way you should not ask for ETA in developer forum (forum rules), but it's OK for me. Hope you will be the only one after my answer
I answered this question in my first post:
"If you post in this thread how any of those features could be implemented on other devices, i will maybe implement them"
Hope I answered your question.
reddragon
thanks, you were very kind,
apologize me for the ETA, i did not know, i'm just a student not a developer!
good work!
EDIT: I can't figure out how to mark a post as useful yet, so let me just say THANK YOU!!!
Awesome app. However, there are a few things that would be nice in terms of file types:
Any chance of getting support for loading .mobi files (Kindle ebooks)? I'd love to be able to sideload books that aren't in the Amazon store.
Currently, .log files won't open. Copy/renaming them to .txt should work, or a simple text reader/editor could be built-in.
Possible bug: the "Max unsigned apps" field in Settings is showing "Not set - (can't read from registry)" Setting it from within the app seems to work, though (and be remembered).
Feature request: ability to search the registry
Small change request: pressing Back on an Exception could do the same as OK (rather than exiting).
Overally, much thanks for an awesome tool!
Thanks for feedback
GoodDayToDie said:
EDIT: I can't figure out how to mark a post as useful yet, so let me just say THANK YOU!!!
Awesome app. However, there are a few things that would be nice in terms of file types:
Any chance of getting support for loading .mobi files (Kindle ebooks)? I'd love to be able to sideload books that aren't in the Amazon store.
Currently, .log files won't open. Copy/renaming them to .txt should work, or a simple text reader/editor could be built-in.
Possible bug: the "Max unsigned apps" field in Settings is showing "Not set - (can't read from registry)" Setting it from within the app seems to work, though (and be remembered).
Feature request: ability to search the registry
Small change request: pressing Back on an Exception could do the same as OK (rather than exiting).
Overally, much thanks for an awesome tool!
Click to expand...
Click to collapse
Thanks for your feedback!
(1) I really needed the app for myself (real pdf support) so... The Thanks Button is only visible with 5+ Posts
(2) i will pm you maybe if i find some spare time. This is most likely pretty simple to implement. Can you edit your (or create a new) post and describe what happens if you double tab a kindle book with the current version?
(3) yeah i saw this before but didn't thought it is important enough to implement. I don't have the time for the own Editor (you have to handle really big files for example) but i can do the renaming thing behind the scenes (remember renaming = copy+delete until a better solution is found).
(4) on first app start i have really no solution in determining how the value is set (no access on this key). So my solution was to set this text ("Not set - (can't read from registry)" until you set a value => then i save this value local to the app, and set it every time the app starts (It gets reset every time i connect the device to the PC anyway)
(5) "search the registry": I thought on this one... But this will not be of much use as we have not really much read access
NOTE: The Problem with the registry is that we have FULL WRITE access trough the provxml method but not very much READ access (HTC COM .dll)
(6) really? I'm satisfied with the current behavior. Without searching I don't know if this is a small change maybe it is, maybe not. At least it looks like one but that doesn't mean anything
reddragon
Thanks for the response, reddragon. I'm at work right now, so the .mobi thing will have to wait. It's a very common request among WP7 users around here, though.
I've found that selecting the Edit context item will open any file in Word, which is typically sufficient for viewing and even editing purposes! True plain text files open fine regardless of extension, and even binary files will usually have enough ASCII in them to determine useful info. You can also send any file (via email) from Word, if you want to email an attachment rather than just transfer to a PC.
Unfortunately, I've found that XML files just... don't work. Double-clicking them opens IE, which complains that it can't handle that file type. Selecting Edit on them looks like it's opening some Office app, but the app then closes and drops back into Advanced Explorer (no error). This is the currently problematic filetype, as a *lot* of data is stored in XML.
The "Registry Editor" app already provides registry search (and despite the security restrictions on read it *mostly* works) but without system copy-paste it's tricky moving data between apps. I enjoy being able to pan between the FS and registry... hell, I want a Windows (desktop) app that does this, now.
It looks like there's FS search (an option on the command bar, and a text box that appears) but I can't get it to do anything. Pressing Enter has no effect, tapping either Refresh or Search again just reloads the page. Am I using this right? It would be great to be able to either scroll long folders (\Windows) or find a filename behind a bunch of GUIDs.
Some files show as "0 b" size, even though they almost certainly aren't. Is that just because some program has an exclusive lock on them and their size can't be read in that state?
Any chance of the ability to create folders in the GUI (I think I see how to do it with provxml files, but that's not exactly convenient)?
Thanks for the explanations on the registry. I was wondering how you could write to locations that you can't read from... Also, I didn't know the sideload limit resets itself. That's something I'll have to watch out for, as I'm near the nominal sideload limit already. Hmm... maybe I should look into writing an app that lets the phone install a .XAP directly, to minimize the amount of PC connecting that's needed.
Sorry, I know that's a lot of comments and questions. If it helps, I showed this to a couple of other HD7 owners today, and the immediate response of both of them was "I've got to get that!" This is a great app, super-convenient and good for making the occasional Samsung Focus owner jealous ;-D
Actually, I'm a developer myself (mostly C/C++, but I know C#). I'll crack a look at the source when I get a chance (probably this weekend) but would you be interested in a patch if there's something I can improve? One thing I might add is an optional "Did you mean that?" prompt on the Back button, as it's a little too easy to hit and knock you clear out of the app (optional of course, as I understand some people don't have such problems).
Thanks again!
does anyone know the latest ETA on compatibility for samsung devices?
Some Answers
GoodDayToDie said:
Thanks for the response, reddragon. I'm at work right now, so the .mobi thing will have to wait. It's a very common request among WP7 users around here, though.
Click to expand...
Click to collapse
Like I said: I will pm you most likely, today or this weekend.
GoodDayToDie said:
I've found that selecting the Edit context item will open any file in Word, which is typically sufficient for viewing and even editing purposes! True plain text files open fine regardless of extension, and even binary files will usually have enough ASCII in them to determine useful info. You can also send any file (via email) from Word, if you want to email an attachment rather than just transfer to a PC.
Unfortunately, I've found that XML files just... don't work. Double-clicking them opens IE, which complains that it can't handle that file type. Selecting Edit on them looks like it's opening some Office app, but the app then closes and drops back into Advanced Explorer (no error). This is the currently problematic filetype, as a *lot* of data is stored in XML.
Click to expand...
Click to collapse
Yeah the best way to handle the edit mode would be an editor inside the app, but that's quite some work i guess... So if somebody is willing to write such a control just contact me!
But the current workaround is quite simple: Upload your file, edit it with the powerful editors you know and send it back to the phone...
In fact what i did was send the complete windows/applications folder and all files that where successfully send can be edited (on the others you have no access anyway).
GoodDayToDie said:
The "Registry Editor" app already provides registry search (and despite the security restrictions on read it *mostly* works) but without system copy-paste it's tricky moving data between apps. I enjoy being able to pan between the FS and registry... hell, I want a Windows (desktop) app that does this, now.
Click to expand...
Click to collapse
Well I think it's not that difficult to implement a search for registry. It's funny to say that all the time but I thought on this one too and if you look on the source code you will see that i positioned the search/filter text box out of the explorer pivot to use it for registry search or other purposes. If you find it really that useful with the current read restrictions... yeah I should just implement it...
GoodDayToDie said:
It looks like there's FS search (an option on the command bar, and a text box that appears) but I can't get it to do anything. Pressing Enter has no effect, tapping either Refresh or Search again just reloads the page. Am I using this right? It would be great to be able to either scroll long folders (\Windows) or find a filename behind a bunch of GUIDs.
Click to expand...
Click to collapse
In fact this is a filter function so that large folders can be loaded much faster. Just enter "a*" and make the keyboard disappear (tab anywhere else) and you see only the files/folders starting with "a". I don't know why "enter" on keyboard doesn't do anything, I will look into this. I should update the usage in my first post, thanks.
GoodDayToDie said:
Some files show as "0 b" size, even though they almost certainly aren't. Is that just because some program has an exclusive lock on them and their size can't be read in that state?
Click to expand...
Click to collapse
yep.
From the htc COM call i get 0 bytes....
GoodDayToDie said:
Any chance of the ability to create folders in the GUI (I think I see how to do it with provxml files, but that's not exactly convenient)?
Click to expand...
Click to collapse
Hehe, i thought on this one too as it is already implemented (just create a folder in UploadRoot drop a file and start downloading it to the phone => the folder gets created). I will look into this.
Can you (or anybody) provide me with an example on how to rename a folder via provxml. And in Yaaf.WP7.NativeAccess.IO.File i have in the "Move" method some code commentated. Can somebody please un-comment, debug and tell me why the hell this provision-xml is invalid / not working, thanks.
(ProvisionXml is completely new to me as this is my first smartphone)
GoodDayToDie said:
Thanks for the explanations on the registry. I was wondering how you could write to locations that you can't read from... Also, I didn't know the sideload limit resets itself. That's something I'll have to watch out for, as I'm near the nominal sideload limit already. Hmm... maybe I should look into writing an app that lets the phone install a .XAP directly, to minimize the amount of PC connecting that's needed.
Click to expand...
Click to collapse
I didn't look into that but i think it is not enough to simply create the guid folder and drop content there... Anyway you can use the "NativeAccess" Projekt to get all the access i used in the Explorer. But you have to create links from your main projekt to the COM-dlls so they get included into the xap file.
GoodDayToDie said:
Sorry, I know that's a lot of comments and questions. If it helps, I showed this to a couple of other HD7 owners today, and the immediate response of both of them was "I've got to get that!" This is a great app, super-convenient and good for making the occasional Samsung Focus owner jealous ;-D
Click to expand...
Click to collapse
That's what keeping me up i guess
GoodDayToDie said:
Actually, I'm a developer myself (mostly C/C++, but I know C#). I'll crack a look at the source when I get a chance (probably this weekend) but would you be interested in a patch if there's something I can improve? One thing I might add is an optional "Did you mean that?" prompt on the Back button, as it's a little too easy to hit and knock you clear out of the app (optional of course, as I understand some people don't have such problems).
Click to expand...
Click to collapse
I'm always interested in any patch especially support for other devices (I have a htc so I can't debug stuff for other devices :/ )
Yeah there could be an option for that. It's pretty easy to implement so... But i don't have this problem so i didn't realised that one.
GoodDayToDie said:
Thanks again!
Click to expand...
Click to collapse
Thank you for your feedback
Muzzy777 said:
does anyone know the latest ETA on compatibility for samsung devices?
Click to expand...
Click to collapse
Well I answered this on the first page of the thread already, thanks.
EDIT: I updated the program and my first post and implemented some of your feature requests
reddragon
Configuration Service Provider Reference for Windows Mobile Devices
Have you used the forum-search? You'll find a post which describes you how to get these books to your phone (it's by me). I can't give you the link because I send this from my HD7.
really great app. Also like the pc<->phone feature
I use it now very often, so I think it needs:
-2 Filebrowser Tabs
-or an option to "bookmark" certain folders
diboze said:
really great app. Also like the pc<->phone feature
I use it now very often, so I think it needs:
-2 Filebrowser Tabs
-or an option to "bookmark" certain folders
Click to expand...
Click to collapse
I talked to other people, at first this feature looks awesome, but after some time you would see that you don't use 2 tabs!
The bookmarking thing is a good idea...
Elerador said:
Have you used the forum-search? You'll find a post which describes you how to get these books to your phone (it's by me). I can't give you the link because I send this from my HD7.
Click to expand...
Click to collapse
I'm looking into amazon kindle... what i can do for sure is copy the file into the kindle folder and start amazon kindle...
But i forgot how to start a program via app-guid. I remember that i saw an COM.dll which can do that.
__ow said:
Configuration Service Provider Reference for Windows Mobile Devices
Click to expand...
Click to collapse
i know that link but i don't see how you can move folders (if it is possible)
reddragon
Love the update! Thanks for cluing me in on the workings of the filter; I wasn't trying wildcards and it therefore looked like it was always empty.
That said, a bug report (reproed on the older version too):
Registry manual mode can crash with a System.ArgumentException "Invalid fullpath".
Start Advanced Explorer
Pan to Registry
Tap "edit manual"
Observe exception
App crashes on hitting OK

[APP] PRadio - Pandora for Windows 8

PRadio is a Windows 8 Store App for Pandora. Unlike IE, this app allows users to stream music from Pandora recommendation service in the background. It works great on tablets such as Microsoft Surface. This app works only in the US. If you want to use it in other countries you need a US based proxy or VPN software such as openvpn.net
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Features Supported
* Add radio stations via the search charm
* Search for Genre, Album, Artist and Songs
* Delete radio stations via the app bar
* Pin radio stations to start menu
* Play/Pause/Skip songs
* Multimedia Keyboard Support
* Support for snapped view and portrait layout.
* History of Songs Played
* Share Song Information with other applications via share charm
* Provide feedback for a song
* Background Streaming
* Support for touch and tablets
To download the released version please visit the Windows Store and search for PRadio or open the following link in IE.
http://bit.ly/Yt9qT5
The app is only available in the US Store, if you are in another country you can switch to the US Store by going to "Control Panel\Clock, Language, and Region\ Change region."
[Update 12/14/2012]:
If you want to try out the latest version that will be available shortly on the store you will need to sideload the app. This version supports background music streaming on Surface RT even when the device is locked (Connected Standby).
Please follow the instructions given below:
1. Download Pandora_0.0.4.8_AnyCPU_Test and unzip to any folder e.g. xyz.
2. Open powershell as an administrator
3. Execute the following commands in powershell
a) set-executionpolicy unrestricted
b) cd xyz\Pandora_0.0.4.8_AnyCPU_Test
c) .\Add-AppDevPackage.ps1
[Note: Installation process might ask you to login to your Microsoft Account which is necessary to get the necessary certificates from the windows store to sign the package]
If you have feedback on the app, please post below.
What is Pandora?
Pandora Internet Radio, an automated music recommendation service and "custodian" of the Music Genome Project whose service in full is only available in the United States, with limited access in Australia and New Zealand. The service plays musical selections similar to song suggestions entered by a user. The user provides positive or negative feedback for songs chosen by the service, which are taken into account for future selections.
Wow, very nicely implemented for a third-party client! The snapped interface is very good as well. The interface when something *else* is snapped (which means it only has about 1040 pixels of width on the Surface) isn't perfect though (usable, but some stuff gets covered).
I'd be happy to sideload and test a new version.
EDIT: A bit more feedback: the app doesn't handle being backgrounded very gracefully. It will stop playing after the current song. I suppose that *could* be intentional, but it's annoying.
GoodDayToDie said:
Wow, very nicely implemented for a third-party client! The snapped interface is very good as well. The interface when something *else* is snapped (which means it only has about 1040 pixels of width on the Surface) isn't perfect though (usable, but some stuff gets covered).
I'd be happy to sideload and test a new version.
EDIT: A bit more feedback: the app doesn't handle being backgrounded very gracefully. It will stop playing after the current song. I suppose that *could* be intentional, but it's annoying.
Click to expand...
Click to collapse
Thanks for the feedback, I just posted instructions to sideload the new version.
It should not stop playing after the current song, this is not intentional. Can you send me the following PRadioInformation.log file which should be present in
%appdata%\..\Local\Packages\28268splashtetra.PRadio_80qntxqrmk3vj\LocalState folder
Sorry, I should correct myself: it won't start the next song if the screen is off. Turning the screen on by itself won't start playing agian, either; you either have to use the media control and hit Play, or log in and have the app at least partially in the foreground.
If you still need the log I'll post it here in a bit.
GoodDayToDie said:
Sorry, I should correct myself: it won't start the next song if the screen is off. Turning the screen on by itself won't start playing agian, either; you either have to use the media control and hit Play, or log in and have the app at least partially in the foreground.
If you still need the log I'll post it here in a bit.
Click to expand...
Click to collapse
Are you using a Surface RT or an ARM based tablet? If yes, I believe it is going into connected standby. In connected standby, windows does not let the app get the next playlist. I need to use a different set of API to support this scenario. As soon as I get hold of an ARM tablet I will add support for this. If this is not an ARM based tablet then please send me the logs.
GoodDayToDie said:
Sorry, I should correct myself: it won't start the next song if the screen is off. Turning the screen on by itself won't start playing agian, either; you either have to use the media control and hit Play, or log in and have the app at least partially in the foreground.
If you still need the log I'll post it here in a bit.
Click to expand...
Click to collapse
Hi GoodDayToDie or any Surface RT user,
I have created a new version 0.3.3 of the PRadio which hopefully should work in your machine. Can you give it a try? I do not own one yet so I cannot try it myself.
Instructions are given below.
Thanks
Instructions:
1. Download Pandora_0.0.3.3_AnyCPU_Test and unzip to any folder e.g. xyz.
2. Open powershell as an administrator
3. Execute the following commands in powershell
a) set-executionpolicy unrestricted
b) cd xyz\Pandora_0.0.3.3_AnyCPU_Test
c) .\Add-AppDevPackage.ps1
[Note: It might ask you to login to your Microsoft Account that is necessary to get the necessary certificates to sign the package]
Thanks! Yes, I'm using Surface RT. I'm sideloading your app now and will report later.
EDIT: Works fine! I had to uninstall the current (store) version first, but it preserved my configuration (you using the roaming AppData?) so that was no problem.
The music playback did cut out eventually, but I'm guessing that's intentional (just the "are you still there?" check, perhaps) since it was after an hour or so of inactivity, and as soon as I brought he app forward again it resumed. I'm on a free account, BTW (used to subscribe, but between them not creating a WP7 app and the advantages of Zune Pass instead, I let it lapse).
One piece of feedback: you could put a lot more info on the About page. Version would be good, for example, and I didn't actually see attribution for the CC-licensed artwork, just a mention that it was CC-BY. Other than that, love it!
Seems to be working all nice and proper for me now too, on RT.
Eats far less CPU than letting IE run in desktop mode.
Edit: Every once in a while there seems to be a delay for it loading the next song of 30-45 seconds. Not critical, just noting.
Edit2: More feedback.
1) I can't forward to the next song from the volume menu.
2) It seems to stop playing after an hour and a half or so, on a Pandora One account.
3) It'd be nice if it could remember the last station and start playing on launch
4) Related, it'd be nice if it automatically logged in on launch, not sending you to the login screen. Perhaps a settings option to clear the stored user settings, and make it log in automatically?
5) I suspect this is more of an OS issue, but outputting through a USB sound card and putting the device to sleep causes the audio to become garbled and broken.
6) The formatting seems to be a bit off in portrait mode, the 'Log Out' button on the top clips over the station name, and there's a considerable amount of deadspace at the bottom of the screen (probably a good 1/3 of the screen is wasted)
And, are the advertisements on it yours or Pandora's? If they're Pandora's, it'd be nice if you could detect if it's a Pandora One account.
does this work for cdn. IP addresses? regular pandora won't let cdn IP users
i know on android, you have to use ORBIT something app, forgot the name, and on iphone you use that hot shield free VPN
Thanks for the feedback GoodDayToDie & netham45.
The music playback did cut out eventually, but I'm guessing that's intentional (just the "are you still there?" check, perhaps) since it was after an hour or so of inactivity
>> I know why it fails to play after an hour....Connected Standby, I will fix this in the next release.
>> you could put a lot more info on the About page. Version would be good, for example, and I didn't actually see attribution for the CC-licensed artwork, just a mention that it was CC-BY
I will add version in About page. Currently if you run the app and in taskmanager search pandora.exe, right-click and go to properties you can see the version. I will add attribution too. Good catch!!
>> I can't forward to the next song from the volume menu.
Forwarding is currently disabled as Pandora does limit the number of skips after some time. If a users keeps on skipping he/she will eventually hit this limit and there is no UI to message this to the user. This also prevented my app to be certified in the store so i decided to disable it for now till i figure out a better way to deal with this.
It'd be nice if it could remember the last station and start playing on launch
Good feedback, I will add in the next release.
Related, it'd be nice if it automatically logged in on launch, not sending you to the login screen. Perhaps a settings option to clear the stored user settings, and make it log in automatically?
Currently it should automatically login based on the credentials stored on the machine. Do you want a way to clear the settings?
I suspect this is more of an OS issue, but outputting through a USB sound card and putting the device to sleep causes the audio to become garbled and broken
Interesting....Thanks for reporting it. I would need to get hold of a USB sound card to try this out. Was this on the RT device?
The formatting seems to be a bit off in portrait mode, the 'Log Out' button on the top clips over the station name, and there's a considerable amount of deadspace at the bottom of the screen (probably a good 1/3 of the screen is wasted)
Thanks Log Out button should not have appeared. Will fix it and i will try to make better use of the real estate.
And, are the advertisements on it yours or Pandora's? If they're Pandora's, it'd be nice if you could detect if it's a Pandora One account.
The advertisements are mine...Not Pandora's maybe i can reduce the number of advertisements if that is a big eye sore. Thanks again for the feedback.
cobyman7035 said:
does this work for cdn. IP addresses? regular pandora won't let cdn IP users
i know on android, you have to use ORBIT something app, forgot the name, and on iphone you use that hot shield free VPN
Click to expand...
Click to collapse
If you use any VPN software to connect to US based server (I tried openvpn.net although has a data limit) you should be able to use the app to listen to pandora via the app. Give it a try and let me know how it goes.
hsalps said:
Thanks for the feedback GoodDayToDie & netham45.
Related, it'd be nice if it automatically logged in on launch, not sending you to the login screen. Perhaps a settings option to clear the stored user settings, and make it log in automatically?
Currently it should automatically login based on the credentials stored on the machine. Do you want a way to clear the settings?
Click to expand...
Click to collapse
It sends me to the login screen most of the time when I launch it, or if I come back to it if it's been inactive for 5-6 hours.
hsalps said:
Thanks for the feedback GoodDayToDie & netham45.
I suspect this is more of an OS issue, but outputting through a USB sound card and putting the device to sleep causes the audio to become garbled and broken
Interesting....Thanks for reporting it. I would need to get hold of a USB sound card to try this out. Was this on the RT device?
Click to expand...
Click to collapse
Yes I'm using RT, though further testing shows that I get the same result no matter what music app I use, so I blame the OS.
netham45 said:
It sends me to the login screen most of the time when I launch it, or if I come back to it if it's been inactive for 5-6 hours.
Click to expand...
Click to collapse
Can you send me the PRadioInformation.log file which should be present in %appdata%\..\Local\Packages\28268splashtetra.PRadi o_80qntxqrmk3vj\LocalState folder? This should help me understand why it is not saving the password on RT.
netham45 said:
Yes I'm using RT, though further testing shows that I get the same result no matter what music app I use, so I blame the OS.
Click to expand...
Click to collapse
Can you also give details of the USB audio device like Manufacturer, Version etc? I will report this to Microsoft.
Superb app good sir! lives on my second monitor if not just for the cool background
Thanks!
cammykool said:
Superb app good sir! lives on my second monitor if not just for the cool background
Thanks!
Click to expand...
Click to collapse
Thanks cammykool!!
why not put it up in the windows store?
The previous version is actually already up there. We've been helping test the next release, at which point hsalps will presumably release a store update.
hsalps said:
Can you send me the PRadioInformation.log file which should be present in %appdata%\..\Local\Packages\28268splashtetra.PRadi o_80qntxqrmk3vj\LocalState folder? This should help me understand why it is not saving the password on RT.
Click to expand...
Click to collapse
I can't seem to get it to replicate it now. =/
hsalps said:
Can you also give details of the USB audio device like Manufacturer, Version etc? I will report this to Microsoft.
Click to expand...
Click to collapse
I've tried it with two Microsoft LifeChat LX-3000 headsets and a generic unlabeled USB audio card.
so im using a test build?
cammykool said:
why not put it up in the windows store?
Click to expand...
Click to collapse
The store guys are approving the latest version of the app right now (Takes 7 days ). I will update this thread when it is available on the windows store. The older release is already in the store.

HashMap<> not updated fast enough

Hi there, I have strange problem with my Xposed code.
I use a static HashMap to store unlock timestamps for Applock application, first I add the entry with put, and 200ms later I call get at another location. The thing is: the HashMap isn't updated yet. A few hundred milliseconds later, it is, but not before. And that's strange, as HashMaps should be VERY fast, I read somewhere about 50ms for a HashMap with 10 000 or even more entries, and mine has 300 maximum while in use, while testing it maybe had 15..
Is there a way to force an update of that HashMap?
Kind regards,
Max
@rovo89, @romracer, @C3C076
There is no delay, once the put call returns, you can get the item again. If you're calling from a different thread, make sure to synchronize properly. The relevant excerpts of your code would be necessary to say more.
rovo89 said:
There is no delay, once the put call returns, you can get the item again. If you're calling from a different thread, make sure to synchronize properly. The relevant excerpts of your code would be necessary to say more.
Click to expand...
Click to collapse
Of course, sorry, forgot to add link: https://github.com/Maxr1998/MaxLock...ain/java/de/Maxr1998/xposed/maxlock/Main.java
Should I create my own implementation of HashMap and make put and get snychronized?
Maxr1998 said:
Of course, sorry, forgot to add link: https://github.com/Maxr1998/MaxLock...ain/java/de/Maxr1998/xposed/maxlock/Main.java
Should I create my own implementation of HashMap and make put and get snychronized?
Click to expand...
Click to collapse
No reason for own implementation. Surround hashmap operations with synchronized block.
E.g.
synchronized (TEMPS) {
TEMPS.put(...);
}
C3C076 said:
No reason for own implementation. Surround hashmap operations with synchronized block.
E.g.
synchronized (TEMPS) {
TEMPS.put(...);
}
Click to expand...
Click to collapse
Tried it, but it didn't work. I already pushed the changes, could you take a look if I did something wrong?
Sent using my nexus⁴ running Euphoria 1.1 with Xposed and hells-Core B80
@rovo89 @C3C076 I also tried a ConcurrentHashMap without synchronizing like described here/Concurrent Collections, doesn't work as well.
When I get and log the value again 2 seconds later via Handler.postDelayed, it was updated..
Sent using my nexus⁴ running Euphoria 1.1 with Xposed and hells-Core B80
One possible reason is you are putting items to map within one process (belonging to your MY_PACKAGE_NAME) and
attempting to read map from different process (e.g. "android.app.Activity"). I believe you cannot see items put to map from one process to be "visible" by different process. Each process has its own instance of TEMPS map with own items in it. The contents of map is not shared across processes.
You have to think about using different approach.
Instead of memory store, use file system or DB which all processes you are hooking would have access to.
C3C076 said:
One possible reason is you are putting items to map within one process (belonging to your MY_PACKAGE_NAME) and
attempting to read map from different process (e.g. "android.app.Activity"). I believe you cannot see items put to map from one process to be "visible" by different process. Each process has its own instance of TEMPS map with own items in it. The contents of map is not shared across processes.
You have to think about using different approach.
Instead of memory store, use file system or DB which all processes you are hooking would have access to.
Click to expand...
Click to collapse
It actually is shared. I used a few handler().postDelayed() to read the value in periodic time segments and the value is updated maybe 500ms after first check were it isn't.
Sent using my nexus⁴ running Euphoria 1.1 with Xposed and hells-Core B80
Hit thanks if I helped!
Maxr1998 said:
…but I still get lockscreen looping because my Map isn't updated fast enough.
I already tried synchronizing the critical blocks on Map itself, on Main class, used ConcurrentHashMap, Collections.synchronizedMap(), created baclground Threads for put(), used delays to wait for update, etc. bla bla. I just can't get it to work.
It always updates the Map a few hundred milliseconds after polling, when I use delay, it still does.
If there's anyone who can help me on that issue, it would be highly appreciated.
Click to expand...
Click to collapse
@rovo89 @C3C076
Sent using my nexus⁴ running Euphoria 1.1 with Xposed and hells-Core B80
Hit thanks if I helped!
Again, a map is updated immediately. You can verify this by getting the value immediately after putting it into the map, from the same place. For accessing the values from other threads, you use synchronization, but with the methods you tried, this doesn't seem to be the problem. So it's probably something else in your code, like trying to access the variable from a different process. You could log pid and tid for debugging whenever you access the map.
rovo89 said:
Again, a map is updated immediately. You can verify this by getting the value immediately after putting it into the map, from the same place. For accessing the values from other threads, you use synchronization, but with the methods you tried, this doesn't seem to be the problem. So it's probably something else in your code, like trying to access the variable from a different process. You could log pid and tid for debugging whenever you access the map.
Click to expand...
Click to collapse
Ok, thanks. I now found out the Map updating happened at the onPause logic in the same process, my LockActivity uses another Map, like you said.
Could you point me to an easy and fast database solution? Maybe something like XSharedPreferences at public storage with write support? Could you maybe even create such thing for XposedBridge?
C3C076 said:
One possible reason is you are putting items to map within one process (belonging to your MY_PACKAGE_NAME) and
attempting to read map from different process (e.g. "android.app.Activity"). I believe you cannot see items put to map from one process to be "visible" by different process. Each process has its own instance of TEMPS map with own items in it. The contents of map is not shared across processes.
You have to think about using different approach.
Instead of memory store, use file system or DB which all processes you are hooking would have access to.
Click to expand...
Click to collapse

Categories

Resources