[android-developers] VZ services
Hi how to test the for the location service in android . i have figured about the 2,3 points but how to test the 1.VZW Location Services: ? 2. GPS: Uses GPS satellites. 3. Google Location Services: Uses a combination of IP address and wi-fi access points to determine your location. in samsung galaxy s2 mobile can any one tell me brefiely about how to test what is the procedure Thanks Jagadeesh -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] gps to work om emulator
Hi how to work with emulator gps can any one guide how to do ? eclipse window--openprespective---DDMs through iam sending gps :: lat,long for my current project but emulator each time will strating can any one tell me about this -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers]
Hi i want to intsall htc desire sdk for my eclipse which version and avd also what the scale display size. i have done googling cant get the any thing can any one help -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] resoultion issues
Hi iam facing issue screen resolution issues 1.samsung galaxy s2 its working fine 2.application when iam testing different device motorola,htc facing issues. how to solve this issue.to support all the devices screen resolution can any one suggest me about this -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Service
Hi i need to use service alerts how can we get using android can any one briefly about this help whats is the process to apply -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers]
Hi quick response iam useing sax parser iam reading the value from webservice import android.app.Activity; import android.content.Context; import android.os.AsyncTask; import android.os.Bundle; import android.widget.TextView; import com.android.wt360weather.R; public class ActiveSevereAlerts extends Activity{ class SeverforecastRetrever extends AsyncTaskVoid, Void, Void { @Override protected Void doInBackground(Void... params) { return null; } @Override protected void onPostExecute(Void result) { // TODO Auto-generated method stub super.onPostExecute(result); handler = new SevereAlertsforecastHandler(); severefeeds = handler.getForecasts(mContext); //title.setText(severefeeds.getTitle()); /*updated.setText(severefeeds.getUpdated()); name.setText(severefeeds.getName()); alertText.setText(severefeeds.getAlertText()); alertType.setText(severefeeds.getAlertType()); */ severeAlert.setText(severefeeds.getSevereAlert()); // author.setText(severefeeds.getAuthor()); } } private SevereForecastfeed severefeeds = new SevereForecastfeed(); private SevereAlertsforecastHandler handler; private Context mContext; private TextView title, updated, author, name, severeAlert, alertType, alertText; @Override protected void onCreate(Bundle savedInstanceState) { // TODO Auto-generated method stub super.onCreate(savedInstanceState); setContentView(R.layout.activeseverealerts); title = (TextView) findViewById(R.id.title); severeAlert =(TextView)findViewById(R.id.severealert); mContext = this; new SeverforecastRetrever().execute(); } } myxml handler: package com.android.wt360weather.more; import java.io.IOException; import javax.xml.parsers.ParserConfigurationException; import javax.xml.parsers.SAXParser; import javax.xml.parsers.SAXParserFactory; import org.xml.sax.Attributes; import org.xml.sax.InputSource; import org.xml.sax.SAXException; import org.xml.sax.XMLReader; import org.xml.sax.helpers.DefaultHandler; import android.content.Context; import android.util.Log; import com.android.wt360weather.R; public class SevereAlertsforecastHandler extends DefaultHandler { StringBuffer chars = new StringBuffer(); private SevereForecastfeed severefeeds = new SevereForecastfeed(); @Override public void characters(char[] ch, int start, int length) throws SAXException { chars.append(new String(ch, start, length)); } @Override public void endElement(String uri, String localName, String qName) throws SAXException { super.endElement(uri, localName, qName); if (localName.equalsIgnoreCase(Name)) { severefeeds.setName(chars.toString()); } if (localName.equalsIgnoreCase(AlertType)) { severefeeds.setAlertType(chars.toString()); } if (localName.equalsIgnoreCase(alertText)) { severefeeds.setAlertText(chars.toString()); } if (localName.equalsIgnoreCase(severeAlert)) { severefeeds.setSevereAlert(chars.toString()); } if (localName.equalsIgnoreCase(updated)) { severefeeds.setUpdated(chars.toString()); } if (localName.equalsIgnoreCase(title)) { severefeeds.setTitle(chars.toString()); } } public SevereForecastfeed getForecasts(Context mContext) { try { SAXParserFactory spf = SAXParserFactory.newInstance(); SAXParser sp = spf.newSAXParser(); XMLReader xr = sp.getXMLReader(); xr.setContentHandler(this); xr.parse(new InputSource(mContext.getResources().openRawResource( R.raw.noactiveseveralerts))); } catch (IOException e) { Log.e(RSS Handler IO, e.getMessage() ++ e.toString()); } catch (SAXException e) { Log.e(RSS Handler SAX, e.toString()); } catch (ParserConfigurationException e) { Log.e(RSS Handler
[android-developers] list actvity is scrolling
Hi i used list actvity in my code but the list is scrolling . in my list shouldnt be scroll can any one tell how -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Re: list actvity is scrolling
yes list is scrolling but my list contains image text image like this and even my list content have only 8 elements its shouldnt be scroll even in my layout i haven't given scrollview also is there any procedure can any one suggest me for this On Sat, Dec 3, 2011 at 9:16 PM, Spiral123 cumis...@gmail.com wrote: Scrolling is an integral feature of list activity. is there a specific reason why your list should not scroll? maybe we can suggest an alternative approach. On Dec 3, 5:03 am, jaggu mjagadeeshb...@gmail.com wrote: Hi i used list actvity in my code but the list is scrolling . in my list shouldnt be scroll can any one tell how -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Tab indicator line at end of the screen
hi i have implemeted tabactvity but in this one line is indicating to at the end of the screen ; each selecting the tabicon the line indicating to end of the screen,in other tabs also shows line indicator at the bottom of the screen can any one tell how to solve this,i have to remove that line only what ever selected item show active option. i searched all tab actvity example it shwoing the indicate line at end of the screen. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=enattachment: device-2011-12-04-114230.png
[android-developers] useing tabactvitygroup in on click listener
Hi iam getting tis error my actvity when pressing the button can any one help me in this currentLoc = (Button) findViewById(R.id.Current); currentLoc.setOnClickListener(new OnClickListener() { @Override public void onClick(View v) { // TODO Auto-generated method stub Intent lookup = new Intent(getParent(), Lookup.class); TabGroupActivity parentActivity = (TabGroupActivity) getParent(); parentActivity.startChildActivity(LookupActivity, lookup); } }); error like this getting in logfile: android.view.WindowManager$BadTokenException: Unable to add window -- token android.app.LocalActivityManager$LocalActivityRecord@4058a470 is not valid; is your activity running? -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Tabactiviy
Hi i have taken tabactvity group . from spalchscreen itself how to strat my actvity i caludnt able start can any one please hguide me how to do this -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] listactvity should not scrooll inmy view can any one tell how to do this
Hi iam useing list actvity should not be scroll can any one tell me for ths guidance package com.android.wt360weather.more; import java.io.UTFDataFormatException; import java.util.HashMap; import android.app.ListActivity; import android.content.Context; import android.content.Intent; import android.content.res.Resources; import android.os.Bundle; import android.util.Log; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.ArrayAdapter; import android.widget.ImageView; import android.widget.ListView; import android.widget.TabHost; import android.widget.TextView; import com.android.wt360weather.R; public class More extends ListActivity { /** Called when the activity is first created. */ int[] imageIds = { R.drawable.maps, R.drawable.severe, R.drawable.settings, R.drawable.swipe, R.drawable.blog, R.drawable.web, R.drawable.feedback, R.drawable.art }; String[] texts; MoreAdapter adapter; Resources res; HashMapObject, Object htMap=new HashMapObject, Object(); @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.more); texts = getResources().getStringArray(R.array.more); adapter = new MoreAdapter(this, android.R.layout.simple_list_item_2, texts); setListAdapter(adapter); } class MoreAdapter extends ArrayAdapter { private LayoutInflater mInflater; public MoreAdapter(Context context, int textViewResourceId, String[] items) { super(context, textViewResourceId, items); mInflater = LayoutInflater.from(context); // TODO Auto-generated constructor stub } @Override public View getView(int position, View convertView, ViewGroup parent) { // TODO Auto-generated method stub View listView; if (convertView == null) { listView = mInflater.inflate(R.layout.moreview, null); } else listView = convertView; TextView label = (TextView) listView.findViewById(R.id.label); label.setText(texts[position]); ImageView icon = (ImageView) listView.findViewById(R.id.icon); icon.setImageResource(imageIds[position]); return listView; } } public void onListItemClick(ListView parent, View v, int position, long id) { if (position == 0) { Intent myintent = new Intent(); myintent.setClass(More.this, InteractiveMaps.class); startActivity(myintent); } if (position == 1) { Intent myintent = new Intent(); myintent.setClass(More.this, ActiveSevereAlerts.class); startActivity(myintent); } if (position == 2) { Intent myintent = new Intent(); myintent.setClass(More.this, Setting.class); startActivity(myintent); } if (position == 3) { Intent myintent = new Intent(); myintent.setClass(More.this, Swipe.class); startActivity(myintent); } if (position == 4) { Intent myintent = new Intent(); myintent.setClass(More.this, Wt360Blog.class); startActivity(myintent); } if (position == 5) { Intent myintent = new Intent(); myintent.setClass(More.this, Wt360comWebsite.class); startActivity(myintent); } if (position == 6) { Intent myintent = new Intent(); myintent.setClass(More.this, Feedback.class); startActivity(myintent); } if (position == 7) { Intent myintent = new Intent(); myintent.setClass(More.this, SetBackgroundImage.class);
[android-developers] Re: listactvity should not scrooll inmy view can any one tell how to do this
Hi can any one please respond me my list is scrolling this list should be not be scrolling can any guide below the code On Tue, Nov 29, 2011 at 8:33 PM, jaggu mjagadeeshb...@gmail.com wrote: Hi iam useing list actvity should not be scroll can any one tell me for ths guidance package com.android.wt360weather.more; import java.io.UTFDataFormatException; import java.util.HashMap; import android.app.ListActivity; import android.content.Context; import android.content.Intent; import android.content.res.Resources; import android.os.Bundle; import android.util.Log; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.ArrayAdapter; import android.widget.ImageView; import android.widget.ListView; import android.widget.TabHost; import android.widget.TextView; import com.android.wt360weather.R; public class More extends ListActivity { /** Called when the activity is first created. */ int[] imageIds = { R.drawable.maps, R.drawable.severe, R.drawable.settings, R.drawable.swipe, R.drawable.blog, R.drawable.web, R.drawable.feedback, R.drawable.art }; String[] texts; MoreAdapter adapter; Resources res; HashMapObject, Object htMap=new HashMapObject, Object(); @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.more); texts = getResources().getStringArray(R.array.more); adapter = new MoreAdapter(this, android.R.layout.simple_list_item_2, texts); setListAdapter(adapter); } class MoreAdapter extends ArrayAdapter { private LayoutInflater mInflater; public MoreAdapter(Context context, int textViewResourceId, String[] items) { super(context, textViewResourceId, items); mInflater = LayoutInflater.from(context); // TODO Auto-generated constructor stub } @Override public View getView(int position, View convertView, ViewGroup parent) { // TODO Auto-generated method stub View listView; if (convertView == null) { listView = mInflater.inflate(R.layout.moreview, null); } else listView = convertView; TextView label = (TextView) listView.findViewById(R.id.label); label.setText(texts[position]); ImageView icon = (ImageView) listView.findViewById(R.id.icon); icon.setImageResource(imageIds[position]); return listView; } } public void onListItemClick(ListView parent, View v, int position, long id) { if (position == 0) { Intent myintent = new Intent(); myintent.setClass(More.this, InteractiveMaps.class); startActivity(myintent); } if (position == 1) { Intent myintent = new Intent(); myintent.setClass(More.this, ActiveSevereAlerts.class); startActivity(myintent); } if (position == 2) { Intent myintent = new Intent(); myintent.setClass(More.this, Setting.class); startActivity(myintent); } if (position == 3) { Intent myintent = new Intent(); myintent.setClass(More.this, Swipe.class); startActivity(myintent); } if (position == 4) { Intent myintent = new Intent(); myintent.setClass(More.this, Wt360Blog.class); startActivity(myintent); } if (position == 5) { Intent myintent = new Intent(); myintent.setClass(More.this, Wt360comWebsite.class); startActivity(myintent); } if (position == 6) { Intent myintent = new Intent(); myintent.setClass(More.this, Feedback.class); startActivity(myintent); } if (position == 7) { Intent myintent = new Intent(); myintent.setClass(More.this
Re: [android-developers] Vertically Aligning the Image Buttons
Hi same issue i'm also faceing below u given image like that i required the buttons On Mon, Nov 28, 2011 at 1:17 PM, s.rawat imsaurabhra...@gmail.com wrote: HI, My image buttons are coming horizontally across teh screen, I have tried enough but couldnt get it align vertically on the right or left side of the screen(see the last figure). Here is my main.xml and myUI is coming like this : __ | Button1 Button2 Button3 Button4 Button5 Button5 Button 6 Button7| |_| | | | | | | | | | | | | | | | | |_| Plz assit. Thanks in advance, ?xml version=1.0 encoding=utf-8? AbsoluteLayout xmlns:android=http://schemas.android.com/apk/res/android; android:layout_width=fill_parent android:layout_height=fill_parent android:orientation=horizontal FrameLayout android:layout_width=fill_parent android:layout_height=fill_parent android:layout_weight=1 android:layout_x=6dp android:layout_y=83dp com.my.package android:id=@+id/surfaceview android:layout_width=fill_parent android:layout_height=wrap_content android:layout_x=-46dp android:layout_y=95dp / /FrameLayout ImageButton android:id=@+id/imageButton1 android:layout_width=wrap_content android:layout_height=wrap_content android:layout_x=438dp android:layout_y=6dp android:src=@drawable/ic_image0 / ImageButton android:id=@+id/imageButton5 android:layout_width=94dp android:layout_height=wrap_content android:layout_weight=1 android:layout_x=16dp android:layout_y=6dp android:paddingLeft=0dip android:src=@drawable/ic_image1 / ImageButton android:id=@+id/imageButton3 android:layout_width=wrap_content android:layout_height=wrap_content android:layout_x=147dp android:layout_y=2dp android:src=@drawable/ic_image12 / ImageButton android:id=@+id/imageButton2 android:layout_width=wrap_content android:layout_height=wrap_content android:layout_weight=1 android:layout_x=292dp android:layout_y=1dp android:src=@drawable/ic_image2 / ImageButton android:id=@+id/imageButton4 android:layout_width=99dp android:layout_height=wrap_content android:layout_weight=1 android:layout_x=427dp android:layout_y=0dp android:src=@drawable/image1 / /AbsoluteLayout I am trying to get the output like this : __ | Button1 | | | | | | Button2 | | | | | | Button3 | | | | | | Button4 | | | | | | Button4 | | | | | |___ |_| Rgds, saurabh -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Vertically Aligning the Image Buttons
did u got for that solution ? imagebutton On Mon, Nov 28, 2011 at 2:50 PM, Jovish P android.f...@gmail.com wrote: you can also use LinearLayout with vertical orientation .. Check the or below link for more info regarding Layouts http://developer.android.com/guide/topics/ui/layout-objects.html On Mon, Nov 28, 2011 at 1:37 PM, Raghav Sood raghavs...@androidactivist.org wrote: AbsoluteLayout is deprecated. You can easily get the buttons to align to the right by using the RelativeLayout. Thanks On Mon, Nov 28, 2011 at 1:31 PM, jaggu mjagadeeshb...@gmail.com wrote: Hi same issue i'm also faceing below u given image like that i required the buttons On Mon, Nov 28, 2011 at 1:17 PM, s.rawat imsaurabhra...@gmail.com wrote: HI, My image buttons are coming horizontally across teh screen, I have tried enough but couldnt get it align vertically on the right or left side of the screen(see the last figure). Here is my main.xml and myUI is coming like this : __ | Button1 Button2 Button3 Button4 Button5 Button5 Button 6 Button7| |_| | | | | | | | | | | | | | | | | |_| Plz assit. Thanks in advance, ?xml version=1.0 encoding=utf-8? AbsoluteLayout xmlns:android=http://schemas.android.com/apk/res/android; android:layout_width=fill_parent android:layout_height=fill_parent android:orientation=horizontal FrameLayout android:layout_width=fill_parent android:layout_height=fill_parent android:layout_weight=1 android:layout_x=6dp android:layout_y=83dp com.my.package android:id=@+id/surfaceview android:layout_width=fill_parent android:layout_height=wrap_content android:layout_x=-46dp android:layout_y=95dp / /FrameLayout ImageButton android:id=@+id/imageButton1 android:layout_width=wrap_content android:layout_height=wrap_content android:layout_x=438dp android:layout_y=6dp android:src=@drawable/ic_image0 / ImageButton android:id=@+id/imageButton5 android:layout_width=94dp android:layout_height=wrap_content android:layout_weight=1 android:layout_x=16dp android:layout_y=6dp android:paddingLeft=0dip android:src=@drawable/ic_image1 / ImageButton android:id=@+id/imageButton3 android:layout_width=wrap_content android:layout_height=wrap_content android:layout_x=147dp android:layout_y=2dp android:src=@drawable/ic_image12 / ImageButton android:id=@+id/imageButton2 android:layout_width=wrap_content android:layout_height=wrap_content android:layout_weight=1 android:layout_x=292dp android:layout_y=1dp android:src=@drawable/ic_image2 / ImageButton android:id=@+id/imageButton4 android:layout_width=99dp android:layout_height=wrap_content android:layout_weight=1 android:layout_x=427dp android:layout_y=0dp android:src=@drawable/image1 / /AbsoluteLayout I am trying to get the output like this : __ | Button1 | | | | | | Button2 | | | | | | Button3 | | | | | | Button4 | | | | | | Button4 | | | | | |___ |_| Rgds, saurabh -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- Raghav Sood http://www.androidactivist.org/ - Author http://www.appaholics.in/ - Founder -- You received this message because you are subscribed
Re: [android-developers] Vertically Aligning the Image Buttons
yes Raghav thanks for i got On Mon, Nov 28, 2011 at 3:33 PM, s.rawat imsaurabhra...@gmail.com wrote: Yes, Raghav and Jovish are correct, make a linear layout and try to edit the Layout using the Android Graphical Layout editor. Rgds, Saurabh ..pain is temporary.quitting lasts forever.. On Mon, Nov 28, 2011 at 3:06 PM, jaggu mjagadeeshb...@gmail.com wrote: did u got for that solution ? imagebutton On Mon, Nov 28, 2011 at 2:50 PM, Jovish P android.f...@gmail.com wrote: you can also use LinearLayout with vertical orientation .. Check the or below link for more info regarding Layouts http://developer.android.com/guide/topics/ui/layout-objects.html On Mon, Nov 28, 2011 at 1:37 PM, Raghav Sood raghavs...@androidactivist.org wrote: AbsoluteLayout is deprecated. You can easily get the buttons to align to the right by using the RelativeLayout. Thanks On Mon, Nov 28, 2011 at 1:31 PM, jaggu mjagadeeshb...@gmail.com wrote: Hi same issue i'm also faceing below u given image like that i required the buttons On Mon, Nov 28, 2011 at 1:17 PM, s.rawat imsaurabhra...@gmail.com wrote: HI, My image buttons are coming horizontally across teh screen, I have tried enough but couldnt get it align vertically on the right or left side of the screen(see the last figure). Here is my main.xml and myUI is coming like this : __ | Button1 Button2 Button3 Button4 Button5 Button5 Button 6 Button7| |_| | | | | | | | | | | | | | | | | |_| Plz assit. Thanks in advance, ?xml version=1.0 encoding=utf-8? AbsoluteLayout xmlns:android=http://schemas.android.com/apk/res/android; android:layout_width=fill_parent android:layout_height=fill_parent android:orientation=horizontal FrameLayout android:layout_width=fill_parent android:layout_height=fill_parent android:layout_weight=1 android:layout_x=6dp android:layout_y=83dp com.my.package android:id=@+id/surfaceview android:layout_width=fill_parent android:layout_height=wrap_content android:layout_x=-46dp android:layout_y=95dp / /FrameLayout ImageButton android:id=@+id/imageButton1 android:layout_width=wrap_content android:layout_height=wrap_content android:layout_x=438dp android:layout_y=6dp android:src=@drawable/ic_image0 / ImageButton android:id=@+id/imageButton5 android:layout_width=94dp android:layout_height=wrap_content android:layout_weight=1 android:layout_x=16dp android:layout_y=6dp android:paddingLeft=0dip android:src=@drawable/ic_image1 / ImageButton android:id=@+id/imageButton3 android:layout_width=wrap_content android:layout_height=wrap_content android:layout_x=147dp android:layout_y=2dp android:src=@drawable/ic_image12 / ImageButton android:id=@+id/imageButton2 android:layout_width=wrap_content android:layout_height=wrap_content android:layout_weight=1 android:layout_x=292dp android:layout_y=1dp android:src=@drawable/ic_image2 / ImageButton android:id=@+id/imageButton4 android:layout_width=99dp android:layout_height=wrap_content android:layout_weight=1 android:layout_x=427dp android:layout_y=0dp android:src=@drawable/image1 / /AbsoluteLayout I am trying to get the output like this : __ | Button1 | | | | | | Button2 | | | | | | Button3 | | | | | | Button4 | | | | | | Button4 | | | | | |___ |_| Rgds, saurabh -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group
[android-developers] callingweburl
Hi calling weburl from coming when coming back actvity iam pressing the backbutton 2 times why like that is there any way calling the weburl WebView mWebView; String Url = www.google.com; Intent myIntent = new Intent(Intent.ACTION_VIEW, Uri.parse(Url)); startActivity(myIntent); -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Dynamiclistview iam reading from the xml
Hi can any one tell me how to read dynamic list view help me for what i mademistake public class Lookup extends ListActivity { private TextView title,updated,name,locationID,loocationName; ArrayListlookupforecastfeed list = new ArrayListlookupforecastfeed(); private lookupforecastfeed feeds = new lookupforecastfeed(); private lookupforecasthandler handler; private ListView listview; private Context mContext; private Button lookup; public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.location); mContext = this; title=(TextView)findViewById(R.id.locationname); String[] names = new String[] { name,locationName,locationID }; setListAdapter(new ArrayAdapterString(this, R.layout.locationame,R.id.title, names)); new lookupForecastRetriever().execute(); } class lookupForecastRetriever extends AsyncTaskVoid, Void, Void{ @Override protected void onPostExecute(Void result) { // TODO Auto-generated method stub // super.onPostExecute(result); handler = new lookupforecasthandler(); list = handler.getForecasts(mContext); title.setText(list.get(0).getTitle()); progressDialog.dismiss(); Log.v(DailyForecast,FeedLocationName+feeds.getLocationName()); } private ProgressDialog progressDialog; protected void onPreExecute() { progressDialog = ProgressDialog.show(Lookup.this, , Loading. Please wait..., true); } @Override protected Void doInBackground(Void... params) { return null; } // public class lookupforecasthandler extends DefaultHandler { private lookupforecastfeed feeds = new lookupforecastfeed(); StringBuffer chars = new StringBuffer(); ArrayListlookupforecastfeed list = new ArrayListlookupforecastfeed(); @Override public void characters(char[] ch, int start, int length) throws SAXException { // TODO Auto-generated method stub chars.append(new String(ch, start, length)); //super.characters(ch, start, length); } @Override public void endElement(String uri, String localName, String qName) throws SAXException { // TODO Auto-generated method stub super.endElement(uri, localName, qName); if(localName.equalsIgnoreCase(title)) { feeds.setTitle(chars.toString()); } if(localName.equalsIgnoreCase(locationName)) { list.get(list.size()-1).setLocationName(chars.toString()); } if(localName.equalsIgnoreCase(locationID)) { list.get(list.size()-1).setLocationID(chars.toString()); } if(localName.equalsIgnoreCase(name)) { feeds.setName(chars.toString()); } if(localName.equalsIgnoreCase(upDated)) { feeds.setUpdated(chars.toString()); } } @Override public void startElement(String uri, String localName, String qName, Attributes attributes) throws SAXException { // TODO Auto-generated method stub // super.startElement(uri, localName, qName, attributes); chars = new StringBuffer(); if(localName.equalsIgnoreCase(location)) { list.add(new lookupforecastfeed()); } } public ArrayListlookupforecastfeed getForecasts(Context mContext) { try { SAXParserFactory spf = SAXParserFactory.newInstance(); SAXParser sp = spf.newSAXParser(); XMLReader xr = sp.getXMLReader(); xr.setContentHandler(this); Resources resources = mContext.getResources(); InputStream openRawResource = resources.openRawResource(R.raw.lookup); xr.parse(new InputSource(openRawResource)); } catch (IOException e) { Log.e(RSS Handler IO, e.getMessage() ++ e.toString()); } catch (SAXException e) { Log.e(RSS Handler SAX, e.toString());
[android-developers] regarding button issue
Hi i want add 5 button in my screen one by one in buttton 1 button2 button3 rest of the text not required can any one tell about this layout problem can any one clear about this doubt LinearLayout xmlns:android=http://schemas.android.com/apk/res/android; android:layout_width=fill_parent android:layout_height=?android:attr/listPreferredItemHeight android:orientation=horizontal Button android:id=@+id/Button01 android:layout_width=60dp android:layout_height=match_parent android:layout_marginTop=8dp android:gravity=center_horizontal android:text=Hours 0-23 / LinearLayout android:layout_width=wrap_content android:layout_height=49dp android:layout_marginLeft=4dp android:gravity=center_vertical android:orientation=vertical TextView android:id=@+id/day android:layout_width=wrap_content android:layout_height=wrap_content android:ellipsize=end android:includeFontPadding=false android:singleLine=true android:text=Fri / TextView android:id=@+id/dates android:layout_width=wrap_content android:layout_height=match_parent android:includeFontPadding=false android:maxLines=2 android:paddingTop=2dip android:text=25 Nov / TextView android:id=@+id/day android:layout_width=wrap_content android:layout_height=match_parent android:includeFontPadding=false android:maxLines=2 android:paddingBottom=2dip android:text=wed / /LinearLayout ImageView android:id=@+id/icon android:layout_width=46dp android:layout_height=wrap_content android:paddingLeft=20dp android:scaleType=centerInside android:src=@drawable/lightsnowsm / LinearLayout android:layout_width=wrap_content android:layout_height=fill_parent android:gravity=center_vertical android:orientation=vertical android:paddingLeft=20dp TextView android:id=@+id/conditions android:layout_width=wrap_content android:layout_height=wrap_content android:ellipsize=none android:gravity=center_horizontal android:includeFontPadding=false android:singleLine=true android:text=Cloudy / /LinearLayout LinearLayout android:layout_width=wrap_content android:layout_height=fill_parent android:gravity=center_vertical android:orientation=vertical android:paddingLeft=20dp TextView android:id=@+id/high android:layout_width=fill_parent android:layout_height=wrap_content android:ellipsize=none android:gravity=center_horizontal android:includeFontPadding=false android:singleLine=true android:text=55 / /LinearLayout ImageView android:id=@+id/icon android:layout_width=match_parent android:layout_height=53dp android:layout_marginLeft=8dp android:scaleType=centerInside android:src=@drawable/arrowright / /LinearLayout -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] regarding button issue
Right now i have kept one button in my Linear layout the same thing like all the Button i required like right side of the screen Button01 Button2 Button3 Button4 i have taken Linear layout and top of the 1st Button beside have image and text date with arrow symbol is there As per my code only one button i have done right now but i required 5 Buttons Top to bottom This my doubt On Mon, Nov 28, 2011 at 12:50 PM, Raghav Sood raghavs...@androidactivist.org wrote: And what is your doubt? Thanks On Mon, Nov 28, 2011 at 12:47 PM, jaggu mjagadeeshb...@gmail.com wrote: Hi i want add 5 button in my screen one by one in buttton 1 button2 button3 rest of the text not required can any one tell about this layout problem can any one clear about this doubt LinearLayout xmlns:android=http://schemas.android.com/apk/res/android; android:layout_width=fill_parent android:layout_height=?android:attr/listPreferredItemHeight android:orientation=horizontal Button android:id=@+id/Button01 android:layout_width=60dp android:layout_height=match_parent android:layout_marginTop=8dp android:gravity=center_horizontal android:text=Hours 0-23 / LinearLayout android:layout_width=wrap_content android:layout_height=49dp android:layout_marginLeft=4dp android:gravity=center_vertical android:orientation=vertical TextView android:id=@+id/day android:layout_width=wrap_content android:layout_height=wrap_content android:ellipsize=end android:includeFontPadding=false android:singleLine=true android:text=Fri / TextView android:id=@+id/dates android:layout_width=wrap_content android:layout_height=match_parent android:includeFontPadding=false android:maxLines=2 android:paddingTop=2dip android:text=25 Nov / TextView android:id=@+id/day android:layout_width=wrap_content android:layout_height=match_parent android:includeFontPadding=false android:maxLines=2 android:paddingBottom=2dip android:text=wed / /LinearLayout ImageView android:id=@+id/icon android:layout_width=46dp android:layout_height=wrap_content android:paddingLeft=20dp android:scaleType=centerInside android:src=@drawable/lightsnowsm / LinearLayout android:layout_width=wrap_content android:layout_height=fill_parent android:gravity=center_vertical android:orientation=vertical android:paddingLeft=20dp TextView android:id=@+id/conditions android:layout_width=wrap_content android:layout_height=wrap_content android:ellipsize=none android:gravity=center_horizontal android:includeFontPadding=false android:singleLine=true android:text=Cloudy / /LinearLayout LinearLayout android:layout_width=wrap_content android:layout_height=fill_parent android:gravity=center_vertical android:orientation=vertical android:paddingLeft=20dp TextView android:id=@+id/high android:layout_width=fill_parent android:layout_height=wrap_content android:ellipsize=none android:gravity=center_horizontal android:includeFontPadding=false android:singleLine=true android:text=55 / /LinearLayout ImageView android:id=@+id/icon android:layout_width=match_parent android:layout_height=53dp android:layout_marginLeft=8dp android:scaleType=centerInside android:src=@drawable/arrowright / /LinearLayout -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- Raghav Sood http://www.androidactivist.org/ - Author http://www.appaholics.in/ - Founder -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from
[android-developers] matching texview in layout
In Layout file please see my layout xml: i Required like this can you any one guide me how tdo this i have taken relelative layout please any one tell me how to do this Preciption:preciption Relhumidity:relhumidity TextView android:id=@+id/Preciption android:layout_width=wrap_content android:layout_height=wrap_content android:paddingLeft=20dp android:text=Preciption / TextView android:id=@+id/Preciption android:layout_width=wrap_content android:layout_height=wrap_content android:layout_toRightOf=@+id/Preciption android:paddingLeft=20dp android:text=Preciption / TextView android:id=@+id/RelHumidity android:layout_width=wrap_content android:layout_height=wrap_content android:paddingLeft=20dp android:text=RelHumidity: / TextView android:id=@+id/RelHumidity android:layout_width=wrap_content android:layout_height=wrap_content android:layout_toRightOf=@+id/Preciption android:text=RelHumidity: / -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] matching texview in layout
android:id=@+id/Sunset: android:layout_width=wrap_content android:layout_height=wrap_content android:paddingLeft=20dp android:text=Sunset: / TextView android:id=@+id/DayligshtHr: android:layout_width=wrap_content android:layout_height=wrap_content android:paddingLeft=20dp android:text=DayligshtHr: / TextView android:id=@+id/Moonrise: android:layout_width=wrap_content android:layout_height=wrap_content android:paddingLeft=20dp android:text=Moonrise: / TextView android:id=@+id/Moonset: android:layout_width=wrap_content android:layout_height=wrap_content android:paddingLeft=20dp android:text=Moonset: / TextView android:id=@+id/Moonllum android:layout_width=wrap_content android:layout_height=wrap_content android:paddingLeft=20dp android:text=Moonllum: / /LinearLayout On Sat, Nov 26, 2011 at 12:24 AM, TreKing treking...@gmail.com wrote: On Fri, Nov 25, 2011 at 12:42 PM, jaggu mjagadeeshb...@gmail.com wrote: can you any one guide me how tdo this i have taken relelative layout please any one tell me how to do this How to do what? - TreKing - Chicago transit tracking app for Android-powered devices -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] matching texview in layout
can any one respond pls On Sat, Nov 26, 2011 at 12:30 AM, jaggu mjagadeeshb...@gmail.com wrote: Hi i have doubt matching both textview each of the textview need to match the same text so i am getting the data from the webservices :its coming down from the textview what i asked the previous question this type i required in my layout i was faceing some issues its coming down of the text because of iam reading that data from webservices . ?xml version=1.0 encoding=utf-8? LinearLayout xmlns:android=http://schemas.android.com/apk/res/android; android:layout_width=match_parent android:layout_height=match_parent android:orientation=vertical TextView android:id=@+id/TextView01 android:layout_width=wrap_content android:layout_height=wrap_content android:paddingLeft=20dp android:text=Preciption / RelativeLayout android:layout_width=207dp android:layout_height=wrap_content android:layout_gravity=center android:gravity=right android:paddingTop=20dp TextView android:id=@+id/date android:layout_width=wrap_content android:layout_height=wrap_content android:text=date / TextView android:id=@+id/location android:layout_width=wrap_content android:layout_height=wrap_content android:layout_below=@+id/date android:text=location / TextView android:id=@+id/cloudstring android:layout_width=wrap_content android:layout_height=wrap_content android:layout_below=@+id/location android:text=partion / ImageButton android:id=@+id/next android:layout_width=wrap_content android:layout_height=wrap_content android:layout_alignTop=@+id/date android:layout_toRightOf=@+id/cloudstring android:padding=20dp android:paddingLeft=20dip android:scaleType=centerInside android:src=@drawable/arrowright / /RelativeLayout RelativeLayout android:layout_width=wrap_content android:layout_height=wrap_content android:paddingLeft=20dp android:paddingTop=20dp TextView android:id=@+id/hi android:layout_width=wrap_content android:layout_height=wrap_content android:text=Hi Temp / TextView android:id=@+id/hitemp android:layout_width=wrap_content android:layout_height=wrap_content android:layout_below=@+id/hi android:text=Hi Temp android:textColor=#ff / ImageView android:id=@+id/cloudimage android:layout_width=wrap_content android:layout_height=wrap_content android:layout_alignTop=@+id/lo android:layout_toRightOf=@+id/hi android:paddingLeft=20dp android:src=@drawable/partlysunny / TextView android:id=@+id/lo android:layout_width=wrap_content android:layout_height=wrap_content android:layout_toRightOf=@+id/cloudimage android:paddingLeft=20dp android:text=Lo Temp / TextView android:id=@+id/lotemp android:layout_width=wrap_content android:layout_height=wrap_content android:layout_below=@+id/lo android:layout_toRightOf=@+id/cloudimage android:paddingLeft=20dp android:text=Lo Temp android:textColor=#ff / /RelativeLayout RelativeLayout android:layout_width=wrap_content android:layout_height=wrap_content android:layout_gravity=center android:paddingBottom=20dp /RelativeLayout TextView android:id=@+id/Preciption android:layout_width=wrap_content android:layout_height=wrap_content android:paddingLeft=20dp android:text=Preciption / TextView android:id=@+id/RelHumidity android:layout_width=wrap_content android:layout_height=wrap_content android:paddingLeft=20dp android:text=RelHumidity: / TextView android:id=@+id/wind: android:layout_width=wrap_content android:layout_height=wrap_content android:paddingLeft=20dp android:text=wind: / TextView android:id=@+id/Gust: android:layout_width=wrap_content android:layout_height=wrap_content android:paddingLeft=20dp android:text=Gust: / TextView android:id=@+id/UvIndex: android:layout_width=wrap_content android:layout_height=wrap_content android:paddingLeft=20dp android:text=UvIndex: / TextView android:id=@+id/Sunrise: android:layout_width=wrap_content
Re: [android-developers] matching texview in layout
Hi i have tried like what you send bet both the texts are coming line bye line: preciption preciption On Sat, Nov 26, 2011 at 1:19 AM, Jovish P android.f...@gmail.com wrote: Can you please make your your question little more clear ??? if you want to design a layout like this , it is very simple. You are using same id for both textviews, may be because of that you are facing issues. Preciption:preciption Relhumidity:relhumidity TextView android:id=@+id/Preciption1 android:layout_width=wrap_content android:layout_height=wrap_content android:paddingLeft=20dp android:text=Preciption / TextView android:id=@+id/Preciption2 android:layout_width=wrap_content android:layout_height=wrap_content android:layout_toRightOf=@+id/Preciption1 android:paddingLeft=20dp android:text=Preciption / TextView android:id=@+id/RelHumidity1 android:layout_width=wrap_content android:layout_height=wrap_content android:paddingLeft=20dp android:layout_below=@+id/Preciption1 android:text=RelHumidity: / TextView android:id=@+id/RelHumidity2 android:layout_width=wrap_content android:layout_height=wrap_content android:layout_toRightOf=@+id/RelHumidity1 android:layout_below=@+id/Preciption2 android:text=RelHumidity: / On Sat, Nov 26, 2011 at 1:02 AM, TreKing treking...@gmail.com wrote: On Fri, Nov 25, 2011 at 1:00 PM, jaggu mjagadeeshb...@gmail.com wrote: each of the textview need to match the same text so i am getting the data from the webservices So set the text on the TextViews you need to match. I still don't know what your question is. :its coming down from the textview what i asked the previous question this type i required in my layout i was faceing some issues its coming down of the text because of iam reading that data from webservices . None of that made any sense to me. On Fri, Nov 25, 2011 at 1:20 PM, jaggu mjagadeeshb...@gmail.com wrote: can any one respond pls I responded to your original post within 12 minutes. If you need a faster response time than that, you're going to have to pay for it. - TreKing - Chicago transit tracking app for Android-powered devices -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re:my app
hi myt takeing 58mb memory space how to reduce the memory my application -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] webcall service
hi inside the button how to call my actvity its webservice how to call public void onClick(View v) { // TODO Auto-generated method stub location=(Button)findViewById(R.id.CurrentLocation); location.setOnClickListener(new OnClickListener() { public void onClick(View arg0) { //mainactvity(); } }); -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] re:button click listener
how to call webservice in android useing onclicklistener webservice call i have implemented another mainactviy and with defaulthandler and with sites list iam able to get response ,and iam calling that actvity in onclicklistener even that parseing data i have been saveing that data in sqlite public void onClick(View v) { // TODO Auto-generated method stub location=(Button)findViewById(R.id.CurrentLocation); location.setOnClickListener(new OnClickListener() { public void onClick(View arg0) { startactvity(mainactivity); } }); event is not fireing when click on the button please guide me in the right direction -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] calviling webservice
Hi how to call webservece in android inside the activity when on click listener -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] daydatemonthyear format in android
how to implement monday 07 month year how can i implemeent like this format in actvity and with seekbar need to give implementaion please help in this -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] not detecting device my ecilpse
my eclipse not detecting device for debugging mode please help -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] gps
how to find gps in emulator with xml response please help me -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] emulator sdcard setup to run my app
[2011-11-13 22:50:47 - Wtsampler] Installation error: INSTALL_FAILED_INSUFFICIENT_STORAGE [2011-11-13 22:50:47 - Wtsampler] Please check logcat output for more details. [2011-11-13 22:50:47 - Wtsampler] Launch canceled hi i have got this error like when iam excuting the my application even i given 1024mb in avd manager .. can any one tell me how to do this .even i cant connect the with usb and android device in my pc .. ecilpse is not detecing the device samsung s2 -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Re: Tabhost with Tabspec for all the screen
intent = new Intent().setClass(this,HourlyActivity.class); spec = tabHost.newTabSpec(Hourly).setIndicator(,res.getDrawable(R.drawable.tab_hourly)) .setContent(intent); tabHost.addTab(spec); //Map Tab intent = new Intent().setClass(this,map.class); spec =tabHost.newTabSpec(Maps).setIndicator(,res.getDrawable(R.drawable.tab_map)) .setContent(intent); tabHost.addTab(spec); //More Tab intent = new Intent().setClass(this,MoreActivity.class); spec = tabHost.newTabSpec(More).setIndicator(,res.getDrawable(R.drawable.tab_more)).setContent(intent); tabHost.addTab(spec); please see my above code : in that i have More actvity class contains list of items . in one of the list item clicks on it goes to next screen in that bottom of the tabhost is missing in my screen .. like that around i have 10 list of items in more actvity : for each screen bottom tabhost missing TabHost xmlns:android=http://schemas.android.com/apk/res/android; android:id=@android:id/tabhost android:layout_width=fill_parent android:layout_height=wrap_content FrameLayout android:id=@+id/tabcontent android:layout_height=fill_parent android:layout_width=fill_parent android:padding=5dp /FrameLayout RelativeLayout android:layout_width=fill_parent android:layout_height=fill_parent android:padding=5dp FrameLayout android:id=@android:id/tabcontent android:layout_width=fill_parent android:layout_height=fill_parent android:layout_above=@android:id/tabs android:background=@drawable/back LinearLayout android:id=@+id/linearLayout1 android:layout_width=match_parent android:layout_height=match_parent android:orientation=vertical /LinearLayout /FrameLayout TabWidget android:id=@android:id/tabs android:layout_width=fill_parent android:layout_height=wrap_content android:layout_alignParentBottom=true / /RelativeLayout /TabHost this is main.xml with bottom host displaying .. that i asked how to apply for this tabhost for entire my project On Sun, Nov 6, 2011 at 11:11 AM, skink psk...@gmail.com wrote: On Nov 6, 6:16 am, jaggu mjagadeeshb...@gmail.com wrote: Hi i my currentactivity i have 5 tabhost with tab spec. this i need to apply for all the screen ,its another screen its missing how to apply please hlep me in this. all you need is to ask your question in at least understable english since I didn't got a word of what you want to do pskink -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Strange error
Hi what is this please tell me iam getting like this [2011-11-06 13:07:10 - Wt360weatherActivity] Failed to install Wt360weatherActivity.apk on device 'emulator-5554': Local path doesn't exist. [2011-11-06 13:07:10 - Wt360weatherActivity] com.android.ddmlib.SyncException: Local path doesn't exist. [2011-11-06 13:07:10 - Wt360weatherActivity] Launch canceled! -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Re: Tabhost with Tabspec for all the screen
please update this how to show same tabhost with tabacivity for all the actvityies how to implement please urgent On Sun, Nov 6, 2011 at 11:42 AM, jaggu mjagadeeshb...@gmail.com wrote: intent = new Intent().setClass(this,HourlyActivity.class); spec = tabHost.newTabSpec(Hourly).setIndicator(,res.getDrawable(R.drawable.tab_hourly)) .setContent(intent); tabHost.addTab(spec); //Map Tab intent = new Intent().setClass(this,map.class); spec =tabHost.newTabSpec(Maps).setIndicator(,res.getDrawable(R.drawable.tab_map)) .setContent(intent); tabHost.addTab(spec); //More Tab intent = new Intent().setClass(this,MoreActivity.class); spec = tabHost.newTabSpec(More).setIndicator(,res.getDrawable(R.drawable.tab_more)).setContent(intent); tabHost.addTab(spec); please see my above code : in that i have More actvity class contains list of items . in one of the list item clicks on it goes to next screen in that bottom of the tabhost is missing in my screen .. like that around i have 10 list of items in more actvity : for each screen bottom tabhost missing TabHost xmlns:android=http://schemas.android.com/apk/res/android; android:id=@android:id/tabhost android:layout_width=fill_parent android:layout_height=wrap_content FrameLayout android:id=@+id/tabcontent android:layout_height=fill_parent android:layout_width=fill_parent android:padding=5dp /FrameLayout RelativeLayout android:layout_width=fill_parent android:layout_height=fill_parent android:padding=5dp FrameLayout android:id=@android:id/tabcontent android:layout_width=fill_parent android:layout_height=fill_parent android:layout_above=@android:id/tabs android:background=@drawable/back LinearLayout android:id=@+id/linearLayout1 android:layout_width=match_parent android:layout_height=match_parent android:orientation=vertical /LinearLayout /FrameLayout TabWidget android:id=@android:id/tabs android:layout_width=fill_parent android:layout_height=wrap_content android:layout_alignParentBottom=true / /RelativeLayout /TabHost this is main.xml with bottom host displaying .. that i asked how to apply for this tabhost for entire my project On Sun, Nov 6, 2011 at 11:11 AM, skink psk...@gmail.com wrote: On Nov 6, 6:16 am, jaggu mjagadeeshb...@gmail.com wrote: Hi i my currentactivity i have 5 tabhost with tab spec. this i need to apply for all the screen ,its another screen its missing how to apply please hlep me in this. all you need is to ask your question in at least understable english since I didn't got a word of what you want to do pskink -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Re: Tabhost with Tabspec for all the screen
pleas respond immediately On Sun, Nov 6, 2011 at 8:10 PM, jaggu mjagadeeshb...@gmail.com wrote: please update this how to show same tabhost with tabacivity for all the actvityies how to implement please urgent On Sun, Nov 6, 2011 at 11:42 AM, jaggu mjagadeeshb...@gmail.com wrote: intent = new Intent().setClass(this,HourlyActivity.class); spec = tabHost.newTabSpec(Hourly).setIndicator(,res.getDrawable(R.drawable.tab_hourly)) .setContent(intent); tabHost.addTab(spec); //Map Tab intent = new Intent().setClass(this,map.class); spec =tabHost.newTabSpec(Maps).setIndicator(,res.getDrawable(R.drawable.tab_map)) .setContent(intent); tabHost.addTab(spec); //More Tab intent = new Intent().setClass(this,MoreActivity.class); spec = tabHost.newTabSpec(More).setIndicator(,res.getDrawable(R.drawable.tab_more)).setContent(intent); tabHost.addTab(spec); please see my above code : in that i have More actvity class contains list of items . in one of the list item clicks on it goes to next screen in that bottom of the tabhost is missing in my screen .. like that around i have 10 list of items in more actvity : for each screen bottom tabhost missing TabHost xmlns:android=http://schemas.android.com/apk/res/android; android:id=@android:id/tabhost android:layout_width=fill_parent android:layout_height=wrap_content FrameLayout android:id=@+id/tabcontent android:layout_height=fill_parent android:layout_width=fill_parent android:padding=5dp /FrameLayout RelativeLayout android:layout_width=fill_parent android:layout_height=fill_parent android:padding=5dp FrameLayout android:id=@android:id/tabcontent android:layout_width=fill_parent android:layout_height=fill_parent android:layout_above=@android:id/tabs android:background=@drawable/back LinearLayout android:id=@+id/linearLayout1 android:layout_width=match_parent android:layout_height=match_parent android:orientation=vertical /LinearLayout /FrameLayout TabWidget android:id=@android:id/tabs android:layout_width=fill_parent android:layout_height=wrap_content android:layout_alignParentBottom=true / /RelativeLayout /TabHost this is main.xml with bottom host displaying .. that i asked how to apply for this tabhost for entire my project On Sun, Nov 6, 2011 at 11:11 AM, skink psk...@gmail.com wrote: On Nov 6, 6:16 am, jaggu mjagadeeshb...@gmail.com wrote: Hi i my currentactivity i have 5 tabhost with tab spec. this i need to apply for all the screen ,its another screen its missing how to apply please hlep me in this. all you need is to ask your question in at least understable english since I didn't got a word of what you want to do pskink -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Tabhost with Tabspec for all the screen
Hi i my currentactivity i have 5 tabhost with tab spec. this i need to apply for all the screen ,its another screen its missing how to apply please hlep me in this. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] re:Google Maps
Hi How to get the map api key :because of my url is like ajax with javascripit combination : even when extends MapActvity also not coming in my activity class how to get that please help urgent this.. Thanks Jagadeesh -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re:GoogleMap
Hi i have to show googlemap in my application itself but ,its like api key is there some things i haven't understand how to get the map key please help me Thanks Jagadeesh -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] re:change backgroudn
Hi i have around 14 images if i want change keep on image how to do for each activity . like i have 10 screen for each how to change the images. please tell me any one .help required -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] re:change backgroudn
Hi i have mainactivity in and i have 10 actvity screens if each screen navigating in the activity screen : like right to left and left to right needs to change the backgroud images how can i change. those images are stored and fixed.default one image i need to show after that user by clicking image can be change On Tue, Nov 1, 2011 at 7:47 PM, Ratheesh Valamchuzhy android...@gmail.com wrote: need more explanation. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re:Background
Hi how to change the background image ,right now i have kept the only one image ; like tht arounnd i have 14 image useing database i have stored those images keep on needs to change the user how come its possoble can any one tell me thanks jagadeesh -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] in Framelayout image drawn on and off
Hi please see that image like this in android is it possible , because of i tryiede in android i didnt get can any one guide me like that in framelayout that i have to design becaue of i already applied for other useing framelayouts i have draw around 4 images expcet this with in one screen please guide me in right direction thanks Jagadeesh -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=enattachment: image.png
[android-developers] Re:Tab host
Hi i have tab host in 1st screen in the next screen also same tabhost i have display how to call thanks jagadeesh -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: back,edit button ActionBar
hi how to implement actionbar with backbutton -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Re: back,edit button ActionBar
how to implement actionbar with backbutton,and editbutton how to include in current activity in top and bottom i have tabhost On Thu, Oct 27, 2011 at 3:02 PM, Ratheesh Valamchuzhy android...@gmail.comwrote: need more explanation -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] re:sqlitedatabase
Hi when loading the application The following tables have some default values that should be copied with the app’s database: i. SETTINGS table 1. locationID = ‘ST3514’ 2. units = ‘british pls guide me -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Re: back,edit button ActionBar
customized action bar. On Thu, Oct 27, 2011 at 4:00 PM, Ratheesh Valamchuzhy android...@gmail.comwrote: how to implement actionbar with backbutton, *u want the built in action bar or a customized action bar ?* how to include in current activity in top and bottom i have tabhost * see the simple tab host tutorial in android...* -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] back,edit button ActionBar
i want screen like second actionbar in down i have tabhost also in the same screen can any one guide for this On Thu, Oct 27, 2011 at 4:11 PM, Ratheesh Valamchuzhy android...@gmail.comwrote: u want the screen something like this? while selecting each tab u need to display the activity [image: 3.png] -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en3.pngattachment: images.pngattachment: actionbar.png
Re: [android-developers] tabwidget
any color that listview should display one of the tab spec clicks on it should go another scren image ,text , like this i need can u guide me On 10/26/11, Ratheesh Valamchuzhy android...@gmail.com wrote: i have used listactivity with simpledapater but i didnt get simple normal list its displaying is there any way like that its iphonescreen its should be like android also u want to create list view (white color) like iphone ? -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] service
Hi i have an small doubt regarding the service .. how to start service and how to stop the service in my mediaplayer activity can any one give me exact flow for this application Thanks jagadeesh -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Re: Intent
Hi where i need tel: in my code Thanks Jagadeesh On Mon, Aug 8, 2011 at 3:08 AM, nadam a...@anyro.se wrote: Check logcat to find the reason for force close. I think you need to add tel: in front of the phone number. On 6 Aug, 07:37, jagadeesh mjagadeeshb...@gmail.com wrote: Hi see the below code: Intent myintent=new Intent(Intent.ACTION_DIAL,Uri.parse(100)); startActivity(myintent); I want to call one no from my intent itself but iam getting like forceclose wait code Thanks -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Re: Intent
Hi nadam Thanks its working fyn On Mon, Aug 8, 2011 at 3:08 AM, nadam a...@anyro.se wrote: Check logcat to find the reason for force close. I think you need to add tel: in front of the phone number. On 6 Aug, 07:37, jagadeesh mjagadeeshb...@gmail.com wrote: Hi see the below code: Intent myintent=new Intent(Intent.ACTION_DIAL,Uri.parse(100)); startActivity(myintent); I want to call one no from my intent itself but iam getting like forceclose wait code Thanks -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en