[android-beginners]
somebody tell me what is use of onBind in service --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Beginners" group. To post to this group, send email to android-beginners@googlegroups.com To unsubscribe from this group, 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] Agent/Actor programming on Android.
Hi I am interested using Agents/Actors on Android. Does anybody have an experience in that? I know there is JADE Andorid but it is not in active development and working very limited on android 1.0. I know there are Scala Actors but they do not come in standard scala-android distribution. Are there any other options? w --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Beginners" group. To post to this group, send email to android-beginners@googlegroups.com To unsubscribe from this group, 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: ImageButton on Graphic Background
Let me be very precise here. I have a picture in the background.Can i place ImageButtons on this picture and receive click event of the ImageButtons? If not then how can i place a pictured object on a pictured background and be able to receive click event of that object? Thank you Maxood On Sep 30, 4:56 pm, "Mark Murphy" wrote: > > Is it possible to have ImageButtons to be placed on a graphic > > background? Wonder if they will receive events or not? Please reply > > with comments > > I do not know exactly what you mean by "placed on a graphic background". > > If you mean you want the ImageButton to *have* some different background > (e.g., android:background="..."), that is fine, and ImageButton will work > normally in terms of events, AFAIK. However, unless you provide a > StateListDrawable as the background, it will not *visually* appear to take > focus, click, or anything like that. > > -- > Mark Murphy (a Commons Guy)http://commonsware.com > Android App Developer Books:http://commonsware.com/books.html --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Beginners" group. To post to this group, send email to android-beginners@googlegroups.com To unsubscribe from this group, 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: Trajectory Calculator
Also i'm looking for an app with a trajectory calculator.Thankyou Maxood On Sep 30, 10:33 am, Maxood wrote: > How can we detect wind speed from a weather web service. Can you > suggest some good sites? > > Also i have been informed that one is restricted by the United States > Golf Association and the Royal and Ancient Golf Association (the > ruling bodies of golf in the US and Europe) for using any device to > check atmospheric conditions as it is against the rules.Please check: > > http://answers.yahoo.com/question/index;_ylt=AvIE5c3zE5fjluY9rd28i5vs... > > Wonder if we can incorporate this feature in the app?Would it be > legal? > > Also let me know how do you find TeeDroid:http://www.teedroid.com/ > > Looking for valuable comments suggestions.Thank you > Maxood > > On Sep 30, 12:11 am, "Yusuf Saib (T-Mobile USA)" > > > Mobile.com> wrote: > > There's more than one Golf app. Golfzilla is > > one:http://asia.cnet.com/crave/2008/07/08/google-maps-android-golf-golfzi... > > > You can find elevation from the GPS, windspeed would have to come from > > a weather web service, which in theory you could access > > programmatically. > > > Yusuf Saib > > Android > > ·T· · ·Mobile· stick together > > The views, opinions and statements in this email are those of the > > author solely in their individual capacity, and do not necessarily > > represent those of T-Mobile USA, Inc. > > > On Sep 29, 12:39 am, Maxood wrote: > > > > Could someone provide me a link on a good Golf application on android? > > > I am interested to look at the screenshots and its flow. > > > Wonder if we are able to find out elevation and/or wind speed through > > > a device. Is it possible with any of the phones in the market running > > > on android? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Beginners" group. To post to this group, send email to android-beginners@googlegroups.com To unsubscribe from this group, 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] Behaviour of listviews with Custom Rows
Hi, what i got is 2 listviews which are both subclasses of ListActivity. One is a simple list with a textview in every row. The other has some elements in the top, and a list below. The first and simple row, has its row defnied programmaticly and selected rows are highlighted. In the other list i used an XML layout to define the rows layout and used an inflater to inflate the xml layout. Here, there is noch highlight on the row when selected, but is should be highlighted. Maybe anyone has an idea, where to search. Code is below. Regards, Daniel List with highlight working: @Override public View getView(int position, View convertView, ViewGroup parent) { TripListRowView sv; if (convertView == null) { sv = new TripListRowView(this.context, this.trips.elementAt (position)); } else { sv = (TripListRowView) convertView; sv.setTripId(this.trips.elementAt(position).getTripID()); } return sv; } class TripListRowView extends LinearLayout { TextView tripId = null; public TripListRowView(Context context, Trip trip) { super(context); this.setOrientation(HORIZONTAL); this.setPadding(0, 5, 0, 5); tripId = new TextView(context); tripId.setText("Trip: " + trip.getTripID()); tripId.setTextSize(25.0f); tripId.setTextColor(Color.BLACK); tripId.setPadding(10, 0, 0, 0); addView(tripId, new LinearLayout.LayoutParams( LayoutParams.FILL_PARENT, LayoutParams.WRAP_CONTENT)); } void setTripId(String tripId) { this.tripId.setText(tripId); } } Not working list: protected void onCreate(Bundle savedInstanceState) { // TODO Auto-generated method stub super.onCreate(savedInstanceState); setContentView(R.layout.tripdetail); } the xmlfile for the screen: http://schemas.android.com/apk/res/android"; android:layout_width="fill_parent" android:layout_height="fill_parent" android:background="#FF" android:orientation="vertical"> http://schemas.android.com/apk/res/ android" android:id="@+id/tableLay" android:orientation="vertical" android:layout_width="fill_parent" android:layout_height="wrap_content" android:padding="10sp"> the xml file for the row: http://schemas.android.com/apk/res/ android" android:layout_width="fill_parent" android:layout_height="fill_parent" android:background="#FF" android:orientation="vertical"> And the list adapter: public View getView(int position, View convertView, ViewGroup parent) { LayoutInflater inflater = (LayoutInflater)context.getSystemService (Context.LAYOUT_INFLATER_SERVICE); View ret = inflater.inflate(R.layout.tripdetailrow, null); return ret; } --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Beginners" group. To post to this group, send email to android-beginners@googlegroups.com To unsubscribe from this group, 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: Behaviour of listviews with Custom Rows
> what i got is 2 listviews which are both subclasses of ListActivity. > One is a simple list with a textview in every row. > The other has some elements in the top, and a list below. > > The first and simple row, has its row defnied programmaticly and > selected rows are highlighted. > In the other list i used an XML layout to define the rows layout and > used an inflater to inflate the xml layout. Here, there is noch > highlight on the row when selected, but is should be highlighted. > > Maybe anyone has an idea, where to search. Code is below. > http://schemas.android.com/apk/res/ > android" > android:layout_width="fill_parent" > android:layout_height="fill_parent" > android:background="#FF" android:orientation="vertical"> You have set the background color of the row to a fixed color. That is fine...but the selection highlight is part of the background. If you want this to be selectable, you will need to either use a StateListDrawable instead of a hardwired color here, or you will need to register a selection listener with the ListView and manually update the selected row to look however you want. -- Mark Murphy (a Commons Guy) http://commonsware.com Android App Developer Books: http://commonsware.com/books.html --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Beginners" group. To post to this group, send email to android-beginners@googlegroups.com To unsubscribe from this group, 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: Behaviour of listviews with Custom Rows
On 1 Okt., 14:12, "Mark Murphy" wrote: > You have set the background color of the row to a fixed color. That is > fine...but the selection highlight is part of the background. If you want > this to be selectable, you will need to either use a StateListDrawable > instead of a hardwired color here, or you will need to register a > selection listener with the ListView and manually update the selected row > to look however you want. Thank you. I just deleted the background of the row and everything workes fine. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Beginners" group. To post to this group, send email to android-beginners@googlegroups.com To unsubscribe from this group, 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] MyLocationOverlay vs. Service with Locationlistener
Hi, im playing around a little with the Maps-Api and the MyLocationOverlay which draws a point on the map on your current location. At first i was doing this by hand with a normal Overlay and a Service with a LocationListener. Then i found out that MyLocationOverlay is implementing this all natively. Now what if i still wanted to use a LocationListener in a Service. For example i want to have a general-purpose Service for Location- Listening that could also be used for the map, but i also want to use the MyLocationOverlay-Class for showing my position. Does it make sense or would the Listeners interfere each other? Is it possible that MyLocationOverlay should use the LocationService and not the build-in one? Greetings, Harold --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Beginners" group. To post to this group, send email to android-beginners@googlegroups.com To unsubscribe from this group, 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: ImageButton on Graphic Background
> Let me be very precise here. I have a picture in the background. That is not "very precise". The picture is "in the background of"...what? > Can i > place ImageButtons on this picture and receive click event of the > ImageButtons? Presumably. Please try it, and if it does not work, post some layout XML that can more clearly explain what it is you are trying and that does not work. -- Mark Murphy (a Commons Guy) http://commonsware.com Android App Developer Books: http://commonsware.com/books.html --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Beginners" group. To post to this group, send email to android-beginners@googlegroups.com To unsubscribe from this group, 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: MyLocationOverlay vs. Service with Locationlistener
Hi Harold This is exactly what I'm doing in MySpeed - http://l6n.org/android/myspeed.shtml There's a MyLocationOverlay which shows the map and a service which does other stuff. Originally I had the other stuff in the MyLocationOverlay, but later decided to move it all out into it's own service and keep the MyLocationOveraly simpler. I don't think you can or want to do what you asked in your last question. Regards Neil On Oct 1, 2:34 pm, Harold wrote: > Hi, > im playing around a little with the Maps-Api and the MyLocationOverlay > which draws a point on the map > on your current location. At first i was doing this by hand with a > normal Overlay and a Service with a LocationListener. Then i found out > that MyLocationOverlay is implementing this all natively. > > Now what if i still wanted to use a LocationListener in a Service. For > example i want to have a general-purpose Service for Location- > Listening that could also be used for the map, but i also want to use > the MyLocationOverlay-Class for showing my position. > > Does it make sense or would the Listeners interfere each other? Is it > possible that MyLocationOverlay should use the LocationService and not > the build-in one? > > Greetings, > Harold --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Beginners" group. To post to this group, send email to android-beginners@googlegroups.com To unsubscribe from this group, 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] Layout one horizontal line with two TextViews
Hi, i will go insane in a minute with this problem. What i want to do is to design a layout, with one Textview on the left oft the screen and on Textview on the right of the screen. So that both fields grow to the center when a longer text is set. My xmlfile: http://schemas.android.com/apk/res/ android" android:layout_width="fill_parent" android:layout_height="fill_parent" android:orientation="vertical"> So the streetText should be left and the meterialText should be right. I tried every constellation of gravity etc., but nothing worked. Thanks for helping. Regards, Daniel --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Beginners" group. To post to this group, send email to android-beginners@googlegroups.com To unsubscribe from this group, 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: Layout one horizontal line with two TextViews
> without the xml tag of course.. and change the id/name of the relativeLayout tag ;) --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Beginners" group. To post to this group, send email to android-beginners@googlegroups.com To unsubscribe from this group, 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: Layout one horizontal line with two TextViews
Hi, try this instead of your second LinearLayout: --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Beginners" group. To post to this group, send email to android-beginners@googlegroups.com To unsubscribe from this group, 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: ImageButton on Graphic Background
if u mean to place an image button on top of a layout , that could help or in the code u can create ImageButton and put in in the layout by addView On Thu, Oct 1, 2009 at 1:36 PM, Mark Murphy wrote: > > > Let me be very precise here. I have a picture in the background. > > That is not "very precise". The picture is "in the background of"...what? > > > Can i > > place ImageButtons on this picture and receive click event of the > > ImageButtons? > > Presumably. > > Please try it, and if it does not work, post some layout XML that can more > clearly explain what it is you are trying and that does not work. > > -- > Mark Murphy (a Commons Guy) > http://commonsware.com > Android App Developer Books: http://commonsware.com/books.html > > > > > > --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Beginners" group. To post to this group, send email to android-beginners@googlegroups.com To unsubscribe from this group, 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: Android as a Universal Remote for CE/HA? (ab)
For the love of god, anything at all? ... Jed wrote: > Hi, any thoughts on this anyone please? > > Jed wrote: >> Hi All, >> >> I was wondering if there's any good Universal Remote software for CE &or >> HA being developed in the Android ecosystem? >> >> Does anyone know of anything under way or a related Linux project that >> could be re-adapted for Android? >> >> I have something "roughly" like this visualised... (see attached txt >> file) >> >> I have an old Axim X50v which android is being ported to atm... >> But progress is slow so I may have to find a better supported device >> soon. >> >> Any thoughts/ideas/advice greatly appreciated! >> >> Cheers, >> Jed >> --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Beginners" group. To post to this group, send email to android-beginners@googlegroups.com To unsubscribe from this group, 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] Remote View setString
Hello, Can some one please help me understand the setString function in RemoteViews? public void setString (int viewId, String methodName, String value) Can I pass any method name to setString ? I have a custom view in my xml layout file. I'm passing the view id of my custom view, name of a method in my custom view class and a string parameter for the method. It doesn't seem to be working. Is there is a limitation on the methods that can be passed to setString? Or is there something fundamentally wrong in what I'm doing? Thanks --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Beginners" group. To post to this group, send email to android-beginners@googlegroups.com To unsubscribe from this group, 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: HelloMapView coming up with empty tiles
What you are doing looks right. The empty tiles view with cross hatches is a symptom of an invalid apiKey, but possibly it is something else. On Sep 26, 8:47 am, Clayton wrote: > I'm having trouble getting the HelloMapView to work. I have the Maps > API key that I got from, submitting the androiddebugkey, in the > main.xml but my HelloMapView comes up in the emulator with empty > tiles, no map. The GoogleMaps app works on the emulator but my app > doesn't work. What am I missing? > > Here's my manifest > > http://schemas.android.com/apk/res/android"; > package="com.example" > android:versionCode="1" > android:versionName="1.0"> > > > > android:label="@string/app_name"> > > > android:name="android.intent.category.LAUNCHER" /> > > > > > > > > > My main.xml > > http://schemas.android.com/apk/res/ > android" > android:id="@+id/mainlayout" > android:orientation="vertical" > android:layout_width="fill_parent" > android:layout_height="fill_parent" > > > android:id="@+id/mapview" > android:layout_width="fill_parent" > android:layout_height="fill_parent" > android:clickable="true" > android:apiKey="" > /> > > > Here's my HelloMapView class: > > package com.example; > > import com.google.android.maps.MapActivity; > import com.google.android.maps.MapView; > > import android.app.Activity; > import android.os.Bundle; > import android.widget.LinearLayout; > import android.widget.RelativeLayout; > import android.widget.ZoomControls; > > public class HelloMapView extends MapActivity { > > /** Called when the activity is first created. */ > @Override > public void onCreate(Bundle savedInstanceState) { > super.onCreate(savedInstanceState); > setContentView(R.layout.main); > > } > > @Override > protected boolean isRouteDisplayed() { > // TODO Auto-generated method stub > return false; > } > > } > > Thanks in advance, > Clayton --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Beginners" group. To post to this group, send email to android-beginners@googlegroups.com To unsubscribe from this group, 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: Remote View setString
> Can some one please help me understand the setString function in > RemoteViews? > public void setString (int viewId, String methodName, String value) > > Can I pass any method name to setString ? I have a custom view in my > xml layout file. I'm passing the view id of my custom view, name of a > method in my custom view class and a string parameter for the method. > It doesn't seem to be working. Is there is a limitation on the methods > that can be passed to setString? Or is there something fundamentally > wrong in what I'm doing? You can't have a custom view in a layout managed by RemoteViews, assuming that by "custom view" you mean your own separate class. -- Mark Murphy (a Commons Guy) http://commonsware.com Android App Developer Books: http://commonsware.com/books.html --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Beginners" group. To post to this group, send email to android-beginners@googlegroups.com To unsubscribe from this group, 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: Remote View setString
Thanks Mark. Yes it is my own view class (like a button). But it works fine in RemoteView as long as I do not attempt to "set" anything in my view class. But one of the parameters in this view class is dynamic and I need to set it from the Remote View (like we do a setText for a button). That is where I am stuck at. I have a public method in my view class which takes a string parameter and I somehow need to call that method through the remote view. Thanks On Oct 1, 1:02 pm, "Mark Murphy" wrote: > > Can some one please help me understand the setString function in > > RemoteViews? > > public void setString (int viewId, String methodName, String value) > > > Can I pass any method name to setString ? I have a custom view in my > > xml layout file. I'm passing the view id of my custom view, name of a > > method in my custom view class and a string parameter for the method. > > It doesn't seem to be working. Is there is a limitation on the methods > > that can be passed to setString? Or is there something fundamentally > > wrong in what I'm doing? > > You can't have a custom view in a layout managed by RemoteViews, assuming > that by "custom view" you mean your own separate class. > > -- > Mark Murphy (a Commons Guy)http://commonsware.com > Android App Developer Books:http://commonsware.com/books.html --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Beginners" group. To post to this group, send email to android-beginners@googlegroups.com To unsubscribe from this group, 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: Android as a Universal Remote for CE/HA? (ab)
For the love of god, apparently not! -- There are only 10 types of people in the world... Those who know binary and those who don't. -- On Thu, Oct 1, 2009 at 11:24 AM, Jed wrote: > > For the love of god, anything at all? ... > > Jed wrote: > > Hi, any thoughts on this anyone please? > > > > Jed wrote: > >> Hi All, > >> > >> I was wondering if there's any good Universal Remote software for CE &or > >> HA being developed in the Android ecosystem? > >> > >> Does anyone know of anything under way or a related Linux project that > >> could be re-adapted for Android? > >> > >> I have something "roughly" like this visualised... (see attached txt > >> file) > >> > >> I have an old Axim X50v which android is being ported to atm... > >> But progress is slow so I may have to find a better supported device > >> soon. > >> > >> Any thoughts/ideas/advice greatly appreciated! > >> > >> Cheers, > >> Jed > >> > > > > --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Beginners" group. To post to this group, send email to android-beginners@googlegroups.com To unsubscribe from this group, 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] Returning a value from TabActivity.
Hello, How can I return a value from TabActivity? It seems that the return value from tab pages vanishes and the caller always receives RESULT_CANCELED instead of RESULT_OK. Here is a simple but complete example. http://www.futuredesktop.org/tmp/TabTest.zip Please take some time to study and test it. --- The main activity is Test.java. It starts the TabPage activity with >>> Intent i = new Intent(Test.this, TabPage.class); >>> startActivityForResult(i, Test.MY_CODE); The TabPage activity has 2 tab pages with TabContent1 and TabContent2 activities. The main Test.java [by function onActivityResult(...) ] should receive individual return values from these tab pages, but this fails. Why? The return values is always RESULT_CANCELED. TIA, Osmo (Moma) Antero from Norway/Grønland, http://www.futuredesktop.org/developing_android_apps_on_ubuntu.html --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Beginners" group. To post to this group, send email to android-beginners@googlegroups.com To unsubscribe from this group, 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] Help
Someone knows how could do to generate a view with 01 TextView and a button without using the xml (R.java).? Which method of the view that receives the attributes (TextView and button)? -- Ray da Costa "The best way to predict the future is to invent it." Alan Kay --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Beginners" group. To post to this group, send email to android-beginners@googlegroups.com To unsubscribe from this group, 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] Listen to a service installation
Hi all, is there a way to listen to a service installation? I'd like android to callback every time a service.onCreate is called or when a new .apk is installed to the device. Is it possible? thanks in advance --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Beginners" group. To post to this group, send email to android-beginners@googlegroups.com To unsubscribe from this group, 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] How to receive callback when press and hold button for a longer time.
I want to add some code when user press and hold the button. I try use change the focus function. I wrote the similar code like onClick. But it was never called when I moved curer to button and it was focused. Button button = (Button) findViewById(R.id.*channel_up*); button.setOnFocusChangeListener(*new* Button.OnFocusChangeListener() { *public* *void* onFocusChange(View v, *boolean* hasFocus) { } Thanks Shude --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Beginners" group. To post to this group, send email to android-beginners@googlegroups.com To unsubscribe from this group, 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: Remote View setString
Let us keep aside the fact that I'm using a custom view. Consider a normal case, where I am using an existing Android view, for example AnalogClock class in my layout. Is there anyway I can call a public method of AnalogClock Class through the remote view? I need to dynamically update something in the AnalogClock and that needs to be reflected in the remote view. Any help would be really appreciated. Thanks On Oct 1, 1:14 pm, android learner wrote: > Thanks Mark. Yes it is my own view class (like a button). But it works > fine in RemoteView as long as I do not attempt to "set" > anything in my view class. But one of the parameters in this view > class is dynamic and I need to set it from the Remote View (like we do > a setText for a button). That is where I am stuck at. I have a public > method in my view class which takes a string parameter and I somehow > need to call that method through the remote view. > > Thanks > > On Oct 1, 1:02 pm, "Mark Murphy" wrote: > > > > Can some one please help me understand the setString function in > > > RemoteViews? > > > public void setString (int viewId, String methodName, String value) > > > > Can I pass any method name to setString ? I have a custom view in my > > > xml layout file. I'm passing the view id of my custom view, name of a > > > method in my custom view class and a string parameter for the method. > > > It doesn't seem to be working. Is there is a limitation on the methods > > > that can be passed to setString? Or is there something fundamentally > > > wrong in what I'm doing? > > > You can't have a custom view in a layout managed by RemoteViews, assuming > > that by "custom view" you mean your own separate class. > > > -- > > Mark Murphy (a Commons Guy)http://commonsware.com > > Android App Developer Books:http://commonsware.com/books.html > > --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Beginners" group. To post to this group, send email to android-beginners@googlegroups.com To unsubscribe from this group, 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: Trajectory Calculator
First of all "Royal and Ancient Golf Association" is a pretty awesome name. I looked it up and found they are the authority everywhere except the US and Mexico. But even if you're golfing in Scotland, unless you're playing in a championship, you can check the weather without the royal mounted golf police tackling you. There are many weather web services. For example, here in the colonies we have http://www.weather.gov/forecasts/xml/rest.php . Trajectory just uses a formula, so you could either whip one up yourself, or nicely ask the author of a similar app to help you. "Android Archer" and "Ballistics Calculator" do this calculation, but are not open-source AFAIK. Good luck (and stay out of trouble Maxood :) Yusuf Saib Android ·T· · ·Mobile· stick together The views, opinions and statements in this email are those of the author solely in their individual capacity, and do not necessarily represent those of T-Mobile USA, Inc. On Oct 1, 4:24 am, Maxood wrote: > Also i'm looking for an app with a trajectory calculator.Thankyou > Maxood > On Sep 30, 10:33 am, Maxood wrote: > > > > > How can we detect wind speed from a weather web service. Can you > > suggest some good sites? > > > Also i have been informed that one is restricted by the United States > > Golf Association and the Royal and Ancient Golf Association (the > > ruling bodies of golf in the US and Europe) for using any device to > > check atmospheric conditions as it is against the rules.Please check: > > >http://answers.yahoo.com/question/index;_ylt=AvIE5c3zE5fjluY9rd28i5vs... > > > Wonder if we can incorporate this feature in the app?Would it be > > legal? > > > Also let me know how do you find TeeDroid:http://www.teedroid.com/ > > > Looking for valuable comments suggestions.Thank you > > Maxood > > > On Sep 30, 12:11 am, "Yusuf Saib (T-Mobile USA)" > > Mobile.com> wrote: > > > There's more than one Golf app. Golfzilla is > > > one:http://asia.cnet.com/crave/2008/07/08/google-maps-android-golf-golfzi... > > > > You can find elevation from the GPS, windspeed would have to come from > > > a weather web service, which in theory you could access > > > programmatically. > > > > Yusuf Saib > > > Android > > > ·T· · ·Mobile· stick together > > > The views, opinions and statements in this email are those of the > > > author solely in their individual capacity, and do not necessarily > > > represent those of T-Mobile USA, Inc. > > > > On Sep 29, 12:39 am, Maxood wrote: > > > > > Could someone provide me a link on a good Golf application on android? > > > > I am interested to look at the screenshots and its flow. > > > > Wonder if we are able to find out elevation and/or wind speed through > > > > a device. Is it possible with any of the phones in the market running > > > > on android? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Beginners" group. To post to this group, send email to android-beginners@googlegroups.com To unsubscribe from this group, 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: Help
Anything you can do in XML, you can do programmatically. The TextView and Button documentation show both. Search the following link for "Related Method". http://developer.android.com/reference/android/widget/TextView.html You can also set the attributes in their constructors: TextView(Context context, AttributeSet attrs) Button(Context context, AttributeSet attrs) Yusuf Saib Android ·T· · ·Mobile· stick together The views, opinions and statements in this email are those of the author solely in their individual capacity, and do not necessarily represent those of T-Mobile USA, Inc. On Oct 1, 12:36 pm, Ray da Costa wrote: > Someone knows how could do to generate a view with 01 TextView and a button > without using the xml (R.java).? > Which method of the view that receives the attributes (TextView and button)? > > -- > Ray da Costa > "The best way to predict the future is to invent it." > Alan Kay --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Beginners" group. To post to this group, send email to android-beginners@googlegroups.com To unsubscribe from this group, 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: Listen to a service installation
Dude, there's no such thing as service installation, as for the *.apks, consider listening to *PACKAGE broadcasts. On Oct 1, 11:00 pm, Valeriano wrote: > Hi all, > > is there a way to listen to a service installation? > I'd like android to callback every time a service.onCreate is called > or when a new .apk is installed to the device. > Is it possible? > > thanks in advance --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Beginners" group. To post to this group, send email to android-beginners@googlegroups.com To unsubscribe from this group, 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: Remote View setString
Yes, you can call a public method on widget's views via the remote views as long as it matches signature of 1 of methods that RemoteViews class offers. For example, to set text on the TextView that exists in widget's layout, you can use RemoteViews.setString(R.id.your_view_id, "setText", "your widget text") or RemoteViews.setTextViewText ((R.id.your_view_id, "your widget text"). Both are equal, but first one uses reflection. On Oct 2, 12:04 am, android learner wrote: > Let us keep aside the fact that I'm using a custom view. Consider a > normal case, > where I am using an existing Android view, for example AnalogClock > class in my layout. Is there anyway I can call a public method > of AnalogClock Class through the remote view? I need to dynamically > update something in the AnalogClock and that needs to be reflected in > the remote view. Any help would be really appreciated. > > Thanks > > On Oct 1, 1:14 pm, android learner wrote: > > > Thanks Mark. Yes it is my own view class (like a button). But it works > > fine in RemoteView as long as I do not attempt to "set" > > anything in my view class. But one of the parameters in this view > > class is dynamic and I need to set it from the Remote View (like we do > > a setText for a button). That is where I am stuck at. I have a public > > method in my view class which takes a string parameter and I somehow > > need to call that method through the remote view. > > > Thanks > > > On Oct 1, 1:02 pm, "Mark Murphy" wrote: > > > > > Can some one please help me understand the setString function in > > > > RemoteViews? > > > > public void setString (int viewId, String methodName, String value) > > > > > Can I pass any method name to setString ? I have a custom view in my > > > > xml layout file. I'm passing the view id of my custom view, name of a > > > > method in my custom view class and a string parameter for the method. > > > > It doesn't seem to be working. Is there is a limitation on the methods > > > > that can be passed to setString? Or is there something fundamentally > > > > wrong in what I'm doing? > > > > You can't have a custom view in a layout managed by RemoteViews, assuming > > > that by "custom view" you mean your own separate class. > > > > -- > > > Mark Murphy (a Commons Guy)http://commonsware.com > > > Android App Developer Books:http://commonsware.com/books.html --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Beginners" group. To post to this group, send email to android-beginners@googlegroups.com To unsubscribe from this group, 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: Remote View setString
Thanks Paul. That was helpful. In my case, the public method I'm trying to call, does not match with the signature of any of the methods that RemoteView class offers. I guess that explains the error I get. Is there any way to overcome this limitation? Also, I'd like to know if there is any other way to dynamically set an xml attribute through remote view (where none of the RemoteView methods support setting this attribute) Thanks On Oct 1, 4:47 pm, Paul Turchenko wrote: > Yes, you can call a public method on widget's views via the remote > views as long as it matches signature of 1 of methods that RemoteViews > class offers. For example, to set text on the TextView that exists in > widget's layout, you can use RemoteViews.setString(R.id.your_view_id, > "setText", "your widget text") or RemoteViews.setTextViewText > ((R.id.your_view_id, "your widget text"). Both are equal, but first > one uses reflection. > > On Oct 2, 12:04 am, android learner wrote: > > > Let us keep aside the fact that I'm using a custom view. Consider a > > normal case, > > where I am using an existing Android view, for example AnalogClock > > class in my layout. Is there anyway I can call a public method > > of AnalogClock Class through the remote view? I need to dynamically > > update something in the AnalogClock and that needs to be reflected in > > the remote view. Any help would be really appreciated. > > > Thanks > > > On Oct 1, 1:14 pm, android learner wrote: > > > > Thanks Mark. Yes it is my own view class (like a button). But it works > > > fine in RemoteView as long as I do not attempt to "set" > > > anything in my view class. But one of the parameters in this view > > > class is dynamic and I need to set it from the Remote View (like we do > > > a setText for a button). That is where I am stuck at. I have a public > > > method in my view class which takes a string parameter and I somehow > > > need to call that method through the remote view. > > > > Thanks > > > > On Oct 1, 1:02 pm, "Mark Murphy" wrote: > > > > > > Can some one please help me understand the setString function in > > > > > RemoteViews? > > > > > public void setString (int viewId, String methodName, String value) > > > > > > Can I pass any method name to setString ? I have a custom view in my > > > > > xml layout file. I'm passing the view id of my custom view, name of a > > > > > method in my custom view class and a string parameter for the method. > > > > > It doesn't seem to be working. Is there is a limitation on the methods > > > > > that can be passed to setString? Or is there something fundamentally > > > > > wrong in what I'm doing? > > > > > You can't have a custom view in a layout managed by RemoteViews, > > > > assuming > > > > that by "custom view" you mean your own separate class. > > > > > -- > > > > Mark Murphy (a Commons Guy)http://commonsware.com > > > > Android App Developer Books:http://commonsware.com/books.html > > --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Beginners" group. To post to this group, send email to android-beginners@googlegroups.com To unsubscribe from this group, 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: Free and Paid apps with same code-base???
I found a way that works! And it is simple. A co-worker of mine has this slogan on his whiteboard: "Do the simplest thing that could possible work." I have my main app, which contains both free and paid code. I also have an app that acts as a key to unlock the pro version. The following code tells me if my main app should be running in free or paid mode: public class PaidMode { public static boolean isInPaidMode(Context context) { String mainAppPkg = ...; String keyPkg = ...; int sigMatch = context.getPackageManager.checkSignatures(mainAppPkg, keyPkg); return sigMatch == PackageManager.SIGNATURE_MATCH; } } Anywhere I want to have different functionality between modes I can just call that method. Hope this helps someone else as well! Thanks, Justin -- There are only 10 types of people in the world... Those who know binary and those who don't. -- On Fri, Sep 18, 2009 at 9:40 AM, AngelOD wrote: > > Yes, I would also highly recommend the use of either a shared Java > library, or SVN (in which case you should read up on merging two > source trees, as that's exactly for that purpose). In my experiences, > the use of symlinks can get rather messy, but is of course quite > possible, both on Linux, Mac, and Windows (Win2K and higher), it just > requires that you know what you're doing. > > - Tristan > > > On Sep 18, 6:57 am, Raphael wrote: > > Not yet. You can get around by extracting as much application logic as > > possible in a java lib, but you still need basically two projects for > > the android parts & resources. > > > > If you're using Linux or a source control system like SVN you can > > share or symlink your res dir however. It's far from ideal though. > > > --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Beginners" group. To post to this group, send email to android-beginners@googlegroups.com To unsubscribe from this group, 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: How to receive an incoming call programmatically?
can you explain it more... On Sep 30, 4:12 am, Nemat wrote: > is it possible to intercept an incoming call? > > I want my application to receive the call automatically through > programming.Can we do this in SDK-1.6? > > Thanks > Nemat --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Beginners" group. To post to this group, send email to android-beginners@googlegroups.com To unsubscribe from this group, 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: Agent/Actor programming on Android.
Hi, I'm using Jade Android for my intents with no problems until now! What kind of limitations do you refer? Francesco On 1 Ott, 12:17, wonglik wrote: > Hi > > I am interested using Agents/Actors on Android. Does anybody have an > experience in that? > > I know there is JADE Andorid but it is not in active development and > working very limited on android 1.0. I know there are Scala Actors but > they do not come in standard scala-android distribution. Are there any > other options? > > w --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Beginners" group. To post to this group, send email to android-beginners@googlegroups.com To unsubscribe from this group, 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] Can we put inner layout in center of the screen.
Hi All, I want to put inner layout in center of the screen. Please help me here. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Beginners" group. To post to this group, send email to android-beginners@googlegroups.com To unsubscribe from this group, 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] Specifying relative positions in Layout?
Hi All, I need to implement a screen containing a list of blocks one below the other. Each block will contain mutiple superimpose elements (Images, text) for which the relative position needs to be specified with respect to the top left corner of the block. For creating the list of blocks i have used listview. For each block i tried to use relative layout.This works ok when the phone is in landscape mode and absolute position is specified relative to left edge of the phone. But when the phone is put in the portrait mode the layout gets distorted. 1) What layout can be used for this scenario? 2) Can relative positions be specified in terms of percentage of screen width/height instead of pixels? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Beginners" group. To post to this group, send email to android-beginners@googlegroups.com To unsubscribe from this group, 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: ArrayIndexOutOfBoundsException in maps API
I'm not sure if you've found your solution yet, but what solved it for me was calling setLastFocusedIndex(-1) before populate(). Check out these posts for more discussion on the topic: http://www.anddev.org/viewtopic.php?p=26461 http://groups.google.com/group/android-developers/browse_thread/thread/38b11314e34714c3 On Sep 9, 6:10 pm, Zied Hamdi wrote: > Hi Aracos, > > Thanks for your answer and sorry for this late reply. I only > invalidate the MapView, which will surely call populate() on each > overlay (i suppose). The odd thing is that having an empty overlay > which suppose just adds a decoration besides the fact of showing > items, should be legal... > > Anyway, the ArrayIndexOutOfBoundsException seams to me inappropriate > here, it should at least be an IllegalStateException() cos we didn't > throw any bounds from our side :-). > > Best Regards, > Zied Hamdihttp://nextstreet.euWFA > > On 10 août, 16:54, Aracos wrote: > > > Hi Zied Hamdi, > > > did you call the populate method after adding your Overlays? > > > thats what caused this exception for me, > > > Regards, Aracos > > > On Aug 10, 4:38 pm, Zied Hamdi wrote: > > > > Hi, > > > > I'm realy frustrated to see this error without being able to see > > > what's happening in sources. It happens sometimes I don't know in > > > which conditions and politely shoots off my app. > > > > When will google release the maps API sources? Or am I doing sth wrong > > > (I downloaded the cupcake image to avoid debugging in code that's > > > potentially not accurate, are the maps api sources available in newer > > > images?). > > > > 08-10 16:30:44.318: ERROR/AndroidRuntime(1053): > > > java.lang.ArrayIndexOutOfBoundsException > > > 08-10 16:30:44.318: ERROR/AndroidRuntime(1053): at > > > com.google.android.maps.ItemizedOverlay.maskHelper > > > (ItemizedOverlay.java:562) > > > 08-10 16:30:44.318: ERROR/AndroidRuntime(1053): at > > > com.google.android.maps.ItemizedOverlay.setFocus(ItemizedOverlay.java: > > > 365) > > > 08-10 16:30:44.318: ERROR/AndroidRuntime(1053): at > > > com.google.android.maps.ItemizedOverlay.focus(ItemizedOverlay.java: > > > 539) > > > 08-10 16:30:44.318: ERROR/AndroidRuntime(1053): at > > > com.google.android.maps.ItemizedOverlay.onTap(ItemizedOverlay.java: > > > 455) > > > 08-10 16:30:44.318: ERROR/AndroidRuntime(1053): at > > > com.google.android.maps.OverlayBundle.onTap(OverlayBundle.java:83) > > > 08-10 16:30:44.318: ERROR/AndroidRuntime(1053): at > > > com.google.android.maps.MapView$1.onSingleTapUp(MapView.java:346) > > > 08-10 16:30:44.318: ERROR/AndroidRuntime(1053): at > > > android.view.GestureDetector.onTouchEvent(GestureDetector.java:503) > > > 08-10 16:30:44.318: ERROR/AndroidRuntime(1053): at > > > com.google.android.maps.MapView.onTouchEvent(MapView.java:623) > > > 08-10 16:30:44.318: ERROR/AndroidRuntime(1053): at > > > android.view.View.dispatchTouchEvent(View.java:3368) > > > 08-10 16:30:44.318: ERROR/AndroidRuntime(1053): at > > > android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:831) > > > 08-10 16:30:44.318: ERROR/AndroidRuntime(1053): at > > > android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:863) > > > 08-10 16:30:44.318: ERROR/AndroidRuntime(1053): at > > > android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:863) > > > 08-10 16:30:44.318: ERROR/AndroidRuntime(1053): at > > > android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:863) > > > 08-10 16:30:44.318: ERROR/AndroidRuntime(1053): at > > > android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:863) > > > 08-10 16:30:44.318: ERROR/AndroidRuntime(1053): at > > > com.android.internal.policy.impl.PhoneWindow > > > $DecorView.superDispatchTouchEvent(PhoneWindow.java:1707) > > > 08-10 16:30:44.318: ERROR/AndroidRuntime(1053): at > > > com.android.internal.policy.impl.PhoneWindow.superDispatchTouchEvent > > > (PhoneWindow.java:1197) > > > 08-10 16:30:44.318: ERROR/AndroidRuntime(1053): at > > > android.app.Activity.dispatchTouchEvent(Activity.java:1993) > > > 08-10 16:30:44.318: ERROR/AndroidRuntime(1053): at > > > com.android.internal.policy.impl.PhoneWindow > > > $DecorView.dispatchTouchEvent(PhoneWindow.java:1691) > > > 08-10 16:30:44.318: ERROR/AndroidRuntime(1053): at > > > android.view.ViewRoot.handleMessage(ViewRoot.java:1525) > > > 08-10 16:30:44.318: ERROR/AndroidRuntime(1053): at > > > android.os.Handler.dispatchMessage(Handler.java:99) > > > 08-10 16:30:44.318: ERROR/AndroidRuntime(1053): at > > > android.os.Looper.loop(Looper.java:123) > > > 08-10 16:30:44.318: ERROR/AndroidRuntime(1053): at > > > android.app.ActivityThread.main(ActivityThread.java:3948) > > > 08-10 16:30:44.318: ERROR/AndroidRuntime(1053): at > > > java.lang.reflect.Method.invokeNative(Native Method) > > > 08-10 16:30:44.318: ERROR/AndroidRuntime(1053): at > > > java.lang.reflect.Method.invoke(Method.java:521) > > > 08-10 16:30:44.318: ERROR/AndroidRuntime(1053): a
[android-beginners] Instead of android:layout_marginLeft="100px" can we mentioned it in percentage??
Hi All, I am facing a problem on UI creation for example (android:layout_marginLeft="100px") when i switch to portrait to landscape then left margin is fix but i want same left margin like we mentioned in percentage.. Here in android dev how i mention left margin in percentage?? - Jitu --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Beginners" group. To post to this group, send email to android-beginners@googlegroups.com To unsubscribe from this group, 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] Web Service
I am newbie @Android, but I have experience with J2ME. I would like to start a forecast application using Netbeans which will use webservice. Could anybody provide me a guide, link, etc.? Thanks in Advance Kind Regards -- -- Eray --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Beginners" group. To post to this group, send email to android-beginners@googlegroups.com To unsubscribe from this group, 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] How to put TextView in same position in landscape and portrait mode in Android
Hi All, I am facing a problem when i put a textview on screen in landscape mode it position is fine but when i switch to portrait mode it position is remain fix it not change according to screen resolution. please help me here --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Beginners" group. To post to this group, send email to android-beginners@googlegroups.com To unsubscribe from this group, 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] Compile C on Android Phone
i would like to know if there is a compiler that can be installed ON the android phone to be used to compile C programms. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Beginners" group. To post to this group, send email to android-beginners@googlegroups.com To unsubscribe from this group, 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] Problems with the tutorials and SDK/Emulator 1.6
I've been working my way through the tutorials from the Android Development page and had two major problems/errors come up while running the 1.6 emulator. When trying to run HelloTableLayout from the tutorial I get the error "The application Hello Table Layout (process com.example.hellotablelayout) has stopped unexpectedly. Please try again." I get the same thing even when I copy and paste the code directly from the example code from the website. I'm having another problem with the HelloRelativeLayout tutorial, where no matter what I do the two radio buttons end up aligned on the left side of the screen (not the right) and one on top of the other (not on the same line). Again same thing happens even when I copy and paste the code off the site. Am I missing something here of is it just something to do with the new SDK and Emulator? Really appreciate any help/advice, Thanks --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Beginners" group. To post to this group, send email to android-beginners@googlegroups.com To unsubscribe from this group, 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] Showing a Toast or Activity on top of another application
Hello, I have an application which runs a background thread which eventually updates listeners on some incoming event. When I'm in this listeners' code, I want to be able to either show a Toast or a new Activity on top of the screen, regardless of what is running in this moment - but to be able to come back to it (add on top of the current stack, even if it's another application). By now I didn't succeed in doing that in any way. This is one attempt (inside my listener, which is called from a worker thread): runOnUiThread(new Runnable() { public void run() { Toast.makeText(getApplicationContext(), "toast", Toast.LENGTH_LONG).show(); } }); It shows the toast when I am in my original application, but not when I'm in background. I put a breakpoint on the line with the toast showing, and I know that I get there, but it does nothing. Do you have any idea? Thanks ahead! --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Beginners" group. To post to this group, send email to android-beginners@googlegroups.com To unsubscribe from this group, 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] Getting Surface from the View
Hi , I wonder is there any way to get the surface from the view .. I want to Perform a Screen transition for which i need the Surfaces of the Current Screen and Next Screen to animate. thanks in Advance -- sura --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Beginners" group. To post to this group, send email to android-beginners@googlegroups.com To unsubscribe from this group, 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: [android-beginners]
read docs :) On Thu, Oct 1, 2009 at 3:23 PM, saurabh sinha wrote: > somebody tell me what is use of onBind in service > > > > > --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Beginners" group. To post to this group, send email to android-beginners@googlegroups.com To unsubscribe from this group, 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] C/C++ Compiler on Android
hi, i was wondering if there is a C or C++ compiler which could be run ON the android which would let us compile codes on the phone itself thanks --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Beginners" group. To post to this group, send email to android-beginners@googlegroups.com To unsubscribe from this group, 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] New app: my NPR
I finally created my first Android app :-D It is called "myNPR". I put it up in the market yesterday. You can view the latest popular articles from NPR.org. Also find and listen to your favorite local radio station live stream, mp3 or podcast. (still working on the podcast part :-p ) I will throw the code up here in a little bit: http://code.google.com/p/mynpr/ I found looking at you alls code helped me a lot more than looking over the api docs. I must say the sdk learning curve wasn't that bad. Although their api documentation needs some serious "quality time" with some writers. Too bad they don't "wiki" the api documentation. The docs would get filled out a lot faster and users could leave comments about different caveats they found. :-) Maybe Google is reading this ?? :-p Check the app out and tell me what you think! CatDdy --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Beginners" group. To post to this group, send email to android-beginners@googlegroups.com To unsubscribe from this group, 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] Google and Android contact information.
Hello, I'm trying to find the best way to contact the right people at either Google or Android. And I'm not sure how to go about it, so maybe someone in here can help me out. Basically this is in regard to the poor implementation and support of the Android OS on the HTC Dream. HTC has a ROM update for this handset which is supposed to fix numerous issues. But the ROM update is only available to Windows users. I run Linux. I have Linpus on my netbook and Ubuntu on my laptop. I don't program or anything like that. I just do my emails, a little word processing and such. I like Linux specifically because it seems pretty simple, reliable, doesn't need replacement every two or three years and doesn't need a never ending subscription to anti-virus/malware/trojan protection schemes. I got the HTC Dream specifically because it synchronizes with my Google account. And this is all I really need. Now, in talking with HTC, or at least their customer service reps who seem to read from the same script manuals, I need to run HTC Sync so that it can back up my contacts and calendar contents to Outlook Express prior to re-flashing the ROM. No matter how many time I tell them that I don't need outlook or outlook express and that my phone already synchronizes with Google, they just repeat the need to have the phone synchronize with outlook. The way I envision this should work is as follows. 1. I go to HTC's website and download the new ROM image. 2. I transfer the ROM image to a specific folder on the SD card of my phone 3. I start a little application on the handset which reflashes the phone with the new image. 4. Prior to starting, the application prompts me to plug the phone in using the AC Adaptor. 5. Once plugged in, the upgrade begins 6. When finished, the phone reboots. 7. I get on with my life. Is my line of thinking wrong? Now, as for the reason that I would like some contact info for both Google and Android. I want to let Google know just how frustrating my experience has been with HTC and how HTC's interaction with this Google customer is actually harming my view of Google's brand name reputation. I know that Google isn't actually building the handset, however they are allowing their name and brand to be used in the marketing of the phone. For Android, which I understand is part of the Open Handset Alliance which both Google and HTC are members of, I would like to inform them that unless HTC changes their pro-windows/anti anything else stance, I will never purchase another device that has anything to do with the Android OS. Android should learn from history what happens when a company goes on their merry way and ignore the wishes of it's customers. look no further than Palm. I've tried finding contact info for Google, but all I get are phone numbers that don't really lead to anywhere. Even the main number 1.650.253. connects to the voice mail from hell. And Google doesn't seem to have much in the way of mail contact. HTC is much the same. They're got plenty of Asian email contacts, but nothing for north america. I've gone through HTC's on line customer support, but they're reading from scripts and nothing more. So ends my little rant, but please, contact info would help. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Beginners" group. To post to this group, send email to android-beginners@googlegroups.com To unsubscribe from this group, 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] Help! I get this error message concerning the AVD
When trying to run my first attempt to an android app I get this error message concerning the AVD: [2009-09-30 23:57:00 - Emulator]emulator: ERROR: no search paths found in this AVD's configuration. [2009-09-30 23:57:00 - Emulator]Weird, the AVD's config.ini file is malformed. Try re-creating it. [2009-09-30 23:57:00 - Emulator] contents of the config.ini-file are: skin.name=HVGA skin.path=platforms\android-1.5\skins\HVGA image.sysdir.2=platforms\android-1.5\images\ image.sysdir.1=add-ons\google_apis-3\images\ Please tell me, what is wrong ? Kind regards Peter Brynte --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Beginners" group. To post to this group, send email to android-beginners@googlegroups.com To unsubscribe from this group, 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: C/C++ Compiler on Android
I am not aware of one already developed for Android, but in theory if you have a C-compiler written in C, then you could run that on Android to compile code on the phone. Yusuf Saib Android ·T· · ·Mobile· stick together The views, opinions and statements in this email are those of the author solely in their individual capacity, and do not necessarily represent those of T-Mobile USA, Inc. On Sep 30, 12:37 am, cookiemonsta wrote: > hi, > i was wondering if there is a C or C++ compiler which could be run ON > the android which would let us compile codes on the phone itself > thanks --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Beginners" group. To post to this group, send email to android-beginners@googlegroups.com To unsubscribe from this group, 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: Instead of android:layout_marginLeft="100px" can we mentioned it in percentage??
On Wednesday 30 September 2009 05:12:36 Jitu wrote: > Hi All, > > I am facing a problem on UI creation for example > (android:layout_marginLeft="100px") when i switch to portrait to > landscape then left margin is fix but i want same left margin like we > mentioned in percentage.. Here in android dev how i mention left > margin in percentage?? 1+ > > - Jitu > > --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Beginners" group. To post to this group, send email to android-beginners@googlegroups.com To unsubscribe from this group, 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: New app: my NPR
> Too bad they don't "wiki" the api documentation. The docs would get > filled out a lot faster and users could leave comments about different > caveats they found. :-) Maybe Google is reading this ?? :-p Wow, yeah. Even just user comments on doc pages would be great. PHP does this and you often get lots of helpful snippets and remarks about proper usage. Example: http://www.php.net/manual/en/function.ereg.php#90930 I've seen wiki docs work out well before too. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Beginners" group. To post to this group, send email to android-beginners@googlegroups.com To unsubscribe from this group, 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: New app: my NPR
Wow, opensource android app project! I am looking forward to read wiki and play around the real code! On Fri, Oct 2, 2009 at 11:17 AM, Lance Nanek wrote: > > > Too bad they don't "wiki" the api documentation. The docs would get > > filled out a lot faster and users could leave comments about different > > caveats they found. :-) Maybe Google is reading this ?? :-p > > Wow, yeah. Even just user comments on doc pages would be great. PHP > does this and you often get lots of helpful snippets and remarks about > proper usage. Example: > http://www.php.net/manual/en/function.ereg.php#90930 > > I've seen wiki docs work out well before too. > > > -- Regards, Michael Leung http://www.itblogs.info http://www.michaelleung.info --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Beginners" group. To post to this group, send email to android-beginners@googlegroups.com To unsubscribe from this group, 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: Free and Paid apps with same code-base???
Do you want to put into Android Market? As I remember, they use the application namespace as a primary key. So, you cannot install both of free and paid app in a same phone. On Fri, Oct 2, 2009 at 8:17 AM, Justin Anderson wrote: > I found a way that works! And it is simple. A co-worker of mine has this > slogan on his whiteboard: "Do the simplest thing that could possible work." > > I have my main app, which contains both free and paid code. I also have an > app that acts as a key to unlock the pro version. > > The following code tells me if my main app should be running in free or > paid mode: > > public class PaidMode > { > public static boolean isInPaidMode(Context context) > { > String mainAppPkg = ...; > String keyPkg = ...; > int sigMatch = > context.getPackageManager.checkSignatures(mainAppPkg, keyPkg); > return sigMatch == PackageManager.SIGNATURE_MATCH; > } > } > > > Anywhere I want to have different functionality between modes I can just > call that method. > > Hope this helps someone else as well! > > Thanks, > Justin > > -- > There are only 10 types of people in the world... > Those who know binary and those who don't. > -- > > > > On Fri, Sep 18, 2009 at 9:40 AM, AngelOD wrote: > >> >> Yes, I would also highly recommend the use of either a shared Java >> library, or SVN (in which case you should read up on merging two >> source trees, as that's exactly for that purpose). In my experiences, >> the use of symlinks can get rather messy, but is of course quite >> possible, both on Linux, Mac, and Windows (Win2K and higher), it just >> requires that you know what you're doing. >> >> - Tristan >> >> >> On Sep 18, 6:57 am, Raphael wrote: >> > Not yet. You can get around by extracting as much application logic as >> > possible in a java lib, but you still need basically two projects for >> > the android parts & resources. >> > >> > If you're using Linux or a source control system like SVN you can >> > share or symlink your res dir however. It's far from ideal though. >> >> > > > > -- Regards, Michael Leung http://www.itblogs.info http://www.michaelleung.info --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Beginners" group. To post to this group, send email to android-beginners@googlegroups.com To unsubscribe from this group, 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: Free and Paid apps with same code-base???
The market uses the package name. So they can both be put on the market. For example, my app consists of these packages: Main App: com.magouyaware.appswipe Key App: com.magouyaware.appswipe2 Because they have different package names they can both be uploaded to the market. On Oct 1, 2009 8:58 PM, "Chi Kit Leung" wrote: Do you want to put into Android Market? As I remember, they use the application namespace as a primary key. So, you cannot install both of free and paid app in a same phone. On Fri, Oct 2, 2009 at 8:17 AM, Justin Anderson wrote: > > I found a way t... Regards, Michael Leung http://www.itblogs.info http://www.michaelleung.info --~--~-~--~~~---~--~~ You received this message because you are su... --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Beginners" group. To post to this group, send email to android-beginners@googlegroups.com To unsubscribe from this group, 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: Free and Paid apps with same code-base???
Thanks for the corrections! On Fri, Oct 2, 2009 at 1:03 PM, Justin Anderson wrote: > The market uses the package name. So they can both be put on the market. > For example, my app consists of these packages: > > Main App: com.magouyaware.appswipe > Key App: com.magouyaware.appswipe2 > > Because they have different package names they can both be uploaded to the > market. > > On Oct 1, 2009 8:58 PM, "Chi Kit Leung" wrote: > > Do you want to put into Android Market? > As I remember, they use the application namespace as a primary key. > So, you cannot install both of free and paid app in a same phone. > > On Fri, Oct 2, 2009 at 8:17 AM, Justin Anderson > wrote: > > I found a way t... > Regards, > Michael Leung > http://www.itblogs.info > http://www.michaelleung.info > > > > -- Regards, Michael Leung http://www.itblogs.info http://www.michaelleung.info --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Beginners" group. To post to this group, send email to android-beginners@googlegroups.com To unsubscribe from this group, 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: Android as a Universal Remote for CE/HA? (ab)
Hi Justin, whatya reckon? Also.. I think I've found the ideal software to run on a HA/CE controller. http://openremote.org/display/orb/Boss+Overview The base OS would probably be Ubuntu but I may also try LinuxMCE. They have a hardware platform that they're building the software on. But they've confirmed it's not imperative to use their reference hardware. Haven't yet decided if the controller would integrated into my existing HTPC/PVR or on a dedicated machine... The main requirements; are correct version/configured Apace Tomcat & JRE. Cheers >> Hi All, >> >> I was wondering if there's any good Universal Remote software for CE &or >> HA being developed in the Android ecosystem? >> >> Does anyone know of anything under way or a related Linux project that >> could be re-adapted for Android? >> >> I have something "roughly" like this visualised... (see attached .txt) >> >> I have an old Axim X50v which android is being ported to atm... >> But progress is slow so I may have to find a better supported device soon. >> >> Any thoughts/ideas/advice greatly appreciated! >> >> Cheers, >> Jed --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Beginners" group. To post to this group, send email to android-beginners@googlegroups.com To unsubscribe from this group, 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: Android as a Universal Remote for CE/HA?
Hi Justin, whatya reckon? Also.. I think I've found the ideal software to run on a HA/CE controller. http://openremote.org/display/orb/Boss+Overview The base OS would probably be Ubuntu but I may also try LinuxMCE. They have a hardware platform that they're building the software on. But they've confirmed it's not imperative to use their reference hardware. Haven't yet decided if the controller would integrated into my existing HTPC/PVR or on a dedicated machine... The main requirements; are correct version/configured Apace Tomcat & JRE. Cheers >> Hi All, >> >> I was wondering if there's any good Universal Remote software for CE &or >> HA being developed in the Android ecosystem? >> >> Does anyone know of anything under way or a related Linux project that >> could be re-adapted for Android? >> >> I have something "roughly" like this visualised... (see attached .txt) >> >> I have an old Axim X50v which android is being ported to atm... >> But progress is slow so I may have to find a better supported device soon. >> >> Any thoughts/ideas/advice greatly appreciated! >> >> Cheers, >> Jed --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Beginners" group. To post to this group, send email to android-beginners@googlegroups.com To unsubscribe from this group, 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: Agent/Actor programming on Android.
Hi First limitation is what I have already mention is that JADE is running only on SDK 1.0 . Second I have read about is that it allows only one agent per container. Is it true? w On Oct 1, 1:48 pm, Francesco Vadicamo wrote: > Hi, I'm using Jade Android for my intents with no problems until now! > What kind of limitations do you refer? > > Francesco > > On 1 Ott, 12:17, wonglik wrote: > > > Hi > > > I am interested using Agents/Actors on Android. Does anybody have an > > experience in that? > > > I know there is JADE Andorid but it is not in active development and > > working very limited on android 1.0. I know there are Scala Actors but > > they do not come in standard scala-android distribution. Are there any > > other options? > > > w --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Beginners" group. To post to this group, send email to android-beginners@googlegroups.com To unsubscribe from this group, 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: Help! I get this error message concerning the AVD
This is very strange. you could try to fix the config file with android update avd --name If that doesn't help can you send the file to me? xav On Wed, Sep 30, 2009 at 3:21 PM, PeterBrynte wrote: > > When trying to run my first attempt to an android app I get this error > message concerning the AVD: > [2009-09-30 23:57:00 - Emulator]emulator: ERROR: no search paths found > in this AVD's configuration. > [2009-09-30 23:57:00 - Emulator]Weird, the AVD's config.ini file is > malformed. Try re-creating it. > [2009-09-30 23:57:00 - Emulator] > > contents of the config.ini-file are: > skin.name=HVGA > skin.path=platforms\android-1.5\skins\HVGA > image.sysdir.2=platforms\android-1.5\images\ > image.sysdir.1=add-ons\google_apis-3\images\ > Please tell me, what is wrong ? > > Kind regards > > Peter Brynte > > > > -- Xavier Ducrohet Android SDK Tech Lead Google Inc. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Beginners" group. To post to this group, send email to android-beginners@googlegroups.com To unsubscribe from this group, 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: Problems with the tutorials and SDK/Emulator 1.6
I have no idea what the problem is, but you should look at the output from logcat. This is where the relevant information regarding the app crashing is. Xav On Tue, Sep 29, 2009 at 6:59 PM, baumer wrote: > > I've been working my way through the tutorials from the Android > Development page and had two major problems/errors come up while > running the 1.6 emulator. > > When trying to run HelloTableLayout from the tutorial I get the error > "The application Hello Table Layout (process > com.example.hellotablelayout) has stopped unexpectedly. Please try > again." > > I get the same thing even when I copy and paste the code directly from > the example code from the website. > > I'm having another problem with the HelloRelativeLayout tutorial, > where no matter what I do the two radio buttons end up aligned on the > left side of the screen (not the right) and one on top of the other > (not on the same line). > > Again same thing happens even when I copy and paste the code off the > site. > > Am I missing something here of is it just something to do with the new > SDK and Emulator? > > Really appreciate any help/advice, > > Thanks > > > > -- Xavier Ducrohet Android SDK Tech Lead Google Inc. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Beginners" group. To post to this group, send email to android-beginners@googlegroups.com To unsubscribe from this group, 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] Spreadsheet View
I've been trying to make a layout that displays something like a mini spreadsheet that's specialized for my app. I would like it to have headers for both rows and columns. The row header can only pan left and right. The column header can only pan up and down. Hard to explain in words, so I'll try a picture (must be seen in a fixed pitch font): Stays| ... T3 T4 T5 ... --- . Row 3| ... 32 31 7 ... Row 4| ... 17 21 9 ... . If the user pushes the image up the screen, row 3 goes away and row 5 appears but the header row stays. If the user pushes the image to the left, column T3 goes away and column T6 appears and the header column stays. Having the "..." continuation hint would be nice, but is not required. I would also like to be able to have more than 1 header row and column (the ones that stay fixed). The info in the upper left quadrant of the spreadsheet would always stay put. It would be good to have the spreadsheet retain orientation in both landscape and portrait to allow the user to choose if the rows or columns would benefit from more display space. A nice feature would be to let the user resize rows and/or columns. This would be especially helpful for the fixed headers as display space is at a premium. I don't see anything that scrolls right or left nor anything that would scroll both right/left and up/down as would be needed for the lower right quadrant so I'm not even sure where to start. I suspect nothing like this exists as a single view I can simple drop into my xml, but how would I create such a thing by combining other views? Is there some other way through code to do his? I'm new so simple hints are appreciated. Thanks in advance. - Mitch --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Beginners" group. To post to this group, send email to android-beginners@googlegroups.com To unsubscribe from this group, send email to android-beginners-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en -~--~~~~--~~--~--~---