[android-beginners] Re: My very first program giving me R.layout.main cannot be resolved error

2008-12-29 Thread silverberg.ode...@googlemail.com
Guess you're missing the main.xml file in res\layout folder. Create a res\layout\main.xml file, place a few views init and save. This should update the R.java file with the correct reference to the file On Dec 26, 3:06 pm, AndroidBegins wrote: > package com.first; > > import android.R; > import

[android-beginners] TextView setTextAppearance bugged?

2008-12-29 Thread silverberg.ode...@googlemail.com
Hi, i started developing with a droid a few days ago and noticed some weird behaviour with the TextView.setTextAppearance function. If i use it with a attr style parameter, it wont work. But if i put the same ressource in the constructor, it works. For example: // Works TextViw title = new Text

[android-beginners] Re: How To check an incoming SMS for it's sender?

2008-12-29 Thread silverberg.ode...@googlemail.com
>From what i know, you can't intercept SMS messages (i.e. prevent a message to be delievered to the sms app), only react on it. So the user would get notifed anyways on every incoming SMS. I think this is for security reason, so you can't install any backdoors which receive commands via SMS On D

[android-beginners] Re: TextView setTextAppearance bugged?

2009-01-02 Thread silverberg.ode...@googlemail.com
Any ideas? --~--~-~--~~~---~--~~ 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 to android-begin

[android-beginners] Re: Confusion about selection

2009-01-07 Thread silverberg.ode...@googlemail.com
Well it depends imho. If you have no programming experience with, it's better to start with java/j2me first. Experience with j2me of course helps much when it comes to the security model of mobile devices, as it's quite different from classical java or desktop programming. Guess if you're experie

[android-beginners] Re: Confusion about selection

2009-01-08 Thread silverberg.ode...@googlemail.com
I think thats what he already knows. Guess he was asking it, because in some android books the author says its better to start with J2ME (or java in general) if you haven't worked with it before, because for some people it could be "too hard" to learn Java AND android programming at the same time.

[android-beginners] Creating a contact by using an Intent

2009-01-11 Thread silverberg.ode...@googlemail.com
Hi, I have a AutoCompleteTextView to quickly search/select a Contact. Works so far. Now i want to implement 2 features to quickly edit/ insert a new contact on a long click (i.e. if there was already a contact selected, it should edit it otherwise it should edit it). Viewing works perfectly with

[android-beginners] Re: basic doubts on andriod

2009-01-12 Thread silverberg.ode...@googlemail.com
I think you have some wrong understanding of Android. As far as i know, you can't directly write application on C/C++ level but write it in Java. At least you won't be able to use your own C/C++ libraries in the "normal" way unless using some hacks to modify the firmware or compiling your own ver

[android-beginners] performing certain actions on installation/upgrade?

2009-01-12 Thread silverberg.ode...@googlemail.com
Is there a way in android to perform certain actions when "upgrading" a programm? i.e. deleting all old settings and databases. For a more practical example, lets assume you have an application you to sell for a small charge but you also want to offer a free trial version of it. The trial should

[android-beginners] Re: bluetooth api

2009-01-13 Thread silverberg.ode...@googlemail.com
They will add the Bluetooth API when it's ready. At the time when SDK 1.0 was released, the Bluetooth API wasn't finished and they didn't wanted to release an unfinished API, because the API has to be supported for many years and big changes would break the applications using it. On Jan 13, 12:25