[android-beginners] Re: Simple Animation Code

2009-08-20 Thread Pruthvi Raj
Hi,In Oncreate method set the setContentView with main.xml file and use imageVeiw id which is defined in the main.xml in u r .java file. public void onCreate(Bundle icicle) { super.onCreate(icicle); setContentView(R.layout.main); // set its background to our AnimationDrawab

[android-beginners] Re: INTERNET

2009-08-20 Thread Mitch
I'm not trying to use HTTP, the "www.google.com" was just a URL I knew would be able to respond. Turns out that if I replace the "www.google.com" with it's IP "74.125.53.105" then it works. Don't know why. I would like to get 2 android simulators talking so I can test 2 way communications with

[android-beginners] Re: database openOrCreateDatabase

2009-08-20 Thread gandor
Sorry I screwed up the usage, this seems proper. myDB = openOrCreateDatabase("data2", SQLiteDatabase.CREATE_IF_NECESSARY, null); On Aug 20, 4:08 pm, gandor wrote: > Hi Guys, > > I am creating a new database, with a table and inserting some fields > in it > But I get the following error in op

[android-beginners]

2009-08-20 Thread saurabh sinha
hi I am android developer looking for education projects in android does any ony have education project in android plz send me source code --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Beginners" group. To

[android-beginners] database openOrCreateDatabase

2009-08-20 Thread gandor
Hi Guys, I am creating a new database, with a table and inserting some fields in it But I get the following error in opening or creating database. What am I missing ? Thanks a lot >>> ERROR/Database(167): sqlite3_open_v2("data2", &handle, 6, NULL) failed code follows.. public class Da

[android-beginners] Re: INTERNET

2009-08-20 Thread Roman ( T-Mobile USA)
It really depends on what you are trying to accomplish. If you want to implement a simple application using sockets you can try so setup a server on your desktop and execute the following commands from the Android device Socket s = new Socket("); PrintWriter out =

[android-beginners] Re: INTERNET

2009-08-20 Thread Roman ( T-Mobile USA)
It really depends on what you are trying to accomplish. If you want to implement an application simple application using sockets you can try so setup a server on your desktop and execute the following commands from the Android device Socket s = new Socket("); Print

[android-beginners] Re: Android SDK 2.0?

2009-08-20 Thread Andrés G. Aragoneses
Andrés G. Aragoneses wrote: > Mark Murphy wrote: >> Andrés G. Aragoneses wrote: >>> Is Flash a proprietary component as well or is the plugin also included >>> in Android? >> Flash is rather proprietary. It is not in the Android open source project. >> > > I know that Flash is proprietary. Howeve

[android-beginners] Small Change to Camera app (get source code)

2009-08-20 Thread jbrohan
I want users to take pictures and send them to my website with the phone number of the cell phone to identify them. My website can deal with the pictures from here. I have a small demo program working but the focus of the pictures is poor. I downloaded the Camera package and had a look at it. Ver

[android-beginners] Re: content://sms Content Observer not invoked

2009-08-20 Thread vivasvan
info: I tried this on Android SDK emulator 1.1/1.5 r3 / Win Vista 32- bit. I had lots of issues with r2 emulator - I could not make calls from one instance to another. Thanks, V. On Aug 20, 10:39 am, vivasvan wrote: > Hi, > I have the following lines of code in the onCreate() method of a > se

[android-beginners] content://sms Content Observer not invoked

2009-08-20 Thread vivasvan
Hi, I have the following lines of code in the onCreate() method of a service that gets created on BOOT_COMPLETE, Handler handler = new Handler(); ContentResolver resolver = getContentResolver(); ContentObserver observer = new SMSObserver(handler, resolver); content

[android-beginners] Re: INTERNET

2009-08-20 Thread John P.
I don't think you want to use sockets if the receiving end isn't setup to listen for them (in your case of www.google.com). If you want to communicate with http protocol, use a Http class. It may be possible to build your own HTTP reader using sockets, but there's already one available from stan

[android-beginners] Re: Android SDK 2.0?

2009-08-20 Thread Andrés G. Aragoneses
Mark Murphy wrote: > Andrés G. Aragoneses wrote: >> Is Flash a proprietary component as well or is the plugin also included >> in Android? > > Flash is rather proprietary. It is not in the Android open source project. > I know that Flash is proprietary. However, opensource project include means

[android-beginners] Re: startActivity() crash...

2009-08-20 Thread Tikoze
Roman, I have also tried the hard-coded example you gave for launching the activity, but I get the same exception thrown. Thanks, Justin --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Beginners" group. To

[android-beginners] Re: startActivity() crash...

2009-08-20 Thread Tikoze
Roman, Thanks for your reply, but your suggestion for starting the activity does not fix the problem. I have changed the code to closely resemble yours. The only difference is that the package and class names are taken from ActivityManager.RunningTaskInfo.baseActivity.getPackageNamer () and get

[android-beginners] Re: I am trying to log my gps location to a website.

2009-08-20 Thread cellurl
Thank you very much. You gave me the answer, "If you use a function that needs a special permission you don't have in your AndroidManifest.xml it will throw a SecurityException" -jp On Aug 19, 4:50 am, Lutz Schönemann wrote: > Usually you'll see it in the log files. I allways log the Exception

[android-beginners] how to update a listview

2009-08-20 Thread Liviu Ungureanu
Hi all! I have a ListView with and adapter extended from BaseAdapter. I insert some data in my list but when i try to insert an other item in list nothing happend. Can someone give me a ideea about updating listview data? this is the code: // info_list.setCacheColorHint(Co

[android-beginners] Re: android media Apps

2009-08-20 Thread nitin
hello, I could not see Window/Android AVD Manager in Eclipse. I also tried to see it after running the application in emulator, how can I see it? could you please help? On Jul 23, 5:01 pm, Kacper86 wrote: > In Eclipse click Window/Android AVD Manager. There you can create a > new instance of e

[android-beginners] how to get default Email account and compose a new message?

2009-08-20 Thread Atif Gulzar
I am looking for some anchors how to get default Email account and compose a new message. I will appreciate any help. Thanks -- Best Regards, Atif Gulzar I Unicode, ɹɐzlnƃ ɟıʇɐ --~--~-~--~~~---~--~~ You received this message because you are subscribed to the

[android-beginners] how can i MapView my map before attach to window

2009-08-20 Thread Adem KARAKOLLU
When mapView attacthed to window, i have to wait loading of mapView. I want to load my mapView before attach to window (while being invisible). Is there any idea? -- ADEM KARAKOLLU --~--~-~--~~~---~--~~ You received this message because you are subscribed to the

[android-beginners] Simple Animation Code

2009-08-20 Thread Kingcrowley
I am just gonna put in snippets of the code public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.frame_animations_layout); (sets View) *** case 0: ImageView

[android-beginners] Re: Portuguese localization?

2009-08-20 Thread Dominique
Hummm... sad. No schedule? On Aug 19, 7:00 pm, Rafa Perfeito wrote: > Hey, > Probably not because the first portuguese Android set to be released in here > as its software totally in english (HTC Magic by TMN). > > On Wed, Aug 19, 2009 at 1:14 PM, Dominique wrote: > > > > > Hello > > > I dont se