Hey, this is my first post but i've been browsing these forums ever since i got my diamond and they've been a great help. I've been trying to learn some c# so i can give back a little to this forum, I've been able to make some simple app's but recently i've been trying to use koush's sensor sdk, and i tired using a ticker to update a label with the x y and z values from the gsensor every 1 milli sec, it shows the values but there only updated like every 2-3 seconds. Is this normal or am i doing something wrong?
thanks koush and all other developers for all your hard work!
Edit: Also i realized if i use any other gsensor app at the same time like tweeter, they also slow down and update the values at the same speed.
Updating every millisecond is a bit of overkill, when you consider it will take several milliseconds for your code to change the label text, and several more for the label to paint itself. By the time it starts to paint, the label has gotten 10 more Invalidate messages, so it's basically waiting for things to settle down before painting (not really, but that's what it will look like to you).
Try setting the timer to fire every 100 milliseconds ... that should give you better results. After playing with that, you could try tweaking it down some to see how quick of a response you can get, but I would guess the message pump will start backing up again around 25 milliseconds.
Solved!
Thanks Gecko!! Solved!!
damvigilante said:
Thanks Gecko!! Solved!!
Click to expand...
Click to collapse
You're very welcome!
Hello all,
I am having some trouble making a boot.gif for these new hero builds. I have made mine in photoshop w/ imageready, but when I flash it all is well, until my gif shows up all garbled. The file is 300x120, just like the original and some other boot.gif's I have found.
Could anyone show me the right settings for Photoshop CS3? I have searched the forums to no avail
I found a guide for boot images here. Hope it works:
http://ostebaronen.dk/?tag=android
Thanks for the link, but looking at the two pages it doesnt actually tell me what the requirements for the gif are. Thanks for your help though ( i will triple check the website after to make sure i havent missed anything)
Android Themes Basics 4:
Finally got round to making the requested .9s video:
-Retrieving and backing up the original framework-res.apk
-Using the Draw9Patcher tool to create the required guides
-Using eclipse to apply the guides to the image
-Pushing the file back to your phone
I hope the video is helpful, I know a lot of people do not like .9 files at all
Android Themes Basics 3:
Back after a long break. Easy one to get going again: Changing system font.
-Backing up original fonts from your phone
-Replacing with new ones
Sorry been lazy recently =o)
Android Themes Basics 2:
Second Part of the video series is now finished =o). The topic this time is changing the status bar:
- Pulling necessary files from phone
- Extracting files required
- Editing the status_bar.xml file and classes.dex file to change status bar colours
- Repackaging the dex file
- Pushing modified files back to the phone
The video is split to 2 parts unfortunately due to Youtube having a 10 minute limit and I didn't want to cut anything out to keep it simple.
Android Themes Basics 1:
Just finished my first video tutorial for creating android themes. The topic of the first video is changing basic images so covers:
- Pulling files from the phone
- Extracting images from APK
- Placing edited images back to the APK
- Pushing the file back to phone.
I know this is very basic and most of you know perfectly how to do this but I thought I would start from the very basics
Let me know what you think and any areas you would like me to cover in future videos, Ideally I would like to create a series of videos that new people can work through to create full themes.
Videos:
Android Themes Basics 1: Changing Images
Android Themes Basics 2: Changing Statusbar (1/2)
Android Themes Basics 2: Changing Statusbar (2/2)
Android Themes Basics 3: Changing System Font
Android Themes Basics 4: Changing Buttons (The .9s video)
Upcoming:
- Changing the battery display
.FxN
video
How are you I just tried to view the video an youtube is saying that the video is not available
Just yesterday I was hoping someone would do something like this. Thank you. Much easier than I thought it would be.
Looks good, now just do one on .9's for the love of god PLEASE!
Do you know how to create an update file with the Mac?
Now I use windows to create an update file ... is there a signing script available for the Mac?
very cool
thanks man
cant wait for the upcoming vids and some .9 vids
T3hFurious1, maybe it was your post I saw yesterday that gave me the idea then, it was on this forum someone mentioned would be nice =o)
MurderDeathKill & smackiesfunkies, added the .9s video to the upcoming, I'll start scripting it out soon for you guys.
cybapaddy, absolutely no idea as I wouldnt touch Mac with a veeeeeeeeeery long stick, only reason the video is in windows is cause I thought it would be more helpful to majority than the linux version
.FxN
cybapaddy said:
Do you know how to create an update file with the Mac?
Now I use windows to create an update file ... is there a signing script available for the Mac?
Click to expand...
Click to collapse
I have the file somewhere hold on.
Edit: http://www.417photography.net/mac.zip comes with all 3 files!
Added a second video now with details on changing the statusbar, details in the first post
.FxN
awesome man
these videos are a big help
i was wondering tho if you could add voice walkthrough as you are goin through it?
just a preference and a lil bit easier to follow along as youre doing it :]
if not its still very helpful
I was thinking of that but couple of reasons why I decided to go without tho, mainly I do these whilst I'm at work tho
I'll see what ill do for future lessons, although I do think the first 2 should be clear enough without audio, even tho the 2nd video gets bit tricky at times.
.FxN
fxn said:
I was thinking of that but couple of reasons why I decided to go without tho, mainly I do these whilst I'm at work tho
I'll see what ill do for future lessons, although I do think the first 2 should be clear enough without audio, even tho the 2nd video gets bit tricky at times.
.FxN
Click to expand...
Click to collapse
ohhhhh lol got it
yeah the first two are easy enough to follow
good job with em
Could you make a tutorial on pushing a framework-res.apk?
fxn said:
Android Themes Basics 2:
Upcoming:
- .9s (as requested)
Click to expand...
Click to collapse
Im waiting for this too
Great job, dude. Thanks!
t3hfurious1, if you have a look at the 2nd part of 2nd video it pushes the framework-res.apk to the phone, is that what you meant?
fxn said:
t3hfurious1, if you have a look at the 2nd part of 2nd video it pushes the framework-res.apk to the phone, is that what you meant?
Click to expand...
Click to collapse
Haha, woops, didn't notice it. Thanks for pointing it out.
Hi,
big thanks for the Videos.
Now I have one problem:
The Text is white and quite good. But the clock isn't white. It's still black.
Could you please help me and say where my problem is?
could you do a video on how to do these changes if you wish to upload a zip to the public. also if you pull the apk from your phone does it physically take it out of your phone till you put it back in? Because what i'm thinking is that instead of pulling every .apk why not just download a stock 1.6 rom and use the files from there. i just dont know how to sign it/make the zip so that i can flash it on my phone.
Formel-LMS, There are two files to change, one of them will change text and the other changes the clock If I remember correctly, both files we're covered on the video however but it could be that some things have changed...I wouldn't know haven't done any of this stuff for months
MFK DGAF, No doing a pull on an APK doesn't remove it from your phone just takes a copy of it, the reason I pull the files from my own phone before making changes is because I use a custom rom and it could well be that the person cooking the rom (Cyanogen/JAC) have made a modification to that file or other files which would make the stock file incompatible with rest of the rom.
Toying with the idea of making another video, feeling lazy as hell though so dunno if that'll happen
3rd Video up, easy one mind you but hopefully will be putting another one up shortly =o)
So after a lot of cursing and punching my pillow, some serious reading, and a lot of googling my problems out... I FINALLY got this made and working. I ended up using some premade xml files because I couldn't get mine converted to binary and I just didn't have the patience to do it tonight.
Anyways, tt looks good on my phone and was wondering if anyone else would like to try it out and give me their thoughts. I got the images from an HD video I found on youtube. I downloaded it in HD format, and exporting about 400 frames before deciding on a set of 30.
I'm interested to see how many of you will try this out. If the general response is good enough, I'll try to make more. When you go to select the wallpaper, go into the settings for it and change the size of the animation to "Big (Default)". I can't figure out how to get it to actually be set to that, but if someone could point me in the right direction, I'd be really happy.
http://dl.dropbox.com/u/13362181/NewYorkHarbor-signed.apk
6am, time for sleep.
Prettr sweet. Nice work
Captivate
Cog 2.2
Ive been trying to change the color of the background on the home screen of facebook but if i change it in colors.xml it wont compile and if change it anywhere else it compiles and installs but the app force closes ive searched all around on the topic and have found nothing i know its possible there are themed facebooks with it change could someone please help me out...
Well best bet man look for others on here who have moded facebook theres about 5 or 6 people that I'm aware of that are big on modding the facebook.apk and there is a huge thread about it they update all the time so... Get in touch with one of them and maybe they can help you around your specific problem... Ask them how they got it to work best bet send them a pm...preferably someone on alot.
Wished someone would come up with a quik fix. Sometimes the old eyes have a hard time reading with the white background..