[android-developers] Re: AsyncTask null exception for the activity reference in the doInBackground method while rotating.

2011-11-20 Thread BelvCompSvs
doInBackground like you have it is not the way to do that -- what you have coded is called spinning Kostya Vasilyev's explanation is clearer than mine and will move you in the direction of correct code if you take the suggestion and continue to work it but rather than doing a spin-lock as a wait

[android-developers] Multiple layouts

2011-11-20 Thread Stephen Lebed
Hi, I'm trying to add support for a layout for the Samsung Galaxy Tab 7 device. I can't seem to find a way to specify a layout config that it will pull the layout xml from. It keeps using the resource from the Normal screen/High Density folder, which makes sense, but the layout is small and

Re: [android-developers] Re: Strikethru Differennt Color Than Text

2011-11-20 Thread Kostya Vasilyev
You should be able to do it by subclassing ReplacementSpan: http://developer.android.com/reference/android/text/style/ReplacementSpan.html ... which lets you do the drawing yourself, rather than modifying a TextPaint. -- Kostya 20.11.2011 8:24, Jay пишет: I have actually already considered

Re: [android-developers] Multiple layouts

2011-11-20 Thread Kostya Vasilyev
Assuming you mean the original Galaxy Tab P1000. According to Samsung, it is a -large device, so using res/layout-large, or perhaps values-large/dimen.xml should work. Those new resource qualifiers are new with 3.2, and it's a runtime version requirement. Layouts scaled to a portion of the

[android-developers] Phone model penetration

2011-11-20 Thread Efi Merdler-Kravitz
Hi, Where can I find reliable information on the various Android phone model, their latest Android version and their penetration rate in the US/Global market, in other words I want to know which phones are the most popular. Thank you, Efi -- You received this message because you are subscribed

[android-developers] Tutorial HelloTabWidget crashes

2011-11-20 Thread wyo
I've tried the tutorial HelloTabWidget and think I've done everything as described yet it crashes with 11-20 10:23:33.166: E/AndroidRuntime(12801): java.lang.RuntimeException: Unable to start activity ComponentInfo{hello.android.tabwidget/ hello.android.tabwidget.HelloTabWidgetActivity}:

Re: [android-developers] Re: Problem with losing contains of ArrayList please help

2011-11-20 Thread Graham Bright
Hi Shashi, Thanks for responding, from myphone i am calling querycontacts which presents to the user a button called block and textbox. Using querycontacts i am calling another class (now part of querycontacts) to populate an arraylist called items. I want to use this arraylist later as a

Re: [android-developers] Tutorial HelloTabWidget crashes

2011-11-20 Thread Robinns
Have you defined you activity under the Manifest.xml file. Check it out On Sun, Nov 20, 2011 at 3:32 PM, wyo otto.w...@orpatec.ch wrote: I've tried the tutorial HelloTabWidget and think I've done everything as described yet it crashes with 11-20 10:23:33.166: E/AndroidRuntime(12801):

[android-developers] Re: Tutorial HelloTabWidget crashes

2011-11-20 Thread wyo
My manifest.xml looks like this as the tutorial specifies application android:icon=@drawable/ic_launcher android:label=@string/app_name activity android:label=@string/app_name android:name=.HelloTabWidgetActivity

Re: [android-developers] Re: Tutorial HelloTabWidget crashes

2011-11-20 Thread HideCheck
Manifest file must be added to ArtistsActivity, AlbumsActivity, and SongsActivity. http://developer.android.com/resources/tutorials/views/hello-tabwidget.html - Notice that this doesn't use a layout file. Just create a TextView, give it some text and set that as the content.

[android-developers] Informations about Dev Phone 1 characteristics (for Wikitude use)

2011-11-20 Thread Pedro Teixeira
Hi, Is anyone familiar with wikitude? I'm trying to build a simple AR mode activity and I would like to try Wikitude ARchitect since it has the feature I'd like to implement: An overlaid picture instead of an overlaid icon. This are the requirements they say I need: Android 2.2 or higher support

Re: [android-developers] Re: Control any led of the device, does the sdk allow?

2011-11-20 Thread Poqit
Hello Dianne, It would be good if the LED capability could be queried in future APIs, in a similar way that you can query keyboard and screen types. Cheers... -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send

[android-developers] Re: localization bloats my app - is there an alternative approach?

2011-11-20 Thread String
On Friday, November 18, 2011 1:43:48 AM UTC, Zsolt Vasvari wrote: In my opinion, people seem to like larger apps -- more like getting more bang for your buck. Also not true if your app has one of the many incompatibilities with InstallToSD. As most of mine do. I still need to work really

[android-developers] Layout Question

2011-11-20 Thread Kubilay D . Yılmaz
Hi Friends; I have a problem with layout. I have 4 images, - redbackground.png 80px - triangle.png 80px - star.png 80px - green_diamond.png 160px I want to show these images like attached file as shouldbe.png My layout xml is like //above layout fit LinearLayout

Re: [android-developers] AsyncTask null exception for the activity reference in the doInBackground method while rotating.

2011-11-20 Thread João Rossa
Thanks guys. The idea was to call a unique class whenever an activity had the need to launch tasks, but since i have parent activity where all the activities extend from, they would call the async task and each one would have a method that would used in the doinbackground method of said async

Re: [android-developers] Remove menu if no camera found?

2011-11-20 Thread Mark Murphy
On Sun, Nov 20, 2011 at 12:14 AM, limtc thyech...@gmail.com wrote: I have a menu item in menu.xml that allows user to click and use camera. Since now there are more devices without camera (Kindle Fire, etc), would like to remove menu (or disable it) if no camera detected. Has anybody done

Re: [android-developers] Informations about Dev Phone 1 characteristics (for Wikitude use)

2011-11-20 Thread Mark Murphy
ADP1, IIRC, was the HTC Dream/T-Mobile G1. That does not support either of your requirements AFAIK. Though you might find a modded ROM that could offer 2.2. I'm fairly certain the Dream only offered OpenGL ES 1.1, though, and I'll be surprised if a ROM can fix that. On Sun, Nov 20, 2011 at 7:01

Re: [android-developers] Layout Question

2011-11-20 Thread Mark Murphy
You have your green diamond as a child of the LinearLayout. It is not a child of the LinearLayout in your desired result. On Sun, Nov 20, 2011 at 7:51 AM, Kubilay D. Yılmaz kubilayd.yil...@gmail.com wrote: Hi Friends; I have a problem with layout. I have 4 images, redbackground.png 80px

Re: [android-developers] Phone model penetration

2011-11-20 Thread Mark Murphy
Pay for a market survey report from Gartner or similar firms. I hope you have a deep wallet. On Sun, Nov 20, 2011 at 4:13 AM, Efi Merdler-Kravitz efi.merd...@gmail.com wrote: Where can I find reliable information on the various Android phone model, their latest Android version and their

[android-developers] Re: Tutorial HelloTabWidget crashes

2011-11-20 Thread wyo
Well then why isn't it documented in the tutorial? I've now simply duplicated the app activitiy and replaced the name like activity android:label=@string/app_name android:name=.ArtistsActivity intent-filter action

Re: [android-developers] AsyncTask null exception for the activity reference in the doInBackground method while rotating.

2011-11-20 Thread João Rossa
So in my Async Task class doInBackground and detach methods i could use : @Override protected Object *doInBackground*(Void... params) { MyActivityClass *checkedActivity*; synchronized(this) { *checkedActivity *= this.activity; }

[android-developers] Re: Phone model penetration

2011-11-20 Thread Efi Merdler-Kravitz
Found something cheaper - http://www.appbrain.com/stats/top-android-phones Although it doesn't contain everything, but it's better than nothing. On Nov 20, 3:03 pm, Mark Murphy mmur...@commonsware.com wrote: Pay for a market survey report from Gartner or similar firms. I hope you have a deep

[android-developers] Re: Remove menu if no camera found?

2011-11-20 Thread limtc
Thank you! I will try this now! :) On 11月20日, 下午8时56分, Mark Murphy mmur...@commonsware.com wrote: On Sun, Nov 20, 2011 at 12:14 AM, limtc thyech...@gmail.com wrote: I have a menu item in menu.xml that allows user to click and use camera. Since now there are more devices without camera

[android-developers] Where are the XML attributes of the TabHost

2011-11-20 Thread wyo
I'd like to show the tabs at the bottom instead of the top and guess there must be a layout attribute yet I can't find it. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to

Re: [android-developers] Where are the XML attributes of the TabHost

2011-11-20 Thread Mark Murphy
http://lmgtfy.com/?q=android+tabhost+tabs+bottom On Sun, Nov 20, 2011 at 8:21 AM, wyo otto.w...@orpatec.ch wrote: I'd like to show the tabs at the bottom instead of the top and guess there must be a layout attribute yet I can't find it. -- Mark Murphy (a Commons Guy) http://commonsware.com |

Re: [android-developers] Re: Phone model penetration

2011-11-20 Thread Mark Murphy
Sorry, you asked for reliable information in your original request. I thought that you really meant it. My apologies. On Sun, Nov 20, 2011 at 8:16 AM, Efi Merdler-Kravitz efi.merd...@gmail.com wrote: Found something cheaper - http://www.appbrain.com/stats/top-android-phones Although it doesn't

[android-developers] Re: Remove menu if no camera found?

2011-11-20 Thread limtc
I have a related note - without a camera-less device, how do I test? Is it able to set up a AVD without a camera? -- 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

[android-developers] Re: Phone model penetration

2011-11-20 Thread Efi Merdler-Kravitz
:-) Why do you think appbrain are not reliable ? On Nov 20, 3:21 pm, Mark Murphy mmur...@commonsware.com wrote: Sorry, you asked for reliable information in your original request. I thought that you really meant it. My apologies. On Sun, Nov 20, 2011 at 8:16 AM, Efi Merdler-Kravitz

Re: [android-developers] Layout Question

2011-11-20 Thread Kubilay D . Yılmaz
if i put green diamond to under another child linearlayout, result will not change, because parent linearlayout fill its height what it has inside it. so what should be the solution On 20 November 2011 15:00, Mark Murphy mmur...@commonsware.com wrote: You have your green diamond as a child of

Re: [android-developers] Re: Phone model penetration

2011-11-20 Thread Mark Murphy
On Sun, Nov 20, 2011 at 8:52 AM, Efi Merdler-Kravitz efi.merd...@gmail.com wrote: :-) Why do you think appbrain are not reliable ? Well, I suppose it depends on how you define reliable. It is absolutely reliable as a picture of the most popular devices among AppBrain users, barring AppBrain

Re: [android-developers] Layout Question

2011-11-20 Thread Mark Murphy
On Sun, Nov 20, 2011 at 8:57 AM, Kubilay D. Yılmaz kubilayd.yil...@gmail.com wrote: if i put green diamond to under another child linearlayout, result will not change, because parent linearlayout fill its height what it has inside it. so what should be the solution The green diamond should be

Re: [android-developers] Re: Remove menu if no camera found?

2011-11-20 Thread Mark Murphy
On Sun, Nov 20, 2011 at 8:35 AM, limtc thyech...@gmail.com wrote: I have a related note - without a camera-less device, how do I test? Is it able to set up a AVD without a camera? When you create the AVD, in the Hardware area, click the New... button and choose Camera support. It will then

[android-developers] Re: Auto-rotate screen flag

2011-11-20 Thread viktor
Any solutions? On 17 Лис, 21:56, viktor victor.scherb...@gmail.com wrote: Is it possible to check ifAuto-rotatescreen is aloved? -- 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: Remove menu if no camera found?

2011-11-20 Thread limtc
Hi, I actually tried this: I set up a KindleFire AVD with Camera support=no. I am doing experiment: -- public boolean onCreateOptionsMenu(Menu menu) { MenuInflater inflater = getMenuInflater(); inflater.inflate(R.menu.menu, menu); PackageManager packageManager =

Re: [android-developers] Layout Question

2011-11-20 Thread Kubilay D . Yılmaz
Dear Mark, Thank you for your concern however, My code is on below and result is same. RelativeLayout android:id=@+id/relativeLayout1 android:layout_width=fill_parent android:layout_height=match_parent android:layout_gravity=center LinearLayout

[android-developers] Re: Phone model penetration

2011-11-20 Thread Efi Merdler-Kravitz
That's fine. Appreciate your response. On Nov 20, 3:58 pm, Mark Murphy mmur...@commonsware.com wrote: On Sun, Nov 20, 2011 at 8:52 AM, Efi Merdler-Kravitz efi.merd...@gmail.com wrote: :-) Why do you think appbrain are not reliable ? Well, I suppose it depends on how you define reliable.

Re: [android-developers] Layout Question

2011-11-20 Thread Mark Murphy
On Sun, Nov 20, 2011 at 9:23 AM, Kubilay D. Yılmaz kubilayd.yil...@gmail.com wrote: Dear Mark, Thank you for your concern however, My code is on below and result is same. In your original solution, the height of the red LinearLayout is driven by the height of the green diamond. Now, it is not.

Re: [android-developers] Re: Tutorial HelloTabWidget crashes

2011-11-20 Thread Robinns
That is what you missed. On Sun, Nov 20, 2011 at 6:54 PM, wyo otto.w...@orpatec.ch wrote: Well then why isn't it documented in the tutorial? I've now simply duplicated the app activitiy and replaced the name like activity android:label=@string/app_name

Re: [android-developers] Re: Tutorial HelloTabWidget crashes

2011-11-20 Thread HideCheck
for example http://code.google.com/p/the-best-music-app/source/browse/trunk/+the-best-music-app+--username+sherm.g.c%40gmail.com/HelloTabWidget/AndroidManifest.xml?r=10 2011/11/21 Robinns librain.ro...@gmail.com: That is what you missed. On Sun, Nov 20, 2011 at 6:54 PM, wyo

[android-developers] Re: Remove menu if no camera found?

2011-11-20 Thread limtc
I am still searching around and found this thread: http://www.mail-archive.com/android-developers@googlegroups.com/msg102196.html Seems like still need to test on real device? -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this

[android-developers] Lots of the layout ID xyz is not valid errors in ADT r15

2011-11-20 Thread olefevre
So, having upgraded to ADT r15 I am now getting scores of these errors in the layout editor. Let me emphasize that it used to work fine before (that is, in r13), that the compilation is clean and the app runs just fine: it's only when you try to open a layout in the layout editor that you get

Re: [android-developers] Lots of the layout ID xyz is not valid errors in ADT r15

2011-11-20 Thread Mark Murphy
FWIW, I have never seen that error. Moreover, if everyone were seeing those errors, we'd've heard about them by now. Hence, it is most likely something peculiar to your environment, projects, or both. What version of Eclipse are you on? On Sun, Nov 20, 2011 at 11:09 AM, olefevre

Re: [android-developers] Lots of the layout ID xyz is not valid errors in ADT r15

2011-11-20 Thread B Lyon
is it only when includes are involved? might be related to this http://code.google.com/p/android/issues/detail?id=21051 starting eclipse with -clean worked for me, but I think that might not have worked for some folks On Sun, Nov 20, 2011 at 11:09 AM, olefevre lefev...@googlemail.com wrote:

Re: [android-developers] AsyncTask null exception for the activity reference in the doInBackground method while rotating.

2011-11-20 Thread Streets Of Boston
This will work if you just want to get rid of the null pointer exceptions. However, you just should never do any background work in an activity, i.e. run code in an Activity on the stack of a background thread (in your case, calling Activity.doBackgroundRequest()). It will set you up for

Re: [android-developers] Lots of the layout ID xyz is not valid errors in ADT r15

2011-11-20 Thread Streets Of Boston
Starting *eclipse.exe -clean *got rid of this problem... but only temporarily! As soon as I moved from a library project to a sub-project or vice-versa, the same problem occurs. Doing the *-clean *again, would get rid of it again, but temporarily :-) -- You received this message because you

Re: [android-developers] AsyncTask null exception for the activity reference in the doInBackground method while rotating.

2011-11-20 Thread João Rossa
Hi Streets, yeah currently im using the logic to run in the background thread out of the activity, but i was yet to try this approach, but it seems that its unanimously not the best option to take... I was considering for the sake of creating less classes, in this case im extending the async task

[android-developers] SDK 4, if I select WXGA resolution, emulator doesn't start.

2011-11-20 Thread sblantipodi
After the latest update it is not possible to start Emulator using WXGA resolution, this is an old problem. Is there someone who succed to use API Level 14 with WXGA res? -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group,

RE: [android-developers] Re: Please Help with GPS Provider Switch

2011-11-20 Thread Tommy Hartz
The timer is there to only allow it to check for 30 seconds. Once the 30 seconds are up if it hasn't got a location it cancels the GPS and tries the Passive, after 30 seconds it stops the passive and goes to network. The problem is once it gets to the network nothing happens. From:

Re: [android-developers] Is Spinner.setOnItemClickListener() supposed to work, or not?

2011-11-20 Thread Kostya Vasilyev
Have you tried setOnItemSelectedListener instead? 2011/11/20 David Karr davidmichaelk...@gmail.com I'm looking at the 3.2 API for android.widget.Spinner. The documentation for public void setOnItemClickListener (AdapterView.OnItemClickListener l) says this: A spinner does not support

[android-developers] Is Spinner.setOnItemClickListener() supposed to work, or not?

2011-11-20 Thread David Karr
I'm looking at the 3.2 API for android.widget.Spinner. The documentation for public void setOnItemClickListener (AdapterView.OnItemClickListener l) says this: A spinner does not support item click events. Calling this method will raise an exception. I'm also looking at the sample code

Re: [android-developers] Layout Question

2011-11-20 Thread David Karr
I would think that changing the layout_height of the LinearLayout to wrap_content would help. With what you have, both children of the RelativeLayout are set to fill_parent, so they'll have the same height. Also, I would recommend you make up your mind whether you're going to use fill_parent

Re: [android-developers] Is Spinner.setOnItemClickListener() supposed to work, or not?

2011-11-20 Thread David Karr
Oh, duh. That was actually the one I was using. I didn't notice the difference. -- 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

Re: [android-developers] Re: Strikethru Differennt Color Than Text

2011-11-20 Thread Kristopher Micinski
And be sure to put the code somewhere public when you finish, it seems like you should be able to do this :-) kris On Sun, Nov 20, 2011 at 4:09 AM, Kostya Vasilyev kmans...@gmail.com wrote: You should be able to do it by subclassing ReplacementSpan:

Re: [android-developers] Is Spinner.setOnItemClickListener() supposed to work, or not?

2011-11-20 Thread Kostya Vasilyev
That comment about Calling this method will raise an exception only appears under Spinner.setOnItemClickListener. The setOnItemSelectedListener is inherited from AdapterView, there is no warning about it being unsupported, and it definitely works on 3.2. So I'm not clear as to which one you're

Re: [android-developers] Is Spinner.setOnItemClickListener() supposed to work, or not?

2011-11-20 Thread David Karr
When someone says Oh, duh, that's an idiom for I understand now. I was using Selected, but I read the advice on Click, and I didn't notice the difference in method names. I don't have an issue anymore. Thanks. -- You received this message because you are subscribed to the Google Groups

Re: [android-developers] Is Spinner.setOnItemClickListener() supposed to work, or not?

2011-11-20 Thread Kostya Vasilyev
2011/11/21 David Karr davidmichaelk...@gmail.com: When someone says Oh, duh, that's an idiom for I understand now. I know :) I was using Selected, but I read the advice on Click, and I didn't It just seemed like you maybe kept using the wrong one, despite the oh duh moment. Sorry if I

[android-developers] Re: Action Bar

2011-11-20 Thread Royston
Mark, It appears you are correct. If i run up a large emulator at 3.2 I get the menu option but not at 3.1 or 3.0. I am not quite sure what one should do to manage this situation. If there exists a 3.1 or 3.0 Large device, there would be no access to menus. Any advice on how to deal with this

[android-developers] Re: Action Bar

2011-11-20 Thread Royston
Mark, It appears you are correct. If i run up a large emulator at 3.2 I get the menu option but not at 3.1 or 3.0. I am not quite sure what one should do to manage this situation. If there exists a 3.1 or 3.0 Large device, there would be no access to menus. Any advice on how to deal with this

Re: [android-developers] Re: Action Bar

2011-11-20 Thread Mark Murphy
On Sun, Nov 20, 2011 at 4:24 PM, Royston roystonpcar...@gmail.com wrote: It appears you are correct. If i run up a large emulator at 3.2 I get the menu option but not at 3.1 or 3.0. I am not quite sure what one should do to manage this situation. If there exists a 3.1 or 3.0 Large device,

[android-developers] Re: Lots of the layout ID xyz is not valid errors in ADT r15

2011-11-20 Thread olefevre
On Nov 20, 5:38 pm, Mark Murphy mmur...@commonsware.com wrote: FWIW, I have never seen that error. Moreover, if everyone were seeing those errors, we'd've heard about them by now. Mark, with all dues respect, you write example code for a manual; that is not real-world code. According to the bug

[android-developers] Re: Lots of the layout ID xyz is not valid errors in ADT r15

2011-11-20 Thread olefevre
On Nov 20, 6:12 pm, B Lyon bradfl...@gmail.com wrote: is it only when includes are involved?  might be related to this http://code.google.com/p/android/issues/detail?id=21051 That totally looks like my problem indeed; my project even reference a library, too. Since the handling of libraries has

Re: [android-developers] Re: Lots of the layout ID xyz is not valid errors in ADT r15

2011-11-20 Thread Kostya Vasilyev
Have you tried making a fresh workspace and importing a fresh copy of your sources? -- Kostya Vasilyev 21.11.2011 2:11 пользователь olefevre lefev...@googlemail.com написал: On Nov 20, 6:12 pm, B Lyon bradfl...@gmail.com wrote: is it only when includes are involved? might be related to this

Re: [android-developers] Re: Lots of the layout ID xyz is not valid errors in ADT r15

2011-11-20 Thread Mark Murphy
On Sun, Nov 20, 2011 at 5:08 PM, olefevre lefev...@googlemail.com wrote: On Nov 20, 5:38 pm, Mark Murphy mmur...@commonsware.com wrote: FWIW, I have never seen that error. Moreover, if everyone were seeing those errors, we'd've heard about them by now. Mark, with all dues respect, you write

[android-developers] How to set submenu header icon in XML?

2011-11-20 Thread limtc
I used to use program menu using Java and I can add icon to submenu. http://developer.android.com/reference/android/view/SubMenu.html#setHeaderIcon(int) As I am switching to XML format for menu, I am wondering how do I add icon to submenu? It does not seem to have an icon attribute for menu. --

[android-developers] Re: how to apply preference style in user-defined theme

2011-11-20 Thread Bacon021
My god, Does Google can't give any advice? On 11月16日, 下午7时54分, Bacon021 wei.pg...@gmail.com wrote: I defined a theme with an item named android:preferenceStyle, how ever when I apply this theme to some activity, the related preference items' style are still not what I defined. The following

[android-developers] Is the ICS emulator calendar sync broken?

2011-11-20 Thread GJTorikian
I created a new emulator with the Level 14 Google APIs. I can add my Google account, but sync is off, with no discernable way to turn it back on. -- 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: Is the ICS emulator calendar sync broken?

2011-11-20 Thread Zsolt Vasvari
Yes, this has been discussed extensively. You cannot use a Google account for syncing calendars on the emulator. You can use an Exchange account, though, with a gmail address and a blank domain. On Nov 21, 11:01 am, GJTorikian gjtorik...@gmail.com wrote: I created a new emulator with the Level

[android-developers] Re: how to apply preference style in user-defined theme

2011-11-20 Thread William Ferguson
I'm pretty certain there is no such style property as android:layout. Layout is NOT style. What are you trying to do? William On Nov 21, 12:13 pm, Bacon021 wei.pg...@gmail.com wrote: My god, Does Google can't give any advice? On 11月16日, 下午7时54分, Bacon021 wei.pg...@gmail.com wrote: I

[android-developers] Re: Is the ICS emulator calendar sync broken?

2011-11-20 Thread GJTorikian
And how would I go about adding contacts, to test viewing/manipulating contact data? There doesn't seem to be a way to do that. On Nov 20, 7:13 pm, Zsolt Vasvari zvasv...@gmail.com wrote: Yes, this has been discussed extensively.  You cannot use a Google account for syncing calendars on the

[android-developers] Re: Is the ICS emulator calendar sync broken?

2011-11-20 Thread Zsolt Vasvari
I thought you asked about Calendars, not Contacts On Nov 21, 12:14 pm, GJTorikian gjtorik...@gmail.com wrote: And how would I go about adding contacts, to test viewing/manipulating contact data? There doesn't seem to be a way to do that. On Nov 20, 7:13 pm, Zsolt Vasvari

[android-developers] Re: Is the ICS emulator calendar sync broken?

2011-11-20 Thread GJTorikian
I can ask two different questions in one thread The issue is synching. If I add my Gmail address as an Exchange account, I get a half-assed way to manipulate the calendar. Fine. But what if I want to test the way I manipulate contacts in my app? What if I want to test market licensing on an

[android-developers] No AVDs from Emulator since last update

2011-11-20 Thread gus
I can no longer get any avds to launch. I can create them, but they will not start (from targets 2.2 up to 4.0) I am running Windows XP and have the latest updates for eclipse and android addons. Problems occurred after updates for both eclipse and android were installed 3 weeks ago (approx Oct

[android-developers] Android database problem while refering .sql file

2011-11-20 Thread Shajahan
If there are SQLite create/insert statements in .sql (eg.; createtablestmt.sql) file .then how it is called from Android Project Am getting the error that no such table exits in the database ... and also I dont see any CREATE table statements in the project. Note : am refering to some

[android-developers] android builtin listview widget and fixed headers

2011-11-20 Thread Dav
I was trying to go through the code of android listview . core/java/ android/widget/HeaderViewListAdapter.java core/java/android/widget/ ListView.java Its bit difficult to figure out how exactly the items go below the header when you are scrolling,how exactly the headerview remains fixed . Can

[android-developers] Re: second call to setListAdapter() ignored

2011-11-20 Thread eehouse
On Nov 18, 4:15 am, Mark Murphy mmur...@commonsware.com wrote: On Thu, Nov 17, 2011 at 10:01 PM, eehouse ho...@gmail.com wrote: As far as I can tell, a second call tosetListAdapter( new MyCustomAdapter() ) has no effect: the adapter I originally installed in my ListActivity subclass's

[android-developers] Re: How to set WebView to follow 302 redirects

2011-11-20 Thread DoubleCheese
Hi, Some more additional info: When I use a URLConnection to GET the request it, works and follows the redirect properly. What I do next is to use this reponse and load the html to the web view using webView.loadDataWithBaseURL() - in here I set the baseUrl to the host I expect. I also tried to

[android-developers] Re: Please Help with GPS Provider Switch

2011-11-20 Thread gjs
Hi, What's the problem if you start all 3 at once ? Then stop them once they are not needed. I use GPS NETWORK providers at the same time they work ok. Regards On Nov 21, 5:55 am, Tommy Hartz droi...@gmail.com wrote: The timer is there to only allow it to check for 30 seconds. Once the 30

Re: [android-developers] Re: second call to setListAdapter() ignored

2011-11-20 Thread Kostya Vasilyev
It seems that the only way to rebuild the fast scroll section data is to toggle fast scrolling off and on again. -- Kostya 2011/11/21 eehouse ho...@gmail.com: On Nov 18, 4:15 am, Mark Murphy mmur...@commonsware.com wrote: On Thu, Nov 17, 2011 at 10:01 PM, eehouse ho...@gmail.com wrote:

[android-developers] Re: Action Bar

2011-11-20 Thread Zsolt Vasvari
I ran into the same problem, but not until 3.2 as Mark is saying. I believe the first (and only?) Large 3.2 device is the Galaxy Tablet 7 Plus. There have been many other 7 tablets, but they were running Gingerbread or earlier. On Nov 21, 5:28 am, Mark Murphy mmur...@commonsware.com wrote:

[android-developers] Re: Is the ICS emulator calendar sync broken?

2011-11-20 Thread Zsolt Vasvari
I can ask two different questions in one thread Sure you can, this is a free country -- just don't expect an answer -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to