Re: [android-beginners] Widget problems

2010-04-29 Thread Andreas Johnsen
Ah, this sounds smart :) Have anyone an example of use of sharedpreferences? Dr3as Den 28.04.2010 18:12, skrev Justin Anderson: Store the text from the configuration screen in the shared preferences and retrieve it when you update the widget... SharedPreferences allows you to store things

[android-beginners] Re: Help converting C# code (Isn't there anyone that will help out here)

2010-03-28 Thread Andreas
Hi, You can subclass View or Button and implement onDraw. There you will have a Canvas, that you can use for your painting. You can use the onTouchEvent or the onTouch-listener to take care of the touches. Good luck! Andreas http://developer.android.com/reference/android/graphics/Canvas.html

[android-beginners] Re: Add calendar item through Intent?

2010-03-23 Thread Andreas
Hi, The calendar is provided as a content provider, and you can use it to add events. Have a look at http://developer.android.com/guide/topics/providers/content-providers.html Good luck! Andreas On Mar 19, 6:00 pm, Sven Jacobs sven.jac...@web.de wrote: Hi all, I'm developing an app

[android-beginners] Re: possible to send an xml file via HttpClient?

2010-03-23 Thread Andreas
Then you do the other way around: Open an InputStream from the HttpURLConnection, and and OutputStream to the file you want to store it to, and transfer the data. Andreas On Mar 19, 6:59 pm, KC Dev Android 06 kc.dev.android...@googlemail.com wrote: Yes i have done that already but i want to do

[android-beginners] Re: No resource found that matches the given name (at 'entries' with value '@arrays/items').

2010-03-23 Thread Andreas
Hi, Is there a file in your res/values folder called arrays? Is there any content in that file? Andreas On Mar 19, 4:04 am, anushree godbole.anush...@gmail.com wrote: main.xml ?xml version=1.0 encoding=utf-8? RelativeLayout android:id=@+id/widget28 android:layout_width=fill_parent

[android-beginners] Re: Add calendar item through Intent?

2010-03-23 Thread Andreas
Oops. Thanks for clearing that up. On Mar 24, 11:16 am, Mark Murphy mmur...@commonsware.com wrote: Andreas wrote: The calendar is provided as a content provider, and you can use it to add events. Have a look athttp://developer.android.com/guide/topics/providers/content-providers

[android-beginners] Re: possible to send an xml file via HttpClient?

2010-03-18 Thread Andreas
Hi, What you want to do is to open a HttpURLConnection to the URL specified, and then open an OuputStream towards that connection. Then you open an InputStream from the File you want to send, and transfer the data from the File InputStream to the Http OutputStream. Easy as π ;) Andreas On Mar

[android-beginners] Re: How can I catch a ring event?

2010-03-18 Thread Andreas
Hi, In TelephonyManager there's a method called listen. If you provide that with a PhoneStateListener, you can use the callback method onCallStateChanged to listen to the events CALL_STATE_IDLE, CALL_STATE_RINGING and CALL_STATE_OFFHOOK. Good luck! Andreas On Mar 12, 11:17 pm, df trfilmograp

[android-beginners] Using GDATA from within Android for calendar access?

2009-04-09 Thread andreas
wrong? Greetings, Andreas --~--~-~--~~~---~--~~ 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@googlegroups.com To unsubscribe from this group, send email

[android-beginners] linking jar into dex with eclipse?

2008-10-06 Thread Andreas Jellinghaus
based builds, and for IDE I should tell it to reference the jar. that works for building well, but not for assembling a dex that has everything included. any idea what I need to do? Thanks, Andreas --~--~-~--~~~---~--~~ You received this message because you

[android-beginners] Re: problem with a simple map app

2008-09-27 Thread Andreas Frey
Hallo Falko, though your post lacks the occuring error, i try to help anyway. I had similar problems on my first android application with a Google Map. I think you lack 2 things: 1. You need to import the google maps libraries in the manifest.xml, and 2. To add permissions for accessing the

[android-beginners] Re: problem with a simple map app

2008-09-27 Thread Andreas Frey
Hello Falko, ialready sent a message, but this is not shown. So I try again. Though i miss an error description, I try to help you anyway. I had some problems also with my first Google Android Map application. Perhaps this can solve your problems: Adjust your AndroidManifest.xml for a Map