A blog that uses an advanced AI to generate content about Android. Sherif elKhatib
Sax Class Generator -v1.0
Sax Class Generator is a class used to create a java class that extends org.xml.sax.helpers.DefaultHandler.
It creates everything based on the tree structure of the xml that you provide.
Current version depends on the GUI interface to get the nodes(structure) of the xml.
SoftKeyboard problem with Tabhost on bottom of screen
Many people (including myself) have encountered the problem of having an activity with a Tabhost aligned at the bottom of screen instead of its top.
What happens when you have an EditText or any other input method!
A soft keyboard will appear and push your TabHost above itself.
What's the solution for this? Turns out to be simple!
What happens when you have an EditText or any other input method!
A soft keyboard will appear and push your TabHost above itself.
What's the solution for this? Turns out to be simple!
Labels:
Android,
EditText,
Tab,
TabActivity
html and activity links in TextView
So we need to linkify a TextView.
By linkify, I mean adding links to a TextView. These links could either be html links that link to a webpage, or some url that links to an Activity (launches an activity).
By linkify, I mean adding links to a TextView. These links could either be html links that link to a webpage, or some url that links to an Activity (launches an activity).
VibratingTextView
please read the disclaimer
please read the formatting notes
.
Here it comes the first real widget in this library which by the way I am still unsure about its name or its components' names.
What's this really:
Anyway what is the idea behind this!?
To be able to move each letter,
please read the formatting notes
.
Here it comes the first real widget in this library which by the way I am still unsure about its name or its components' names.
What's this really:
Anyway what is the idea behind this!?
To be able to move each letter,
HorizontalEscape Animation (Android Animation Factory)
ok so this is the first update for the animationfactory project
I have created a very nice function called outHorizontal!
This function will basically work only for textview at least for now (i hope to be able to extend this to other views)
anyway it will cause this nice animation to take place:
I will post a tutorial as soon as I encapsulate this Animation and create a class for it probably tonight.
Cee ya
Click here for Sample Project + Source Code (download) not always as up-to-date as github
Click here for Sample Project + Source Code (github)
This function will basically work only for textview at least for now (i hope to be able to extend this to other views)
anyway it will cause this nice animation to take place:
I will post a tutorial as soon as I encapsulate this Animation and create a class for it probably tonight.
Cee ya
Click here for Sample Project + Source Code (download) not always as up-to-date as github
Click here for Sample Project + Source Code (github)
Labels:
Android,
Animation,
AnimationFactory
Animation Factory
mmm so this is a class I did some time ago
It is still very basic but documented.. There is a sample project with the source and an example Activity.
Try them as I said it is still basic but I will add more and more features because lately I am getting a bit bored.
I will soon release my first android app. so :P I hope it will have good feedback
Anyway for now this AnimationFactory class has some static functions that return an animation
each function is well documented so you can simply use them. The sample activity will help as well.
Basically, for now, the animations encompasses: TranslateAnimation and AlphaAnimation.
So see you later with more animations..
By the way, if you have any special requests especially for widgets, feel free to like the facebook page and post your request there..
Bye (:
Click here for Sample Project + Source Code (download)
Click here for Sample Project + Source Code (github)
It is still very basic but documented.. There is a sample project with the source and an example Activity.
Try them as I said it is still basic but I will add more and more features because lately I am getting a bit bored.
I will soon release my first android app. so :P I hope it will have good feedback
Anyway for now this AnimationFactory class has some static functions that return an animation
each function is well documented so you can simply use them. The sample activity will help as well.
Basically, for now, the animations encompasses: TranslateAnimation and AlphaAnimation.
So see you later with more animations..
By the way, if you have any special requests especially for widgets, feel free to like the facebook page and post your request there..
Bye (:
Click here for Sample Project + Source Code (download)
Click here for Sample Project + Source Code (github)
Creating a skinny ProgressBar
It turned out to be a really simple procedure:
Labels:
Android,
progressbar,
View
Creating Global Dialogs
I was trying to find a way to create dialogs for the Android user! Just to surprise him! It would be really fun to do so I guess.
To keep things simple, I do not want to build a new Android OS!
I just want to do this with what I have available.
To keep things simple, I do not want to build a new Android OS!
I just want to do this with what I have available.
VIDEO:
How will this be done!
How will this be done!
Subscribe to:
Posts (Atom)