[android-beginners] Re: Android Forwarding Sample don't work

2009-04-13 Thread Ralf
Could you look at the logcat output (Eclipse Windows Perspective DDMS) or adb logcat from a shell? There should be a strack trace that will tell you exactly what crashed. For example, are you sure that the findViewById does not return null? R/ On Sat, Apr 11, 2009 at 7:59 PM, evo

[android-beginners] Re: Horizontal RadioGroup

2009-04-13 Thread kaloer
Thank you, I already had tried the getOrientation method, but did not know how to use it. But i found out, that you simply write getOrientation(0) for horizontal and getOrientation(1) for vertical :-) //Kaloer --~--~-~--~~~---~--~~ You received this message

[android-beginners] How can I store call actions(Incoming, Dialled, Missed)

2009-04-13 Thread ak_
Hi. How can i store call actions/informations (incoming, dialled, missed) through my application. I want store all call actions in my app. How can i do that. Is there any idea? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the

[android-beginners] Re: How can I store call actions(Incoming, Dialled, Missed)

2009-04-13 Thread ak_
I know that content provider is suitable to share data but if they are your own data. How can i take call actions informations ? ? ? On 13 Nisan, 15:22, ak_ karako...@gmail.com wrote: Hi. How can i store call actions/informations (incoming, dialled, missed) through my application. I want

[android-beginners] Re: How can I store call actions(Incoming, Dialled, Missed)

2009-04-13 Thread Arnaud Weber
The sms and call application is not part of the sdk. It's from another project that is installed as default and open sourced. Unfortunately it's very badly documented. This project contain a TelephonyProvider. I've never used it so i'm not sure it's gonna fit your needs but that's worth to take a

[android-beginners] Re: How can I store call actions(Incoming, Dialled, Missed)

2009-04-13 Thread Adem KARAKOLLU
Thank you.i found my answer in content providers of android.providers.calls / callLog This is a content providers. I m trying to see results. Thank you. On Mon, Apr 13, 2009 at 3:58 PM, Arnaud Weber arnaud...@gmail.com wrote: The sms and call application is not part of the sdk. It's from

[android-beginners] Change TextView text in code

2009-04-13 Thread kaloer
Hi, I have made a layout in Xml, which includes a TextView. The TextView should show some text that is found in a database. Therefore, i cannot find the text by using the @string/something. How can i define the text from my code, without creating the whole layout in code? My TextView has the id

[android-beginners] Re: Change TextView text in code

2009-04-13 Thread Arnaud Weber
That's almost it. but you need to cast your View as a TextView : TextView currentRankText = (TextView) this.findViewById(R.id.currentRankLabel); currentRankText.setText(some text); 2009/4/13 kaloer mkal...@gmail.com Hi, I have made a layout in Xml, which includes a TextView. The TextView

[android-beginners] Re: Change TextView text in code

2009-04-13 Thread Mark Murphy
I have made a layout in Xml, which includes a TextView. The TextView should show some text that is found in a database. Therefore, i cannot find the text by using the @string/something. How can i define the text from my code, without creating the whole layout in code? My TextView has the id

[android-beginners] Re: Change TextView text in code

2009-04-13 Thread kaloer
Thank you! It works now :-) //Kaloer --~--~-~--~~~---~--~~ 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,

[android-beginners] Re: Android Forwarding Sample don't work

2009-04-13 Thread zooFun
Did you add your loli Activity into the AndroidManifest.xml? On Apr 13, 1:56 pm, Ralf ralfo...@gmail.com wrote: Could you look at the logcat output (Eclipse Windows Perspective DDMS) or adb logcat from a shell? There should be a strack trace that will tell you exactly what crashed. For

[android-beginners] I don't know how to use the path setDataSource(path) of MediaPlayer?

2009-04-13 Thread dragonksn
Dear all, I'm a new comer to Android. I want to play a music file located in my SDCARD image by using my own code. But all the path I have tried with did not work. The file is located in /myandroid/dcim/Camera/Songs/ track1.mp3 (This seen when I mount the drive to local machine). But the song can

[android-beginners] accelerometer

2009-04-13 Thread developpeur
hi everybody i have a question about the accelerometer integrated into new mobiles. i want to know how it work? if possible a sample android code that demonstrate how to use the package android.hardware.sensormanager to manipulate the accelerometer and get the followings results : the actual

[android-beginners] Displaying data using TableLayout

2009-04-13 Thread ramesh kumar bh
Hi i have retrieved some information from database using Android application. I want to display this data via a table format in my application. I have used TextView in tableRow to display the data. But how this dynamic data has to be presented. Please help me as i am new to this Android. Regards

[android-beginners] how to communicate with a web server

2009-04-13 Thread aamir
Hi all, I would like to build a basic application that would communicated with a web server running on my computer ( http://192.168.0.0.0) .My computer runs apache.Any help will be greatly appreciated. Aamir --~--~-~--~~~---~--~~ You received

[android-beginners] Re: how to communicate with a web server

2009-04-13 Thread Arnaud Weber
Emulator run on a VM so it has it's own network. your loopback 192.168.0.0 is not going to work. There is a bridge between the network of your emulator and your own loopback at the adress 10.0.2.2. Try this address and that should work. Hope it helps Arnaudweb 2009/4/14 aamir

[android-beginners] Early Look Android 1.5 SDK

2009-04-13 Thread Xavier Ducrohet
Hello developers! I'm pleased to announce the release of an early look of the Android 1.5 SDK. More information and download link at: http://android-developers.blogspot.com/2009/04/getting-ready-for-android-15.html Have fun! Xav -- Xavier Ducrohet Android Engineer, Google.

[android-beginners] Re: [android-developers] Early Look Android 1.5 SDK

2009-04-13 Thread Ivan Soto
Holy!.. Much appreciated. Looks like we are getting heard. Downloading. Ivan Soto Fernandez Web Developer http://ivansotof.com On Mon, Apr 13, 2009 at 5:30 PM, Xavier Ducrohet x...@android.com wrote: Hello developers! I'm pleased to announce the release of an early look of the Android

[android-beginners] Re: Early Look Android 1.5 SDK

2009-04-13 Thread Ivan Soto
Hi, Just updated my project to Android 1.5 and this is what I get every time I try to scroll my list. http://www.quicksnapper.com/ivansf/image/untitled/ Not sure why it's taking so much time that loaded time zone for en Ivan Soto Fernandez Web Developer http://ivansotof.com On Mon, Apr 13,

[android-beginners] Running the Emulator on Early Look 1.5 SDK

2009-04-13 Thread Pd
Hello, Noticed the emulator now needs a -avd parameter to run. I had a look at the Early 1.5 docs but there's no mention of the -avd startup option as yet. All you need to do is create a virtual device. cd to the tools directory. on my linux box this was:

[android-beginners] Re: Early Look Android 1.5 SDK

2009-04-13 Thread Justin (Google Employee)
If you encounter issues, please start a new thread for that issue. If everyone reports all 1.5_pre issues on this thread it will be a mess. Thanks, Justin Android Team @ Google On Apr 13, 6:03 pm, Ivan Soto ivanso...@gmail.com wrote: Hi, Just updated my project to Android 1.5 and this is what

[android-beginners] Re: About the call log ?

2009-04-13 Thread Gulfam
Hi ak, Check this link it will help you regarding call log. http://www.anddev.org/video-tut_-_querying_and_displaying_the_calllog-t169.html Regards, Gulfam Hassan On Apr 13, 1:31 am, ak_ karako...@gmail.com wrote: Is there anyone who know something about the storing call logs on android.

[android-beginners] Re: How to I use touch screen to draw a straight line

2009-04-13 Thread Raphael
A couple suggestions: - don't make your x/y fields static. - in onTouch, test that MotionEvent.getAction() is ACTION_DOWN. - to draw you should create a custom View class and override the onDraw method. See ApiDemos or the LunarLander samples for a start. R/ On Mon, Apr 13, 2009 at 5:14 PM,