[Q] Android app to display animated alphabet - Java for Android App Development

I'm begineer in android programming. I'm trying to develop an android app which displays list of alphabet and gives animation when an alphabet is clicked. Like the app in this video (I'm not doing the tracing part).
I want to know what view object he has used to display the animation. I've researched about displaying GIF's and it looks very hard to get it working. Or is he using flash?

where is the video and you can use some animation library for that.

Related

Droid X Widget

Hi,
I saw a video from Droid X were was shown the ability to resize widget’s,
i think that’s very cool.
Do you think It’s possible to port the widgets and the ability to resize for magic? or even the whole rom to magic since it seems very simple and very vanilla like?
Thanks....
If you use ADW launcher, you can do that
Resize
how do i resize the widgets with ADW.launcher? what widgets is possible to resize?
Thanks
This has nothing to do with developing roms.
I'm moving to General.
Resize
Sorry my mistake...
ra0031259 said:
how do i resize the widgets with ADW.launcher? what widgets is possible to resize?
Thanks
Click to expand...
Click to collapse
When you add a widget (it could be any widget) a popup will appear with the default dimensions and give you an option to change them. I guess it is "cool" but it purely practical terms it's kinda pointless.
-First if you stretch or shrink a widget without keeping it's aspect ratio it will look awful
-If you stretch a widget all the graphics will look horrid because they aren't are still at a lower resolution just stretch
-If you shrink a widget any text becomes unreadable, this isn't a problem on high resolution WVGA devices but it is on the Magic.
It's possible, but there's a reason it isn't officially supported.
how do u resize it?
Resize
AdrianK said:
-First if you stretch or shrink a widget without keeping it's aspect ratio it will look awful
-If you stretch a widget all the graphics will look horrid because they aren't are still at a lower resolution just stretch
-If you shrink a widget any text becomes unreadable, this isn't a problem on high resolution WVGA devices but it is on the Magic.
It's possible, but there's a reason it isn't officially supported.
Click to expand...
Click to collapse
Thats way i’ve liked what i saw in the video (sorry but i cant find it now) the example was the calendar, the widget change the organization it self. Its like HTC Calendar Widget, that have the grid, the bar and a event list, but there you can change just by resize, it’s not a simple stretch... if i find the video i’ll post it
ra0031259 said:
Thats way i’ve liked what i saw in the video (sorry but i cant find it now) the example was the calendar, the widget change the organization it self. Its like HTC Calendar Widget, that have the grid, the bar and a event list, but there you can change just by resize, it’s not a simple stretch... if i find the video i’ll post it
Click to expand...
Click to collapse
Well then you're not resizing, just choosing a different widget in itself.

[Q] Live Wallpaper Backgroud

I am pretty new into android development and have a couple questions I'm sure you guys can answer pretty quickly but have so far not been able to figure out. How do I have a set background in a live wallpaper besides just creating something from canvas, I have it already loaded in the hdpi I just need to figure out how to call it. Also, is it possible to have something appear enlarge a little bit in the center of the screen then fall off the screen? I'm trying to create a time lapse of a tree where it goes through all the weather changes. Any sites you could link me too or answers you would have would be greatly appreciated. Thanks for anything you guys are able to do.
Can you be more specific? When you say background are you talking about an image file you've added as a drawable?
If you use the drawBitmap method you can draw images anywhere on a canvas.
This is roughly how I do it on my Live Wallpapers.
Code:
Bitmap background = BitmapFactory.decodeResource(getResources(), R.drawable.background);
c.drawBitmap(background, 0, 0, null);
That will draw the bitmap at the upper left most position on your canvas.
If you want your live wallpaper to slide left and right as you swipe between home screens you need to adjust the x position based on the offset. Look at the cube live wallpaper source code for more information on how to get the offset value.
What I have is a picture loaded in the hdpi file that I want to use as my background, the thing with the cube is it shows you how to draw a picture but not add one into it. I want to load in the photo and then have objects enlarge and drop down around the center of this picture. The design I'm going for is a time lapse of a tree. I was told surfaceView can set your background but I'm not sure if that's the case or not. Thanks for the reply though I appreciate it.
bearcatext said:
the thing with the cube is it shows you how to draw a picture but not add one into it.
Click to expand...
Click to collapse
It works exactly the same but instead of using c.drawLine() you use c.drawBitmap()
That makes a lot of sense thanks, and for the leaves falling would you just set the coordinates to somewhere in the middle then? Also, is there a way to have an image change color mid-screen so it looks like fall is hitting? Thanks for all your help again though.

Wallpaper Size

I have been creating a few VW style wallpapers for a while in 480 x 800 as jpeg's.
When I assign it as the today/lock screen it is not centralised. As when I press start the image moves up. If you understand? I'll try and get some screenshots.
I have an Image of a BBS alloy before and I'm sure that this didn't do the same. I was pretty sure the resolution was 480 x 800. Is this correct?
Hoping somebody that creates themes/wallpapers could help me out.
I'm using photoshop CS3.
Thanks,
Al.
A.Calamita said:
I have been creating a few VW style wallpapers for a while in 480 x 800 as jpeg's.
When I assign it as the today/lock screen it is not centralised. As when I press start the image moves up. If you understand? I'll try and get some screenshots.
I have an Image of a BBS alloy before and I'm sure that this didn't do the same. I was pretty sure the resolution was 480 x 800. Is this correct?
Hoping somebody that creates themes/wallpapers could help me out.
I'm using photoshop CS3.
Thanks,
Al.
Click to expand...
Click to collapse
I think the image you see when you go into the start menu, is the 'lock screen' wallpaper, so i think it displays this between the top and bottom bars... so if you're using CHT or another app to make your wallpapers fullscreen (i.e. cover the top and bottom bars) it'll look weird.
I had the same issue..... i think
yup 480*800 is correct...
Yeah, I was pretty sure on the resolution. But yes. It does cut out the top and bottom where the black bars are. Is there a way to stop it doing this?
What is CHT? I'm not using that to make them fullscreen I don't think.
Its just when I make the wallpapers because I crop most of the image and line it up with the bottom of the picture for a good "look" It most likley cuts it off on the today screen. Which cuts some of the detail out sometimes. So I have to make sure that it is far enough up the screen. I suppose I could get the resolution between the two bars. Although when you get the lock screen there would be two gaps.
Is there a way to have a different lock screen?
A reg key pointing to the image?
Thanks,
Al.
when i used to be a WM user, this is what i figured out about WM6.5(.x) behavior.
the HD2 has a 480x800 screen. WM6.5 can be set to have a wallpaper (***cough***iPhoneSux***cough). WM6.5 can also be set to have transparent "top" and "bottom" bars.
now, things start to get a little confusing.
1. ideally, we would like to see the ENTIRE wallpaper on the lockscreen and homescreen, with the status/notification icons overlaid.
2. similarly, we would like to see the ENTIRE wallpaper behind the start menu. if transparent "top" and "bottom" bars are used, we would like them to be transparent when the rest of the wallpaper is visible as just described in the scenarios.
3. however, we would like the transparency to go away when an application is running in the foreground (being able to see thin strips of the wallpaper when an application covers the rest of the screen looks silly i guess).
it turns out that WM6.5 ALMOST covers all those requirements. it sort of fails on the homescreen (where it matters most!). now, things get complicated on the homescreen also. there may be:
a. NO homescreen plugin OR...
b. the native "titanium" homescreen OR...
c. HTC's "sense" homescreen (also called touchflo, manila, etc)
now, simply using a 480x800 file yields the following results...
i think i remember that (a) fails, but most of us have SOME homescreen plugin. i think i remember that (c) also fails because "sense" seems to take over the responsibility to draw a wallpaper in its background.
i have been a loyal HTC "sense" user as long as i was using WM. i always had CHT installed as well (Cookie's Home Tab, a plugin to enhance HTC's "sense" homescreen by adding many more options). i believe CHT1.8.5 and later added a new style of wallpapers and the ability to skin" the "top" and "bottom" bars with corresponding strips of the wallpaper. this meant i could just feed it a 480x800 image and it would do the necessary clipping/cropping/skinning to achieve the effect of a seamless wallpaper, whether on the lockscreen or homescreen or when viewing the start menu. a side effect was that my "top" and "bottom" bars were always skinned, even with an application in the foreground, but such is life!
i hope that helps...

[Q] Stacked Bar Chart using achartengine library

Hi,
I am developing an android apps that deaI with charts. having problem to display chart values alignment for stacked Chart using achartengine library. I want it display at the top the bar 20,20,20 but for now it the values are overlapping each other till can't see properly what is the value.
I have attached the chart that is displaying in not properly suppose to display.
I hope anyone of your expert will able to help me.

Ball game - chaning ball position

I am making simple ball game and l have problem.I can't change position of Ball. I tried:
1. SetX() and setY() but lower APIs aren't supported.
2. Params and margins but when I move it left or right, the whole activity content is moving with it. Up and down moving is working fine. (Activity will have 10 ImageViews)
3. Android animations - Problem is that I can't get coorinates (getLeft(), getTop()) during the animation.
4. Canvas and draw elements - I change position of image with onDraw() and invalidate() functions but when I but backgorund and all other images (as bitmaps) it is very slow.
Can you give to me any ideas or suggestions? Thanks in advance.
Can you post the code? What do you exactly want to be done, there can be many different "ball games". You want to change the position of a bitmap or circle on the screen create x and y variables, draw bitmap or circle using them and if they change, the object will be drawn elsewhere

Categories

Resources