Does not work either:
public void getFileFromInternet(String tempUrl) {
HttpClient httpClient = new DefaultHttpClient();
HttpGet httpGet = new HttpGet(tempUrl);
Hello,
I really dont know why file.lengt returns 0 all the time, can u help
me ?
public void getFileFromInternet(String tempUrl) {
HttpClient httpClient = new DefaultHttpClient();
HttpGet httpGet = new HttpGet(tempUrl);
try {
Edit:
Somehow now it works on the Emulator, but not on the real device.
Does the real device lack any permissions ?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.
To post to this group, se
Hello,
I am trying to store an xml file.
When searching for solutions everyone suggests, that the just created
file has to be located at "/data/data/your_project_package_structure/
files/samplefile.txt"
Unfortunately neither on my emulator nor on the real device I can find
my file at this locat
Hello
Does anyone know how to set the background of a custom dialog title ?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.
To post to this group, send email to android-beginners@googlegroup
Hello,
I am not sure whether this is a bug or I have a mistake in my code.
When in an empty AutoCompleteTextView I enter one character like 'a',
then
1) the OnKey event does not intercept the pressed key
2) when intercepting it manually within the Onkey event the
showDropDown() method does not
Hello,
I tried to create a simple custom object that I can use as a
Parcelable class for my bound service.
I did everything as described in the documentation. Maybe you can help
me solving this problem.
My code is constructed as follows:
src
--de.test.samples
--DialogActivty.java
--Person.j
Thank You.
In my MyService class I added:
@Override
public void onDestroy() {
this.mTimerTask.cancel();
}
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups "Android Beginners"
Hello,
In the documentation of stopService it is written:
"Note that if a stopped service still has ServiceConnection objects
bound to it with the BIND_AUTO_CREATE set, it will not be destroyed
until all of these bindings are removed."
However since I have an unbound local service I thought, th
The sourcecode of the tutorial
http://android-developers.blogspot.com/2009/04/introducing-home-screen-widgets-and.html
does not work on my emulator.
When I try to add the widget to my desktop the widget only remains in
the status "Loading word of day..." which is defined in the
strings.xml.
I m
Hello,
In my ViewAdapter I want to determine whether a specific textView is
shown or hidden depending on previous content as you can see in the
code. I hide my row by setting the height to 0 (not sure if this is a
good idea though).
The content looks like this in the end:
CATEGORY1
Hello,
I have implemented the following Adapter class which also implements
onitemclicklistener.
My problem is, that when I click on one item in the list, the
onItemClick function is not invoked.
What is wrong ?
public class MovieListAdapter implements ListAdapter,
OnItemClickListener {
Hello,
I have done several tutorials and tried to read everything carefully,
but I still can't fix my problem.
I have a simple database that works. I can read from the database
successfully by printing some rows to the catlog:
Cursor NumbersCursor = db.getNumbers();
startManagingCursor(NumbersC
Hello,
I have done several tutorials and tried to read everything carefully,
but I still can't fix my problem.
I have a simple database that works. I can read from the database
successfully by printing some rows to the catlog:
Cursor NumbersCursor = db.getNumbers();
startManagingCursor(NumbersC
14 matches
Mail list logo