[android-beginners] [Urgent] Need Help in File Functions
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 error of permission denied to delete that file. So can anyone help me As Soon As possible Regards, Brijesh Masrani. -- 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 unsubscribe from this group, send email to android-beginners+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en
[android-beginners] Need Help in Listview need to fetch Contacts
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 Beginners" group. NEW! Try asking and tagging your question on Stack Overflow at http://stackoverflow.com/questions/tagged/android To unsubscribe from this group, send email to android-beginners+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en To unsubscribe, reply using "remove me" as the subject.
[android-beginners] Remember Password
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 http://stackoverflow.com/questions/tagged/android To unsubscribe from this group, send email to android-beginners+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en To unsubscribe, reply using "remove me" as the subject.
[android-beginners] Having some trouble with ADT
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 installed: http://androidforums.com/attachments/developer-101/2688d1270221524-having-some-trouble-adt-sdk.jpg "Help -> Install new software" in eclipse: http://androidforums.com/attachments/developer-101/2689d1270221524-having-some-trouble-adt-eclipse1.jpg What is already installed" from the previous window: http://androidforums.com/attachments/developer-101/2690d1270221524-having-some-trouble-adt-eclipse2.jpg If I reload Eclipse now and select "File -> New -> Project" android doesn't appear amongst the options. Also if I go to "Window -> Preferences" there is no mention of android. To add to the above, the instructions from the ebook are essentially the same as: http://developer.android.com/sdk/eclipse-adt.html#installing I'm using Eclipse 3.5 (Galileo) Any assistance would be great. I'm normally a notepad / gedit coder, so I don't have too much experience with eclipse but it shouldn't be this hard to get started. Thanks, g1 -- 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 unsubscribe from this group, send email to android-beginners+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en To unsubscribe, reply using "remove me" as the subject.
[android-beginners] By when onActivityResult is called??
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 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 unsubscribe from this group, send email to android-beginners+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en To unsubscribe, reply using "remove me" as the subject.
[android-beginners] Re: By when onActivityResult is called??
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 call setResult(int) in your child Activity? -- 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 unsubscribe from this group, send email to android-beginners+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en To unsubscribe, reply using "remove me" as the subject.
Re: [android-beginners] Re: By when onActivityResult is called??
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){ Bundle bd = i.getExtras(); if(bd.getInt("Close") == 1); bd.putInt("Close", 1); i.putExtras(bd); setResult(RESULT_OK, i); finish(); super.onActivityResult(requestCode, resultCode, i); } }catch(Exception e) { Toast.makeText(this, e.toString(), Toast.LENGTH_SHORT).show(); } } On Mon, Apr 5, 2010 at 3:19 AM, skink wrote: > > > 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 call setResult(int) in your child Activity? > > -- > 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 unsubscribe from this group, send email to > android-beginners+unsubscr...@googlegroups.com > For more options, visit this group at > http://groups.google.com/group/android-beginners?hl=en > > To unsubscribe, reply using "remove me" as the subject. > -- Bilal -- There are only 10 types of people in the world... Those who know binary and those who don't. -- -- 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 unsubscribe from this group, send email to android-beginners+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en
[android-beginners] logcat of video capture using MediaRecorder
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 http://stackoverflow.com/questions/tagged/android To unsubscribe from this group, send email to android-beginners+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en To unsubscribe, reply using "remove me" as the subject.
Re: [android-beginners] Need Help in Listview need to fetch Contacts
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" wrote: 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 Beginners" group. NEW! Try asking and tagging your question on Stack Overflow at http://stackoverflow.com/questions/tagged/android To unsubscribe from this group, send email to android-beginners+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en -- 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 unsubscribe from this group, send email to android-beginners+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en To unsubscribe, reply using "remove me" as the subject.
Re: [android-beginners] Re: Creating a ListView and onListItemClick()
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 Intent(Intent.ACTION_MAIN); > newIntent.setClass(this, ActivityListView.class); > newIntent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK); > startActivity(newIntent); > > A couple things to note: > * This is code taken from a class that inherits from Activity, > which inherits from Context. Context is the class that has > the startActivity method > * The setClass method sets the class of the Activity you want to > launch > * The call to setFlags is optional but is worth looking into as > it can change the behavior of quite a bit > * You would want to grab contact data from your current activity > and add it to the intent via one of its overloaded putExtra > methods > Thanks, > Justin > > -- > There are only 10 types of people in the world... > Those who know binary and those who don't. > -- > > > On Sun, Apr 4, 2010 at 6:48 PM, Timothy Passaro > wrote: > Hey, thank you very much! This is what I was looking for. Just > one > question if I may. When you start a new Intent, what exactly > do you > do? For my purposes, I am not sure if the Intent must pass > data from > the contact that you click on and pass that to the new > Activity or > something like that. Sorry if I am not clear, just new to the > Activity/ > Intent deal. Thanks again. > > On Apr 4, 7:10 pm, Justin Anderson > wrote: > > I'm assuming this would be a custom view created by you, > right? > > > > >1. Create a new Activity that displays the view that you > want > >2. Add the information for the new Activity in the > Android Manifest file > >3. In your onListItemClick method do the following: > > 1. Create a new intent with the details of your new > Activity > > 2. Add the needed data from your list activity to the > intent via > > putExtra() > > 3. Call startActivity with your intent > >4. Read the extra information in the onCreate() method of > your new > >Activity > > > > Hope that helps, > > Justin > > > > > -- > > There are only 10 types of people in the world... > > Those who know binary and those who don't. > > > -- > > > > On Sun, Apr 4, 2010 at 3:32 PM, Timothy Passaro > > > wrote: > > > > > > > > > > Hey group, I have just recently picked up android and ran > into a > > > stumbling block. I have been able to set up a list view of > contacts on > > > a phone, but have no idea how to create a new view from > the item > > > clicked. Any help would be great! I have been looking for > a solution > > > for the day, and can't seem to find anything I can > comprehend, so any > > > help is great! Thanks! > > > > > package com.grey.gui; > > > > > import java.util.ArrayList; > > > > > import android.app.ListActivity; > > > import android.content.ContentResolver; > > > import android.content.Intent; > > > import android.database.Cursor; > > > import android.os.Bundle; > > > import android.provider.ContactsContract; > > > import android.view.View; > > > import android.widget.ArrayAdapter; > > > import android.widget.ListAdapter; > > > import android.widget.ListView; > > > > > public class MainPage extends ListActivity { > > > > >private ListAdapter adapter; > > >private Cursor c; > > > > >@Override > > >public void onCreate(Bundle icicle) { > > >super.onCreate(icicle); > > >ContentResolver cr = getContentResolver(); > > >c = cr.query(ContactsContract.Contacts.CONTENT_URI, > null, > > > null, null,null); > > > > >ArrayList names = new ArrayList(); > > > while(c.moveToNext()){ > > > //String id = > > > > c.getString(c.getColumnIndex(ContactsContra
[android-beginners] Re: SDK won't install
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. -- 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 unsubscribe from this group, send email to android-beginners+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en
Re: [android-beginners] Re: Creating a ListView and onListItemClick()
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, position, and id... Sorry I can't help more with that... I just haven't done much with a ListView. Thanks, Justin -- There are only 10 types of people in the world... Those who know binary and those who don't. -- On Mon, Apr 5, 2010 at 7:54 AM, timothy wrote: > 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 Intent(Intent.ACTION_MAIN); > > newIntent.setClass(this, ActivityListView.class); > > newIntent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK); > > startActivity(newIntent); > > > > A couple things to note: > > * This is code taken from a class that inherits from Activity, > > which inherits from Context. Context is the class that has > > the startActivity method > > * The setClass method sets the class of the Activity you want to > > launch > > * The call to setFlags is optional but is worth looking into as > > it can change the behavior of quite a bit > > * You would want to grab contact data from your current activity > > and add it to the intent via one of its overloaded putExtra > > methods > > Thanks, > > Justin > > > > -- > > There are only 10 types of people in the world... > > Those who know binary and those who don't. > > -- > > > > > > On Sun, Apr 4, 2010 at 6:48 PM, Timothy Passaro > > wrote: > > Hey, thank you very much! This is what I was looking for. Just > > one > > question if I may. When you start a new Intent, what exactly > > do you > > do? For my purposes, I am not sure if the Intent must pass > > data from > > the contact that you click on and pass that to the new > > Activity or > > something like that. Sorry if I am not clear, just new to the > > Activity/ > > Intent deal. Thanks again. > > > > On Apr 4, 7:10 pm, Justin Anderson > > wrote: > > > I'm assuming this would be a custom view created by you, > > right? > > > > > > > >1. Create a new Activity that displays the view that you > > want > > >2. Add the information for the new Activity in the > > Android Manifest file > > >3. In your onListItemClick method do the following: > > > 1. Create a new intent with the details of your new > > Activity > > > 2. Add the needed data from your list activity to the > > intent via > > > putExtra() > > > 3. Call startActivity with your intent > > >4. Read the extra information in the onCreate() method of > > your new > > >Activity > > > > > > Hope that helps, > > > Justin > > > > > > > > > -- > > > There are only 10 types of people in the world... > > > Those who know binary and those who don't. > > > > > > -- > > > > > > On Sun, Apr 4, 2010 at 3:32 PM, Timothy Passaro > > > > > wrote: > > > > > > > > > > > > > > > Hey group, I have just recently picked up android and ran > > into a > > > > stumbling block. I have been able to set up a list view of > > contacts on > > > > a phone, but have no idea how to create a new view from > > the item > > > > clicked. Any help would be great! I have been looking for > > a solution > > > > for the day, and can't seem to find anything I can > > comprehend, so any > > > > help is great! Thanks! > > > > > > > package com.grey.gui; > > > > > > > import java.util.ArrayList; > > > > > > > import android.app.ListActivity; > > > > import android.content.ContentResolver; > > > > import android.content.Intent; > > > > import android.database.Cursor; > > > > import android.os.Bundle; > > > > import android.provider.ContactsContract; > > > > import android.view.View; > >
Re: [android-beginners] Re: SDK won't install
*> 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. -- There are only 10 types of people in the world... Those who know binary and those who don't. -- On Mon, Apr 5, 2010 at 9:23 AM, A 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 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. > > -- > 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 unsubscribe from this group, send email to > android-beginners+unsubscr...@googlegroups.com > For more options, visit this group at > http://groups.google.com/group/android-beginners?hl=en > -- 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 unsubscribe from this group, send email to android-beginners+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en To unsubscribe, reply using "remove me" as the subject.
[android-beginners] Re: Having some trouble with ADT
Hi, Go in Preferences and make sure that the SDK location is correct. -- JA, android code snippets for android developpers: http://www.devandro.com On Apr 5, 4:10 am, g1 wrote: > 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 > installed:http://androidforums.com/attachments/developer-101/2688d1270221524-ha... > > "Help -> Install new software" in > eclipse:http://androidforums.com/attachments/developer-101/2689d1270221524-ha... > > What is already installed" from the previous > window:http://androidforums.com/attachments/developer-101/2690d1270221524-ha... > > If I reload Eclipse now and select "File -> New -> Project" android > doesn't appear amongst the options. Also if I go to "Window -> > Preferences" there is no mention of android. > > To add to the above, the instructions from the ebook are essentially > the same as:http://developer.android.com/sdk/eclipse-adt.html#installing > > I'm using Eclipse 3.5 (Galileo) > > Any assistance would be great. I'm normally a notepad / gedit coder, > so I don't have too much experience with eclipse but it shouldn't be > this hard to get started. > > Thanks, > g1 -- 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 unsubscribe from this group, send email to android-beginners+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en To unsubscribe, reply using "remove me" as the subject.
[android-beginners] How to display 'Column title' on the top of List ?
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 idea regarding to the agony would be greatly appreciated. Kind Regards, Jin -- 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 unsubscribe from this group, send email to android-beginners+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en To unsubscribe, reply using "remove me" as the subject.
[android-beginners] Initializing a custom view via XML
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.: The height and width of my custom view doesnt seem to work. i have to manualy hard code it to adjust and see my custom view using the bit of code below located on my main activity class: rssText = (ScrollingText) findViewById(R.id.rss); rssText.setWidthHeight(200,50); Code below is the ScrollingText methods. Constructor: public ScrollingText(Context context, AttributeSet attrs) { super(context, attrs); textPaint = new Paint(Paint.ANTI_ALIAS_FLAG); textPaint.setColor(Color.BLACK); textBoxPaint = new Paint(Paint.ANTI_ALIAS_FLAG); textBoxPaint.setColor(Color.WHITE); textPaint.setTextSize(20); } public void setWidthHeight(int width, int height){ this.height = height; this.width = width; } private void drawTextBox(Canvas c) { // TODO: Experiment with these co-ordinates c.drawRect(10, 0, width - 10, height, textBoxPaint); } private void drawTextRss(Canvas c) { int textHeight = (int) textPaint.getTextSize(); printDebug("text height = "+ textHeight); c.drawText(text, 10, height + 10, textPaint); //c.drawText("Hello, why doesnt this work", 10, 50, textPaint); } @Override protected void onDraw(Canvas canvas) { // TODO Auto-generated method stub super.onDraw(canvas); drawTextBox(canvas); drawTextRss(canvas); setVisibility(VISIBLE); } @Override protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { setMeasuredDimension(width,height); } I hope my explanations and code is enough to help me figure out how i can set the size of the custom view from the xml layout file. Not sure why android:layout_height="wrap_content" android:layout_width="wrap_content" doesnt ?? -- 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 unsubscribe from this group, send email to android-beginners+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en To unsubscribe, reply using "remove me" as the subject.
[android-beginners] Re: Having some trouble with ADT
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 wrote: > Hi, > > Go in Preferences and make sure that the SDK location is correct. > > -- > JA, android code snippets for android developpers:http://www.devandro.com > > On Apr 5, 4:10 am, g1 wrote: > > > 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 > > installed:http://androidforums.com/attachments/developer-101/2688d1270221524-ha... > > > "Help -> Install new software" in > > eclipse:http://androidforums.com/attachments/developer-101/2689d1270221524-ha... > > > What is already installed" from the previous > > window:http://androidforums.com/attachments/developer-101/2690d1270221524-ha... > > > If I reload Eclipse now and select "File -> New -> Project" android > > doesn't appear amongst the options. Also if I go to "Window -> > > Preferences" there is no mention of android. > > > To add to the above, the instructions from the ebook are essentially > > the same as:http://developer.android.com/sdk/eclipse-adt.html#installing > > > I'm using Eclipse 3.5 (Galileo) > > > Any assistance would be great. I'm normally a notepad / gedit coder, > > so I don't have too much experience with eclipse but it shouldn't be > > this hard to get started. > > > Thanks, > > g1 -- 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 unsubscribe from this group, send email to android-beginners+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en To unsubscribe, reply using "remove me" as the subject.
[android-beginners] Real beginner stuff
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 Galaxy Portal (GT15700) is stuck on Android 1.5 - is that true - how can I check the Android version? I looked in the settings for the phone and it mentions: firmware version - 2.1 update 1 - is this the android version? kernel - 2.6.29 - I assume this relates to the Linux kernel version? build - ECLAIRXXJCD - no idea what this signifies! Hope you can help, -- Alan Gauld Author of the Learn to Program web site http://www.alan-g.me.uk/ -- 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 unsubscribe from this group, send email to android-beginners+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en To unsubscribe, reply using "remove me" as the subject.
Re: [android-beginners] Real beginner stuff
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 -> http://twittown.com/mobile/android/android-blog/samsung-builds-killer-android-smartphone-samsung-galaxy-s its clearly written that phone comes up with android 2.1 OS which is the latest version. If firmware version shows 2.1 then it must be the OS version. and yeah its linux version and in the build option as u mentioned, word eclair is version name for android 2.0 sdk. sm1 else must comment & explain. Have a nice time with ur android !! :) regards, wahib On 4/6/10, Alan Gauld wrote: > 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 Galaxy Portal > (GT15700) > is stuck on Android 1.5 - is that true - how can I check the Android > version? > I looked in the settings for the phone and it mentions: > > firmware version - 2.1 update 1 - is this the android version? > kernel - 2.6.29 - I assume this relates to the Linux kernel version? > build - ECLAIRXXJCD - no idea what this signifies! > > Hope you can help, > > -- > Alan Gauld > Author of the Learn to Program web site > http://www.alan-g.me.uk/ > > > > > -- > 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 unsubscribe from this group, send email to > android-beginners+unsubscr...@googlegroups.com > For more options, visit this group at > http://groups.google.com/group/android-beginners?hl=en > > To unsubscribe, reply using "remove me" as the subject. > -- Wahib-ul-haq 3rd year Communications Engineering Student, NUST, Pakistan. Microsoft Student Partner follow me on twitter @wahibhaq -- 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 unsubscribe from this group, send email to android-beginners+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en
Re: [android-beginners] Real beginner stuff
hi ! This might be helpful for u --> http://developer.android.com/guide/developing/device.html On 4/6/10, wahib haq 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 > asked one :) well i searched for reviews on samsung galaxy S and on > this -> > http://twittown.com/mobile/android/android-blog/samsung-builds-killer-android-smartphone-samsung-galaxy-s > > its clearly written that phone comes up with android 2.1 OS which is > the latest version. If firmware version shows 2.1 then it must be the > OS version. and yeah its linux version and in the build option as u > mentioned, word eclair is version name for android 2.0 sdk. sm1 else > must comment & explain. > > Have a nice time with ur android !! :) > > regards, > wahib > > On 4/6/10, Alan Gauld wrote: >> 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 Galaxy Portal >> (GT15700) >> is stuck on Android 1.5 - is that true - how can I check the Android >> version? >> I looked in the settings for the phone and it mentions: >> >> firmware version - 2.1 update 1 - is this the android version? >> kernel - 2.6.29 - I assume this relates to the Linux kernel version? >> build - ECLAIRXXJCD - no idea what this signifies! >> >> Hope you can help, >> >> -- >> Alan Gauld >> Author of the Learn to Program web site >> http://www.alan-g.me.uk/ >> >> >> >> >> -- >> 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 unsubscribe from this group, send email to >> android-beginners+unsubscr...@googlegroups.com >> For more options, visit this group at >> http://groups.google.com/group/android-beginners?hl=en >> >> To unsubscribe, reply using "remove me" as the subject. >> > > > -- > Wahib-ul-haq > > 3rd year Communications Engineering Student, > NUST, Pakistan. > Microsoft Student Partner > follow me on twitter @wahibhaq > -- Wahib-ul-haq 3rd year Communications Engineering Student, NUST, Pakistan. Microsoft Student Partner follow me on twitter @wahibhaq -- 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 unsubscribe from this group, send email to android-beginners+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en
[android-beginners] Eclipse, ADT won't start android application
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 the Hello, Android example. According the Hello, Android tutorial, I should be able to go to Run > Run and be presented with a list of applications to launch, including one for 'Hello, Android'. However, no such option exists. So, instead I select the project, right-click, and select 'Run as android application'. When I do this, I see a in the lower right corner saying 'Launching HelloAndroid' and a percentage, but it rapidly disappears. However, the application never starts. I've tried it be either staring the virtual device ahead of time, or leaving it to be started when the application is launched, but it doesn't start in either case. I also get nothing in the console window. If I go to a Windows XP machine with the same versions of everything (except OS), this works fine. If I do a clean on the project, I get what I think is normal output: [2010-04-05 17:28:37 - HelloAndroid] Removing generated java classes. [2010-04-05 17:28:37 - HelloAndroid] Creating 'gen' source folder for generated Java files [2010-04-05 17:28:37 - HelloAndroid] Refreshing resource folders. [2010-04-05 17:28:37 - HelloAndroid] Starting full Pre Compiler. [2010-04-05 17:28:37 - HelloAndroid] Preparing generated java files for update/creation. [2010-04-05 17:28:37 - HelloAndroid] /home/lgraba/android-sdk-linux_86/ platforms/android-7/tools/aapt package -m -v -J /home/lgraba/workspace/ HelloAndroid/gen -M /home/lgraba/workspace/HelloAndroid/ AndroidManifest.xml -S /home/lgraba/workspace/HelloAndroid/res -I / home/lgraba/android-sdk-linux_86/platforms/android-7/android.jar [2010-04-05 17:28:37 - HelloAndroid] Locale/Vendor pairs: [2010-04-05 17:28:37 - HelloAndroid]/ [2010-04-05 17:28:37 - HelloAndroid]/ [2010-04-05 17:28:37 - HelloAndroid]/ [2010-04-05 17:28:37 - HelloAndroid]/ [2010-04-05 17:28:37 - HelloAndroid] [2010-04-05 17:28:37 - HelloAndroid] Files: [2010-04-05 17:28:37 - HelloAndroid] drawable-hdpi/icon.png [2010-04-05 17:28:37 - HelloAndroid] Src: /home/lgraba/workspace/ HelloAndroid/res/drawable-hdpi/icon.png [2010-04-05 17:28:37 - HelloAndroid] drawable-ldpi/icon.png [2010-04-05 17:28:37 - HelloAndroid] Src: /home/lgraba/workspace/ HelloAndroid/res/drawable-ldpi/icon.png [2010-04-05 17:28:37 - HelloAndroid] drawable-mdpi/icon.png [2010-04-05 17:28:37 - HelloAndroid] Src: /home/lgraba/workspace/ HelloAndroid/res/drawable-mdpi/icon.png [2010-04-05 17:28:37 - HelloAndroid] layout/main.xml [2010-04-05 17:28:37 - HelloAndroid] Src: /home/lgraba/workspace/ HelloAndroid/res/layout/main.xml [2010-04-05 17:28:37 - HelloAndroid] values/strings.xml [2010-04-05 17:28:37 - HelloAndroid] Src: /home/lgraba/workspace/ HelloAndroid/res/values/strings.xml [2010-04-05 17:28:37 - HelloAndroid] AndroidManifest.xml [2010-04-05 17:28:37 - HelloAndroid] Src: /home/lgraba/workspace/ HelloAndroid/AndroidManifest.xml [2010-04-05 17:28:37 - HelloAndroid] Including resources from package: /home/lgraba/android-sdk-linux_86/platforms/android-7/ android.jar [2010-04-05 17:28:37 - HelloAndroid] applyFileOverlay for drawable [2010-04-05 17:28:37 - HelloAndroid] applyFileOverlay for layout [2010-04-05 17:28:37 - HelloAndroid] applyFileOverlay for anim [2010-04-05 17:28:37 - HelloAndroid] applyFileOverlay for xml [2010-04-05 17:28:37 - HelloAndroid] applyFileOverlay for raw [2010-04-05 17:28:37 - HelloAndroid] applyFileOverlay for color [2010-04-05 17:28:37 - HelloAndroid] applyFileOverlay for menu [2010-04-05 17:28:37 - HelloAndroid] (processed image /home/lgraba/ workspace/HelloAndroid/res/drawable-hdpi/icon.png: 95% size of source) [2010-04-05 17:28:37 - HelloAndroid] Nothing to pre compile! [2010-04-05 17:28:37 - HelloAndroid] (processed image /home/lgraba/ workspace/HelloAndroid/res/drawable-ldpi/icon.png: 89% size of source) [2010-04-05 17:28:37 - HelloAndroid] (processed image /home/lgraba/ workspace/HelloAndroid/res/drawable-mdpi/icon.png: 85% size of source) [2010-04-05 17:28:37 - HelloAndroid] (new resource id icon from drawable-hdpi/icon.png #generated) [2010-04-05 17:28:37 - HelloAndroid] (new resource id icon from drawable-hdpi/icon.png #generated) [2010-04-05 17:28:37 - HelloAndroid] (new resource id icon from drawable-hdpi/icon.png #generated) [2010-04-05 17:28:37 - HelloAndroid] (new resource id main from / home/lgraba/workspace/HelloAndroid/res/layout/main.xml) [2010-04-05 17:28:37 - HelloAndroid] Writing symbols for class R. [2010-04-05 17:28:37 - HelloAndroid] Starting full Package build. [2010-04-05 17:28:37 - HelloAndroid] /home/lgraba/android-sdk-linux_86/ platforms/android-7/tools/aapt package -f -v -M /home/lgraba/workspace/ HelloAndroid/A
[android-beginners] Re: SDK won't install
> Out of all the users downloading the SDK this is the first > I've heard of this. When googled I found complaints about these types of problems going back months. I hope you don't work for Google... -- 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 unsubscribe from this group, send email to android-beginners+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en To unsubscribe, reply using "remove me" as the subject.
Re: [android-beginners] Re: SDK won't install
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 part... ;-) You never responded to my questions about my problem either... What is the exact path to the "SDK Setup.exe" file? Thanks, Justin -- There are only 10 types of people in the world... Those who know binary and those who don't. -- On Mon, Apr 5, 2010 at 5:16 PM, A wrote: > > > Out of all the users downloading the SDK this is the first > > I've heard of this. > > When googled I found complaints about these types of problems > going back months. I hope you don't work for Google... > > -- > 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 unsubscribe from this group, send email to > android-beginners+unsubscr...@googlegroups.com > For more options, visit this group at > http://groups.google.com/group/android-beginners?hl=en > > To unsubscribe, reply using "remove me" as the subject. > -- 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 unsubscribe from this group, send email to android-beginners+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en
Re: [android-beginners] Re: SDK won't install
*> 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 the world... Those who know binary and those who don't. -- On Mon, Apr 5, 2010 at 5:49 PM, Justin Anderson wrote: > 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 part... > ;-) > > You never responded to my questions about my problem either... What is the > exact path to the "SDK Setup.exe" file? > > Thanks, > Justin > > > -- > There are only 10 types of people in the world... > Those who know binary and those who don't. > -- > > > On Mon, Apr 5, 2010 at 5:16 PM, A wrote: > >> >> > Out of all the users downloading the SDK this is the first >> > I've heard of this. >> >> When googled I found complaints about these types of problems >> going back months. I hope you don't work for Google... >> >> -- >> 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 unsubscribe from this group, send email to >> android-beginners+unsubscr...@googlegroups.com >> For more options, visit this group at >> http://groups.google.com/group/android-beginners?hl=en >> >> To unsubscribe, reply using "remove me" as the subject. >> > > -- 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 unsubscribe from this group, send email to android-beginners+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en
Re: [android-beginners] Re: SDK won't install
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 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 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. > > -- > 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 unsubscribe from this group, send email to > android-beginners+unsubscr...@googlegroups.com > For more options, visit this group at > http://groups.google.com/group/android-beginners?hl=en > -- Xavier Ducrohet Android SDK Tech Lead Google Inc. Please do not send me questions directly. 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 http://stackoverflow.com/questions/tagged/android To unsubscribe from this group, send email to android-beginners+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en To unsubscribe, reply using "remove me" as the subject.
Re: [android-beginners] Re: SDK won't install
On Sun, Apr 4, 2010 at 5:41 PM, yee chen 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 add-on (and the tool will in fact prevent you from downloading Platforms from those site). At the beginning there was an issue when downloading over SSL. We fixed this in r5. If you are not running the Android SDK Tools, rev5, get it from http://developer.android.com/sdk/index.html If you still can't download over SSL, make sure you have JCE (Java Cryptography Extension) installed (I think it may depend on your country). If you cannot install SSL support, then you can disable SSL by going to the settings tab and checking "Force https sources to be fetched over http". Xav -- Xavier Ducrohet Android SDK Tech Lead Google Inc. Please do not send me questions directly. 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 http://stackoverflow.com/questions/tagged/android To unsubscribe from this group, send email to android-beginners+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en To unsubscribe, reply using "remove me" as the subject.
[android-beginners] How to connect to a robot.
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 expensive. Am I missing something? Q3: Are there any other interfaces I might be missing? GPIO pins or something? Android robot groups?? Thanks for any replys. jp -- 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 unsubscribe from this group, send email to android-beginners+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en To unsubscribe, reply using "remove me" as the subject.
[android-beginners] getExtra() and cursors
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 totally sure what a bundle is >.>. Also, if anyone knows about row_ids for SQlite databases (or at least I think thats what they are), I could also use some clarification here. If I have the row id for a contact, is it possible to get other information about that contact from their row id using a cursor? Or is there a better way of doing this? My ultimate goal is just to have a list of contacts display, and when you click on one you see their data (phone number and things of that nature). Thanks for all the help already! This is a great group. -- 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 unsubscribe from this group, send email to android-beginners+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en To unsubscribe, reply using "remove me" as the subject.
Re: [android-beginners] Need Help in Listview need to fetch Contacts
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 http://stackoverflow.com/questions/tagged/android To unsubscribe from this group, send email to android-beginners+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en To unsubscribe, reply using "remove me" as the subject.
[android-beginners] Re: Remember Password
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 wrote: > 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 http://stackoverflow.com/questions/tagged/android To unsubscribe from this group, send email to android-beginners+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en To unsubscribe, reply using "remove me" as the subject.
Re: [android-beginners] Need Help in Listview need to fetch Contacts
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... -- There are only 10 types of people in the world... Those who know binary and those who don't. -- On Mon, Apr 5, 2010 at 10:52 PM, nubh bhargava wrote: > 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 > http://stackoverflow.com/questions/tagged/android > > To unsubscribe from this group, send email to > android-beginners+unsubscr...@googlegroups.com > For more options, visit this group at > http://groups.google.com/group/android-beginners?hl=en > -- 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 unsubscribe from this group, send email to android-beginners+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en To unsubscribe, reply using "remove me" as the subject.
Re: [android-beginners] Need Help in Listview need to fetch Contacts
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* android.database.Cursor; * import* android.os.Bundle; * import* android.provider.Contacts.People; * import* android.provider.Contacts.Phones; * import* android.view.View; * import* android.widget.AdapterView; * import* android.widget.SimpleCursorAdapter; * import* android.widget.Spinner; * import* android.widget.Toast; * import* android.widget.AdapterView.OnItemSelectedListener; * public* *class* HelloSpinner *extends* Activity { *public* *void* onCreate(Bundle savedInstanceState) { *super*.onCreate(savedInstanceState); setContentView(R.layout.*main*); String[] *PROJECTION* = *new* String[] { People.*_ID*, People.*NAME * }; Spinner spinner = (Spinner) findViewById(R.id.*spinner*); spinner.setOnItemSelectedListener(*new* MyOnItemSelectedListener()); Cursor cur = getContentResolver().query(People.*CONTENT_URI*, *null*, *null*, *null*, *null*); SimpleCursorAdapter adapter2 = *new* SimpleCursorAdapter(*this*, android.R.layout.*simple_spinner_item*, // Use a template // that displays a // text view cur, // Give the cursor to the list adapter *new* String[] {People.*NAME*}, // Map the NAME column in the // people database to... *new* *int*[] {android.R.id.*text1*}); // The "text1" view defined in // the XML template adapter2.setDropDownViewResource(android.R.layout.* simple_spinner_dropdown_item*); spinner.setAdapter(adapter2); } // The create method ends *public* *class* MyOnItemSelectedListener *implements*OnItemSelectedListener { *public* *void* onItemSelected(AdapterView parent, View view, *int* pos, *long* id) { Intent intent = *new* Intent(Intent.*ACTION_CALL*); Cursor cursor = *(Cursor) AdapterView.*; *long* phoneId = cursor.getLong(cursor.getColumnIndex(People.* PRIMARY_PHONE_ID*)); intent.setData(ContentUris.*withAppendedId*(Phones.*CONTENT_URI*, phoneId)); startActivity(intent); Toast.*makeText*(parent.getContext(), "The Person is " + parent.getItemAtPosition(pos).toString(), Toast.*LENGTH_LONG*).show(); } *public* *void* onNothingSelected(AdapterView parent) { // Do nothing. } } } -- 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 unsubscribe from this group, send email to android-beginners+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en To unsubscribe, reply using "remove me" as the subject.
Re: [android-beginners] Need Help in Listview need to fetch Contacts
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 unsubscribe from this group, send email to android-beginners+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en To unsubscribe, reply using "remove me" as the subject.
Re: [android-beginners] Real beginner stuff
The firmware version is the version of Android on your phone... so it sounds like you are running the latest and greatest. I wish the G1 would get updated! -- There are only 10 types of people in the world... Those who know binary and those who don't. -- On Mon, Apr 5, 2010 at 4:14 PM, wahib haq wrote: > hi ! > > This might be helpful for u --> > http://developer.android.com/guide/developing/device.html > > On 4/6/10, wahib haq 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 > > asked one :) well i searched for reviews on samsung galaxy S and on > > this -> > > > http://twittown.com/mobile/android/android-blog/samsung-builds-killer-android-smartphone-samsung-galaxy-s > > > > its clearly written that phone comes up with android 2.1 OS which is > > the latest version. If firmware version shows 2.1 then it must be the > > OS version. and yeah its linux version and in the build option as u > > mentioned, word eclair is version name for android 2.0 sdk. sm1 else > > must comment & explain. > > > > Have a nice time with ur android !! :) > > > > regards, > > wahib > > > > On 4/6/10, Alan Gauld wrote: > >> 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 Galaxy Portal > >> (GT15700) > >> is stuck on Android 1.5 - is that true - how can I check the Android > >> version? > >> I looked in the settings for the phone and it mentions: > >> > >> firmware version - 2.1 update 1 - is this the android version? > >> kernel - 2.6.29 - I assume this relates to the Linux kernel version? > >> build - ECLAIRXXJCD - no idea what this signifies! > >> > >> Hope you can help, > >> > >> -- > >> Alan Gauld > >> Author of the Learn to Program web site > >> http://www.alan-g.me.uk/ > >> > >> > >> > >> > >> -- > >> 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 unsubscribe from this group, send email to > >> android-beginners+unsubscr...@googlegroups.com > >> For more options, visit this group at > >> http://groups.google.com/group/android-beginners?hl=en > >> > >> To unsubscribe, reply using "remove me" as the subject. > >> > > > > > > -- > > Wahib-ul-haq > > > > 3rd year Communications Engineering Student, > > NUST, Pakistan. > > Microsoft Student Partner > > follow me on twitter @wahibhaq > > > > > -- > Wahib-ul-haq > > 3rd year Communications Engineering Student, > NUST, Pakistan. > Microsoft Student Partner > follow me on twitter @wahibhaq > > -- > 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 unsubscribe from this group, send email to > android-beginners+unsubscr...@googlegroups.com > For more options, visit this group at > http://groups.google.com/group/android-beginners?hl=en > -- 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 unsubscribe from this group, send email to android-beginners+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en
[android-beginners] Re: Question regarding Contact Application [Android SDK 2.1]
Any clue please. - AJ On Apr 3, 10:17 pm, AJ wrote: > Hi Group, > > I want to launch Contact application with some fields filled with data > I have passed from my application. > > I am able to pass Name, Phone number and Emails. But the problem is :- > > 1- I am not able to pass more that 3 phone number. How Can I do that? > 2- I am not able to pass Fields in the more section, which is an > expandabale list. How can I pass to the fields which are present in > more section > 3- I am also ot able to pass Postal Address and Organization. > > Can anybody please tell me the correct Intent for those? > > My code is as follows :- > > > Intent i = new Intent(Intent.ACTION_INSERT,People.CONTENT_URI); > > i.putExtra(ContactsContract.Intents.Insert.NAME, "Android"); > i.putExtra(ContactsContract.Intents.Insert.PHONE, "11"); > > i.putExtra(ContactsContract.Intents.Insert.PHONE_TYPE,ContactsContract.CommonDataKinds.Phone.TYPE_MOBILE); > > i.putExtra(ContactsContract.Intents.Insert.SECONDARY_PHONE, > "22"); > > i.putExtra(ContactsContract.Intents.Insert.SECONDARY_PHONE_TYPE,ContactsContract.CommonDataKinds.Phone.TYPE_HOME); > > i.putExtra(ContactsContract.Intents.Insert.TERTIARY_PHONE, "33"); > > i.putExtra(ContactsContract.Intents.Insert.TERTIARY_PHONE_TYPE,ContactsContract.CommonDataKinds.Phone.TYPE_WORK); > > > > Thanks, > AJ -- 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 unsubscribe from this group, send email to android-beginners+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en To unsubscribe, reply using "remove me" as the subject.