[android-developers] ListView and GridView Rendering

2011-06-15 Thread oriharel
ADT said that version 11 brings ListView and GridView Rendering, however it's disabled in my eclipse and shows: not supported for this SDK version; try changing the Render Target. I tried changing the render target but no help there. Suggestions? -- You received this message because you are

[android-developers] Performance Issues

2011-05-09 Thread oriharel
Hi All, I'm having performance issues in my app - lost and lots of OutOfMemory exceptions. I've noticed I'm using Context.getResources().getDrawable() a LOT on my adapters. Could it be it? if so, what are my alternatives? -- You received this message because you are subscribed to the Google

[android-developers] Testing in android

2010-12-28 Thread oriharel
Just a question - How many of you use the testing infrastructure provided by 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,

[android-developers] Re: Eclipse ADT 8.0.0 (and 8.0.1) problem - can't create views hierarchy with drag and drop in the Outline view

2010-12-20 Thread oriharel
that bug out :-) nevertheless, I hope a fix will come ASAP !!! On 9 déc, 09:11, oriharel ori.ha...@gmail.com wrote: Well, I can't put a TextView inside a LinearLayout by drag n' drop at all. am I missing something? -- You received this message because you are subscribed

[android-developers] EditText background text

2010-12-20 Thread oriharel
Hi! Is there a way to set the background text of an EditText? for instance, I have a login screen with 2 EditText views, one for username and one for password. I want the text Username and Password be written inside the EditText, and once the user touches those the text disappears but once user

[android-developers] Re: Eclipse ADT 8.0.0 (and 8.0.1) problem - can't create views hierarchy with drag and drop in the Outline view

2010-12-12 Thread oriharel
into a relativeLayout). (same thing with the up/down arrows) On Tue, Dec 7, 2010 at 11:52 PM, oriharel ori.ha...@gmail.com wrote: Before the newest version I was able to create hierarchies using drag n' drop, performed on the outline view. Since the upgrade, I can't

[android-developers] Re: Eclipse ADT 8.0.0 (and 8.0.1) problem - can't create views hierarchy with drag and drop in the Outline view

2010-12-09 Thread oriharel
, 2010 at 11:52 PM, oriharel ori.ha...@gmail.com wrote: Before the newest version I was able to create hierarchies using drag n' drop, performed on the outline view. Since the upgrade, I can't and the controls ('+', '-' and arrows) are missing. So how am I suppose to build view hierarchies

[android-developers] Re: Eclipse ADT 8.0.0 (and 8.0.1) problem - can't create views hierarchy with drag and drop in the Outline view

2010-12-09 Thread oriharel
Bibekhttp://techdroid.kbeanie.comhttp://www.kbeanie.com On Wed, Dec 8, 2010 at 1:22 PM, oriharel ori.ha...@gmail.com wrote: Before the newest version I was able to create hierarchies using drag n' drop, performed on the outline view. Since the upgrade, I can't and the controls

[android-developers] Eclipse ADT 8.0.0 (and 8.0.1) problem - can't create views hierarchy with drag and drop in the Outline view

2010-12-07 Thread oriharel
Before the newest version I was able to create hierarchies using drag n' drop, performed on the outline view. Since the upgrade, I can't and the controls ('+', '-' and arrows) are missing. So how am I suppose to build view hierarchies now? -- You received this message because you are subscribed

[android-developers] Re: OnKeyListener not working on virtual keyboard

2010-12-05 Thread oriharel
Having the same issue, but with EditText. On Nov 26, 5:13 am, bobetko bobe...@gmail.com wrote: I don't understand why this peace of code is not working. OnlyDelete and Return keys are detected. Listener doesn't fire for any otherkey. My device isNexusOne. I tried to override activity's

[android-developers] Android onKey is not fired for soft keyboard on a nexus one

2010-12-05 Thread oriharel
I'm trying to catch onKey events from a soft keyboard. however, only few keys fire the onKey event (Delete, back, etc.). not regular characters. anyone know why? -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send

[android-developers] Animated-Rotate

2010-12-05 Thread oriharel
I did some digging in Android code, and saw the use of animated- rotate in the indeterminate progress bar. after trying to create my own drawable with this tag: animated-rotate xmlns:android=http://schemas.android.com/apk/res/ android android:drawable=@drawable/spinner_pia

[android-developers] Re: Using Google's Ajax local search API with Android

2010-11-24 Thread oriharel
How did you solve this? On Oct 7, 5:25 pm, abhishek akhani abhishek.akh...@gmail.com wrote: Solved... On Oct 6, 3:51 pm, abhishek akhani abhishek.akh...@gmail.com wrote: HI, i want to use Google's ajax local search API in my android application. but i am getting following

[android-developers] Intent and extras

2010-11-23 Thread oriharel
Hi! I set an PendingIntent on a Notification (notification.setLatestEventInfo). this intent is actually the same intent used to launch my app, only with a flag that I put in the extra (intent.putExtra(TAB_INDEX_PARAM_NAME, UPDATES_TAB_INDEX)). So my first activity launches, it queries it's

[android-developers] Referencing a library adds libraryProj_src reference

2010-11-10 Thread oriharel
Hi, after updating Eclipse Android plugin (ADT 0.9.9) I get strange behavior. I have one android project referencing another (IsLibrary=true for the other). all worked fine but now, after upgrade, my referencing project now includes another node: libraryProj_src which is in error state. once I

[android-developers] Content Service Crash

2010-10-31 Thread oriharel
I get weird exception: 10-31 09:09:51.308: ERROR/ContentService(59): Content Service Crash 10-31 09:09:51.308: ERROR/ContentService(59): java.lang.NullPointerException 10-31 09:09:51.308: ERROR/ContentService(59): at android.content.ContentService

[android-developers] Re: Content Service Crash

2010-10-31 Thread oriharel
the triggering code is: getContentResolver().registerContentObserver(Uri.parse(refreshChange), false, _refreshObserver); On Oct 31, 11:38 am, oriharel ori.ha...@gmail.com wrote: I get weird exception: 10-31 09:09:51.308: ERROR/ContentService(59): Content

[android-developers] ListView divider

2010-10-20 Thread oriharel
I have this code: ListView android:layout_width=wrap_content android:layout_height=wrap_content android:id=@+id/cashItemsList android:cacheColorHint=# android:divider=@drawable/list_divider/ListView where @drawable/list_divide is: shape

[android-developers] Re: Animated background drawable

2010-10-18 Thread oriharel
Is this just for cross-fade? can the transition be a slide and not fade? On Oct 6, 2:19 pm, Kumar Bibek coomar@gmail.com wrote: Look at Transition Drawables. http://developer.android.com/guide/topics/resources/drawable-resource... On Wed, Oct 6, 2010 at 5:45 PM, oriharel ori.ha

[android-developers] Re: Animated background drawable

2010-10-18 Thread oriharel
(is there a property for that?) for number 2 - I tried stuff like translate animation and TranslateDrawable, but those are not what I'm looking for. (or am I wrong...?) thanks! Ori On Oct 18, 1:41 pm, Mark Murphy mmur...@commonsware.com wrote: On Mon, Oct 18, 2010 at 7:35 AM, oriharel ori.ha...@gmail.com

[android-developers] Animated background drawable

2010-10-06 Thread oriharel
Just like Twitter for android used to have (they removed it) - I need to display an animated background drawable. How to I show an image that is actually bigger then the given layout dimensions (without the image being shrink). What kind of animation do I need to use for the moving effect?

[android-developers] Android cloud to device

2010-09-25 Thread oriharel
Hi all, When will C2DM be available to the public (no beta/whitlist) ? Thanks, Ori -- 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

[android-developers] Android Market the Google I/O 2010 features

2010-09-20 Thread oriharel
Anyone know when will the features introduced in Google I/O about installing apps from the market via the website and etc be released? -- 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] Re: Google maps - limit panning between longitudes

2010-08-23 Thread oriharel
? thanks Ori On Aug 16, 6:26 pm, TreKing treking...@gmail.com wrote: On Mon, Aug 16, 2010 at 6:51 AM, oriharel ori.ha...@gmail.com wrote: is it possible? Probably, assuming you can detect when a scroll happens, which I'm sure you can, you can simply check the MapView's current longitude

[android-developers] Re: Google maps, Overlays and the shadow layer

2010-08-17 Thread oriharel
doesn't draw the arc. On Aug 16, 8:24 pm, TreKing treking...@gmail.com wrote: On Mon, Aug 16, 2010 at 1:57 AM, oriharel ori.ha...@gmail.com wrote: What can I do with the shadow layer of the the google maps overlays? Anything you want, I would think.  I tried, naively, to draw something

[android-developers] Google maps, Overlays and the shadow layer

2010-08-16 Thread oriharel
What can I do with the shadow layer of the the google maps overlays? I tried, naively, to draw something (an arc) only when (shadow == true) and got nothing? I'm interested in drawing arcs and arc shadows on a map. is there a nice google-maps way to do this? thanks, Ori -- You received this

[android-developers] Google maps - limit panning between longitudes

2010-08-16 Thread oriharel
Hi, Im trying to set limits to the map view so the user won't be able to pan it cyclic. (when panning to the right, instead of the map will cycle, I want it to stop). is it possible? Ori -- You received this message because you are subscribed to the Google Groups Android Developers group. To

[android-developers] Re: Google Maps - MapView - draw a nice flight route between 2 points

2010-08-05 Thread oriharel
AM, oriharel ori.ha...@gmail.com wrote: yea, but I'm lazy. Good luck on your Android App. I'm sure you will get far with it.  I'm not interested in figuring out these things. Then why did you bother posting a question? anyway, here's an easy way to learn how to draw curves (found

[android-developers] Re: Google Maps - MapView - draw a nice flight route between 2 points

2010-08-02 Thread oriharel
: On Sun, Aug 1, 2010 at 5:38 AM, oriharel ori.ha...@gmail.com wrote: how can I draw a nice flight route between 2 points on a googlemap's MapView? 1 - Figure out how to draw a curve using Canvas.      (NOTE: A beautiful thing about the internet is that you can see the source to any web page

[android-developers] Google Maps - MapView - draw a nice flight route between 2 points

2010-08-01 Thread oriharel
Hi, I wonder, how can I draw a nice flight route between 2 points on a google map's MapView? look at this: http://maps.forum.nu/gm_flight_path.html this is exactly what I need. thanks! -- You received this message because you are subscribed to the Google Groups Android Developers group. To

[android-developers] Get current location

2010-07-26 Thread oriharel
How do I get the current location of the phone? I'm not talking about registering for location updates on the location manager and waiting for it to update upon change. I'm talking about get the current position. thanks! Ori -- You received this message because you are subscribed to the Google

[android-developers] Re: Twitter / Facebook source code

2010-07-22 Thread oriharel
yes, this is what I mean On Jul 20, 1:30 pm, Yi Ling lingyi@gmail.com wrote: what does it mean? the source code of twitter/fb's client for android platform? google would help you, i think. 2010/7/20 oriharel ori.ha...@gmail.com Where can I find the source code of Twitter / Facebook

[android-developers] Twitter / Facebook source code

2010-07-20 Thread oriharel
Where can I find the source code of Twitter / Facebook? -- 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] Re: Google Maps API in Israel

2010-07-18 Thread oriharel
Thanks. On Jul 14, 12:52 am, Steve Howard ste...@android.com wrote: Likely the same as this: http://code.google.com/p/gmaps-api-issues/issues/detail?id=664 http://code.google.com/p/gmaps-api-issues/issues/detail?id=664Steve On Tue, Jul 13, 2010 at 1:15 PM, oriharel ori.ha...@gmail.com

[android-developers] Google Maps API in Israel

2010-07-13 Thread oriharel
Can a Googler please answer this one - how come I don't see detailed Israel map when I integrate with the MapView in my MapActivity? I can see just about any other country except Israel. thanks, Ori -- You received this message because you are subscribed to the Google Groups Android Developers

[android-developers] Orange rectangle around links in WebView

2010-06-13 Thread oriharel
Hi All, I have a web view that is loaded with an HTML that contains links (a ref). when I switch to another activity (say to another tab in a tab activity) and then switching back to it, the link is surrounded with an orange rectangle. also happens in the GoogleAdView which really makes it

[android-developers] How to catch a Done key press from the soft keyboard

2010-06-13 Thread oriharel
Hi, how do I catch specific key events from the soft keyboard? specifically I'm interested in the Done key. thanks, Ori -- 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

[android-developers] Webview duplicate HTML problem

2010-06-05 Thread oriharel
Hi all, I load a url over the web containing images (their source is another url). when then view loads the html, it loads it without the images. after few milliseconds, the images come along but then the html is redrawn, and it does so over the previous html, causing it the web view to hold 2

[android-developers] How to become a featured app in the Android market

2010-05-31 Thread oriharel
Can you provide with good tips on how to become a featured app in the market? my guess is (besides the obvious have tons of unique downloads) 1. Make use of as much as android-only features (multi-tasking, live folders, widgets, QSB, etc). 2. Keep the active user percentage high. let's discuss.

[android-developers] How to become a featured app in the Android market

2010-05-31 Thread oriharel
Can you provide with good tips on how to become a featured app in the market? my guess is (besides the obvious have tons of unique downloads) 1. Make use of as much as android-only features (multi-tasking, live folders, widgets, QSB, etc). 2. Keep the active user percentage high. let's discuss.

[android-developers] How to make the keyboard to show

2010-05-26 Thread oriharel
I read few threads, I'm sorry but none of them works/answers the simple scenario of: 1. I popup a dialog. 2. The dialog have EditText on it. 3. I want the keyboard to show up (without the need of clicking inside the edit text). I tried: InputMethodManager imm =

[android-developers] Cursor and rowId

2010-05-17 Thread oriharel
how do get the row ID from a Cursor? -- 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] Set Title from a Tab child

2010-05-12 Thread oriharel
Hi, How do change the title from a child tab? I'm trying a naive approach (just setTitle(...)) and nothing. (setTitle(..) from the parent TabActivity does work). thanks, Ori -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this

[android-developers] Re: ProgressDialog - how to remove the numbers

2010-05-10 Thread oriharel
and Regards, Kumar Bibek On May 9, 7:14 pm, oriharel ori.ha...@gmail.com wrote: I was following the progress dialog example in the ApiDemos. all went great except for one thing - I want to remove the numbers that appear underneath the bar (those running numbers that run from 0 to .getMax

[android-developers] Re: ProgressDialog - how to remove the numbers

2010-05-10 Thread oriharel
I got an answer that there is no answer. so I just subclassed, reflected and changed. On May 10, 10:04 am, oriharel ori.ha...@gmail.com wrote: relax bibek, I will explain... since I don't know how to upload screenshots here, I'l do my best to describe. about the example - as I said

[android-developers] ProgressDialog - how to remove the numbers

2010-05-09 Thread oriharel
I was following the progress dialog example in the ApiDemos. all went great except for one thing - I want to remove the numbers that appear underneath the bar (those running numbers that run from 0 to .getMax(). couldn't find how to do it. anyone? Ori -- You received this message because you

[android-developers] Re: Boardroom Projectors

2010-04-27 Thread oriharel
I'm interested in that either... On Apr 27, 9:17 pm, Tom Opgenorth opgeno...@gmail.com wrote: This is probably not the best place to ask this question, but thought I would try anyway. I'm looking to do an introductory presentation to a local user group on Android programming.  I was

[android-developers] AutoCompleteTextView / ArrayAdapter performance

2010-04-25 Thread oriharel
Hi All! I have an AutoCompleteTextView which the user can enter a name of an airport. the suggestion strings looks like this (for example): John F. Kennedy (JFK) New York, United States I'm using an ArrayAdapterString (following the examples in Android documentation) and when I construct it, I

[android-developers] TabActivity and startAcitivtyForResult

2010-04-13 Thread oriharel
can make the TabActivity start it's childs activities for result? I need it because I can't make result code from a tab to propagate all the way up in the chain (it's reset in the TabActivity) thanks, Ori -- You received this message because you are subscribed to the Google Groups Android

[android-developers] ListView and Scroll

2010-04-13 Thread oriharel
I need to show a list that is scrolled to a specific item. how can I do it? Ori -- 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

[android-developers] Installing apps to Nexus One device

2010-03-31 Thread oriharel
Hi, Im running Win XP 32 bit, SP3. I have Nexus one device. and I develop on Eclipse. I'm trying to install my app to test it on a real device - my own Nexus one. after downloading and installing the USB driver - the devices charges just fine. after I mount the USB storage (from the device) I can

[android-developers] Installing apps to Nexus One device

2010-03-31 Thread oriharel
Hi, Im running Win XP 32 bit, SP3. I have Nexus one device. and I develop on Eclipse. I'm trying to install my app to test it on a real device - my own Nexus one. after downloading and installing the USB driver - the devices charges just fine. after I mount the USB storage (from the device) I can

[android-developers] Re: Installing apps to Nexus One device

2010-03-31 Thread oriharel
it was turned on (even before the first time I installed the driver) still doesn't work On Mar 31, 1:45 pm, Kumar Bibek coomar@gmail.com wrote: You need to turn on USB Debugging setting on your phone. That should work. Thanks and Regards, Kumar Bibek On Mar 31, 11:47 am, oriharel

[android-developers] Re: Installing apps to Nexus One device

2010-03-31 Thread oriharel
IT WORKS Thanks (again) Mark! On Mar 31, 2:47 pm, Mark Murphy mmur...@commonsware.com wrote: oriharel wrote: it was turned on (even before the first time I installed the driver) still doesn't work adb kill-server adb start-server adb devices See if that helps. If not, reboot

[android-developers] Launch Google Maps app

2010-03-31 Thread oriharel
Hi, I'm trying to launch Google maps from my application. I'm using: GeoPoint center = _mapView.getMapCenter(); Uri uri = Uri.parse(geo:+center.getLatitudeE6() +,+center.getLongitudeE6()); Log.d(LOG_TAG, Launching Google Maps with Uri: (+uri+)); Intent intent = new Intent(Intent.ACTION_VIEW,

[android-developers] Google Maps icons

2010-03-28 Thread oriharel
I want to place markers on the map. I want to use the standard Google Maps icons for markers. how do I use them? I don't want to create my own icons. I'm developing for Android. in the documentation they tell me to create a class that overrides ItemizedOverlayOverlayItem but in the constructor

[android-developers] Re: Google Maps icons

2010-03-28 Thread oriharel
Thanks Mark. On Mar 28, 5:27 pm, Mark Murphy mmur...@commonsware.com wrote: oriharel wrote: I want to place markers on the map. I want to use the standard Google Maps icons for markers. how do I use them? I don't want to create my own icons. I'm developing for Android. Those icons

[android-developers] Re: Google Maps icons

2010-03-28 Thread oriharel
However, isn't it weird that those are available outside of Android (regular use of Google API) but not from the Google-owned Android platform? On Mar 28, 5:33 pm, oriharel ori.ha...@gmail.com wrote: Thanks Mark. On Mar 28, 5:27 pm, Mark Murphy mmur...@commonsware.com wrote: oriharel

[android-developers] Problems with ViewGroup.addView()

2010-03-25 Thread oriharel
this is my code: public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.main); TextView t = new TextView(this); t.setText(Ori); TextView t2 = new TextView(this); t.setText(Ori2);

[android-developers] ActivityGroup and LocalActivityManager

2010-03-24 Thread oriharel
Hi All! I need a to create a layout that holds to other layouts. each one of the layout should be populated by a different activity. I've done some research and came across the fact that I need to implement an ActivityGroup and use it's LocalActivityManager. problem is that I don't understand the

[android-developers] Re: ActivityGroup and LocalActivityManager

2010-03-24 Thread oriharel
an activity group that will hold that news feed activity and the implemented web activity. On Mar 24, 5:57 pm, Mark Murphy mmur...@commonsware.com wrote: oriharel wrote: I need a to create a layout that holds to other layouts. each one of the layout should be populated by a different activity

[android-developers] Re: ActivityGroup and LocalActivityManager

2010-03-24 Thread oriharel
So when should one extend tha ActivityGroup? Never? On Mar 24, 4:07 pm, Mark Murphy mmur...@commonsware.com wrote: oriharel wrote: ok, someone here wrote a nice web activity that I want to use. however, I want to use it differently, say adding an area on the top that will be populated

[android-developers] Re: Updating UI in one activity from another activity

2010-03-22 Thread oriharel
Intents? On Mar 22, 6:50 pm, Jonathan jon.aposto...@gmail.com wrote: I have an activity (Activity A) that simply shows a list that a user can pick from. In a separate activity (Activity B) this list can be manipulated (ie: add, delete).  What's the best way to have an interaction in Activity