> 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 android-developers@googlegro
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 wrote:
> On Sun, Nov 20, 2011 at
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 :
> On Nov 18, 4:15 am, Mark Murphy wrote:
>> On Thu, Nov 17, 2011 at 10:01 PM, eehouse wrote:
>> > As far as I can tell, a second call tosetListAdapter(
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" wrote:
> The timer is there to only allow it to check for 30 seconds. Once the 30
> seconds are u
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 s
On Nov 18, 4:15 am, Mark Murphy wrote:
> On Thu, Nov 17, 2011 at 10:01 PM, eehouse 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 onCreate() method continues to get
>
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 any
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
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 26
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 IC
I thought you asked about Calendars, not Contacts
On Nov 21, 12:14 pm, GJTorikian 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 wrote:
>
>
>
> > Yes, this has be
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 wrote:
> Yes, this has been discussed extensively. You cannot use a Google
> account for syncing calendars on the emulator. You can u
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 wrote:
> My god, Does Google can't give any advice?
>
> On 11月16日, 下午7时54分, Bacon021 wrote:
>
>
>
>
>
>
>
> > I defined a theme with an
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 wrote:
> I created a new emulator with the Level 14 Google APIs. I c
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-d
My god, Does Google can't give any advice?
On 11月16日, 下午7时54分, Bacon021 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 is my style I d
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
.
--
You
On Sun, Nov 20, 2011 at 5:08 PM, olefevre wrote:
> On Nov 20, 5:38 pm, Mark Murphy 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
Have you tried making a fresh workspace and importing a fresh copy of your
sources?
--
Kostya Vasilyev
21.11.2011 2:11 пользователь "olefevre" написал:
> On Nov 20, 6:12 pm, B Lyon wrote:
> > is it only when includes are involved? might be related to this
> > http://code.google.com/p/android/i
On Nov 20, 6:12 pm, B Lyon 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 changed in r14/15
On Nov 20, 5:38 pm, Mark Murphy 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 entry obligingly poin
On Sun, Nov 20, 2011 at 4:24 PM, Royston 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, there would be no acces
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 wou
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 wou
2011/11/21 David Karr :
> 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 misunderstood.
> noti
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
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
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 wrote:
> You should be able to do it by subclassing ReplacementSpan:
>
> http://developer.android.com/reference/android/text/style/R
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
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_pare
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
Have you tried setOnItemSelectedListener instead?
2011/11/20 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.
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: android-deve
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
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 a
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 ar
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 problem
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 wrote:
> So, having upgraded t
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 wrote:
> So, ha
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 these
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 thi
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 :
> That is what you missed.
>
> On Sun, Nov 20, 2011 at 6:54 PM, wyo wrote:
>>
>> Well then why isn't it do
That is what you missed.
On Sun, Nov 20, 2011 at 6:54 PM, wyo wrote:
> Well then why isn't it documented in the tutorial?
>
> I've now simply duplicated the app activitiy and replaced the name
> like
>
>android:label="@string/app_name"
>android:name=".ArtistsActiv
On Sun, Nov 20, 2011 at 9:23 AM, Kubilay D. Yılmaz
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.
If it is still not gi
That's fine. Appreciate your response.
On Nov 20, 3:58 pm, Mark Murphy wrote:
> On Sun, Nov 20, 2011 at 8:52 AM, Efi Merdler-Kravitz
>
> 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 p
Dear Mark,
Thank you for your concern however,
My code is on below and result is same.
On 20 November 2011 16:00, Mark Murphy wrote:
> On Sun, Nov 20, 2011 at 8:57 AM, Kubilay D. Yılmaz
> wrote:
> > if i put green diamond to under
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 = getPacka
Any solutions?
On 17 Лис, 21:56, viktor 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@googlegroups.com
To unsubscrib
On Sun, Nov 20, 2011 at 8:35 AM, limtc 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 default to "no". I
On Sun, Nov 20, 2011 at 8:57 AM, Kubilay D. Yılmaz
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 *outside* the LinearLay
On Sun, Nov 20, 2011 at 8:52 AM, Efi Merdler-Kravitz
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 screwing up the count
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 wrote:
> You have your green diamond as a child of the LinearLayout. It is
:-)
Why do you think appbrain are not reliable ?
On Nov 20, 3:21 pm, Mark Murphy 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
>
>
>
>
>
>
>
>
>
> 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?
--
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 u
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
wrote:
> Found something cheaper - http://www.appbrain.com/stats/top-android-phones
> Although it doesn't contain everything
http://lmgtfy.com/?q=android+tabhost+tabs+bottom
On Sun, Nov 20, 2011 at 8:21 AM, wyo 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 | http://github.com/c
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 android-developers@googlegroups.
Thank you!
I will try this now! :)
On 11月20日, 下午8时56分, Mark Murphy wrote:
> On Sun, Nov 20, 2011 at 12:14 AM, limtc 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
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 wrote:
> Pay for a market survey report from Gartner or similar firms. I hope
> you have a deep wallet.
>
> On Sun, Nov
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;
}
if(*checkedActivity*!
Well then why isn't it documented in the tutorial?
I've now simply duplicated the app activitiy and replaced the name
like
yet I've no idea if this is correct or what all these means. So far it
seems to work.
On Nov 2
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
wrote:
> Where can I find reliable information on the various Android phone
> model, their latest Android version and their penetration rate in the
> U
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
wrote:
> Hi Friends;
> I have a problem with layout.
> I have 4 images,
>
> redbackground.png 80px
> triangle.png 80px
> sta
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 AM
On Sun, Nov 20, 2011 at 12:14 AM, limtc 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 this before?
Wh
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
task.
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
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 har
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 ema
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
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. Duplic
My manifest.xml looks like this as the tutorial specifies
On Nov 20, 11:25 am, Robinns wrote:
> Have you defined you activity under the Manifest.xml file.
--
You received this message because you are subs
Have you defined you activity under the Manifest.xml file.
Check it out
On Sun, Nov 20, 2011 at 3:32 PM, wyo 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):
> java.lang.RuntimeExc
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
blocking
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}:
android
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
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
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
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 cent
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 w
80 matches
Mail list logo