Hello,
I would like to know which method you need to use to access the unlock screen and replace it (something like SlideUnlock or Widget Locker). I want to design an app which could work on any phone even those without a custom ROM. This app would then be overriding the default Lock Screen.
You probably need to create a service but I can't seem to find a source code or a good tutorial on it.
moufoo said:
Hello,
I would like to know which method you need to use to access the unlock screen and replace it (something like SlideUnlock or Widget Locker). I want to design an app which could work on any phone even those without a custom ROM. This app would then be overriding the default Lock Screen.
You probably need to create a service but I can't seem to find a source code or a good tutorial on it.
Click to expand...
Click to collapse
Not exactly an app but this tutorial should give you some idea about what your trying to do:
TUTORIAL - modding lockscreen/framework-res.apk
I actually found one tutorial but it is kind of messy and lacks in-code comments:
playingwithandroid(dot)blogspot(dot)fr/2012/07/making-customize-lock-screen(dot)html (can't post links yet).
I am further studying the Broadcast and Service implied and will keep this forum posted for any update.
moufoo said:
I actually found one tutorial but it is kind of messy and lacks in-code comments:
playingwithandroid(dot)blogspot(dot)fr/2012/07/making-customize-lock-screen(dot)html (can't post links yet).
I am further studying the Broadcast and Service implied and will keep this forum posted for any update.
Click to expand...
Click to collapse
I know this is an old post. But I was wondering if you found what you were looking for. I recently developed an interest in this and wanted to customize my own unlocking screen animation. But I can't seem to find a good tutorial on it
Related
So I completely understand that we don't currently have an unlocked bootloader, and that the bootloader is encrypted, and the you may or may not have to have an unlocked bootloader in order to create custom ROMs.
This thread is NOT intended to be a discussion of that at all, instead I simply wanted to put out there that Cornerstone built into the ROM would be way cool, and those guys put the source code out there for this.
So, since I am asking for a dev to cook a ROM when they can that includes Cornerstone (for info: http://groups.google.com/group/cornerstone-dev), what can I do to help?
thanks!
There are already threads for suggestions,
What exactly is corner stone
sent from my Atrix via XDA premium
I'm guessing something that lets you use two apps at once? Putting them side by side or something like windows 8?
Have clicked on the link and checked the info there but havent really found a description that makes sense but sure looks interesting!
It lets you have one large main app and two smaller app windows to the side in a slide out window. Looks pretty cool.
Agreed
i would like the two apps at once and also the ability to pin apps to the to the status bar
The problem is that you need the Android sourcecode to implement it the way it's meant to be implemented.
But Asus won't give us their sources
Diamondback said:
The problem is that you need the Android sourcecode to implement it the way it's meant to be implemented.
But Asus won't give us their sources
Click to expand...
Click to collapse
Asus is a party pooper.
Dear All,
Recently got a Chinese phone from the net running ICS. I set the language to English, but some cuneiform text appears below the name of the people calling me. Is there any way to fix this?
theblackalchemist said:
Dear All,
Recently got a Chinese phone from the net running ICS. I set the language to English, but some cuneiform text appears below the name of the people calling me. Is there any way to fix this?
Click to expand...
Click to collapse
Other than a custom rom or knowing how to decompile the apps and edit out the coding, probably not. Only possible easy solution that might or might not (probably not...) would be to make sure the locale is set to an English speaking country using something like this: https://play.google.com/store/apps/details?id=com.bruce.setlocale
Thanks.
I am not intimidated my code as such (fluent in c++) but it'll take some time to understand android... Any idea which app I should look at? considering android is open source, I can probably patch the change in, create a replacement app and see if that works...
KR
TBA
theblackalchemist said:
Thanks.
I am not intimidated my code as such (fluent in c++) but it'll take some time to understand android... Any idea which app I should look at? considering android is open source, I can probably patch the change in, create a replacement app and see if that works...
KR
TBA
Click to expand...
Click to collapse
It's most likely either in something like a LocationProvider.apk (/system/apps) or the phone/dialer apk. If you are rooted, I'd try and free the LocationProvider,apk and see if that doesn't help. Try the easy stuff first. But I'd poke around in a thread like this: http://forum.xda-developers.com/showthread.php?t=1891962 or something similar that deals with this idea on porting Chinese roms to English.
Or you could just be lazy and see if installing another Contact/Dialer app from the Play Store just circumvents the whole deal.
Already tried using a caller id app, its more of a hit and miss... I was wondering what would happen if I just happen to replace the apps you mentioned from those of stock android? does that make sense?
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
Crickets....
Is this the wrong forum to ask? Anyone able to clue me in on where i should be asking?
Thanks
Last try
Bumping one more time for good luck.
if this is the wrong forum, please can someone point the way to the right forum for me
Thanks
Kibi
kibi1 said:
Bumping one more time for good luck.
if this is the wrong forum, please can someone point the way to the right forum for me
Thanks
Kibi
Click to expand...
Click to collapse
this is not a wrong section but your post is too long so no one intrested to wasting time to read whole post.even i haven't read the post
kibi1 said:
Bumping one more time for good luck.
if this is the wrong forum, please can someone point the way to the right forum for me
Thanks
Kibi
Click to expand...
Click to collapse
The guy above me is a ****. I stumbled across this post looking for something completely unrelated (title interested me). Five words in I knew this was something completely out of my league, but I still read the entire post. If I may offer you some probably useless advice, I would talk to the devs in the note forums. The only problem I could see is that the AOSP guys don't have this function in their roms because it's locked up Samsung code and the guys modding the stock roms leave it alone for the same reason. I could also be completely wrong. Like I said completely out of my league.
I got Carbon successfully installed and love it! But one thing I miss is how easy it is to stop users from browsing my private data when I hand my phone over to them (Emui Privacy Protection, google (in quotes) Hide Your Contact, Album and App)
I figure with Carbon the closest equivalent is the guest account?
If it isn't, please clue me in, but if it is, my phone is limited to one user account when I can't force fw.max_users=4 to stick.
pm get-max-users keeps going back to 1 after every reboot.
Does anyone know of an alternative locking functionality to that emui awesomeness I had before? Or is there a way to make guest work?
Sorry to make y'all google above, I'm a newbie and am not allowed to add url's to this post
nccsa186 said:
I got Carbon successfully installed and love it! But one thing I miss is how easy it is to stop users from browsing my private data when I hand my phone over to them (Emui Privacy Protection, google (in quotes) Hide Your Contact, Album and App)
I figure with Carbon the closest equivalent is the guest account?
If it isn't, please clue me in, but if it is, my phone is limited to one user account when I can't force fw.max_users=4 to stick.
pm get-max-users keeps going back to 1 after every reboot.
Does anyone know of an alternative locking functionality to that emui awesomeness I had before? Or is there a way to make guest work?
Sorry to make y'all google above, I'm a newbie and am not allowed to add url's to this post
Click to expand...
Click to collapse
Can you try posting urls like:
www dot Google dot com
or
wwwXgoogleXcom
?
divineBliss said:
Can you try posting urls like:
www dot Google dot com
or
wwwXgoogleXcom
?
Click to expand...
Click to collapse
The URL that comes up when you google "Hide Your Contact, Album and App" is too long to do that, but it comes up instantly with the exact results that I'd paste anyway.
I just wanted to illustrate the feature that I am missing and wish I could make work in Carbon. Thinking about reverting to emui just for that feature, but if I did that I'd feel so inadequate, having worked so hard to get twrp and carbon installed.
Dual Boot:
http://forum.xda-developers.com/ascend-mate2/themes-apps/patcher-multi-boot-t3222899
You can have multiple ROMs at once. Highly recommended by me .
divineBliss said:
Dual Boot:
http://forum.xda-developers.com/ascend-mate2/themes-apps/patcher-multi-boot-t3222899
You can have multiple ROMs at once. Highly recommended by me .
Click to expand...
Click to collapse
Yeah, what I need though is more like what's available in the emui stock os, where you can lock your phone, unlock it with an alternate pin, and the temporary user can't open any but the apps you specify.
Rebooting to a separate rom is too much trouble for handing the phone off for 30 secs.
Have you seen the emui privacy protection feature? Pretty cool.
I'll probably just use screen pinning; not quite as good, but it works.
You could use stock ROM most of the time when you know you might have to share the phone, and make Carbon your secondary to use only when you won't be likely to need to share phone.
divineBliss said:
You could use stock ROM most of the time when you know you might have to share the phone, and make Carbon your secondary to use only when you won't be likely to need to share phone.
Click to expand...
Click to collapse
That would be one solution.
Since I posted this two days ago, I've experiment with the screen pinning tool, and also I DID successfully add another user account, so switching users should be a good solution.
You'll have to forgive me; I work in IT Security. One just doesn't hand over one's information to another user!!
Isn't there a Carbon thread. Maybe ask Carbon questions in there.
There are app lockers out there like this. What you do is choose an app you want to lock (for example, Gallery) and then you choose when to lock it and how to unlock it.
Can anybody please tell me what happened to the Google search bar (see screenshot)? Anyone else got this problem?
mielnoir said:
Can anybody please tell me what happened to the Google search bar (see screenshot)? Anyone else got this problem?
Click to expand...
Click to collapse
You need to.opwn a new thread for this ? Entire xda get f*cked by opening new useless threads like this.
Pandemic said:
You need to.opwn a new thread for this ? Entire xda get f*cked by opening new useless threads like this.
Click to expand...
Click to collapse
What "useless"? Searching for a useful answer and not for such a useless comment! Tried to find something in the web. Couldn't find anything regarding my request. Since my last device restart the Google search looks like in my screenshot. Square, simple and without the "G" logo and microphone.
mielnoir said:
What "useless"? Searching for a useful answer and not for such a useless comment! Tried to find something in the web. Couldn't find anything regarding my request. Since my last device restart the Google search looks like in my screenshot. Square, simple and without the "G" logo and microphone.
Click to expand...
Click to collapse
Then blaim google for that or maybe update tje google app or install another launcher.
Pandemic said:
Then blaim google for that or maybe update tje google app or install another launcher.
Click to expand...
Click to collapse
Don't wanna blaim anything nor anyone. I just wanna know if it is normal and if someone else's got the same look of the search bar. Is it kind of new design or is it an ui failure on Sony devices. That's all. Hope some useful answers will follow!?
mielnoir said:
Don't wanna blaim anything nor anyone. I just wanna know if it is normal and if someone else's got the same look of the search bar. Is it kind of new design or is it an ui failure on Sony devices. That's all. Hope some useful answers will follow!?
Click to expand...
Click to collapse
The google searchbar is by google made and nothing related to Sony, so probarly the fault by google
Pandemic said:
The google searchbar is by google made and nothing related to Sony, so probarly the fault by google
Click to expand...
Click to collapse
Yes I know. But it's kinda implemented in the Sony UI. And no one else of my friends with smartphones from different brand got the Search bar looking like in my Sony at the moment. And I don't mean the widget. I am talking about the Sony Homescreen setting option.
That's a Google mandated feature for "Android" phones. A lot of people change launchers to get rid of the search bar. You could do the same to change it.
I quickly switched back to the Xperia Home launcher to take a look and yes my google search bar is the same as yours now. All generic looking rectangle. I tried changing the way it looks in the google app, I tried clearing cache and data of both the google app and the xperia home app, and nope, it stays that way. It maybe a bug introduced by Sony, or it maybe on purpose, we will never know. Sony's customer service is one of the worst ones out there when it comes to communication so asking them will probably never work.
(I use nova, but unlike all these "elitists" I do not scold ppl for using something they prefer and I try to help them if I can, so on the behalf of the old xda when there used to be more helpful ppl compared to the current generation, I apologize)
kevinmcmurtrie said:
That's a Google mandated feature for "Android" phones. A lot of people change launchers to get rid of the search bar. You could do the same to change it.
Click to expand...
Click to collapse
While it maybe mandatory to have the search bar a part of the launcher, it is not forced upon the user they way you mentioned, as we can opt to not show the search bar in the Xperia Home launcher settings. We don't need to change launchers just to get rid of it like how you implied.
hotcakes_shinku said:
I quickly switched back to the Xperia Home launcher to take a look and yes my google search bar is the same as yours now. All generic looking rectangle. I tried changing the way it looks in the google app, I tried clearing cache and data of both the google app and the xperia home app, and nope, it stays that way. It maybe a bug introduced by Sony, or it maybe on purpose, we will never know. Sony's customer service is one of the worst ones out there when it comes to communication so asking them will probably never work.
(I use nova, but unlike all these "elitists" I do not scold ppl for using something they prefer and I try to help them if I can, so on the behalf of the old xda when there used to be more helpful ppl compared to the current generation, I apologize)
While it maybe mandatory to have the search bar a part of the launcher, it is not forced upon the user they way you mentioned, as we can opt to not show the search bar in the Xperia Home launcher settings. We don't need to change launchers just to get rid of it like how you implied.
Click to expand...
Click to collapse
Thank you very much. That's kind of answer I was looking for. Just wanted to know if someone else got the same. So I don't have to look for a solution or start troubleshooting. Will stay with. For voice requests I can still use the assistant button and for the rest the search bar is still working the same.
I'm on stock Android 12 with stock Sony launcher. Mine looks the same as always
EDIT MODERATION​
I would like to remind you that we are here to share knowledge, but also to help in our comments.
But I would also like to remind you that it is good to research and read before posting a question (xda forum rule #1), as you may not be the first to ask that question.
Sometimes some people should reread the forum rules, especially the one concerning courtesy in answers or questions:
Rule #2.3 => ... 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.
Click to expand...
Click to collapse
3. Post using a clear and descriptive subject and message.
You're most likely to receive a helpful answer to your question, if you use a short subject title that describes your problem and a message that explains in detail, what your problem is and what you've done to try solving it.
Click to expand...
Click to collapse
Thank you for your comprehension and have a nice day
Sib64 - Moderator
hotcakes_shinku said:
I quickly switched back to the Xperia Home launcher to take a look and yes my google search bar is the same as yours now. All generic looking rectangle. I tried changing the way it looks in the google app, I tried clearing cache and data of both the google app and the xperia home app, and nope, it stays that way. It maybe a bug introduced by Sony, or it maybe on purpose, we will never know. Sony's customer service is one of the worst ones out there when it comes to communication so asking them will probably never work.
(I use nova, but unlike all these "elitists" I do not scold ppl for using something they prefer and I try to help them if I can, so on the behalf of the old xda when there used to be more helpful ppl compared to the current generation, I apologize)
While it maybe mandatory to have the search bar a part of the launcher, it is not forced upon the user they way you mentioned, as we can opt to not show the search bar in the Xperia Home launcher settings. We don't need to change launchers just to get rid of it like how you implied.
Click to expand...
Click to collapse
Just done the same test also. I can confirm I have the same issue.
Currently on FW 61.1.A.11.36 if it makes any difference.
I use Lawnchair so this issue doesn't really effect me, but still Sony should fix it.
defsix said:
Just done the same test also. I can confirm I have the same issue.
Currently on FW 61.1.A.11.36 if it makes any difference.
I use Lawnchair so this issue doesn't really effect me, but still Sony should fix it.
Click to expand...
Click to collapse
Found the same request in the Sony Support Forum but no answer/response yet.
Sony Xperia 5 II Search bar is strange
I have a strange search bar. I made a screen capture video and took a picture from it, of topic question, can you make a screen copy of the home screen in an android phone? As you see in the bottom the search widget is square and not with the Google G. Just the word Sök, Swedish for search...
community.sony.co.uk
FYI: Issue got solved due to the current Google app update!