среда, 25 марта 2009 г.
пятница, 6 февраля 2009 г.
четверг, 29 января 2009 г.
if u wanna use a soap...
...u should to read this article
There are information about SOAP serialization.
There are information about SOAP serialization.
четверг, 22 января 2009 г.
If you wanna make a thread...
new Thread(new Runnable() {
public void run() {
// do stuff that doesn't touch the UI here
}
}).start();
it was taken from here.
new Thread(new Runnable() {
public void run() {
Looper.prepare();
// do stuff that can touch the UI here
Looper.loop();
}
}).start();
среда, 14 января 2009 г.
Usefull link: widgets
A Visual Guide to Android GUI Widgets
The XML representation of Android UI elements such as Button etc.
Simple use - just "Copy-Paste" =)).
The XML representation of Android UI elements such as Button etc.
Simple use - just "Copy-Paste" =)).
Some article about background...
// an imageview with scaling...
ImageView topIcon = new ImageView(ctx);
topIcon.setImageResource(R.drawable.stlogo);
topIcon.setAdjustViewBounds(true);
topIcon.setMaxHeight(TopIconMaxHeight);
topIcon.setMaxWidth(TopIconMaxWidth);
topIcon.setScaleType(ScaleType.FIT_CENTER);
topIcon.setAlpha(TopIconAlpha);
topIcon.setLayoutParams(
new LayoutParams(LayoutParams.WRAP_CONTENT,
LayoutParams.WRAP_CONTENT));
// clocks...
AnalogClock clock = new AnalogClock(ctx);
clock.setBackground(topIcon.getDrawable());
Full topic is here : http://developerlife.com/tutorials/?p=312
Подписаться на:
Сообщения (Atom)