[android-beginners] Re: File length is 0, which is not true... ?

2009-10-08 Thread joare...@googlemail.com
Does not work either: public void getFileFromInternet(String tempUrl) { HttpClient httpClient = new DefaultHttpClient(); HttpGet httpGet = new HttpGet(tempUrl);

[android-beginners] File length is 0, which is not true... ?

2009-10-08 Thread joare...@googlemail.com
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 {

[android-beginners] Re: Why is my file not accesible at data/data ?

2009-10-02 Thread joare...@googlemail.com
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

[android-beginners] Why is my file not accesible at data/data ?

2009-10-02 Thread joare...@googlemail.com
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

[android-beginners] Set Background color for custom dialog title ??

2009-07-24 Thread joare...@googlemail.com
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

[android-beginners] dropdownlist doesn't work if only one character is in AutoCompleteTextView

2009-07-23 Thread joare...@googlemail.com
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

[android-beginners] Parcelable Class parameter input (1) unknown type

2009-06-25 Thread joare...@googlemail.com
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

[android-beginners] Re: Local Service won't stop working although stopService

2009-06-22 Thread joare...@googlemail.com
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"

[android-beginners] Local Service won't stop working although stopService

2009-06-22 Thread joare...@googlemail.com
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

[android-beginners] appwidget wictionary cant find words and

2009-06-18 Thread joare...@googlemail.com
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

[android-beginners] Problem with the dynamical behaviour of my viewAdapter

2009-06-16 Thread joare...@googlemail.com
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

[android-beginners] OnItemClick does not work

2009-06-15 Thread joare...@googlemail.com
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 {

[android-beginners] filled database doesn't appear in listview

2009-06-05 Thread joare...@googlemail.com
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

[android-beginners] filled database doesn't appear in listview

2009-06-05 Thread joare...@googlemail.com
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