active display replacement - X 2014 Q&A, Help & Troubleshooting

i would like to write a replacement for active display on my victara handset. i have a fair amount of android development experience but no experience reverse-engineering an application. it seems motorola is not interested in opening up active display to the developer community, so i need some help! if you would like to assist me with the reverse-engineering portion of this project and have the requisite experience, please send me a message.
thanks.

symnem said:
i would like to write a replacement for active display on my victara handset. i have a fair amount of android development experience but no experience reverse-engineering an application. it seems motorola is not interested in opening up active display to the developer community, so i need some help! if you would like to assist me with the reverse-engineering portion of this project and have the requisite experience, please send me a message.
thanks.
Click to expand...
Click to collapse
You're right, they are not interested in opening up the toolbox for their proprietary software. That's why I said to each manufacturer apart from the other one. Android is open source but that's it.
What are you wanting to change?

matt99017d said:
You're right, they are not interested in opening up the toolbox for their proprietary software. That's why I said to each manufacturer apart from the other one. Android is open source but that's it.
What are you wanting to change?
Click to expand...
Click to collapse
99% of it. i don't like the font, i don't like the direction of the swipe to open (i want it to be consistent with lollipop's lock screen, which is swipe from the bottom up) there should be color, not just white (color is more energy efficient, anyway) there is no indication of current battery status, cell status, or wi-fi status. no notification count... so, basically, just about everything. i doubt it would be very difficult, but i would need access to the api for the hardware ir sensors, sleep-active screen renderer, and sleep-active digitizer.

I'd pay for something like that so I could finally root and flash a rom on my moto x2 without missing moto display

Related

[Q] How do you guys like your Moto X?

I have been debating buying a Moto X for some time. I keep missing the Dev edition before it sells out (twice now) and I have really been having a hard time with this. I'd like to know what your overall impressions are as well as your input on some various features.
For background, I'm currently using the G2, which I like very much, but the Touchless control, active notificaitons, Moto Connect, Trusted BT devices, and Moto assist features are a big draw for me.
So my questions:
How do you feel about the build quality (overall as well as any defects with your device)?
Do you like the screen? Anyone coming from a 1080p device feel that they are kind of missing out?
Touchless control - Do you use it and if so, do you find it useful?
Active notifications - Do you like this feature more than a dedicated LED? Do you find that you miss notifications or that the screen doesn't come on when you'd like?
Moto Connect - Anyone using this regularly? Does it work well?
Trusted BT Devices - Is anyone using this to bypass pin lock on a corporate account? If so, what device are you using (Pebble smartwatch, jawbone, etc) and how is it working for you?
Moto Assist - How is that feature working for you? Do you find it indespensible, or just nice to have?
Camera (post update) - Anyone with the camera update care to elaborate on how you feel about the X as a camera now?
I know that's a lot of questions. You don't have to answer them all. Just weigh in where you have input. I have read all the reviews and I'm trying to gather some real world commentary on these features and the device as a whole before I pull the trigger.
Thanks in advance to anyone who replies.
Build quality is excellent in my opinion. Coming from a HTC ONE I don't miss 1080p one bit especially with the gained battery life from a lower resolution screen. Motorola connect is my favorite feature so far. I've never had an issue with it. Active display is a game changer. Overall it's the best device I've used to date. You won't regret getting one.
Sent from my all black Moto X
capathy21 said:
Build quality is excellent in my opinion. Coming from a HTC ONE I don't miss 1080p one bit especially with the gained battery life from a lower resolution screen. Motorola connect is my favorite feature so far. I've never had an issue with it. Active display is a game changer. Overall it's the best device I've used to date. You won't regret getting one.
Sent from my all black Moto X
Click to expand...
Click to collapse
I use Motorola connect a lot too and it is one of my favorite features. but for some reason it doesn't like my contacts and contact pictures. for most of my conversations it only shows the phone number. I don't know why. some of the contacts display picture and name. others just display the number.
1. perfect
2. cant tell the difference, like the video rendering better than what ive seen to date on any android
3. very useful, im doing all my texts and calling without using my hands
4. love this one, cant go back now to not having it
5. downloaded the chrome extension, great
6. not using this
7. use it for driving, plays pandora when i start driving without touching anything
8. happy now, happier in "very soon" as motorola stated today
9. dont wait, get it, its a GREAT phone
gammite said:
I use Motorola connect a lot too and it is one of my favorite features. but for some reason it doesn't like my contacts and contact pictures. for most of my conversations it only shows the phone number. I don't know why. some of the contacts display picture and name. others just display the number.
Click to expand...
Click to collapse
Mine used to show only numbers on most contacts and names on a few. The last few days it seems to have been corrected lately as I'm seeing all of my contact names. I did swap out my first x(white) for the black one and when I set up moto connect on the new one the contact names now show. Maybe if you delete and re add the chrome extension it would work? Just guessing though.
Sent from my all black Moto X
capathy21 said:
Mine used to show only numbers on most contacts and names on a few. The last few days it seems to have been corrected lately as I'm seeing all of my contact names. I did swap out my first x(white) for the black one and when I set up moto connect on the new one the contact names now show. Maybe if you delete and re add the chrome extension it would work? Just guessing though.
Sent from my all black Moto X
Click to expand...
Click to collapse
Does Motorola Connect use much battery?
Sent from my iPad using Tapatalk - now Free
austriak said:
Does Motorola Connect use much battery?
Sent from my iPad using Tapatalk - now Free
Click to expand...
Click to collapse
I don't believe it uses a lot of battery. It didn't on mine. I started using moto connect but it seems still in its beta stages. If you like moto connect I might suggest trying the mightytext app. They have been doing the text from computer stuff for a lot longer. I was using it previously and switched back to this until moto connect becomes more reliable. The contacts sometimes appear for some people. i had it both ways. Reinstalling at one point made them all appear. But I don't like the pop-out windows much.
Differences/similarities between connect and mightytext:
1. both use a chrome extension and have pop ups in the bottom right corner of your screen
2. MT pops up an individual conversation between you and the other person while I believe the connect just pulled a pop up of all of your text (this was one of my biggest issues)
3. MC lagged more with me when sending texts and then marking that it had sent texts in comparison to MT
4. MT has a webpage that has all of your text on it while MC does a pop out from the chrome extension button that when you click anything else not in the box it goes away. But you can click the pop out button there so MC will make a different window, but it seems to reload messages when it does this
5. Sometimes when viewing the texts from the chrome extension pop out and the actual pop out window in MC they didn't match
6. sometimes in MC it will show the text someone sent but not have loaded the ones I sent yet but it did eventually load. This happened especially when I sent the text manually from my phone as opposed to from my computer while using MC.
as for your other questions. I really think this phone might be a good buy because of its hardware. I feel like the development of touchless controls and other apps that may use the same hardware in the future could get huge. Other phones won't be able to do this because they don't have the low power processor. Also active notifications can become highly improved. Further there is an led light on the phone but I nor anywhere I have read has figured out how to utilize it if we decided we wanted the led light as well as active notifications. Also, the camera technology allowing better action shots isn't that great right now but it can be improved greatly over time. And finally, many of the areas that things can be improved on are more apps then big updates that will need to be released by google, so they will hopefully get to your phone faster, e.g., touchelss controls, active notifications, etc..
How do you feel about the build quality (overall as well as any defects with your device)?
Overall build quality is nice and the phone has a nice weight and feel to it.
Do you like the screen? Anyone coming from a 1080p device feel that they are kind of missing out?
Screen is fine, and more than adequate.
Touchless control - Do you use it and if so, do you find it useful?
I have only tested it but appears it could be useful
Active notifications - Do you like this feature more than a dedicated LED? Do you find that you miss notifications or that the screen doesn't come on when you'd like?
So far I like it but it is a little sensitive. Some additional controls would be nice.
Moto Connect - Anyone using this regularly? Does it work well?
On my list to test...
Trusted BT Devices - Is anyone using this to bypass pin lock on a corporate account? If so, what device are you using (Pebble smartwatch, jawbone, etc) and how is it working for you?
Trusted BT works well and is a nice feature.
Moto Assist - How is that feature working for you? Do you find it indespensible, or just nice to have?
Camera (post update) - Anyone with the camera update care to elaborate on how you feel about the X as a camera now?
Do not have the update yet.

A list of features that lacks in Windows phone 8

Hi everybody, I would like to make a list of those features that lacks on windows phone, even if we are only at very early stages, maybe with the arrive of unlocks some of them could be added, in future..If you have any suggestions I can edit the list
P.S. I consider the GDR3 improvements alredy achieved (like a decent task manager, FM radio..)
-A FILE MANAGER
(yeah, I know that on the market already exists something, but they are definetly FAR from a real file manager. Anyway nokia/microsoft said that in the next months would come out http://www.tuttowindowsphone.net/wp-content/uploads/2013/08/nokia-lumia-file-manager.jpg , we will see..)
-FLASH PLAYER
(on windows RT exists and works, as in future the WP8 kernel would be almost the same of WinRT, probably we will se it..or at least I hope so)
-LIVE TILE TOOGLE
(Right now we have only shortcuts to settings, would be more useful if the live tile would act directly as a toogle. Maybe someone will give it an attempt :fingers-crossed: )
-A NOTIFICATION LED
(some phones does have the windows logo acting as a led, BUT it works only to notify some battery status (a bit useless..). If it should be used as a proper notification led would be amazing..or at least the camera flashlight could be used for that (ok, this is a desperate suggestion LoL)
-COSTUMIZABLE RINGTONES AND ALERTS RELATED TO THE APP
(A different sound for whatsapp, sms and e-mail. I personally use the phone at 90% in vibration/silent mode, But I know that it could be useful)
-A CUSTOMIZABLE LOCKSCREEN
(I mean lock-patterns and some other useful features..I mean, windows phone 8 lockscreen can be used better, you know..)
-A QUICK WAY TO MANUALLY ADJUST SCREEN BRIGHTNESS
Sometimes the Authomatic sensors don't work well and is necessary to switch the brightness manually.
-A BETTER PUSH NOTIFICATIONS MANAGEMENT (thank's to @Life'sGood for reporting and to @GoodDayToDie for explainations)
Sometimes are delayed
This really belongs in General; it is neither a question (or answer) nor related to troubleshooting.
With that said...
The only thing really standing in the way of an on-device file browser is the need for somebody to write it, but that doesn't mean it'll be worth much to do so right now; until I or somebody else gets more permissions working (ideally, all of them), the amount of the file system which is readable (never mind writable) is extremely small from an app's perspective. To get an idea of what I mean, take a look at my Webserver Native Access app - the all-capabilities version, if you have a Samsung phone - and see for yourself just how little of the system is accessible.
Even completely leaving aside the permissions issue (ha!), Flash player support is somewhat unlikely. First of all, it struggles a little even on the Surface RT, which has nearly twice the CPU power of any WP8 model right now (GDR3 opens the path for quad-core WP devices, but they aren't here yet). Second, the kernel may be the same but the user-space libraries are not; a lot of system components that Flashplayer depends on are probably missing from WP8.
Believe me, such toggles have been attempted, and they will go on being attempted. It'll happen eventually...
Some phones actually have a notification LED, even. There are (unofficial) APIs that could probably be used to control it, too... I wouldn't hold your breath on this one, though. In any case, you won't get colors unless there's actual multiple color elements there to work with; the best you could di is different flash/fade patterns.
Update 3 (GDR3) brings some additional controls over notifications. However, I believe you're right that they still don't offer per-app sounds (though you can set the sound for apps, as a class, I think).
Lock patterns are pretty darn weak and easy to break, but in general I agree with the concept of having more control over the lock screen, and additional features.
Not a problem that I've had, but I can see how it could be. This probably falls under the toggle tiles request, actually; have the ability to create tiles that increase or decrese the brightness.
Sorry for the bad section, I was looking at the same moment at general section and at Q&A and I chose the wrong browser tab, my fault (don't know how to change section)
Anyway thank you for the reply I think that the main problem for indipendent developers is time, because every 18 months windows stops the support on the actual OS and switches to another new (WP8 support is planned to be killed in july 2014, after that it will be an update to extend "phone life" of 6 months, in total: 2 years). After that date will come out another OS but nobody knows if it will be "similar" to WP8 or something totally different (probably the latter option)..and everything probably would start from the scratch. I think that all the OSs producers are making BIG efforts to make you change phones after exately two years LoL
P.S. When I talk about brightness control, I can't figure out how a live tile could directly make it (swiping on it?), it can only turn on/off. My idea was that could be useful something like a swipe on the status bar on the top of the screen, like cyanogenmod does (I don't want to compare android to windows because they are totally a different concept, so I generally don't want to mention functions present in other OSs that could be ported, IMHO it's quite useless thinking in this way.) but I suppose that this is quite impossible on a programmative side :s
You'd have two (small) tiles for brightness control, one to increase and the other to decrease. It would be a little messy and would need to go in significant steps, but it's possible.
I think it's not a bad idea I've just found out that on offical WP8 site exists a section dedicated at suggestions about features to add to windows phone, and many pepole voted on that site..but Microsoft NEVER listened to them LoL probably the task manager improvement in GDR3 will be the first feature accepted by Microsoft from that lists. Anyway the requests on the officiale site are quite the same on my post (file manager is STRONGLY requested)..nobody is asking for flash player or for led notification (quite strange IMHO but that's it).
P.s. any idea about how to reach bootloader (I'm talking about ativ s)? I suppose that with a simple boot is impossible, even pressing a combination of buttons will not work..
There have been multiple items implemented from uservoice, although the custom SMS tones and application closing are certainly notable for having been long-requested and taking until now to be provided.
No idea on the bootloader. I haven't been looking for it in particular, though; not my area of interest.
Technically, you can implement a media stream source to support flash (i believe there is one already on the interwebz).
However, flash is really not meant for mobile devices (which is why very few mobile OSes support flash out of the box), because it wasn't intended to be used on devices with such low computing power. So even if you were to have a flash player, you wouldn't be able to do much with it until your battery drops dead or your phone starts turning into plastic(or aluminum in some cases) soup.
There is also an increasing abuse of flash advertisement all over the internet (which is bad from many points of view), which hurt mobile internet browsing quite a lot on devices with flash support. I just wish google & adobe would stop supporting this dark ages format and move on to HTML 5
Yeah but..just to make a famous example, look at youtube. Many videos are locked down for mobile devices. Combining a flash player and a browser that supports desktop as user agent, you can go beyond this limit. Ok, the result is that it works quite bad, but at least it works..
gigsaw said:
Yeah but..just to make a famous example, look at youtube. Many videos are locked down for mobile devices. Combining a flash player and a browser that supports desktop as user agent, you can go beyond this limit. Ok, the result is that it works quite bad, but at least it works..
Click to expand...
Click to collapse
I don't think that the format (flash) is the problem here, you can always watch these videos with an unofficial app, like Metrotube or Tunetube. And I doubt they use some kind of flash player, it's just not allowed on mobile devices by the uploader/youtube I think.
To the OP, what do you mean with "features that lacks in Windows phone 8", something MS should fix or hackers should provide as features? Because a file manager would completely be against windows phone's locked OS, every app is sandboxed and can't access other app's storage, which has its reasons for security. A file manager will never be possible, except for th case they change the whole OS. On iOS, it's pretty much the same, and with a jailbreak you get a file manager (if you want to). And you can brick the whole system, can make apps crash or even modify them, which would cause a lot of trouble for Microsoft.
I have to try those unofficial apps, I've never considered to use them Regarding the lacking of features I mean that with a system well locked down like WP8 is, I think that microsoft should put more effort to provide some features that nowdays are considered basic (you know, a notification led is useful and doesn't require any particular effort from microsoft or manufacters. Even (real) toogglers are essential but they are not in here..don't know why ) Of course I understand that not all the features can be provided by microsoft due to security reasons, and here comes developers' work
P.S. regarding file manager I suppose that, if it will would ever come out, would have been thanks to developers, but as I said in OP, nokia probably would provide it. Don't know if it's true, but let's see what comes next! Some hours ago at Abu Dhabi, at lumia phablet presentation, came encouraging signals to encrease the number of the apps for windows phone. Ok, it doesn't mean anything and Personally I don't use instagram but more apps means more people that will adopt WP8..and more people will call more developers (hopefully) and micosoft ecosystem would finally start (even if there's to solve the "problem" of Windows RT/Windows Phone, first).
As you said even iOS is closed-source but (even if I don't like making comparisons between OSs because they aren't meant to work in the same way) I think that the interest in that platfom made possible to create the powerful mobile substrate, to make even heavy modifications to the system.
But even without moddings, I mean..iOS now has quite al the essential features that a phone requires (quick and real toogglers, a camera flash that tries to act as a notification led..ok, not a file manager but it has a download folder, a quite "useful" lockscreen, battery percentage..), so IMHO is quite usable out of the box because apple now provides many of the basic features expected to be on a phone. So I think that for apple devices jailbreaking is not as necessary as was in the past. WP8 on the contrary strongly needs a jailbreak because is not a fully mature OS..
ANOTHER FEATURE THAT LACKS (IMHO): the new versions of office are not as useful as office 2010 in windows mobile. Who remembers WM, office 2010 was so similar at the desktop version (even fonts could be changed and added!!!)..but since then, the most part of features disappeared, so office mobile stopped being as useful as it was before for business people nobody will care about that (developers can't do anything for this, and microsoft will never provide those features..but I miss it. So I didn't put this in the list because it's more a "personal" thing.
And I was thinking that even a windows phone with the stylus would be useful especially with one note, that on PCs and tablets is ready to be used with a stylus and I found this fantastic. But even this is a "personal" desire that will never come LoL
::facepalm::
snickler said:
::facepalm::
Click to expand...
Click to collapse
Why? I don't think I'm that wrong, there's no real possibility to have a fully featured file manager on WP, is it?
th0mas96 said:
Why? I don't think I'm that wrong, there's no real possibility to have a fully featured file manager on WP, is it?
Click to expand...
Click to collapse
In my inner eyes i see next user/professional developer asking if there was a patch to adjust screen brightness to personal needs in more than just the dictated three steps.
Answer: Buy an other phone or program your own OS.
A very simple feature is missing, App update notifications from Store.
WP8 now doesn't seems to be telling me when the apps on my phone has been updated unless I went to look for them. Its only then that the tile shows 1 update available. HELLO???!!!
So that means I have to list out the apps I've downloaded and look for each and every single one of their updates?
How can Microsoft and OP miss this one out?
And my clock isn't synced even if I set it to auto, sometimes it jumps AM/PM or even months!
Life'sGood said:
A very simple feature is missing, App update notifications from Store.
WP8 now doesn't seems to be telling me when the apps on my phone has been updated unless I went to look for them. Its only then that the tile shows 1 update available. HELLO???!!!
So that means I have to list out the apps I've downloaded and look for each and every single one of their updates?
How can Microsoft and OP miss this one out?
And my clock isn't synced even if I set it to auto, sometimes it jumps AM/PM or even months!
Click to expand...
Click to collapse
Added in OP
@Life'sGood and @gigsaw: That's a problem with your phone, not the OS as a whole. I guarantee you that WP8 fully supports app update notifications and clock sync. If yours doesn't, that's a problem with your phone, specifically. Blaming Microsoft for it is nonsense and won't help you fix the problem.
Now, as for fixing the problem... do you have an active SIM card in the phone? If so, does it have a data connection? That's most logical reason I can think of for the app update notifications to not appear; no connectivity when the phone tries to check. The clock can sync off the towers as well (also needs a SIM, I suspect) but it can also sync off GPS satellites (which have extraordinarily accurate clocks, and broadcast time signals that anything with a GPS receiver can pick up even if it can't get an accurate locations fix).
The most likely solution, honestly, is to hard-reset your phone. You might want to call support or take the phone in to a Microsoft store or something first, though; hard-reset will wipe the data (though that's most likely what they'll tell you to do anyhow).
GoodDayToDie said:
@Life'sGood and @gigsaw: That's a problem with your phone, not the OS as a whole. I guarantee you that WP8 fully supports app update notifications and clock sync. If yours doesn't, that's a problem with your phone, specifically. Blaming Microsoft for it is nonsense and won't help you fix the problem.
Now, as for fixing the problem... do you have an active SIM card in the phone? If so, does it have a data connection? That's most logical reason I can think of for the app update notifications to not appear; no connectivity when the phone tries to check. The clock can sync off the towers as well (also needs a SIM, I suspect) but it can also sync off GPS satellites (which have extraordinarily accurate clocks, and broadcast time signals that anything with a GPS receiver can pick up even if it can't get an accurate locations fix).
The most likely solution, honestly, is to hard-reset your phone. You might want to call support or take the phone in to a Microsoft store or something first, though; hard-reset will wipe the data (though that's most likely what they'll tell you to do anyhow).
Click to expand...
Click to collapse
Please let me explain why I though it was microsoft's fault: I had an WP7 with a different SIM (but same phone number) and those problems were there for almost Every app I had to update and clock often changed hour. After that I had an Android, at least with date and time no problem..with store of course I can't say after a year of android I switched back to WP8 and the market/time problems happened only a couple of times..but I thought that was something wrong in my phone because here on xda nobody has never talked about it. But I notoced that even whatsapp sometimes misses or delays some notifications with wp8 (with android never happened), and, at least in my country, this is a common problem with many users that complain abouth that, so at least for whatsapp I'm sure it's not my problem. I contacted the support of whatsapp and they said to me, if I remember well, that whatsapp notifications pass trough Microsoft servers, so in their opinion the fault of this problem was microsoft's. So I was thinking that even the other problems are related with Microsoft server's sync..so when another user said to have almost same problem As mine (but As I said, with WP8 happened to me only a couple of times, I don't know if other user has those problems more often), I convinced myself about my theory LoL of course I can imagine I am totally wrong because I don't know how those syncs works and if they work alla in the same way..what do you think about it? Before re-editing the OP I wanted to explain to you the whole situaton because you have for sure better knowledge about that
Push notifications for apps are completely different from update notifications. The latter are polled for, by the OS, at pre-determined times and without the app in question being involved at all; you'll get the update notifications even if you've never run it.
That said, push notifications on WP (7 or 8) are not as quick or reliable as on Android, it's true. The battery impact of push-using apps is lower, though.
Thank's, anyway I will hard reset my device. I have just realized right now that if the glance screen could be ported in future on other devices, a led notification becomes useless (of course, I don't know what is the battery impact on an AMOLED screen..and it's VERY important)
GoodDayToDie said:
@Life'sGood and @gigsaw: That's a problem with your phone, not the OS as a whole. I guarantee you that WP8 fully supports app update notifications and clock sync. If yours doesn't, that's a problem with your phone, specifically. Blaming Microsoft for it is nonsense and won't help you fix the problem.
Now, as for fixing the problem... do you have an active SIM card in the phone? If so, does it have a data connection? That's most logical reason I can think of for the app update notifications to not appear; no connectivity when the phone tries to check. The clock can sync off the towers as well (also needs a SIM, I suspect) but it can also sync off GPS satellites (which have extraordinarily accurate clocks, and broadcast time signals that anything with a GPS receiver can pick up even if it can't get an accurate locations fix).
The most likely solution, honestly, is to hard-reset your phone. You might want to call support or take the phone in to a Microsoft store or something first, though; hard-reset will wipe the data (though that's most likely what they'll tell you to do anyhow).
Click to expand...
Click to collapse
afaik i'm not seeing these features. I did a hard reset but I've yet to see the Nokia Camera, network+ (call filter) update.
I googled and found out this is a system wide issue with almost everybody having this issue. So does a half f'ed apple still counted as an apple?
App update notification this feature is simply not available.
I have a SIM and data connection for my 1020, on Wifi most of the time. Clock doesn't sync at all neither.

[Q] Capture Stylus events before they go to Apps

Reposting from where I previously put this, on the suggestion that folks here might have more idea what I am talking about.
Yes, this is a question but I couldn't see that it fit in better to one of the other forums. If I am wrong please accept my apologies and redirect me, thanks.
I'm trying to work with a custom build of Android based on KitKat to incorporate a stylus, copying some of the functionality (though not code) from Samsung which sells Android-with-stylus builds for e.g. the Note 3. I'm not including details of the specific device because right now I am working on a custom dev device and my aim is to write code which is generic enough to be usable from any Android (based on KitKat). The build (written by others) already incorporates drivers and sends stylus events correctly as motion events etc. Programming at the app level I can receive onHover, onTouch, onClick etc
The specific functionality I am trying to achieve is to pick up a stylus-button-click while hovering. It's perfectly possible to do this in any app, using an onGenericMotion Listener.
However, I want to make my "stylus-action" have system-wide effect - so that anywhere (in any other app, or in the launcher or whatever) I will pick up the event (prior to any other app) and bring up my custom menu. (just like AirCommand in Samsung Note 3) I guess in my custom Android this would then make that particular action somewhat protected or unusable for other users, but I'm ok with that.
In older Android (prior to ICS) you could try something by putting up a System Overlay (i.e in regular app code, without hacking the ROM at all), but this is no longer possible.
This is not an attempt to tapjack or whatever, I understand why this functionality has been removed from the domain of the regular programmer, and I don't want to regress my ROM back to pre-ICS behaviour by allowing the System Overlay hack. Now I am programming the system (if my change is good enough I'd like to submit it back to AOSP) so I would like to know the best method to address this. Since Samsung have already done this, it must be legal (using legal in the terms of "Android will allow it"), and I want to do it right.
Is it possible to write something similar to the System Overlay when you are running from a system service? Or is there a good choke-point to capture events before they are broadcast to the current running apps?
I was looking at (sorry, not allowed to post links) AndroidXRef /frameworks/base/core/java/android/view/View.java specifically in the function dispatchHoverEvent() which looks like a promising place. My naive idea is that I would place code here checking the MotionEvent to see if the button is pressed and if it is, don't call any listeners and instead call my little menu app (or broadcast a custom message, or something anyway). However, I've never written code on the ROM level before (LOTS of experience writing app code) so I don't know if this is a really bad point or a good point to add in code. Should I be putting things at a higher level or a lower one? Will this capture all events or not? Is it all just trial and error?
If this is the wrong place to ask questions like this, please tell me where on XDA I should be asking it. If it's the right place - please answer
Thanks
Kibi

Glass control

So being very new to Glass (only got it on Wednesday 25/06) it is my understanding that the firmware after 16 disabled the 'normal' control via the touched? So versions after this are only capable of back and scroll?
Is there anyway of configuring a program like Remodriod or Tablet Remote so you can use the controls from your phone on Glass? Might sound silly as you could just say use your phone for what your doing but I was more thinking of using it to control the likes of YouTube so I log in and obtain my play lists, also it would stop the need to plug in for control via ADB, for which as a newbie to ADB I'm struggling with commands.
I was playing around with Remodriod and it asked me to set the input in Language and input, for which it didn't pop up like it did on my phone, I assume it is because there is no native option for this on Glass and therefore couldn't obtain the screen for it? Would I need to install the language and input options? Of so where can I get it from?
Has anyone else tried this idea?
Regards
Giles
GiGoVX said:
So being very new to Glass (only got it on Wednesday 25/06) it is my understanding that the firmware after 16 disabled the 'normal' control via the touched? So versions after this are only capable of back and scroll?
Is there anyway of configuring a program like Remodriod or Tablet Remote so you can use the controls from your phone on Glass? Might sound silly as you could just say use your phone for what your doing but I was more thinking of using it to control the likes of YouTube so I log in and obtain my play lists, also it would stop the need to plug in for control via ADB, for which as a newbie to ADB I'm struggling with commands.
I was playing around with Remodriod and it asked me to set the input in Language and input, for which it didn't pop up like it did on my phone, I assume it is because there is no native option for this on Glass and therefore couldn't obtain the screen for it? Would I need to install the language and input options? Of so where can I get it from?
Has anyone else tried this idea?
Regards
Giles
Click to expand...
Click to collapse
I'm glad you've done your research, it gets old telling people the same things over and over again.
As you mentioned, there was a time where you could easily control most apps with the touchpad, but that functionality has since been removed. Besides, there was no way to enter text without some sort of remote; many people managed to use bluetooth keyboards to achieve this, and the combination worked quite well.
In XE16, Google apparently decided that they wanted to make a clear distinction between Glass and Android controls. Apps that don't implement the Glass-specific gesture listeners can't be controlled at all. Even native Android popup windows don't allow you to choose which button you want to select (even if the Languages and Input popup did show up on Glass, you couldn't select the button).
So here we are today, either using the stripped-down, masked version of Android that Google gives us, or fumbling with ADB commands attempting to get that one video on YouTube to play. But there is hope yet. Google gives us rooted boot images, presumably hoping that we will show them something that they haven't done themselves. This tiny 5.5MB file opens up a ton of possibilities, but someone needs to be the middle man that brings these possibilities to the masses.
Thanks to the beauty of open source, we have a clear model of what needs to be done for Glass to work like so many people wish it would.
Port a working recovery image to flash zips to the Glass system folder (Done)
Modify Superuser to function properly given Glass's limited control set
Modify XposedInstaller in the same manner
I have a proof-of-concept Xposed module for Glass that lets me control the Netflix app with the touchpad. It's dirty, and it takes a lot of work to get working, but the concept is solid. Xposed is an incredibly powerful utility. The end goal is to create a Glass-oriented keyboard (think oldschool arcade video game high score screens - "Enter Your Initials").
While my goal is solid and my intentions are pure, I worry that there is a reason Google didn't do this to begin with.
TLDR; I'm working on it.
Many thanks for the response, so the short answer is no. That's a big shame and I hope I haven't just wasted 1k on a peice of eyewear that needs charging halfway thru the day!
I assume there is no way of going back to version 16?
I think it's strange how little development there is with Glass on XDA (I could be wrong but if you look at the likes of the smart watches there seems to be considerably more development) and how inactive this part of the forum seems? considering the idea and in my eyes (no pun intended) cool Glass is hence why I ordered mine as soon as I could here in the uk, so far I haven't met anyone with one, and I'm still getting some strange looks lol
The things that are possible with Glass are amazing. Really wish they had added a rear facing camera, eyes in the back of my head, no, but I can see behind me lol
I am eager to see your work and I will experiment on trying to build your xposed modules (never tried building an apk before) no harm in learning on what is probably the most expensive peice of tech I own lol
GiGoVX said:
Many thanks for the response, so the short answer is no. That's a big shame and I hope I haven't just wasted 1k on a peice of eyewear that needs charging halfway thru the day!
I assume there is no way of going back to version 16?
I think it's strange how little development there is with Glass on XDA (I could be wrong but if you look at the likes of the smart watches there seems to be considerably more development) and how inactive this part of the forum seems? considering the idea and in my eyes (no pun intended) cool Glass is hence why I ordered mine as soon as I could here in the uk, so far I haven't met anyone with one, and I'm still getting some strange looks lol
The things that are possible with Glass are amazing. Really wish they had added a rear facing camera, eyes in the back of my head, no, but I can see behind me lol
I am eager to see your work and I will experiment on trying to build your xposed modules (never tried building an apk before) no harm in learning on what is probably the most expensive peice of tech I own lol
Click to expand...
Click to collapse
I can't say I'm surprised by the lack of activity. Rooting Glass voids the warranty, and with the high price in addition to so many reported issues, not many people are willing to take that risk at the moment.
If you want to get touch controls back, then you'll need to flash down to XE12. See https://developers.google.com/glass/tools-downloads/system. Please be sure to read any warnings and notices. XE12 still doesn't have many options for keyboard input, but you'll have better luck than using XE16+.
Also, the strange looks won't be going away any time soon
jtxdriggers said:
I can't say I'm surprised by the lack of activity. Rooting Glass voids the warranty, and with the high price in addition to so many reported issues, not many people are willing to take that risk at the moment.
If you want to get touch controls back, then you'll need to flash down to XE12. See https://developers.google.com/glass/tools-downloads/system. Please be sure to read any warnings and notices. XE12 still doesn't have many options for keyboard input, but you'll have better luck than using XE16+.
Also, the strange looks won't be going away any time soon
Click to expand...
Click to collapse
The really frustrating thing with my Glass is that I'm still waiting for Google to get back to me about the 'split framed' version they should of sent me instead of the current standard version I have!
I requested a call from Google shortly after I received them asking the above question but they couldn't find my order, sure enough they have taken my money but can't find my order number, nor my Gmail address or the serial number for my Glass device! A little concerning that Google of all people couldn't find my info! I'm still waiting for an email back 3 days later! Longest Google search in history lol

Moto Display Possible on CM?

Hello XDA!
I was wondering if its possible to install and run the original Moto Display application on my device. My device is a Moto X 2014 (Pure Edition) running Cyanogenmod 14.1. I have tried alternatives such as DynamicNotifications, ACDisplay, and Cyanogenmod's own Ambient display, but none compared to how Moto Display feels. I've tried installing the application from the Play Store but once I open the "Display" portion of the Moto app, the app crashes and goes to the main screen. Any help at all would be appreciated. Thanks again and I look forward to my first XDA Thread.
Hi man!
I get that this is your first thread, but this has been discussed a million times. You'll never get Moto Display or Voice on any ROM that is not stock. They're closed source apps and there's nothing we can do about it, not even workarounds because the lads at Google are greedy bast*rds which have hijacked most of the features in Android, the most notable one being, guess what, voice control.
Flipz77 said:
Hi man!
I get that this is your first thread, but this has been discussed a million times. You'll never get Moto Display or Voice on any ROM that is not stock. They're closed source apps and there's nothing we can do about it, not even workarounds because the lads at Google are greedy bast*rds which have hijacked most of the features in Android, the most notable one being, guess what, voice control.
Click to expand...
Click to collapse
Thanks for your help. I am sad that its a close sourced app but I guess there's nothing I can do about it. Thanks you for assisting me in this matter.:good:
You're welcome I also used CM14 for some time until I realised that workarounds for Display weren't the same thing, that replicating Voice functionality was a lost cause, and that I needed some Xposed-related features for my job (such as disabling the proximity sensor).
I settled on stock 6.0 with N-ify and N Navbar, which do a pretty good job at making this phone feel up-to-date.
It's a setup I would suggest to anyone looking for a feature-minded compromise, even if multiwindow is absent and quick reply only works to a certain extent.

Categories

Resources