Hello,
I was trying to add more than one images in the AnimateDrawables under com.example.android.apis.graphics, but for some reason I couldn't. Can anyone post a sample code on how to accomplish it or at least explain it to me? This beginner programmer would really appreciate it.
Thanks
Any body can explain me how session works in PHP. for eg. 3 users logged into gmail. how the server identifies these 3 uers. what are the internel process behind that.
It's quoted from a report by Bjarne:
Encapsulation – the ability to provide
guarantees that an abstraction is used
only according to its specification –
is crucial to defend abstractions
against corruption.
Can someone explain this?
Thanks
Possible Duplicate:
Could anyone explain these undefined behaviors (i = i++ + ++i , i = i++, etc…)
int b=5;
int c;
c=b++ + ++b;
outputs 12
while
b=b++ + ++b;
outputs 13.
Can someone help me please?
This is actually extracted from my module (Pre-processor in C)
The conditional expression could contain any C operator except for the assignment operators,increment, and decrement operators.
I am not sure if I am getting this statement or not since I tried using this and it worked.Also for other manipulation a probable work around would be to simply declare macro or function inside the conditional expression,something like this to be precise.
Also I don't understand what is the rationale behind this rule. Could somebody explain?
Thanks
I want to make a little in-app demo like Tapbots does in Convertbot. Maybe there is a better solution than mine?
make everything programmatically controlable
write a huge class with hundreds of performSelector:withObject:afterDelay: calls to control the whole app for the demo
The demo actually only does two things:
Simulate touches on controls (i.e. programmatically pressing buttons)
Show text message bubbles when appropriate to explain what is going on
How would you do it?
Hello, I'm trying to figure out the right way to read lucene index only once whilst running the application multiple times, how can I do that in java?
Because indexed data will not change so reading them each time would not be necessary. Can someone explain me the logic of it reading them only once? thank you
It's kind of hard to explain, but an example of what I'm wanting to accomplish is like this:
Here is some text | image |
that is printed | |
out in a view and ---------
it is wrapped around an
image that is floating and
right aligned.
I thought about generating the layout in html and using a web view, but I need to be able to perform an action when the user clicks on the image. Does anyone have any ideas?
Thanks in advance,
groomsy
A java process starts 5 threads , each thread takes 5 minutes. what will be the minimum and maximum time taken by process? will be of great help if one can explain in java threads and OS threads.
Edit : I want to know how java schedule threads at OS level.
Hi, i would like to make 'skinnable' a web site written in asp.net...
I explain: for example, i have a 'div' element, and i would like to define a background-color using a variable, not a fixed value.
How can i do ?
Css ? Or other tecniques ?
Thanks
in my site i want to set default page to open, using this script
if (!isset($_GET))
{
$_GET['id'] = "home";
}
but it doesn't work. can somebody explain why?
i have two shell scripts:
script1.sh
echo "date : DATE"
exit 0;
script2.sh
./scripts1.sh
if [ $? -eq 0 ]; then
reboot;
else
echo "Failed"
fi
What should be the result. Ideally it should have been "reboot" , however on some execution i got the "failed" message too. Can anyone explain why this happens?
can anybody explain why uploaded php files treated by a server as a text file ?
The symptom is when i try to access a php file, the server send me the content of the file.
What is the significance of Thread.Join method in c sharp .net ?
MSDN says that it blocks the calling thread until a thread terminates. Can anybody explain this with a simple example ?
Hi All,
I went through all the posts on Reflection but couldn't find the answer to my question.
Can you please tell me what were the problems in programming world before .Net Reflection
came and how it solved those problems.
Please explain with example.
In NumPy functions, there are often initial lines that do checking of variable types, forcing them to be certain types, etc. Can someone explain the point of these lines? What does subtracting a value from itself do?
t,w = asarray(t), asarray(duty)
w = asarray(w + (t-t))
t = asarray(t + (w-w))
Can someone explain what the 'e' flag does, or link me to somewhere that does? I couldn't find anything via google.
Example:
preg_replace("/a(b?)c/e", "search_foo_term('\$1')", $str);
hi i will explain my situation i am study algorithms and data structures and i know many thing practical and others most thoereticaly and trying to implement in practise i want to get job where i will study more quickly i am interested if i have chance to start job when i have not expierence? thanks please advise what to do
IoC Frameworks just make DI much easier, but it's not only DI that they do, they provide a host of other benefits over and above DI.
I saw this comment in one of the answers to a question about DI and IoC. Can someone explain this in some more details? What are other benefits of IoC?
Hi all,
Can anyone explain or give me some example for the reason why we start subneting using the largest subnets first? What are consequences of opposite approach?