Any API to access the back screen touch? while main screen is on. - ZTE Nubia X Questions & Answers

For research purposes, I need to access touch points on the back screen while main screen is on.
Nubia shows that the back screen can be used in gaming for example as trigger.
I want to access that, is there any API or function calls? Thanks.

tcboy88 said:
For research purposes, I need to access touch points on the back screen while main screen is on.
Nubia shows that the back screen can be used in gaming for example as trigger.
I want to access that, is there any API or function calls? Thanks.
Click to expand...
Click to collapse
Hi,
check the file provided below.
Maybe that helps.
https://mega.nz/#!r2B0FaqA!0sUXv3kfg-LiyACUzFGEvxk9tqCvbIxkhZYsvT8wpNE
Cheers

Related

howto turn off Adobe Reader View Full Screen

You can turn on View Full Screen with the Adobe Reader 2.5 LE. Should have a button for its easy access, but I can survive that. After I get full screen, how do I get back? The menu is gone. I don't find any way to get back to normal. Since I cannot going back to normal (non-full screen), I cannot find out the current page number. Without a bookmark, how else can I resume reading?
On the other hand, the reader sometimes spontaneously switches back to normal mode. I don't know why, and I need to use the long sequence to get inside full screen mode again. So it is rather annoying. I suppose there is some notifications on the task bar.
Tap on the top area where the menu would normally be, and it will return.
already discussed here (and a few solutions):
http://forum.xda-developers.com/showthread.php?t=617617
donalgodon said:
Tap on the top area where the menu would normally be, and it will return.
Click to expand...
Click to collapse
Thanks Even with this info, I have to try several times to get it right. It is so difficult to touch the top pixel of the screen with my finger. I might have accidentally done it before but until now I never knew what un-fullscreened the reader.
And the double tap. I wonder how I didn't think of it. I have been long pressing it in trying to get a popup menu.

[App In Progress] Touchfree Navigation using sensors!!

Everyone in this forum (well there are exceptions) and using HD2 have issues with hard buttons, including myself, while working my Proximity Screen Off app, I thought of a completely new way of navigation for HD2!! How about using combination of sensors??
1) Shake to go back to home
2) If proximity sensor blocked less than a second go Back
3) If proximity sensor blocked less than 2-3 seconds and more than 1 second trigger
menu.
4) If proximity sensor blocked more than 3 seconds launch search
Haven't started on this yet, I need to know if this community really needs an app like this. Also please share your ideas!!!
I think it would be awesome, especially to show off
Might cause problems if the screen accidentally comes on while in your pocket.
Otherwise I like the concept.
Seems like that could have a lot of flaws, because wat if the sensor get blocked by accident while navigating through traffic
Sent from my htc_bravo using XDA App
itsme_4ucz said:
Everyone in this forum (well there are exceptions) and using HD2 have issues with hard buttons, including myself, while working my Proximity Screen Off app, I thought of a completely new way of navigation for HD2!! How about using combination of sensors??
1) Shake to go back to home
2) If proximity sensor blocked less than a second go Back
3) If proximity sensor blocked less than 2-3 seconds and more than 1 second trigger
menu.
4) If proximity sensor blocked more than 3 seconds launch search
Haven't started on this yet, I need to know if this community really needs an app like this. Also please share your ideas!!!
Click to expand...
Click to collapse
Mmmm i dunno i think the seconds issue is a bit difficult bcz not everyone is able to guess how many seconds passed everytime
!
I guess that a navigation based on acceleration values and sensors is a good idea:
I mean say:
1) Shake to go back to home (<--- ur idea excellent)
2) If proximity sensor blocked then trigger menu
3) Positive or negative values of acceleration along Z (vertically) determines going up and down
4) Positive or negative values of acceleration along X (horizontally) determines navigating left or right
I don't know if that can be done and how It's just an idea
Thanks for your effort
I like the shake idea using the g sensor, but the proximity sensor isn't really in an area that is easily accessible with your finger
Sent from my HTC bravo using XDA App
mm... interesting idea
but i'm not sure it will be very useful though... for me
I've not had any problems with my hard keys so not sure that this would do it for me.
However I have always thought that albums (photo and music) should go through the pictures/album covers if your device was tilted to the left or right.
On second reading you're not talking about adding this feature to apps are you, just to have some new menu and home ideas!!
is it posible to use gesture on gsensor? like moving your handset in circle to "search", move your phone from right to left to go "back"?
honestly I think this would be impractical and a waste of time.
I like the idea of G Sensor doing things though, like maybe shake to launch an app or an address to map to or something like that.
If you can solve all the technicalities, I believe this would be awesome. I guess the software would have to have a value of:
Locked screen = normal proximity sensor
More than 5 seconds blocked plus angle = call = screen off
On the other hand, what about shake the phone and a bar with soft buttons comes up on the bottom of the screen covering the launcher and not the icons, shake or press a swipe the bar and the bar goes off.
Wish I knew programming.
What about shake phone to wake up?
Not unlock but just wake up as is this is the most used action which involves hardware keys.
***sorry about my english***
indrema said:
What about shake phone to wake up?
Not unlock but just wake up as is this is the most used action which involves hardware keys.
***sorry about my english***
Click to expand...
Click to collapse
so your phone is turning on in your pocket when you walk? not good
i'd say do it, but that way that blocking proximity for a tiny bit (very short, like just swype over with hand)) will bring up menu such as Vol +- (overlayed over any app) and it contains back, menu search etc...any block longer will be overlooked(so it's not doing if u sheild ur phone from sunlight or hide it in school(lol)
for waking up u can already use all buttons so shift them.
Nice idea.
I think gestures on screen with fingers are better.(if it's possible)
Like: Move with 2 fingers from right to left would be the same as a click on the "back button".
Edit:
Otherwise... i think there are some Apps who have some of these gestures... There might be problems.. :/
Please work on an app for this. That would be awesome. The proximity app is is so useful too
Or maybe just implement most used or just one or two functions like search, back, menu, etc.
Or even better let it be user defineable.
Sent from my HTC HD2 using XDA App
Not a bad idea...it certainly would be in invention worthy of the name.
And it would also make our lovely HD2s super marvelous!!!!!.......atleast for showing off!!
App Button Savior has all of it. It is faster than using the proximity.
1. This would surely be usefull if you are in a car and must navigate through the menu/programm.
(button savior icons are too small for this if you are in a car)
usefull for back/forward/start programm like google voice etc etc.
2. Option automatic activate the app if the phone is hooked to micro usb.

Can the lock screen app shortcuts be changed?

Does anyone know how to change which apps are shortcuts on the lock screen? Currently, I can drag the lock ring right to unlock, up for phone, left for camera, and down for text messaging. I'd like to replace the down shortcut with Google Voice.
I am running the JB soak test with root.
Thank you!
BAMF said:
Does anyone know how to change which apps are shortcuts on the lock screen? Currently, I can drag the lock ring right to unlock, up for phone, left for camera, and down for text messaging. I'd like to replace the down shortcut with Google Voice.
I am running the JB soak test with root.
Thank you!
Click to expand...
Click to collapse
I asked the same question at androidforums in the Photon Q section there. From the answers I received (or lack thereof), my guess is that they can't be changed without changing the lock screen altogether. Apps like GoLocker (which I believe requires GoLauncher EX also be installed) or WidgetLocker (a paid app) will do the trick, but if there is a way to do it with an out-of-the-box phone, I have yet to find it.
Since I'm here, I'm wondering, does the Photon Q have the ability to turnt he lock screen off? as in, you can set the phone's home screen or whatever you were last doing to come up when you hit the power button to turn the screen back on, instead fo going tot he lock screen. I would assume that ability is retained, but since Moto apparently changed the lock screen, I wonder if they removed that function thoughtlessly, as some are known to do.
Falkner09 said:
Since I'm here, I'm wondering, does the Photon Q have the ability to turnt he lock screen off? as in, you can set the phone's home screen or whatever you were last doing to come up when you hit the power button to turn the screen back on, instead fo going tot he lock screen. I would assume that ability is retained, but since Moto apparently changed the lock screen, I wonder if they removed that function thoughtlessly, as some are known to do.
Click to expand...
Click to collapse
yes you can set the phone up in JB to have no lock screen. Hit power button and return to last screen viewed.:good:

How does the screen-off-gesture-detection work?

I'm wondering how the feature in the OPO that recognize screen gestures, while the screen of the device is off, actually works? For example, the feature to double tap to awake the phone, or draw a circle to open the camera app. Does the screen really been turned off, or actually the screen is on, and just the screen is black. (this way the screen is on, hence can recognize the gestures, and on the other hand save battery energy).
Thanks!
itanbp said:
I'm wondering how the feature in the OPO that recognize screen gestures, while the screen of the device is off, actually works? For example, the feature to double tap to awake the phone, or draw a circle to open the camera app. Does the screen really been turned off, or actually the screen is on, and just the screen is black. (this way the screen is on, hence can recognize the gestures, and on the other hand save battery energy).
Thanks!
Click to expand...
Click to collapse
The display (what you seem to call the screen) is one thing and the touch digitizer is a different thing. The display turns off, but the touch panel stays active and listens for taps/gestures.
The Dork Knight Rises said:
The display (what you seem to call the screen) is one thing and the touch digitizer is a different thing. The display turns off, but the touch panel stays active and listens for taps/gestures.
Click to expand...
Click to collapse
Ok, and from development point of view, can one build an android app running on OPO that listens for gestures while the display is off? Meaning allowing the user to define gestures and their actions, expanding the OPO limited fixed gestures and their actions?
Thanks.
itanbp said:
Ok, and from development point of view, can one build an android app running on OPO that listens for gestures while the display is off? Meaning allowing the user to define gestures and their actions, expanding the OPO limited fixed gestures and their actions?
Thanks.
Click to expand...
Click to collapse
I don't think an app can do it. I think (if it is at all possible to add custom gestures) it'll have to be done in the kernel.

Tested Smart Unlock with NFC tags

So I bought a few cheap nfc tags from China and used one for the Smart Unlock. Since mxp doesn't have fingerprint sensor, I guess having a Skip alike thing would be the next best thing. Very easy to setup, just go to Security menu, Smart Unlock (you must have pin or pattern lock), add Trusted Devices, pick NFC then put the tag behind the phone. Give it a name and thats it. The only hassle with this unlocking method is you have to wake up the phone then only it will read the tag. Skip has a magnet built in that wakes up the phone automatically. Oh and another not so good thing is you have to lock the phone using the power button in order for the unlock to work. Whenever I lock using Nova's Screen Lock or Greenify's Hibernate and Lock, it just didn't work.
Update on diy skip. Now I no longer needs to press the power button to lock/unlock the phone. With root access, use Tasker and Secure Settings plugin to emulate power button press when display is off (run command - input keyevent 26). Then use Nova launcher's screen lock shortcut gesture (double tap, swipe up/down etc) to complete the process. I have a small magnet taped to the nfc tag, so when I slowly swipe from the side, the magnet wakes up the screen and then nfc takes over to unlock.
pijes said:
Skip has a magnet built in that wakes up the phone automatically.
Click to expand...
Click to collapse
Hi Pijes, I didn't understand what do you mean by Skip or magnet. Could you explain? Thanks!
You broght it from taobao?
quera said:
Hi Pijes, I didn't understand what do you mean by Skip or magnet. Could you explain? Thanks!
Click to expand...
Click to collapse
Motorola has a product called Skip which utilize the NFC chip to bypass the lockscreen. If you have been using some Moto phones, you should know that most of them has a magnetic sensor that is used for the docking (older Moto phones have dock accessories). The dock has a tiny magnet that when the phone detects it, it automatically turns the phone into a desk clock or navigation mode when attached to a car dock if I'm not mistaken. It seems that Moto maintains this sensor in newer phones, it is located at the back and in MXP case, somewhere in the center. If you have Skip, you attach it to your belt so when you pull the phone out from your pocket, all you need is a swipe on Skip and the phone is unlocked. I believe what happens is the phone detects the magnet, wakes up the phone (still locked) and then it detects the NFC tag inside Skip to unlock.
So I bought some NFC tags, got small magnet from my busted laptop hard disk, taped them together and attach it to my belt. If you don't have the magnet it is still possible to tap on the NFC tag to unlock but you have to enable Moto Display. When you pull your phone out, you'll see the clock, swipe down to get to the lockscreen (pin/pattern/password lock) and then tap on the tag to unlock.
eliccs said:
You broght it from taobao?
Click to expand...
Click to collapse
Not directly from TaoBao but surely from China
Anyone else with experiences ? I was able to register the nfc tag but unlocking on the pattern lock screen didnt work. There was a sound when putting the nfc tag behind the device (so i guess somehow the nfc reader worked) but the unlock failed.
Maybe its only working if i have some special services switched on?
aVe2000 said:
Anyone else with experiences ? I was able to register the nfc tag but unlocking on the pattern lock screen didnt work. There was a sound when putting the nfc tag behind the device (so i guess somehow the nfc reader worked) but the unlock failed.
Maybe its only working if i have some special services switched on?
Click to expand...
Click to collapse
How did you lock the phone? By pressing the power button or a shortcut app?
pijes said:
How did you lock the phone? By pressing the power button or a shortcut app?
Click to expand...
Click to collapse
Usually the power button. Sometimes maybe because of the auto lock after some seconds (i set it to 30). I am not sure what you mean with shortcut app.
aVe2000 said:
Usually the power button. Sometimes maybe because of the auto lock after some seconds (i set it to 30). I am not sure what you mean with shortcut app.
Click to expand...
Click to collapse
Our phone has a default app that detects the nfc chip, it's called Tags. I believe this app made the sound, if you're at the home screen (unlocked) and place the tag at the back of the phone you'll hear a sound and a popup message asking what to do even if you already registered the tag for smart unlock. I disabled this app to get rid of the sound and notification.
What I mean with the shortcut app is something like double tap to sleep or lock the phone. Greenify and Nova launcher app also has a shortcut to lock the screen. If you use this method to lock the phone, smart unlock won't work.
pijes said:
Our phone has a default app that detects the nfc chip, it's called Tags. I believe this app made the sound, if you're at the home screen (unlocked) and place the tag at the back of the phone you'll hear a sound and a popup message asking what to do even if you already registered the tag for smart unlock. I disabled this app to get rid of the sound and notification.
What I mean with the shortcut app is something like double tap to sleep or lock the phone. Greenify and Nova launcher app also has a shortcut to lock the screen. If you use this method to lock the phone, smart unlock won't work.
Click to expand...
Click to collapse
if my phone detects a nearby nfc, even if it is registered with smart lock, there is a black screen only saying:
new tag detected
empty tag
(or similiar, i have a german version). There is no menu, no arrows nothing. Only those two text fields. I cannot find an app called Tags (via autostarts tool or settings|apps list).
aVe2000 said:
if my phone detects a nearby nfc, even if it is registered with smart lock, there is a black screen only saying:
new tag detected
empty tag
(or similiar, i have a german version). There is no menu, no arrows nothing. Only those two text fields. I cannot find an app called Tags (via autostarts tool or settings|apps list).
Click to expand...
Click to collapse
In settings-Apps screen, press the 3 dot menu and choose show system
Can someone enlighten me why this is useful? I mean, if you have Tasker and root you can use Secure Settings to unlock by WLAN or location (in LP that is), and if you are going to literally stick the key on the back of the device, why even set a lock at all? I would understand if the tag was in your wallet or your jacket or on your desk, but literally on the device?
Who said about sticking the key on the back of the device?
Oh, the magnet is just to wake up the screen. I must have read over that too quickly.
I want to apologize. I was wrong about not working my nfc tags. I simply missed that pretty little detail: nearing the nfc tag while in lock screen. I always tried to unlock while beeing in the screen before the unlock screen.
So, everything is fine now. I am using a stylish nfc ring beeing very happy with it.
Update, 2.2.2016: No, not everything is fine. I came across a bug or intended feature. The lock functionality is disabled after some time not using the phone, according to this:
this is a lollipop behavior.
According to this, nephiel made a workaround for at least MM.
Here is the bug report for this issue.
Does anyone else use the nfc ring or another nfc tag for unlocking?
Regards.

Categories

Resources