Section Guidelines -- READ THIS FIRST - Galaxy Note 3 Developer Discussion [Developers Onl

This area is currently experimental and was set up by the XDA Administrators for development discussion. The idea in this section is for developers (not only recognized developers, but all developers) to have a place for discussion threads to "talk shop." What kind of talk? Some topics (that I'm making up as I type this) might include (and are certainly not limited to):
Overriding the power widget in the notification dropdown
Considerations of using gcc versions other than 4.4.3 for compiling the kernel
Exynos: discussion on working around the SOC wake from sleep delay
This isn't a Q&A forum. However, developers might kick off discussions with a question. The difference? This belongs in Q&A: "My phone wakes up slow, will it go faster if I take my sdcard out?" On the other hand, the following might belong in this new section: "Has anyone tried adjusting the mmc detection timeouts to see if there's an impact on the SOC wakeup delays?" The assumption here is that the person asking the latter question actually knows what a mmc detection timeout is, how they'd change it, and has started to play around with it before posting the question.
As well, this section is not for posting finished products or "advertising" of kernels, apps, etc. This section is to discuss the process, not for the end result.
The hope (at least my own hope) is that developers can discuss things here instead of resorting the various other methods of communication we've used. At the same time, newer developers and even non-developers can LEARN from the conversations and eventually participate.
Depending on the reception (and difficulty moderating, probably) this experiment will either be expanded for other device types, completely shut down as a failure, or adjusted. Obviously, if we developers don't use it, it might be considered a waste of time and dissolved.
This section will be very closely moderated by moderators who are also developers and non-development discussion will be harshly dealt with.
I REALLY hope this will encourage more devs to spend time with open communication. This is XDA-Developers. Let's do development.

Related

Fast User Switching

Is there an application that enables some sort of fast user switching on an Android enabled phone?
If not... can an option be setup, for a lock screen option to the forward facing UI?
Dev section is only for releases, Q&A is for questions.
There is only one user. The only thing I could think of would be to use switch rom and boot into recovery and switch it each time.
another one trashed
hold down the mome buttton and it brings up your 6 most recently accessed apps for quick switching. btw next time ask questions in q&a section
sorry ladies and gents for the posting in the wrong thread. i was a bit inebriated, but not out of it. my logic for putting it here is if there wasn't anything that something would be developed if it got enough attention.
heres the scenario - my little girl loves my phone, but don't necessarily want he seeing my information, and if she could sign in using her own credentials she could do what it is that she does without affecting my settings.
oh...mr. moderator,
at your will can you move this to the Q&A section.
many thanks,

Intent Evolution Idea: Sentence

Hey guys, random thoughts/rant for a software idea.
I was thinking of the next evolution of the Intent system on Android. I always thought OSs seemed to spend almost no effort on integrating softwares on it. It was almost like an afterthought every time. Android was a huge step in the right direction. The next step would have to be very definitive, and backwards comparable of course. It would have to be something users want, and make it easier on the developers as well.
This system would be called something along the lines of 'Sentence'. It evolves with developer and end-user choices and, if I'm right (here's the big pitch, would have the potential to make software measurably more stable, secure, efficient, and user-oriented without really changing any behavior on the developer's side. Of course it has the same potential to be stagnant, but I think the users would punish (unwittingly) developers who lagged behind or didn't put in the effort.
The sentence system allows a user to build a sentence to discover not only the correct application, but an infinitely specific task before ever encountering UI. It is reminiscent of auto-completing sentences in Google Search. An example is the quickest way of demonstrating. The [] specify user interaction and ** specify user choice (probably a button press):
I would like to
[*send*] [search] [open][...
[a][*multiple*][...
[2][*3*][4][5][CUSTOM][UNTIL...
[files][emails][smss][*pictures*][...
[*to*][GO][...
[emily][drake][*george*][...
[*and*][GO][with message][...
[emily][*drake*][george][...
[and][GO][*with message*][...
[CUSTOM][*check this out*][...
[*GO*][and]
this immediately opens the camera app for exactly 3 pictures. Once the 3rd picture is taken, the UI informs the user that the next action is about to take place. After a short time out, the 3 pictures are sent to George and Drake. After the first shot, the user can shut off the screen or pocket the device knowing the timeout will occur and then the task will continue. Being an OS-level function, the user can trust it regardless of the app.
Unless the app task fails. If Apps that use this system can't provide tasks that don't fail, they will become unpopular far quicker than the tasks that do fail that users just deal with anyway.
Furthermore, many apps can be published virtually without any UI at all, significantly cutting down on development time and allowing the dev to focus on the task and functionality.
This could turn around voice activation as well, since the user quickly understands the routine task format to get the best results, and would be more confident to provide far more complex long-winded sentences that the OS could understand perfectly to the detail.
While some sentence lines will be defined by the OS, the developers and users alike will be able to define the evolution of the sentence tree. Developers will make the smart decisions, while the users will crowd-source the popularity of each possible route. The most logical and/or common sentences would quickly be the norm. If the OS prioritizes specific routes over general ones, then developers will be incentivised to make their apps as task-specific as possible as well as as task-plentiful as possible.
The losers in this quickly become apps that use ads, apps that rely on 'convincing' the user of something with UI, and of course utility apps. Of course, this brings back the main reason for 'pro' apps: functionality. The pro version will have these features. The free version will only have these.
There wouldn't be a way to exploit the system or flood it. If the functionality doesn't work, the app becomes not only intrusive and annoying, but offensive to the user as it promised a specific task and performed something else entirely. Those apps simply wouldn't survive.
Of course, application for this kind of thing would have to be imposed by Google et all for it to exist, but there is another way. It can be implemented as a shared library that provides the necessary interfaces and cache all the necessary information for other compatible apps. That would work for a full implementation, and I can't see any features that would be missing. Backwards compatibility would still work just fine, as the app would simply fit existing intents into this sentence tree as well as it can. The sentences would simply end up being smaller. The best part is that with the right effort, this sentence tree could act as an 'Intent builder' for existing android apps. I bet I could build a handler for the tree that would get me through the above demonstration with the standard Gmail app using known intents. See where I'm going with that?
I would build it myself if I had more time, but I'm def interested in helping (or instructing) anyone who would like to take a crack at it. I think if someone got this idea into Cyanogenmod, we'd have a pretty huge win, and Cyanogenmod would have an incredibly unique UI gem to show off to stock users.
Honestly, I see no way that a system similar to this won't be built and become the standard within a decade. It would be trivially easy to build as well although some of the decisions to be made might not be so easy. So yeah, that's it. Rant over.

Angry Rant: Google's Search Algorithm Seems to Be Getting Worse Every Day

I remember a time when searching on Google was completely intuitive: It returned results that contained what I queried, and as long as I was somewhat competent in recognizing the subtle differences between certain word choices, those results were reasonable irrespective of whether I found what I had searched for. Lately Google seems to have set out on the goal of trying to programatically understand language. I completely hate the idea of a search engine trying to decide when the user would like to have words included in the search that weren't explicitly specified. For example: While using the word "love" in any query where the query as a whole is a commonly familiar set of words, such as "I Love Lucy", typically doesn't return any completely irrelevant results as long as you're not as deep into the search results as something like page 607, searching for something like "i love abcdefghijklmnopqrstuvwxyz" returns a barrage of links with bolded terms such as "Featured Story: Who the hell cares about abcdefghijklmnopqrstuvwxyz? I Know I Don't: A blogger's obsession with numbers.. [blah blah]... Top Stories... See More Like This...". I'm sure most of us know that that "like" is a synonym for "love", but I'm also sure most of us are aware that this is only true in certain contexts.
As another example, I remember querying "sed octal permissions pattern matching" and getting tons of results that seemed to suggest I was interested in results pertaining to "grep" and "awk" as well. The whole reason I had been searching for sed is that I was looking to create a script to be run on my router, which did not have the perl regular expressions feature compiled into grep, and awk was completely non-existent. I admit that including results for awk and grep could have been useful to people who weren't aware that they exist, but still, I don't believe pointing out software that provides similar functionality to that of one specified in a search query should be in within the scope of what a search engine tries to provide. Let people search for something like "sed similar functionality" or "alternatives to sed" and learn that, providing they use a decent search engine which doesn't prematurely assume things, there are other ways to go about their problem.
it
Recently, I entered the query "painless knee swelling damage", hoping to gain some insight as a frequent runner into whether or not swelling of the knee is likely to indicate that any significant injury is occurring when there is an absence of any pain. It returned results with things like "painful" bolded as a keyword. Here is a screenshot: WHY? I can't think of any signs more blatantly indicative of something being wrong with the algorithm of a search engine than when it returns the EXACT opposite of what the user has specified in their query. I realize these results don't seem to be the first that it gives, and I could see how it might be understandable for someone to think -- that after all instances of pages which are consistent with the query have been exhausted -- they should begin including things like often-associated words, closely spelled words, and synonyms, but only at the very end of all the legitimately relevant results. As you can see in the screenshot, the bastardizations of the user's query are not exclusive to the last listed suggestions; they're just seemingly tossed in along with the sensible results. It blows my mind that a company as large as Google can't seem to have someone review the validity of the so-often absurd suggestions generated by the search engine, or even better, adopt (or rather, revert to) algorithms that don't assume its users are so incompetent at expressing what it is they're looking for.
If a company were to exist who owned rights to the use of quotation marks, and made money each time someone typed them into a search engine, I'd truly believe that Google is acting in collusion with such a company because I literally have to put (even single) words in quotes, sometimes proceeded by a minus-sign just to avoid Google's outlandish interpretations of what seems like just about anything I search for these days.
Thank's got I am not the only one who thinks like you. For example, I just did a search with the following query: how to search in cpanel if grep is not available. And do you know what? The first results was: How to use Grep | Liquid Web Knowledge Base .... Uhmm... ok Google.
That's because Google is very commercial when it comes to search results these days. It's all geared towards advertising revenue. Results are tailored to your location, cookies, history, content of your Google account and your Google+ account. It also returns sponsored results first, but they're not listed as such anymore. And a lot of sites are being filtered out as well.
Whenusing Incognito mode you'll often get very different results.
I searched for 'g900f brick after factory reset XDA' yesterday. The first XDA result? third from the bottom.. The first page was almost entirely random, not even Android Central. I even got results for the financial times and Reddit. But not related Reddit pages, nope.
And if you search for certain things, they manipulate your search. For the fun of it, try finding a torrent. Google automatically alters the results to the paid sites. And ironically they don't consider location in that. I searched for a book yesterday, redirected me to over 300 ebook webshops exclusively for USA and Canada. That's 4000 miles from here. Useful Google. -.-
I've resorted to using Bing for some things..

[Q] why is djamol's account didabled?

I read a thread and saw that his profanities were removed. WTF does that mean. It seemed like he had lots of work being done. And from the sound of it a major achievement for wp8 as far as hacks go. What was this profanity and will his account be enabled again. Is this even real or am I bugging out. Anyone with info on what may have happened. Please reply.
He wasn't killed, so he can continue hacking.
I saw his original message. Many people here made a huge progress in hacking WP, but we are polite. No one tells mods such sh things.
Closing thread as an individual user's account status has nothing to do with WP8 help.

Question Notification Issue

I found that my Facebook Messenger app and Snapchat Map don't notify me when new messages come in.
I've successfully run the debloat script.
Using Nova Launcher.
I've also checked my notifications and turned off silent notifications for almost every app.
I'm at a standstill.
I really like this phone but I wish we could flash the OS which would solve everything. Any ideas?
Install heartbeat fixer for gcm app, set it to autostart and 1 minute interval. Also give it all rights possible.
Do the same with fcm toolbox app.
Don't use dark mode (system wide).
All apps need to be set to high battery use (the above and the ones you want to get notifications from).
Disable priority notifications.
Or get another notifications app altogether, but above should be enough.
Dark mode is okay, as long as you have no single messaging app with a muted (group) chat. Yeah sounds strange as f**k but that's the culprit for most.
If you have one muted chat it will break all fcm notifications after a 5-10 minutes screen off delay. The same is not only true for dark mode but also battery saver or similar. Can only run this phone in balanced or performance mode without breaking notifications should there be a muted chat.
Actually fcm toolbox may fix the dark mode problems, but I'm not sure it's fully reliable in dark mode.
Sometimes it crashes nonetheless, then reboot is needed (this is like every two weeks once)
Don't forget to lockdown all apps you need notifications from in the recent apps drawer and never swipe them up. (Yes all apps working with fcm it's enough if one stays open besides fcm toolbox and heartbeat fixer).
extremecarver said:
Install heartbeat fixer for gcm app, set it to autostart and 1 minute interval. Also give it all rights possible.
Do the same with fcm toolbox app.
Don't use dark mode (system wide).
All apps need to be set to high battery use (the above and the ones you want to get notifications from).
Disable priority notifications.
Or get another notifications app altogether, but above should be enough.
Dark mode is okay, as long as you have no single messaging app with a muted (group) chat. Yeah sounds strange as f**k but that's the culprit for most.
If you have one muted chat it will break all fcm notifications after a 5-10 minutes screen off delay. The same is not only true for dark mode but also battery saver or similar. Can only run this phone in balanced or performance mode without breaking notifications should there be a muted chat.
Actually fcm toolbox may fix the dark mode problems, but I'm not sure it's fully reliable in dark mode.
Sometimes it crashes nonetheless, then reboot is needed (this is like every two weeks once)
Don't forget to lockdown all apps you need notifications from in the recent apps drawer and never swipe them up. (Yes all apps working with fcm it's enough if one stays open besides fcm toolbox and heartbeat fixer).
Click to expand...
Click to collapse
I was unable to download heartbeat fixer because it said the app is too old for my phone.
But apparently dark mode is the issue. After I turned it off, everything started popping up.
That's super unfortunate.
You can install it anyhow as apk with adb. Installing FCM Toolbox and Heartbeat fixer is the only way to use dark mode (if you have muted chats) on this phone. It's really lousy that Vivo has this bug since a long time, and doesn't manage to fix it (same on many other vivo phones). I mean notifications are and elementary function of a smartphone (especially with a not usable AOD as on the Vivo) and Vivo botched it on nearly all of their China OS phones (I thing Funtouch also has the dark mode bug on most phones - not sure).
I tried that way with adb and it just isn't working for me. Unless I'm doing something wrong.
I did find an alternative just now:
1) Don't use dark mode --- not a big deal for me, cool.
2) launch the apps that are sending notifications (messenger... snapchat)
3) swipe up to show all apps running and lockdown the ones that aren't working.
As long as the apps continue to run in the background, the notifications work.
I'm regretting not choosing Samsung.
edit: Try this:
How to fix notifications on Vivo X90 Pro+
Seeing as there are dozens of people who are claiming issues with receiving notifications. I figured it's time to make this thread. The following has worked for me to restore notifications for every single app I use. To date, I have had...
forum.xda-developers.com
Does anyone have a guess on why dark mode is unable to show notifications, and why Vivo think it works fine?
Haskren said:
Does anyone have a guess on why dark mode is unable to show notifications, and why Vivo think it works fine?
Click to expand...
Click to collapse
Stubbornness from corporate China.
Haskren said:
Does anyone have a guess on why dark mode is unable to show notifications, and why Vivo think it works fine?
Click to expand...
Click to collapse
Well I think vivo somehow collapses on muted group chats in dark mode. Why it only happens in dark mode is the bigger mistery. It explains why it works for some people however (those not having a muted group chat).
Vivo doesn't seem to care at all. Seen quite a few people on bilibili claiming they only speak with a bot on support.
And yes, the only way for them to react would be likely receiving loads of returns with reason horrible software. Or important reviewers like Xiao Bai complaining. As long as the YouTubers and reviews mention software as an afterthought, likely because they never use phones as daily driver hence not notice those problems, nothing will change.
They do know phones get exported from China and seem to be fine as long as they don't sell the same model abroad..
Likely if trading Shenzhen gets loads of returns and complaints they would listen too. maybe only if TS delists them...
Alright, we're done. It was a simple ask... let's breathe and go our separate ways folks.
@luontokoodaus -- I appreciate all the work you've put into for fellow Vivo users.
seewoop said:
Alright, we're done. It was a simple ask... let's breathe and go our separate ways folks.
@luontokoodaus -- I appreciate all the work you've put into for fellow Vivo users.
Click to expand...
Click to collapse
Peace thanks and you too. Enjoy your phone!
Thread Sanitized!​
Greetings to all. Ok everyone, enogh already with the insults and bickering. While we always appreciate spirited debate, one must do so in a polite and respectful manner
as stated quite obviously in XDA Rule 2.3 & 2.4 that you all agreed to follow when you joined XDA:
Spoiler: Rules 2.3 & 2.4
2.3 Flaming / Lack of respect: XDA is about sharing and this does not involve virtual yelling (flaming) or rudeness. Flaming or posting with a lack of respect is unacceptable. Treat new members in the manner in which you would like to have been treated when you were a new member. When dealing with any member, provide them with guidance, advice and instructions when you can, showing them respect and courtesy. Never post in a demanding, argumentative, disrespectful or self-righteous manner.
2.4 Personal attacks, racial, political and / or religious discussions: XDA is a discussion forum about certain mobile phones. Mobile phones are not racial, political, religious or personally offensive and therefore, none of these types of discussions are permitted on XDA.
Therefore, I suggest all of you return to polite and "On Topic" discussion, and to PLEASE report rules violations rather than replying to them with your own rudeness
which usually ends up like this. If you want to argue, then please take the fight to PM's, FB, TG, IG or wherever as we will not tolerate this type of behavior, and will have no compunction about
issuing infractions or account revocations to those members that wish to continue posting in an inappropriate manner.
Thank you very much for your cooperation and understanding, and hope you all have a pleasant day.
-Regards: Badger50
Although I switched on "show on lock screen" for Spotify, it's still not showing.
Is the related to the darkmode notification issue?
Badger50 said:
Thread Sanitized!​
Greetings to all. Ok everyone, enogh already with the insults and bickering. While we always appreciate spirited debate, one must do so in a polite and respectful manner
as stated quite obviously in XDA Rule 2.3 & 2.4 that you all agreed to follow when you joined XDA:
Spoiler: Rules 2.3 & 2.4
2.3 Flaming / Lack of respect: XDA is about sharing and this does not involve virtual yelling (flaming) or rudeness. Flaming or posting with a lack of respect is unacceptable. Treat new members in the manner in which you would like to have been treated when you were a new member. When dealing with any member, provide them with guidance, advice and instructions when you can, showing them respect and courtesy. Never post in a demanding, argumentative, disrespectful or self-righteous manner.
2.4 Personal attacks, racial, political and / or religious discussions: XDA is a discussion forum about certain mobile phones. Mobile phones are not racial, political, religious or personally offensive and therefore, none of these types of discussions are permitted on XDA.
Therefore, I suggest all of you return to polite and "On Topic" discussion, and to PLEASE report rules violations rather than replying to them with your own rudeness
which usually ends up like this. If you want to argue, then please take the fight to PM's, FB, TG, IG or wherever as we will not tolerate this type of behavior, and will have no compunction about
issuing infractions or account revocations to those members that wish to continue posting in an inappropriate manner.
Thank you very much for your cooperation and understanding, and hope you all have a pleasant day.
-Regards: Badger50
Click to expand...
Click to collapse
Thank you!!
Haskren said:
Although I switched on "show on lock screen" for Spotify, it's still not showing.
Is the related to the darkmode notification issue?
Click to expand...
Click to collapse
It most likely is. After I turned off dark mode, my notifications started popping up on lock screen and some apps still continued to give me trouble so I locked them to continuously run in the background and now all is well.
There are some issues when in dark mode , viber for example doesnt show notifications on lock screen ( it lights up screen with no sound or content displayed) , so for now the solution is to be in light mode for now. Its too bad that vivo doesnt fix this, with some minor software changes this would be 10 out of 10 phone.
Talking about dark mode, previous model such was X80 had the same issue, but got fixed after software update, so I believe X90 will get that sorted out as well in the future
carzakone333 said:
Talking about dark mode, previous model such was X80 had the same issue, but got fixed after software update, so I believe X90 will get that sorted out as well in the future
Click to expand...
Click to collapse
I hope so. It's already been 3 ish months since the phone came out... :

Categories

Resources