yashsingh1/xdaforums huggingface dataset:
[Android Apps and Games] blk_jack:
Yea I use a separate process with hangar actually so I'm familiar with what you're suggesting.

Android will kill either activity running though separately from the service if it needs memory, so it hasn't seemed to be a problem.

P.S. you going to AndroidTO again this year? If so I'll see you around today
[Android Apps and Games] MSF Jarvis:
Low Memory Killer. Yeah sorry, my bad wasn't clear enough. If you read the post [MENTION=4752536]Wood Man[/MENTION] has linked, blk_jack clearly mentions that while the process does get killed, the Labs push service implements a keep-alive or sorts and thus restarts almost immediately, with only the notification service in memory so usage drops drastically.
[Android Apps and Games] Flyview:
Oh it does that now? A couple of years ago it would dump the whole process and restart the service. Not that that's bad as long as it's restarted right away, but it's not always right away (might take 5-60s) and on 4.4.1 and 4.4.2 sticky services really have a problem restarting once killed.

No :( I should have, completely forgot to sign up!
[Android Apps and Games] blk_jack:
Damn man, would've liked to see you.

Here's a pretty good write up on android LMK insanity. Like mentioned there though, Android can kill individual activities when stopped without having to murder the entire process, but it's seemingly random and unpredictable.
[Android Apps and Games] AL_IRAQI:
Hi Guys

i wonder if its possible to do some changes in dark style to make it more themes friendly, under "AppTheme_Base.Dark" there is "raisedBg" referenced to "@color/primary", which doesnt help at all if someone is trying to change app primary without messing with cards bg all over the app, i hope that you guys change to another color :D

Thanks :)
[Android Apps and Games] blk_jack:
I'll look into this. I love themes myself and want to best support them.
[Android Apps and Games] Venom0642:
Nice job glad this is going well :good:
[Android Apps and Games] PhilDX:
are the notifications push or pull?
[Android Apps and Games] blk_jack:
Notifications are push, with relaxed, long keep-alives that do not hold wakelock. No battery drain allowed!
[Android Apps and Games] maybeme2:
Sorry for my ignorance, but what is tesla as in teslaunread?
[Android Apps and Games] NYLimited:
Teslaunread is an add-on to Nova Launcher which places a counter on some icons, such as number of missed calls on the phone app or number of unread emails on the email app icon, etc. Now we can have a counter of unread mentions, etc. on the XDA app!

As far as I know this will only work with Nova.
[Android Apps and Games] blk_jack:
TeslaUnread in action showing 1 labs update and 3 forums uodates
[Android Apps and Games] yochananmarqos:
...and queue the "wallpaper pls" and "icon pack?" posts. Oh wait, this isn't G+.

Notice I used Tapatalk? No notifications from XDA Labs. I'm guessing Tapatalk polls more often? I don't remember if it uses GCM push or not.
[Android Apps and Games] blk_jack:
Labs doesn't poll, it connects to the socket and waits for queued data. It doesn't aggressively ping and it reconnects somewhat casually at the moment. Especially with Android doze, if your device goes into sleep mode or doesn't change networks the push notifications won't come in for ~10-15m at most usually. What happens is the max keep awake limit is hit, it pings, it reconnects if necessary. It might be a BIT too lax right now for forums notifications since I purposely had it lazy for app updates in order to stagger them more. I'll be monitoring this and if it's a problem adjust it for the next build.

The good news is that right now because it reconnects so lazily it uses very little data and reconnects only after a very generous timeout is hit.

I may even make the time-out a setting since I love choice. I personally prefer battery life over pretty much anything, but I know a lot of users don't necessarily feel the same way.
[Android Apps and Games] yochananmarqos:
Yeah, I figured if I waited 10 or 20 minutes I would have received a notification.

Is there a way to separate the forum updates from the app updates? For example: check for forum updates every X minutes vs check for app updates every X hours
[Android Apps and Games] blk_jack:
I think you're confusing push notifications with pull notifications. XDA Labs doesn't check or pull on an interval, infact, we use MQTT. Read more about it here. It opens a socket to the broker and waits for data. Keeping a TCP socket open uses no more battery on Android than if you had it closed. The "issue" is that the client doesn't ping the server often enough and as such will just let a time-out occur until the maximum keep-alive limit is reached, which like I said is generous. When that happens it's up to the app to reconnect, and when it does, the MQTT broker will send it any notifications it hasn't received. It also doesn't hold wakelock, so if your phone goes to sleep or doze and the connection times out, it won't try to reconnect during that.

I could reduce the keep-alive time to something shorter (or add a setting), which would ping the server more often and vastly reduce those time-outs, and have the client reconnect sooner anyway. Previously, I purposely wanted the keep-alive to be longer in order to reduce reconnects from the app. Hope that makes sense! :cool:

EDIT: Also, if you open the app and the app updates it's counters (as seen in the navdrawer), it will suppress or block the intended notification since it assumes the user has already seen the notice.
[Android Apps and Games] yochananmarqos:
That makes perfect sense. Thanks for the detailed description!
[Android Apps and Games] Ben36:
This is getting more and more awesome! Only thing it's missing now for me is to be able to mark forum as read
[Android Apps and Games] Remotiv:
My LGG3 D855 is now on official Marshmellow and now I can make the "in App Updates".The update from 62a to 63a was going perfectly. :good:
[Android Apps and Games] Ban Dan:
Any way to zoom in (or open/save) a posted image?

BTW the slider switches (like the SIGNATURE switch below), could (at least in dark theme ) have the OFF state be dimmer, so it's clearly an off.
[Android Apps and Games] uCristian:
Very useful app.

I love this app and I looked for such an ap like this for some time...glad to test it right now
[Android Apps and Games] NYLimited:
Not at this time or perhaps not yet.
[Android Apps and Games] MrHellRider:
Which one should I download the debug apk or only apk new to this community what's the difference in them
[Android Apps and Games] Portgas D. Ace:
Don't use the debug app. It's for helping to find bugs in the app. Use the "normal" one.
[Android Apps and Games] woodman:
Please use debug version, they are the same except what follows :

Quoted from post #3 :

" Debugging builds are the ones listed with the -debug file name They are identical to the regular builds and will get OTA updates, they just log more verbosely to help with debugging"

Why? Debug version is just making more logs, that's all... You don't want to help to fix bugs?
[Android Apps and Games] Portgas D. Ace:
I don't have a problem with using debug versions and submit bug reports, but just kept in mind that the person who asked about this stated he was rather new to this kind of things, so he might not be of much help and therefore he can use the normal one.
[Android Apps and Games] schwarzerfleck:
Any possibility to theme the app ourselves? Like setting some colors etc? It would be a VERY cool feature!! :)
[Android Apps and Games] knpk13:
Yup, reminds me of solid explorer's color options. I use a dark theme with green accents, so would be cool to have the option to use green instead of yellow in labs as a secondary color.
[Android Apps and Games] linguine:
I like bright colors red yeow

---------- Post added at 01:22 AM ---------- Previous post was at 01:17 AM ----------

I need something to park the old phone up and a upgrade would be perfect . I am sick of it and its sick of me . So something to park us up would be great handy for a while.Thank you
[Android Apps and Games] woodman:
Your recent posts (cleaned by mods) on this thread are not clear at all or are even off topic. If you want to participate or contribute, it's good but please try to explain better and try to be more constructive.

Thanks :good:
[Android Apps and Games] woodman:
[MENTION=2637227]blk_jack[/MENTION], [MENTION=5136613]rwestergren[/MENTION]

The thread linked below can't be shown by Labs:

http://xdaforums.com/android/apps-games/app-material-notifications-color-screens-t3492912

It's a fresh new thread with only 1 post (for now).

Logs attached.
[Android Apps and Games] woodman:
Now the thread I've linked above can be shown by Labs. I guess it's because there is now more than one post :)
[Android Apps and Games] MSF Jarvis:
Same old bug I had reported?
[Android Apps and Games] woodman:
Yes but I thought it was fixed. Weird...
[Android Apps and Games] WeirdSoup:
The tags are crashed when there are bold letters. Please check this.
[Android Apps and Games] iXaidyiu:
Please provide system logs recorded when you reproduce the crash alongside your issue report.
[Android Apps and Games] ABSathe:
Yes .. I can confirm that this happened with my thread too
[Android Apps and Games] woodman:
It works here:

> Not bold:

HERE

> Bold:

HERE

Could you please provide the link of the thread where you noticed the problem?
[Android Apps and Games] ABSathe:
Hey I've found one more weird thing

I can't phrase it properly and hence I haven't used search ( I'm sorry for that )

Look at the 2 screenshots attached :

The screenshot in xda labs shows that all those orange letters are links ! Whenever I click on those orange letters .. I'm redirected to ARISE sound mod (whose link is posted just above those names )

I opened web version too and there was no such thing :silly:

What's wrong ? [MENTION=4752536]Wood Man[/MENTION]
[Android Apps and Games] iXaidyiu:
Not me having the problem, it is the guy I quote that has the problem:p

To be exact, [MENTION=6801833]WeirdSoup[/MENTION].
[Android Apps and Games] WeirdSoup:
http://xdaforums.com/galaxy-s4/i9506-develop/rom-crdroid-android-beta-builds-t3482569
[Android Apps and Games] woodman:
Yes sorry I've noticed my quote error too late... Post edited. :o

---------- Post added at 05:10 PM ---------- Previous post was at 04:19 PM ----------

OK I confirm it's an issue with Labs (or ?): it depends on how tags are placed.

> Example of working case:

Open Gapps

> Example of problematic case with Labs but which is OK on the website:

Open Gapps

In the 2nd example, you can see the /B tag is placed after the /URL tag. That's what triggers the problem.

---------- Post added at 05:22 PM ---------- Previous post was at 05:10 PM ----------

I've switched 1st and 2nd cases to help understand better my point :)

---------- Post added at 05:30 PM ---------- Previous post was at 05:22 PM ----------

Maybe similar issue I've just explained?

Also in post shown on your 2nd screenshot, there is a beginning of COLOR tag but the end, /COLOR, is missing. It's actually badly formatted.
[Android Apps and Games] blk_jack:
This is not a Labs issue then.

If you close a parent tag before a child tag things will break. If it doesn't on the web it's because the web is more forgiving of badly formatted text. Labs can't render tags the same as the web so they must be done properly.
[Android Apps and Games] woodman:
I'm glad XDA Labs is less forgiving! We can see better our formatting mistakes then!

Thanks for clarification. :good:

So if I do same:

First line

Fist choice​

Second choice​

Third choice​

Download
[Android Apps and Games] dj_chapz:
It says the source will be opened up shortly. This "shortly" is already a few months, if not more than a year. This wall was already built miles high... :rolleyes:

This community builds entire ROMs for hundreds of devices, imagine how long would it take to for ex. v2 of XDA Labs.

There was no update on releasing the source and XDA is basically denying itself the best possible workforce.

Other than that, I wish this app would become something like a Play Store++, with no apps left out, selective updates, and rollback functionality. :fingers-crossed:
[Android Apps and Games] robcore:
Quoted.
[Android Apps and Games] MarkAtHome:
Here ya go.
[Android Apps and Games] ABSathe:
May I know why ?
[Android Apps and Games] woodman:
Hmmm maybe... :p

---------- Post added at 02:01 PM ---------- Previous post was at 02:00 PM ----------

I've changed my phone, testing notifications :)
[Android Apps and Games] EVOuser94:
Quoting error, can someone please quote me. Then another person please quote that person who quoted me?
[Android Apps and Games] woodman:
:eek:
[Android Apps and Games] gibbsnich:
Like this?
[Android Apps and Games] EVOuser94:
Yes thank you. It didn't do it this time, :confused: in multiple threads I'm noticing when someone quotes a person who quoted someone it is taking the
[Android Apps and Games] woodman:
Happy birthday XDA Labs!
[Android Apps and Games] Matt07211:
Let's party!!!!
[Android Apps and Games] foefur:
I know it's an old reply but i just want to mention that all is fixed know :good:
[Android Apps and Games] Clark Joseph Kent:
Done, wait too late:laugh:
[Android Apps and Games] woodman:
No problem, and thanks, got da push notification flawlessly on my new P9 lite. This app rocks ;)
[Android Apps and Games] pbeckmann:
Hey,

Just a small bug report. Had to reinstall my phone. After the installation and set up of XDA labs. I wanted to read, what I've missed here.

In the screen, you'll see my problem.

After the first scroll the reply button was aligned correctly. So no big deal.

Greetings
[Android Apps and Games] pwild:
I dont see anything wrong? For me, that button is exactly at that position all the time. (when opening that screenshot in app i can't even see the button, because the download button is on top of it)
[Android Apps and Games] MrWasdennnoch:
The snackbar should push the button up.
[Android Apps and Games] harsh.:
[MENTION=4752536]Wood Man[/MENTION]

Correct me if I'm wrong

I read in few posts that thread having less the one post have some issue with XDA labs.

http://xdaforums.com/android/development/rom-resurrectionremix-m-v5-7-4-r72-t3494756/page1

But I can open this link in labs only!:confused:

Need someone who can spoonfed me:p
[Android Apps and Games] woodman:
2 solutions:

1- Maybe it doesn't happen for every threads with 1 post

2- Maybe it has been fixed in the backend

Can't spoon feed more than this :)
[Android Apps and Games] luca_amateis:
I
[Android Apps and Games] iXaidyiu:
What do you want to say?
[Android Apps and Games] knpk13:
He wants to get to 10 posts. :p

For some reason, people decide to flock to this thread for that.
[Android Apps and Games] luca_amateis:
Sorry, I have problem to comment the other thread with app XDA . why?
[Android Apps and Games] maoikozo1:
Great app!
[Android Apps and Games] woodman:
Please read here: http://xdaforums.com/android/apps-games/labs-t3241866/post66533392

And also page 609.
[Android Apps and Games] woodman:
[MENTION=2637227]blk_jack[/MENTION]

Minor bug about action bar. You'll see it in my screencast here: https://drive.google.com/file/d/0B17yOGAdTY1ZVU5YZGUwSjlhZ28/view?usp=sharing

After coming back from a link by pressing back key, the action bar with copy/multi quote wrongly appears. Previously I've copied a post link within Labs FYI.

I can't reproduce it on demand. I'm on Android M.

Logs attached.
[Android Apps and Games] luca_amateis:
Thanks man for the answer, but I can't post only through the app, the browser work well!

I'm using moto g 2015 with gzr ROM Tesla 7.0
[Android Apps and Games] woodman:
Should be useful to provide logs then :)
[Android Apps and Games] luca_amateis:
Sorry, I don't understand what you mean
[Android Apps and Games] woodman:
To help you out (and us) we need you capture logs while reproducing your issue. 2 solutions: third-party app method such as MatLog from playstore (if you're rooted) or adb method, please read below:

From post #2:
[Android Apps and Games] luca_amateis:
Wow, I have try another time, and now, it works! Great! Thank you
[Android Apps and Games] Reechings:
Sorry if this has been reported already but my keyboard doesn't automatically pop up when doing replies or just posting to a thread. Thanks and amazing app, I seem to be using it more and more instead of Tapatalk .
[Android Apps and Games] woodman:
It has never been reported before. It shouldn't be an issue of XDA Labs, so did you try another keyboard? Or did you try to reboot your device and then try again?
[Android Apps and Games] Reechings:
It does it after reboots. I guess it could be my keyboard but it just seems to be a focus thing or something as I have to press the screen where the cursor is and then it pops right up.
[Android Apps and Games] woodman:
Could be a ROM issue. If not, you'll have to grab logs using latest XDA Labs debug version + please more details about your system. :)
[Android Apps and Games] johnhux7:
Quoted
[Android Apps and Games] moriel5:
Just out of curiousity, is it possible to quote oneself?

Update: Apparently not, at least via XDA Labs.

I just recieve the "Post creation failed" notification.
[Android Apps and Games] guitardoc64:
Let's see.

---------- Post added at 07:59 PM ---------- Previous post was at 07:58 PM ----------

Yes you can.
[Android Apps and Games] moriel5:
Interesting, since I can't do so over here.
[Android Apps and Games] MSF Jarvis:
Can we quote ourselves?
[Android Apps and Games] MSF Jarvis:
Yes we can, so here's a cat for y'all
[Android Apps and Games] Reechings:
Another sorry if asked before but any plans to support system emoji in the future? Thanks!
[Android Apps and Games] gyagapen:
Hi all,

Getting below error with the XDA app on MIUI 8:

Build version: 1.0.9b-play

Build date: 2016-10-14 21:11:00

Current date: 2016-11-09 07:32:57

Device: LeMobile LEX720

Stack trace:

java.lang.RuntimeException: Unable to start activity ComponentInfo{com.xda.labs.play/com.xda.labs.one.ui.MainActivity}: android.view.InflateException: Binary XML file line #31: Binary XML file line #31: Error inflating class com.xda.labs.views.ScrimInsetsFrameLayout

at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2468)

at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2530)

at android.app.ActivityThread.access$1100(ActivityThread.java:154)

at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1391)

at android.os.Handler.dispatchMessage(Handler.java:102)

at android.os.Looper.loop(Looper.java:148)

at android.app.ActivityThread.main(ActivityThread.java:5574)

at java.lang.reflect.Method.invoke(Native Method)

at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:726)

at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616)

Caused by: android.view.InflateException: Binary XML file line #31: Binary XML file line #31: Error inflating class com.xda.labs.views.ScrimInsetsFrameLayout

at android.view.LayoutInflater.inflate(LayoutInflater.java:539)

at android.view.LayoutInflater.inflate(LayoutInflater.java:423)

at android.view.LayoutInflater.inflate(LayoutInflater.java:374)

at android.support.v7.app.AppCompatDelegateImplV7.b(Unknown Source)

at android.support.v7.app.AppCompatActivity.setContentView(Unknown Source)

at com.xda.labs.one.ui.MainActivity.onCreate(Unknown Source)

at android.app.Activity.performCreate(Activity.java:6328)

at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1108)

at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2421)

... 9 more

Caused by: android.view.InflateException: Binary XML file line #31: Error inflating class com.xda.labs.views.ScrimInsetsFrameLayout

at android.view.LayoutInflater.createView(LayoutInflater.java:645)

at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:764)

at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:704)

at android.view.LayoutInflater.rInflate(LayoutInflater.java:835)

at android.view.LayoutInflater.rInflateChildren(LayoutInflater.java:798)

at android.view.LayoutInflater.inflate(LayoutInflater.java:515)

... 17 more

Caused by: java.lang.reflect.InvocationTargetException

at java.lang.reflect.Constructor.newInstance(Native Method)

at android.view.LayoutInflater.createView(LayoutInflater.java:619)

... 22 more

Caused by: java.lang.ArrayIndexOutOfBoundsException: length=0; index=0

at android.content.res.TypedArray.getValueAt(TypedArray.java:1132)

at android.content.res.TypedArray.getDrawable(TypedArray.java:865)

at com.xda.labs.views.ScrimInsetsFrameLayout.init(Unknown Source)

at com.xda.labs.views.ScrimInsetsFrameLayout.<init>(Unknown Source)

... 24 more

Anyone has any idea?

Thanks & regards,
[Android Apps and Games] kunfei:
Copy operation is very inconvenient
[Android Apps and Games] woodman:
Copy what?
[Android Apps and Games] kunfei:
Copy XDA forum's Comment .
[Android Apps and Games] woodman:
Okay, in my case I love it just like said by BillGoss here: http://xdaforums.com/android/apps-games/labs-t3241866/post69259496

We can see underlying address of links :)

Also, for better understanding, here is a useful post to explain why it works like this: http://xdaforums.com/android/apps-games/labs-t3241866/post66735986
[Android Apps and Games] kunfei:
Can add to call google translation of the function,

it would do not copy of the
[Android Apps and Games] woodman:
Not sure to understand your problem but here are screenshots to explain we can easily do what I guess you're asking.
[Android Apps and Games] kunfei:
add a translation button
[Android Apps and Games] morfikov:
I just installed the XDA Labs APP, and I can see that some of the apps are marked with the $ sign. This indicates that you have to pay for the APP. Do you plan to mark in similar way applications that are Free&OpenSource? I tried to find information concerning the source of some example apps just by tapping at their position in the list, but I couldn't find any useful info on this matter. I would be glad if such info were displayed somewhere.
[Android Apps and Games] iXaidyiu:
XDA is an international forum and of course it will be English-speaking. If you want translation, use Google Translate, in which it also providing Google+ as you can see in the screenshot you took.
[Android Apps and Games] shnizelon:
I can't post replies on anything with the app

I do not know if its the right place but .. Move it to the right place
[Android Apps and Games] moriel5:
No worries, if the app in question is XDA Labs, then you are in the right place.

You should try providing logs, it should help figuring out the cause of this issue.

If you are rooted, try using CatLog or MatLog, if not, then try using ADB from your PC to get the logs (you'll find the instructions somewhere in this thread, just use the in-thread search to search for ADB).
[Android Apps and Games] woodman:
In addition to [MENTION=5358804]moriel5[/MENTION]'s post, please read: HERE, HERE, HERE and then HERE
[Android Apps and Games] shnizelon:
TEST

UPDATE:Nvm works like a charm . Had to restart my phone.

EDIT: Sorry for that , but seems that it only let me post on this thread via app . when I try post reply on other thread , it says "cant post " . I will send logs later

G3 D855
[Android Apps and Games] todonormal:
Please, it's possible install in adoptable storage in Marsmallow? "It's very simple: Apps can be placed on adopted storage media only when the developer has indicated support through the android:installLocation attribute. New installs of supported apps are automatically placed on the storage device with the most free space, and users can move supported apps between storage devices in the Settings app. Apps moved to adopted media are remembered while the media is ejected, and return when the media is reinserted" of https://source.android.com/devices/storage/adoptable.html
[Android Apps and Games] iXaidyiu:
Of course it is possible.

P's please be on topic, this should be posted in the Q&A Section, not here, where it is designated to discuss XDA Labs.
[Android Apps and Games] woodman:
This?

If not, yes, logs will be useful.