anyone point me in the right direction? - XPERIA X10 Q&A, Help & Troubleshooting

the right direction of how to create my own custom sliders for the x10 on 2.1?
i.e the normal slider, the rotary slider, hell even the old half arch one from 1.6
ive been looking about and ive found stuff on developing but i cant find anything specific on developing sliders and lock screens..
and please dont suggest to get lockbot or some other app, id like to learn how to do it for myself, and at the most, create a new section in the settings section of the 2.1 rom to access the different settings for the sliders i make..
so if anyone can help to point me in a specific direction please do!

You must take a look to the framework..inside it you can find the images of the lock screen...by replacing them you can modify the lock screen apparency!!
Sent from my X10i using XDA App

Moved as not android development

Can someone delete my post pls? Thanks and sorry.

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] Simple blank lock screen, tap to unlock

Hello everyone,
Since I have 1 posts including this one on the XDA forum and couldn't post in the dev section, I guess it'll have to go here. I'd like to make a simple lock screen for my Galaxy S2 (Android 2.3).
It would be similar to the default pattern lock but I don't want a combination of dots. Instead, I want it to unlock at a single tap at a position on the screen, or maybe two correct taps.
Since the default pattern lock requires at least 4 dot connections, I couldn't use it. I also want it to show the background with no widgets, only maybe the notification bar.
Now I downloaded the Android SDK, but I have no experience with it. I have past C++ experience and I'm willing to learn, but I would like some directions and perhaps code snippets to get me started.
Inb4 NOT SECURE LOL: It's what I want to have.
tl;dr Mewants to make single or double tap lock screen with no widgets showing. Halp?
Try AppInventor ...It is a good way to learn to make apps for Android without really knowing the programming...all you need to know is hoe you you want your app to work...and since you have previous experience with C/C++..am sure the loops such as if/if-else etc in the pictorial manner won't confuse you..Good luck..Its a good Idea you have there..dunno if it can be implemented for sure though!
There are many AOSP Lockscreens available in the dev section anyway...check them out till then

Making an android launcher?

OK, so i am making an android launcher.
The UI
well, it will be very similar to the windows phone UI, swiping left and right between the home screen and vertical, 4 column app drawer. so the app drawer will work like the defualt vertical one on stock android. but the home screens will move vertically, swiping up/down will go to the next screen.
i think, to make the app drawer/home screen left/right swiping work, i need to have a linear layout fragment, (im working in eclipse) so that the screen would be larger than the actual screen, it will simply show PART of the fragment which will be the home screen. i need to find out if that could work.
anything else i need to know for making this app.
i have practicaly no experience but i can learn quickly. the android tutorials are not helping much for this type of app, for some reason i cant import already built android launcher into eclipse.
thanx for all the tips and help.
Thought of a name???
~RR
Sounds cool
Sent from my Paranoid Android GT-19100 using xda premium
You haven't even finished the project but have started its thread? I don't think that's allowed here.
Code:
System.out.println("Sent from my SGY");
first of all im only a 17 year old highschool who is doing this for senior project, a year long project with a "learning stretch" so i need all the help i can get.
im just wondering, does anyone know anything that could help me. anything at all.
so like bits of code that could help the system recognize the app as a launcher, so when i press home, it asks me if i want to use it.
second: how can i create a 2 page layout, i was thinking a linear layout fragment could work, so it would act as a big screen that can be moved, but then vertical scrolling could become limited.
third: how can i get the vertical app drawer to appear in the fragment.
fourth, how can i make home screens, and make them work vertically, and add widgets and stuff to them.
that is about all i need. if anyone can help, thanks alot
i will not be asking for donations and the app will be free to all when it is done
(want a credits page. ok just tell me)
app name, hmm... i was thinking Dual Launcher (cause it works with two screens vertically side by side. but im still thinking
thanx for thinking this is at least a good idea.
russian392 said:
first of all im only a 17 year old highschool who is doing this for senior project, a year long project with a "learning stretch" so i need all the help i can get.
im just wondering, does anyone know anything that could help me. anything at all.
so like bits of code that could help the system recognize the app as a launcher, so when i press home, it asks me if i want to use it.
second: how can i create a 2 page layout, i was thinking a linear layout fragment could work, so it would act as a big screen that can be moved, but then vertical scrolling could become limited.
third: how can i get the vertical app drawer to appear in the fragment.
fourth, how can i make home screens, and make them work vertically, and add widgets and stuff to them.
that is about all i need. if anyone can help, thanks alot
i will not be asking for donations and the app will be free to all when it is done
(want a credits page. ok just tell me)
app name, hmm... i was thinking Dual Launcher (cause it works with two screens vertically side by side. but im still thinking
thanx for thinking this is at least a good idea.
Click to expand...
Click to collapse
Idea is a great one. I'm a noob at apk development so i've no idea about launchers. Just a tip, don't make it two screens side by side. It may look good on tablets, but not on smartphones. And FYI, i'm 16, in 10th grade, and have developed my first app .
Code:
System.out.println("Sent from my SGY");
ok. look, dont be rude, you had your first time making an app, was it frustrating, probably, same here, since im making a luancher.
im trying to make the launcher simple as can be because i already know this is gona be hard, cause i have no coding xp.
so if you can help out with some starting codes, that would be great. i have to give credit though because its a project at school lol.
if i can get the 2 screens sliding left and right, im basically good to go, the rest i can handle.... probably
i had another idea.
modifying the cupcake launcher and adding side buttons to the bar, they would move with the app drawer sliding up too.
We are being taught Java at school since 9th grade, so i just had to learn some new things because i knew basic Java. And yes, it was very frustating. I can't help you with the codes if you don't even know basic Java (you said you didn't have any coding xp). There are many tutorials on the net, first learn some Java, practise it and then you're good to go. The learning will hardly take a week, if you're a quick one.
Code:
System.out.println("Sent from my SGY");
I have the name for your launcher...
Super Launcher
Hw about ....star launcher???
Click THANKS button if I helped, or u liked my post.
Will be honored.
Super2cool said:
I have the name for your launcher...
Super Launcher
Click to expand...
Click to collapse
U think...?
Its a really minimal launcher, it doesn't even have a wallpaper.
But I'll keep that in mind.
If all goes well, I will have a paid version latter on.
Sent from my LG-P506 using xda app-developers app
Maybe you should think of the name and other stuff once you've actually got a beta going
I'm sure you'll think of a name by then
Good luck
if you need help with a website or anything I can help just pm me
Sent from my MB860 using xda app-developers app
russian392 said:
U think...?
Its a really minimal launcher, it doesn't even have a wallpaper.
But I'll keep that in mind.
If all goes well, I will have a paid version latter on.
Sent from my LG-P506 using xda app-developers app
Click to expand...
Click to collapse
Minimal Launcher
May i ask if its possible to import a apk file with eclipse and edit it?
yken said:
May i ask if its possible to import a apk file with eclipse and edit it?
Click to expand...
Click to collapse
You can import individual XML and java/.class files but I tried to do a whole project.
Sent from my LG-P506 using xda app-developers app
inaudibly said:
Maybe you should think of the name and other stuff once you've actually got a beta going
I'm sure you'll think of a name by then
Good luck
if you need help with a website or anything I can help just pm me
Sent from my MB860 using xda app-developers app
Click to expand...
Click to collapse
I'm not supposed to be making any money from this project, so j could pay for a website, beside I know how to make one. But than anyway.
I need codes and use full info for coding the app, not a name right now gys
Sent from my LG-P506 using xda app-developers app
Here is what I have planned out.
1.linear layout with fragment, in.
.XML
2.split up the 2 fragments and make them desperate
3.add vertical 4 column app drawer to right side frag, and enable widgets and icons to be put on left frag.
Make the frags recognize swipe gestures so u could move screens (java)
Done
All I need is the codes. I have some, but they are not helping much. They r confusing.
Sent from my LG-P506 using xda app-developers app
russian392 said:
Here is what I have planned out.
1.linear layout with fragment, in.
.XML
2.split up the 2 fragments and make them desperate
3.add vertical 4 column app drawer to right side frag, and enable widgets and icons to be put on left frag.
Make the frags recognize swipe gestures so u could move screens (java)
Done
All I need is the codes. I have some, but they are not helping much. They r confusing.
Sent from my LG-P506 using xda app-developers app
Click to expand...
Click to collapse
Not trying to be offensive, but let me get this straight...
All you need is the codes? That's like most of the work. Sure, I'm all for asking for some help, but read some tutorials -and try making some simple apps first to get used to the logic. Learning the hard way by taking examples and figuring them out works, but only if you have already made some research and have prior experience.
My advise: learn first, try later.
GermainZ said:
Not trying to be offensive, but let me get this straight...
All you need is the codes? That's like most of the work. Sure, I'm all for asking for some help, but read some tutorials -and try making some simple apps first to get used to the logic. Learning the hard way by taking examples and figuring them out works, but only if you have already made some research and have prior experience.
My advise: learn first, try later.
Click to expand...
Click to collapse
Absolutely right.
People here is not helping you because you are not looking for a little tech help with the code, actually you're asking someone else to make your launcher.
Also, learning java takes a week or less? Sorry guys, this is simply not true. No offence, being able to make a small app does not mean you know the Java nor you're a developer. No way, you have to study, follow tutorials and, at that point only, asking people for some help with codes makes sense.

[Q] Theming Sliding Dock

Hello, excuse me if I post this in the wrong section I am new to this forum.
I would like to know some things about the advanced modifying of GoLauncher themes, or basically android themes in general.
Is there any way to edit the dock on the home screen of a theme to place it somewhere else on the screen and have the ability to make it slide out or pop up from somewhere? I know how to do the graphical side of this but I need a little push in the right way for the programming bit. I do know how to decompile, compile and sign apk files.
Thanks in advance,
Qab
(Might as well ask it here since I did not recieve any reply in the theme section).

[Q] Simple theme app help?

I am creating own theme with apex theme sample which i found on XDA. But i want to make my app to be in app drawer.
The problem is i am not good in coding as in photoshoping icons If theres any small tutorial that will help me please share it with me.
Once my themes gets the way i want them to be i will make a lot of themes for apex/adw... etc lanchers for all of you i am good in designing.
What i need is simple ui with sum buttons for example that will call the wallpaper chooser and maybe some buttons to redirect to a link. and a place where i can post simple banner. I don't need trasitions and effects and so on... just simple ui with 2-3 buttons and 1 banner image.
i have 0 coding skills
Sorry if i am on wrong section Android Q&A, Help & Troubleshooting it says help...

Categories

Resources