[android-beginners] [Urgent] Need Help in File Functions

2010-04-05 Thread brijesh masrani
Hello Everyone, I want to modify a text file using Android program . I searched about that and i found that I have to copy whole content of file and than Modify it and save it to other file and than Delete Original file and rename the Modified one. I tried file.delete() method But i am getting

[android-beginners] Need Help in Listview need to fetch Contacts

2010-04-05 Thread nubh bhargava
Hi I am very new to android, I am working on CupCake or version 1.5 and need to import contact list with phone no and name into a new list. can anyone please suggest me what to do. Thanks in Advance NUBH -- You received this message because you are subscribed to the Google Groups Android

[android-beginners] Remember Password

2010-04-05 Thread Chirayu Dalwadi
If user clicks on remember password than how to remeber username and password on client ? -- You received this message because you are subscribed to the Google Groups Android Beginners group. NEW! Try asking and tagging your question on Stack Overflow at

[android-beginners] Having some trouble with ADT

2010-04-05 Thread g1
Hi, I'm following the instructions on installing the Android SDK and ADT from the ebook Hello, Android by Ed Burnette. Everything seems to have gone fine up until the point where I select File - New - Project. My impression is that everything is installed correctly. Android SDK packages

[android-beginners] By when onActivityResult is called??

2010-04-05 Thread DroidBy
When onActivityResult(int, int, Intent) will be called? I notice this is not called when I call finish(); on the activity that I start with startActivityForResult (Intent intent, int requestCode). Does it means the activity is not exit even I call finish() on it? -- You received this message

[android-beginners] Re: By when onActivityResult is called??

2010-04-05 Thread skink
DroidBy wrote: When onActivityResult(int, int, Intent) will be called? I notice this is not called when I call finish(); on the activity that I start with startActivityForResult (Intent intent, int requestCode). Does it means the activity is not exit even I call finish() on it? did you

Re: [android-beginners] Re: By when onActivityResult is called??

2010-04-05 Thread Bilal
do like this Bundle bundle = new Bundle(); bundle.putInt(Close, 1); i = new Intent(); i.putExtras(bundle); setResult(RESULT_OK, i); finish(); @Override protected void onActivityResult(int requestCode, int resultCode, Intent i){ try{ if(i!=null){

[android-beginners] logcat of video capture using MediaRecorder

2010-04-05 Thread Nandini
Hi can anyone provide me the logcat of Video capture using MediaRecorder? Thanks -- You received this message because you are subscribed to the Google Groups Android Beginners group. NEW! Try asking and tagging your question on Stack Overflow at

Re: [android-beginners] Need Help in Listview need to fetch Contacts

2010-04-05 Thread Justin Anderson
I've never done this but you need to use a content provider... I think you want to look at the ContactsContract class On Apr 5, 2010 1:18 AM, nubh bhargava nubh.bharg...@gmail.com wrote: Hi I am very new to android, I am working on CupCake or version 1.5 and need to import contact list with

Re: [android-beginners] Re: Creating a ListView and onListItemClick()

2010-04-05 Thread timothy
Thanks again. Very helpful. One last thing. To actually know what you clicked on, do you just go by whatever the id was that was passed to the on click method? On Sun, 2010-04-04 at 21:24 -0600, Justin Anderson wrote: Here is some sample code from one of my apps: Intent newIntent = new

[android-beginners] Re: SDK won't install

2010-04-05 Thread A
OK, I got the URL to give me a list of packages. However when I select them all it won't let me download them, because the 7th one is missing, even though it's in the list. I tried installing one by one but that didn't work. It's almost like Google is trying to discourage installing the SDK. --

Re: [android-beginners] Re: Creating a ListView and onListItemClick()

2010-04-05 Thread Justin Anderson
I haven't actually done very much with the onListItemClick() method but the view that is clicked is passed into it... I would think that you would be able to get everything you need from that. If that is not what you need, then you would probably have to put something together with the ListView,

Re: [android-beginners] Re: SDK won't install

2010-04-05 Thread Justin Anderson
* It's almost like Google is trying to discourage installing the SDK.* Not likely Out of all the users downloading the SDK this is the first I've heard of this. I'm amazed at how fast people jump to conclusions like this when they have a mostly isolated problem using their software.

[android-beginners] How to display 'Column title' on the top of List ?

2010-04-05 Thread Javacoffee
Hi guys, I'm a new follower in android and facing the problem of displaying List data in android programming. Yes, I agree with that it is quite a easy to represent List data but don't know how to show the column title such as 'Name or Address' on the top of List. (Just like Table columns) Any

[android-beginners] Initializing a custom view via XML

2010-04-05 Thread jrichards1...@googlemail.com
As the title says, i am trying to use a custom view i have created and initializing the size of it using the above xml code snippet located inside my layout folder.: com.Resources.Gui.ScrollingText android:id=@+id/rss android:layout_height=wrap_content

[android-beginners] Re: Having some trouble with ADT

2010-04-05 Thread g1
Hi, the ebook says I can set the sdk path by selecting Window Preferences Android. However if I select Window Preferences there is no option for android. On Apr 5, 7:16 pm, jarnaud jark...@gmail.com wrote: Hi, Go in Preferences and make sure that the SDK location is correct. -- JA,

[android-beginners] Real beginner stuff

2010-04-05 Thread Alan Gauld
Just got my Android phone today. I have several questions but this looks like primarily a programmers forum? If so I'll have some questions later, I downloaded the SDK and Eclipse ADT yesterday... :-) But first, where do I find a users forum? Specifically I have read in a review that my Samsung

Re: [android-beginners] Real beginner stuff

2010-04-05 Thread wahib haq
hey alan, I dont thing there is any user's forum. People do ask questions here regarding phone usage issues and features. I dont have 1 yet so nvr asked one :) well i searched for reviews on samsung galaxy S and on this -

Re: [android-beginners] Real beginner stuff

2010-04-05 Thread wahib haq
hi ! This might be helpful for u -- http://developer.android.com/guide/developing/device.html On 4/6/10, wahib haq wahib.t...@gmail.com wrote: hey alan, I dont thing there is any user's forum. People do ask questions here regarding phone usage issues and features. I dont have 1 yet so nvr

[android-beginners] Eclipse, ADT won't start android application

2010-04-05 Thread lgraba
Android version: 2.1 ADT version 0.9.6 Java 1.6 Eclipse 3.5 OS: Linux, OpenSuSE 11.2 I have installed the ADT in eclipse and configured it to point to the Android SDK location. I have created a virtual android device with default properties. I can create an android project, and in fact created

Re: [android-beginners] Re: SDK won't install

2010-04-05 Thread Justin Anderson
I don't work for Google. However, I do get tired somewhat of people making rash claims and assumptions when they have problems with things... I hope you don't HONESTLY think that Google is trying to discourage installing the SDK. Seriously, that would be pretty counter-productive on their

Re: [android-beginners] Re: SDK won't install

2010-04-05 Thread Justin Anderson
* You never responded to my questions about my problem either... What is the exact path to the SDK Setup.exe file?* I meant that you never responded to my questions about YOUR problem -- There are only 10 types of people in

Re: [android-beginners] Re: SDK won't install

2010-04-05 Thread Xavier Ducrohet
what do you mean by the 7th one is missing? 7th one what? how is it missing? Xav On Mon, Apr 5, 2010 at 8:23 AM, A questione...@yahoo.com wrote: OK, I got the URL to give me a list of packages. However when I select them all it won't let me download them, because the 7th one is missing, even

Re: [android-beginners] Re: SDK won't install

2010-04-05 Thread Xavier Ducrohet
On Sun, Apr 4, 2010 at 5:41 PM, yee chen my.name.is@gmail.com wrote: hey: change URL address to http://dl-ssl.google.com/android/repository/repository.xml Don't do this. The add site feature is not meant to replace the default location. It's only meant for repositories that only contain

[android-beginners] How to connect to a robot.

2010-04-05 Thread cellurl
I want to control something external using Android. Q1: Can I have two-RFCOMM channels running at the same moment? Eg, channel 1 for voice, channel 2 for my robot. Is that possible? Q2: I understand Android-USB doesn't support host mode, thus if I use USB, my external device becomes more

[android-beginners] getExtra() and cursors

2010-04-05 Thread timothy
Hey, I am still not totally sure as to how putExtra() and getExtras() actually function. If I have a click listener in one class and I want to use an intent from that to a new activity, how should I actually call getExtras()? I thought it would be stored in the bundle or something, but I am not

Re: [android-beginners] Need Help in Listview need to fetch Contacts

2010-04-05 Thread nubh bhargava
The problem is ContactsContract class only supports level 5 and after I looked onto it. Thanks NUBH -- You received this message because you are subscribed to the Google Groups Android Beginners group. NEW! Try asking and tagging your question on Stack Overflow at

[android-beginners] Re: Remember Password

2010-04-05 Thread arin
do you want to remember the password for session based or do u want to permanently store it in the handheld? On Apr 5, 12:24 pm, Chirayu Dalwadi chirayu.dalw...@gmail.com wrote: If user clicks on remember password than how  to remeber username and password on client ? -- You received this

Re: [android-beginners] Need Help in Listview need to fetch Contacts

2010-04-05 Thread Justin Anderson
Ok well, then you will want to use the deprecated version of that. I don't know what it is but I'm sure if you Google something like Android 1.5 Contacts Content Provider (or something similar) then you should get something...

Re: [android-beginners] Need Help in Listview need to fetch Contacts

2010-04-05 Thread nubh bhargava
Ya, exactly please see the code I need to fetch something in the adapter area but do not understand how to do it, please help. * package* com.example.HelloSpinner; * import* android.app.Activity; * import* android.content.ContentUris; * import* android.content.Intent; * import*

Re: [android-beginners] Need Help in Listview need to fetch Contacts

2010-04-05 Thread nubh bhargava
The problem is on the underlined text, just check. Thanks Regards NUBH -- You received this message because you are subscribed to the Google Groups Android Beginners group. NEW! Try asking and tagging your question on Stack Overflow at http://stackoverflow.com/questions/tagged/android To