How Floatifications was built - Tutorials - Online Courses, Schools, and Other External Resour

For anyone who may find it useful or is just curious I'm going to start posting about how parts of my app Floatifications works, specifically things which aren't well documented or that took me a while to figure out.
I've started with how it captures the notification content on 4.3+ which can be found on my site here.
I have a few ideas for other posts like the different ways to draw on screen (on the lockscreen, over the status bar etc) but if anyone has anything specific they'd like to know let me know and if it's something that could benefit others I'd be happy to do a post on that too.
(Btw hope this is the right section to post this)

Related

[Q] Creating a new lockscreen

I would like to develop a new lockscreen for the my Vibrant. I've looked at some of the app versions. I like the concepts, but it seems like a lot of people complain about battery life and lag of the screen. I would like to make an actual lockscreen, not an overlay.
I am currently running Bionix 1.2.1. I would like to either add the lockscreen as an option on the menu provided in the Bionix Rom or flash the lockscreen in clockwork.
My first questions is, is this possible? Second question is how, or where is there somewhere i can look to get started?
I've looked around in the forums and I haven't seen any guides or any good info on this.
This would be my first jump into development for Android, but I'm willing to put in the time and effort as long as I can find a starting point in this area or get some help.
If this is built deep into the ROM and a difficult process I can find a different project, but I'm always up for a challenge. Any help would be appreciated.
MechDan said:
I would like to develop a new lockscreen for the my Vibrant. I've looked at some of the app versions. I like the concepts, but it seems like a lot of people complain about battery life and lag of the screen. I would like to make an actual lockscreen, not an overlay.
I am currently running Bionix 1.2.1. I would like to either add the lockscreen as an option on the menu provided in the Bionix Rom or flash the lockscreen in clockwork.
My first questions is, is this possible? Second question is how, or where is there somewhere i can look to get started?
I've looked around in the forums and I haven't seen any guides or any good info on this.
This would be my first jump into development for Android, but I'm willing to put in the time and effort as long as I can find a starting point in this area or get some help.
If this is built deep into the ROM and a difficult process I can find a different project, but I'm always up for a challenge. Any help would be appreciated.
Click to expand...
Click to collapse
It's built-in quite deep, a lot of files need to be edited. Whitehawkx actually PMed me on how to do this the other day, and it sounds quite complicated.
You'll first obviously need to create your .png's to dictate the lockscreens appearance. Then you will have to have coding knowledge, along with knowledge of smali/baksmali and editing .xmls. Thats a VERY brief overview until someone more knowledgable jumps in.
I can do some programming. I've done C++ and I have done some visual basic for work. I just haven't done any Java. I think with all the information here and on Google's developers page I could work my way though it. I would just need a general guideline. I can edit the .png's. I don't think that would be much of a problem.
It might be easier if I could edit an existing one. I like the concept of the puzzle lock. I just think it is kind of hokey. It would also be nice to have a little be more info on the screen and to have emails show up.
Would you be willing to send me what Whitehawkx sent to you? I'm not sure if that is ok.
I don't mind researching my way through it and learning as I go, I was just hoping someone had done something similar.
MechDan said:
I can do some programming. I've done C++ and I have done some visual basic for work. I just haven't done any Java. I think with all the information here and on Google's developers page I could work my way though it. I would just need a general guideline. I can edit the .png's. I don't think that would be much of a problem.
It might be easier if I could edit an existing one. I like the concept of the puzzle lock. I just think it is kind of hokey. It would also be nice to have a little be more info on the screen and to have emails show up.
Would you be willing to send me what Whitehawkx sent to you? I'm not sure if that is ok.
I don't mind researching my way through it and learning as I go, I was just hoping someone had done something similar.
Click to expand...
Click to collapse
modifying would be the way to go... and unfortunately it has nothing to do with java coding, but dalvik bytecode (which is a major pain... untermensch & whitehawk are heroes with that bytecode).
Anyways, I believe it's in services.jar. You'd have to pull out classes.dex from it and decompile. check this post on how to decompile. and you're going to need the smali & baksmali jars...
anyways after you decompile you're stuck with lots of .smali files which contains the bytecode you would need to modify... it's really difficult to understand it heh
Whitehawkx said:
So you are using the other four lockscreens but want to get the rotary to work as well and are looking for what files are necessary for that to happen, correct?
The files I changed to get the rotary working on KB1 are as follows
Framework-res.apk
~public.xml
~strings.xml [I think one change here]
~Images are already in stock frameworks and already in place
android.policy.jar
~New smali used for rotary. All have "rotary" in their title
~changes to LockPatternKeyGuardView.smali
Settings.apk
~Changes to DisplaySettings.smali
~Changes to arrays.xml
I believe these are all the files I had to modify to get the rotary working.
Click to expand...
Click to collapse
heres what he said when i inquired. unfortunately he didnt go into much detail, i did send him another PM....but keep in mind these are the steps to simply inject an outside lockscreen into your current ROM, not necessarily how to build one from scratch
hopefully these steps may still give you an idea of where everything is located
I always wanted one that opens from the middle of the screen like a matinee curtain. That would be awesome.
Sent from my SGH-T959 using XDA App
Thanks guys! I'll start working with that and see what I can come up with. It looks like I have a lot to learn about it.
I'll try working through it and hopefully I will come up with some more specific questions that may be easier to answer.
Also, if you think of something that may help, let me know. I would appreciate it very much.
With the starting points already given i would build the lockscreen using aosp then port it to your rom. Once compiled you can decompile then different it
Sent from my Incredible using Tapatalk

[Q] text colors in dialogs and menus

ok, i have a weird problem here. after rooting and installing some of my market apps, i have noticed that the text in the popup menus in all of my menus are white (making it hard to read them). i'm also trying to replace the keyboard, so i have installed a few file explorers. the background is black, and so is the text on that background. what has happened here and is there any way to fix that?
ctkatz said:
ok, i have a weird problem here. after rooting and installing some of my market apps, i have noticed that the text in the popup menus in all of my menus are white (making it hard to read them). i'm also trying to replace the keyboard, so i have installed a few file explorers. the background is black, and so is the text on that background. what has happened here and is there any way to fix that?
Click to expand...
Click to collapse
There have been several threads about this already. Some have tried to fix it but it has not been smooth.
http://bit.ly/rKda0N
thanks guys for the kind responses, even though i did do a forum search with no hits. your replies have been most helpful.
my post count may be low. my forum sense in finding answers by searching first isn't.
That's why I threw that in there instead of a snide noob remark. XDA has made Android a terrific experience for me through several devices but it's width and breadth are staggering. The method I showed is a way to bang out quick searches with a variety of key words.
dang69, I have to keep that link in my bookmarks, I could use that on some of the other forums I'm on where people continually ask the same questions w/o searching first!
For the original question, this seems to be the main post where people are trying to find a solution to this: http://forum.xda-developers.com/showthread.php?t=1356514 (coincidentally the first url that came up with dang69's link).

Notification center customization

Hi, as we all know androids notification is quite great. Apple however took this concept and in my opinion improved it. Many developer also seemd to like it and there are many apps on cydia that offers some customization.
What I'm looking for is an app or any way really that lets you customize the drop down window.
I'd like to b able to change wallpaper, change color of text, add widgets and info for fast updates.
I have spent many hours googling but I cant find anything like this. Is there any way to do this or does someone have thw ability to make souch an app?
I hope
I'm pretty sure access to the android notification can not be done through an app. Its like a core system process that probably can't be edited in real time. You would have to embed some sort of "notification drop down settings" into the OS.
But he is right Apple should not be ahead of us in any way..
Has no one left with common computer skills?
There's many topics on this here one just for you http://forum.xda-developers.com/showthread.php?t=1363528
Google and search button's seems to be extra these days
Good stuff I'll have to try. I don't know about everyone else about the search function, but I like to use my phone as a PC so the search does not work all that great through the android browser. Then filtering through the results.on this smaller than PC screen will give anyone a headache. Maybe the xda app is better idk..
airninja6r said:
Good stuff I'll have to try. I don't know about everyone else about the search function, but I like to use my phone as a PC so the search does not work all that great through the android browser. Then filtering through the results.on this smaller than PC screen will give anyone a headache. Maybe the xda app is better idk..
Click to expand...
Click to collapse
I used my standard international SGS2 found results NP..
Cool, we're gettimg there.
However im looking for more than just a theme. Widgets and the ability to add my own background. I wamt the functionality, not just the look

[Q] What's the name of this ROM?

Aparently I cannot post this question elsewhere so I ask you all here.
I saw once a custom ROM that i liked very (very!) much. The idea behind it and the general looks of it. But i don't remember how it was called.
Maybe you could help me a little. I'll try to describe it:
-it has a clean interface like a list on the homescreen (not like classic android homescreen more like windows phone 7/8 homescreen)
-every message or email it is shown in this windowish homescreen
-every item on the homescreen has on the left side color stripes depending of what kind of item it is (email/message/notification etc)
-the central item on the homescreen menu is somehow a little highlighted
That is all i remember from the screenshot i saw. For my device (S5660), the ROM developement i remember it was interrupted or stopped but i really want to find it...maybe someone ported it...
I also remember the developers built a website especially for the ROM and it was mainly for high-end devices. I found the ROM very original and practical and i truly want to find it.
So... anyone knows the name of the ROM?
Thank you so much in advance.
I don't know but your device developement has no where ner stopped, it has android 4.0. Here is a link to all the roms for it:
http://forum.xda-developers.com/forumdisplay.php?f=1407
thanks but...
Thanks for the quick response but i didn't say that the entire android developement for my device has been stopped no no...you get me wrong. I said that i remember clearly that the developement on the ROM i'm searching for had been stopped for gio.. Thanks for the link anyway... I've tried to find it but nothing so far. I still hope that someone with a high end device knows what i'm looking for.
takologistics said:
Aparently I cannot post this question elsewhere so I ask you all here.
I saw once a custom ROM that i liked very (very!) much. The idea behind it and the general looks of it. But i don't remember how it was called.
Maybe you could help me a little. I'll try to describe it:
-it has a clean interface like a list on the homescreen (not like classic android homescreen more like windows phone 7/8 homescreen)
-every message or email it is shown in this windowish homescreen
-every item on the homescreen has on the left side color stripes depending of what kind of item it is (email/message/notification etc)
-the central item on the homescreen menu is somehow a little highlighted
That is all i remember from the screenshot i saw. For my device (S5660), the ROM developement i remember it was interrupted or stopped but i really want to find it...maybe someone ported it...
I also remember the developers built a website especially for the ROM and it was mainly for high-end devices. I found the ROM very original and practical and i truly want to find it.
So... anyone knows the name of the ROM?
Thank you so much in advance.
Click to expand...
Click to collapse
is this what you are talking bout? http://spiritdsgn.deviantart.com/art/Windows-Phone-Style-for-Android-355556107
unfortunetly it is not
It is a nice finding so thanks man...but apparently it isn't what i'm seeking. The main screen It is more like a list of notifications in real time wich have on their left side tiny colored stripes depending of their nature. But again thanks for the answer.

How to edit a global theme?

I downloaded over a dozen themes from Samsung app on my S7, but just a couple of theme change the foreground and background colors of quick settings buttons, which is all I need. But those themes also change dozens of other things which I want unchanged!
How can I create my own theme and edit fore and back colors of quick icons?
Is it also possible to change shape of such icons without rooting?
You create your own themes by learning how. Loads of links here to help you get started. https://forum.xda-developers.com/showpost.php?p=41820200&postcount=2
One help is better than 1 thousand words (or links).
Your post doesn't help at all, it's just a link to a hundred links.
It helps by giving you links to the info you need. We don't spoon feed here. You will have to put in your own work to figure it out.
In the end you will have to make your own theme.
"I don't know" or "I don't want to help you, it's up to you" would have been more appropriate replies and would have saved band and disk space.
If you are looking for hand holding or spoon feeding then you came to the wrong place. This is a developers forum which means no one will really help you until you help yourself first.
My post should help anyone wanting to learn how to make mods and if you really wanted to learn you'd be spending time reading those links to guides and how-tos as well as the OP of the thread they are posted in and asking more questions instead of turning your nose up at those trying to help.

Categories

Resources