yashsingh1/xdaforums huggingface dataset:
[Android Apps and Games] JusticeRage:
Things were a little rocky in the last hours with the AppBrain proxy. There was a bug in my code causing 404 errors not to be cached properly, which in turn triggered an automatic ban on AppBrain's side.

We had a short discussion on Twitter and they were extremely helpful: they unbanned the proxy and made some adjustments so the contents are easier to parse for me (basically, for requests that come from my IP, only the relevant results are shown and -1 is returned if the app does not exist). So I think we owe a big thanks to AppBrain's team.

For users that were checking for updates during this period, strange things may have happened - from receiving "No update information found" to having the latest version set to "-1". Things should be all set now, but if anyone notices results out of place and/or missing data (results for apps that were available in the past but now aren't), be sure to let me know!
[Android Apps and Games] JusticeRage:
I'm still working hard on version 2.0! During the last few days, I've implemented a feature people have been asking for a long time: the ability to mark some apps as ignored. Simply slide them out of the list and ApkTrack won't show them or check their updates any more. In addition, apps that were manually disabled by the user are automatically set to ignored during the initial application detection. I still have to create a menu where apps can be un-ignored however.

Here's a new GIF so you can bask in all the material-designy glory.

In addition, I've improved the search bar, which could only match the beginning of application / package names (i.e. "track" would not match "apktrack", but "apkt" would). That's fixed now. And the results are displayed quicker and without loadings.

Speaking about loadings, I've also worked on the way icons were stored and loaded from the database. In ApkTrack 1.1, everything was kept in memory all the time. This allowed for very fast scrolling, but ended up eating a lot of RAM for a small app like this one. Some users who had hundreds of apps even reported that Android killed ApkTrack because it took too much space. I wanted to fix this in 2.0, and app icon are now loaded lazily (i.e. only when they need to be displayed). You might notice that icons can take a split second to appear or be updated now, but it barely feels visible to me. RAM usage has been reduced a lot (I think it's close to a factor of 5-10, depending on how many apps are installed). In any case, I'm glad that's solved.

Finally, the AppBrain proxy seems to be holding fine. Judging from the nginx logs, there are about 400 ApkTrack users, looking up ~38000 app versions daily. Congratulations!

Since I own this machine, I don't have to be polite to it (as opposed to websites which may not like being scraped), so I'll make some tests to see what happens if I remove the mandatory 1-second delay between each request for this particular update source. Maybe we can speed up the full checks this way.

That's it for now. I'll keep you posted when I have made more progress!
[Android Apps and Games] Livingod:
When I manually change update sources for an app, my changes seems to reset every now and then on a per-app basis. E.g. I'll change a bunch of apps, quit and reopen the app, and half of them are back to the old source. A few days later, some more have been changed back. These reversions seem to be random. What could be the cause, or what can I do to find out the cause?
[Android Apps and Games] JusticeRage:
Hi!

You can send me a logcat the next time it happens (see the first post for instructions). I've glanced at the code quickly and this is not supposed to happen, I'll try to reproduce this on my end.

When you mention quitting and reopening the app, do you mean killing it from the manager, or just putting it in the background for a few hours/days?
[Android Apps and Games] Livingod:
The logcat is flowing like a waterfall and cmd just cuts it off after a certain point, I'll edit in the logcat in a bit.

It happens when an app can't be found in the Play Store, but it's on Appbrain Proxy. I'm also not sure why your app can't find it in the Play Store--I can find it just fine through the Play Store app. Two apps I noticed that do this are Google Admin (just called 'Admin') and Amazon Shopping

My preferred source in the settings is "Play Store"

Amazon Shopping is automatically set to "Appbrain Proxy" on first check and it writes that I have the latest version (5.8.0.100) in green.

I click the app to refresh, info stays the same.

I change the source to Play Store, and refresh the app. it writes "Current: No update information found" in red.

Less than a second later, the app reverts to "Appbrain Proxy" and the latest version in green.

Sometimes I have to back out and reopen the app for it to revert. Sometimes I have to FC the app to revert it.

Eventually, both the app version reverts to current green and the source listed on the bottom reverts to Appbrain Proxy--but sometimes the version number reverts first while the source says Play Store, although if the version is green then you can revert the source by refreshing the app.

As for why app versions can't be found from the Play Store, I use xprivacy to block your app's access to my serial number; I don't know if your app uses the serial number to fetch apps from the Play Store.
[Android Apps and Games] JusticeRage:
Okay, I'm beginning to see where this confusion is coming from.

I don't check any device identification number, but I've noticed the Xprivacy warnings related to identification as well. I'm assuming that this comes from boilerplate android code. In any case, ApkTrack doesn't use any kind of ID to query the Play Store. ApkTrack probably cannot find any version information for your app because 1) it may have no Play Store page or 2) (more likely) the Play Store page doesn't return a precise version number for this app. It seems that the "varies with the device" previously displayed there has been removed, and now there is no information at all (see this for instance). This shouldn't be displayed in red however, so I'll have to fix it.

TL;DR: ApkTrack doesn't find any version information on the Play Store because there isn't any displayed publicly.

The settings allow you to specify a search engine to look for updated APKs. This is distinct from update sources used to look for the latest version of the installed applications.

What is going on, I think, is that after you manually set your app's update source to the Play Store, the update check fails, and ApkTrack tries other sources in order to find its data elsewhere. The AppBrain Proxy being able to provide the requested information, it is set as the new default source for this particular app. This is weird because looking at the code, it seems to me that manual update source choices should not be overridden (even bad ones). Are you using the latest version of ApkTrack?

In any case, you should really be using the AppBrain Proxy source if you want to get update information, because the Play Store won't be any help.
[Android Apps and Games] noyfound:
It seems appbrain proxy as source is not working at least for some apps, for example skype got 6.2.0.17000 10 hours ago according to appbrain itself but apptrack is still showing the previous version 6.1.0.16416
[Android Apps and Games] Ban Dan:
Hi,

Any easy way for a user to experiment with adding more Search and Sources?
[Android Apps and Games] JusticeRage:
Yes, there may be a 24h delay between AppBrain and the proxy. This is because AppBrain asked me to cache results and do no more than one request per day and per app in order to keep impact on their systems minimal. Everything should get back to normal after a few hours (23:59 if you're unlucky).

Depends on what you call "easy".

The only way to do so is to check out the source code on GitHub, edit the resource files containing update sources and search engines and build a new APK.

As I stated before, I'm not very inclined to provide an in-app interface which would allow regular expression editing (I'm still convinced it would be confusing and error-prone).
[Android Apps and Games] PunchUp:
Many apps which used to be detected fine before are not anymore. Is something wrong?
[Android Apps and Games] JusticeRage:
Thanks for letting me know!

I'm not sure what had happened, but a process had died on the proxy... It has been restarted and everything seems to be working okay again. I'm going to set up e-mail notifications next week in case this happens again.

I haven't given a lot of news lately, but I'm still working on version 2.0 right now. There's only one thing left : rewriting the network code!
[Android Apps and Games] Chamelleon:
Hi, I updated Polish translation. Stings in attachment cause I build whole new strings.xml based on English one and I don't know if I should delete or edit old one on GH. So please check new one and if it's ok replace it.
[Android Apps and Games] PunchUp:
[MENTION=6419498]JusticeRage[/MENTION] any plans to pull the change log from Play store? That will be great

(Sorry if it has been mentioned before)
[Android Apps and Games] dtoxic47:
just dropping by to say thx for this giga mega awesome app :)
[Android Apps and Games] JusticeRage:
[MENTION=2581648]Chamelleon[/MENTION] Thanks for the update! I'll merge it into the next release! [MENTION=5444464]PunchUp[/MENTION] It hadn't been explicitly requested before as far as I know, but it's a great idea. I'll have to look some more at the Play Store to see how this could be done. I probably won't include it in the next release, but maybe the one after. [MENTION=6784579]dtoxic47[/MENTION] Glad you find it useful!

I have had a lot of work the last weeks, but the next one is likely to be a lot better. I'll have the time to work on ApkTrack. Hopefully I'll be able to publish version 2.0 in two weeks!
[Android Apps and Games] dtoxic47:
[MENTION=6419498]JusticeRage[/MENTION] could you check if the update information can also be pulled of dmarket? (ntt docomo market) Japanese analog of google play store

there are a lot of apps that don't get any info on updates because of this on my phone it;s a minor annoyance but if you could take a look on that too that would be great :)
[Android Apps and Games] JusticeRage:
Do you happen to have an URL for that market? I'm having trouble finding it, I always end up on a iPhone purchase page.
[Android Apps and Games] dtoxic47:
i think this is it, but how one navigates trough here god knows

https://www.nttdocomo.co.jp/service/entertainment/dmarket/index.html

or maybe this one

http://app.dcm-gate.com/?utm_source=dmarket&utm_medium=menu&utm_campaign=top

i have a Japanese phone and if this proves too difficult let it be.

also my phone is Arrows nx F-02G (Fujitsu) if thats of any help

anyway thanks for the consideration :)
[Android Apps and Games] Chamelleon:
If you are planning new version with new futures, maybe consider to put strings on some translating site like OneSky to inform translators on every strings update.
[Android Apps and Games] Ban Dan:
Thank you for your time and efforts!

This is a really useful project.

sending encouragement your way :)

Can I please offer a small suggestion for the new version (or a later one)?

Could you please consider to simplify by unifying Search Engines (arrays.xml) into the Update Sources (sources.json)?

As much as I can understand, most (almost all) Update Sources are good Search Engines (as long as they are adequate according to the "applicable_packages"). Just use the "version_check_url" in place of the search URL.

(for the rare source that can't be used, maybe add an extra "not_search" field).

On the other hand, some Search Engines can't be used as Update Sources. For these simply don't include a "version_check_regexp" so they only appear in the Search Engines list, not in the Update Sources list.

[When showing the selection menus, it might be good to sort on top the ones that are specific for the app (adequate according to the "applicable_packages").]

What do you think?
[Android Apps and Games] JusticeRage:
Thanks, I had no idea such platforms existed! I created a project on OneSky, feel free to contribute!

[MENTION=6704842]Ban Dan[/MENTION]: Thank you for all your contributions. I'll look into them when I'm done with my current work on ApkTrack.

Speaking of which, I have good news: my work on 2.0 is mostly finished!

I'll be using the app on my device for a few days to make sure that everything works as expected. Then, I'll post a beta APK for anyone who wishes to try it!
[Android Apps and Games] Chamelleon:
Great, I think it's easier for translators. There are few platforms like this but for me this one is most clear. Anyway Polish update done.
[Android Apps and Games] a.l.c.h.e.m.i.s.t:
link for beta pls ?
[Android Apps and Games] Chamelleon:
I think something is not right with loading icons.
[Android Apps and Games] JusticeRage:
[MENTION=2581648]Chamelleon[/MENTION]: Thanks for pointing this out! I have posted a new APK which should fix both problems you reported (apps with oversized icons and the status icon being reduced and pushed to the end of the line).

Let me know if this works for you!
[Android Apps and Games] Chamelleon:
No problems now but this icons looks too big and pixeled.
[Android Apps and Games] JusticeRage:
Okay, I that was my mistake for taking my device's resolution as a baseline. I posted a new APK for you, let me know how the icons look now!

I also included your update to the Polish translation.
[Android Apps and Games] Chamelleon:
Ok, now it looks as it should. Thank You. Check this link dl-xda.xposed.info/modules/com.ceco.lollipop.gravitybox_v531_99afb1.apk". It's not working for me and it should be newest Gravity Box apk.

Wysłano z Samsung i9195BE

---------- Post added at 11:04 AM ---------- Previous post was at 11:02 AM ----------

Ok, now I can see why. ApkTrack adds " at the end of link.

Wysłano z Samsung i9195BE
[Android Apps and Games] JusticeRage:
Thanks again for noticing this, it seems that there was a problem in sources.json indeed! I fixed it and updated the Beta APK.

If there are no more bug reports in the upcoming days, I'll release version 2.0 on the stable channel!
[Android Apps and Games] Chamelleon:
No random crashes, icons looks fine, refresh animations also so seems to works fine for me. Thank You.
[Android Apps and Games] sapnesh:
Thank you for this awesome app.

920-I, xtrestolite 2.4 rom, unikernel,xposed.
[Android Apps and Games] JusticeRage:
A new version is out! Thanks to everyone who helped me test it. Here is the changelog for 2.0.1:

2.0.1:
------

* Miscellaneous bugfixes
- Oversized icons no longer break the UI.
- Download URL for Xposed apps are now obtained correctly.
- App uninstallations now also delete stored icons in the database.

This is the new stable release!

As always, let me know if you encounter any problems. The next features will be to implement HTTPS + certificate pinning for the AppBrain Proxy (security), and display the changelog for updated apps inside ApkTrack when possible. In terms of UI, I'm not sure where I'll put the additional icon yet.
[Android Apps and Games] Alfaalfa422:
New versione crash on startup..

Clearing data make app crash after generate icons...

Android 4.2.2
[Android Apps and Games] JusticeRage:
Damn :(

I'm going to need a logcat excerpt to be able to fix it. See the first post if you need instructions. I'll suspend the automatic ApkTrack updates in the meantime.
[Android Apps and Games] Alfaalfa422:
I don't have root permission.. Is possibile to capture log without root?
[Android Apps and Games] JusticeRage:
Your best bet is to use the ADB tool, from a command prompt and with the phone connected to your computer with a USB cable. Do you know the steps?
[Wear OS Software and Hacking General] moneytoo:
Having PDF reader on a wrist is probably pointless for most people and there's none on Google Play for Wear yet but some people are asking for it and Android 5.0 makes it incredibly easy to create such app so why not? Here's first version of such app.

How to start viewing PDF on Android Wear?

Tap share from opened PDF file in Adobe Reader and select „PDF Reader“ (same red colored icon).

Alternatively browse to your PDF file in any file manager on your phone and open it in „PDF Reader“.

Within a moment, it will be transferred to Wear. (But transferring files as large as 50 MB will take few minutes.)

How to control PDF Reader on Android Wear?

You can use touch, double tap, pinch and even double touch drag („one hand zoom“) to browse your content. To move between pages, use the dedicated controls at bottom of the screen. Page indicator can be touched to enable dictation (for skiping to specific page number).

Please note that it's not really technically feasible to support reflow in this small and free app.

Technical notes:

This app is built upon Android's PdfRenderer (and PdfRendererBasic code sample). It also uses TouchImageView from https://github.com/MikeOrtiz/TouchImageView.

Download (Free, on Google Play)

As always, feedback welcome.
[Wear OS Software and Hacking General] khakala:
Moto 360 don't show next and prev buttons
[Wear OS Software and Hacking General] moneytoo:
I was afraid of that. But the controls could still work, right?

I really don't know (and didn't find any answer yet) whatever I can detect the bottom gap or design the layout for both types of round devices (plus it can't be tested without real Moto 360). Maybe I will hack it just to include bigger bottom padding for Moto 360...

If you or some one else want, here's alternative version with all controls on top.

EDIT: No longer needed.
[Wear OS Software and Hacking General] khakala:
Thank's for the alternative version, now i can change pages on my moto 360. This is very useful app!
[Wear OS Software and Hacking General] moneytoo:
Could you or anyone else please try the attached version? In this version I detect device and have special padding for Moto 360. Does it work and are the buttons/texts fully visible?

EDIT: Resolved
[Wear OS Software and Hacking General] khakala:
Nice and yes buttons are visible and they works.
[Wear OS Software and Hacking General] moneytoo:
Thanks for confirming. I've just uploaded this fixed version to Play Store for everyone to enjoy.
[Wear OS Software and Hacking General] supac:
How do you delete pdf that has been transferred to the watch?
[Wear OS Software and Hacking General] moneytoo:
Currently there's no way for that. The one last received file is always kept on watch.
[Wear OS Software and Hacking General] supac:
I see. Thats awesome then
[Wear OS Software and Hacking General] hepolise:
Clone

Hi! I need help. I want to do the clone of this app (because I need more PDFs on my watch). But after rebuild the size of app is 3+ mb and my watch doesn't recognize it. How I can do the clone?

PS: Also, I want to change app name
[Wear OS Software and Hacking General] moneytoo:
As the whole code is basically just few examples put together (in my dirty way), here's the source: https://github.com/moneytoo/PdfReaderForAndroidWear
[Wear OS Software and Hacking General] supac:
Can you share apk when you achieve being able to store more pdfs?
[Wear OS Software and Hacking General] mantiyeah:
What is the maximun number of pages for each pdf?

I am conaidering buying a moto 360 if this works properly
[Wear OS Software and Hacking General] moneytoo:
It can display any pdf file - as long it fits your watch memory (4 GB). The only limit is for one file at any time. I would like to add some file browsing eventually but I'm not promissing anything...
[Wear OS Software and Hacking General] mantiyeah:
Perfect.

Thank you very much for the effort that you already made.
[Wear OS Software and Hacking General] mantiyeah:
Could you please post the file apk so that I can clone it and read multiple pdf files please?

I could make a donation if needed.

thanks

---------- Post added at 01:12 AM ---------- Previous post was at 12:34 AM ----------

did you manage to clone it?
[Wear OS Software and Hacking General] moneytoo:
The current version can now handle multiple files. ;)
[Wear OS Software and Hacking General] eklkpj:
As I say to you already, the app is great as it is.

You just need to find more easy and faster way to skip between pages.

By the way, how can I disable the invert mode? It's problematic when you try to do one hand zoom ( double tap and drag).
[Wear OS Software and Hacking General] moneytoo:
I work on adding SeekBar.

Select Toggle Invert from menu (accessible via long press).

Yeah, it's problematic. I suspect an issue in TouchImageView which I use (or not, maybe just my implementation bug). I know about it and intent to investigate.
[Wear OS Software and Hacking General] Fatadxb:
seekbar for pages + seekbar for zooming = I know Im a bit gready

but this app made me by the watch honestly

exams never been so easy
[Wear OS Software and Hacking General] moneytoo:
Do you know "double touch drag" gesture which can be used for one finger zooming? IMHO it's better than some seekbar...
[Wear OS Software and Hacking General] royal.jokey:
Amazing thanks [emoji12]
[Wear OS Software and Hacking General] eklkpj:
SeekBar sounds like a great idea, if you can make it circle for the moto 360 it would be wonderful..

I'm very appreciat your responses thank you so much for all of those improvements!!! :D :good::good::good:
[Wear OS Software and Hacking General] moneytoo:
I had no idea something like that is even possible. It's decided then... :D
[Wear OS Software and Hacking General] eklkpj:
Wow it's looks wonderful, can't wait for it to come!! :fingers-crossed:
[Wear OS Software and Hacking General] eklkpj:
Is there any news bro? :confused:
[Wear OS Software and Hacking General] hutcruchi:
need help plz

hi i need your help plz!

i used your pdf reader with my sony smartwatch 3 for some time now

and since yesterday i couldnt upload any new pdf files!

i open them on my phone, send them to the watch than it says the in several moments my file will be sent to the watch and that it... its never gets to the watch

i tried to factory reset it and still nothing happens...
[Wear OS Software and Hacking General] chimajin999:
Yea same here, I think it is because of the new android wear update
[Wear OS Software and Hacking General] moneytoo:
Somehow using Asset.createFromUri() to read and send PDF files stopped working with Android Wear. I have just pushed a version with a workaround.
[Wear OS Software and Hacking General] moneytoo:
I'm going to upload new version to Play Store today. It still has the ugly menu (I aim to work on that too) but it lets you use either regular or this round seekbar. It colides with the "go back to previous activity/screen" a bit but it can be avoided when you click the desired location instead of dragging. It looks pretty good on the emulator but I don't have any round watch so I would appreciate your feedback once it's released.
[Wear OS Software and Hacking General] eklkpj:
It's looks pretty good on the moto 360 too, But it's seems to be very close to the edges of the screen.

I'm attached videos and pictures so you can see it...

Jumping to the desired page location by dragging is a bit tricky, So i found myself clicking as you said to be more accurate

It's very tricky to jump back to the first page:

https://youtu.be/hDngeJ6JuiY

It's usually closed the seekbar when you dragging too much so i clicking Instead:

https://youtu.be/UEjzaK6sB4M

So my conclusions is,

I would suggest to reduce a little the size of the seekbar like this (maybe it resolve the issues when you dragging):

[IMG="SIZE"]http://oi62.tinypic.com/2dkfsk3.jpg[/IMG]​

And make it transparent like this:

​

Once Again thank you for your kindly and awesome support!! It is a privilege for me to help you with my feedback :D:D:D:good::good::good: