Yeah this happened to me on upgrading to ADT 10, reinstall
eclipse,reinstall android sdk and a policy to never update ADT or
android SDK anywhere near milestones fixed it fine.
On Mar 8, 4:37 pm, Xavier Ducrohet x...@android.com wrote:
ugh, we'll fix this asap.
Xav
On Mon, Mar 7,
Hi All,
I have just installed ADT 10 with SDK 3.0. Eclipse has been working
ok, but now all of a sudden my project has broken down with eclipse
either complaining there is something wrong with xml files where there
is nothing wrong (tested on a non adt10 eclipse and works fine) or
giving errors
I have found that the ContactsContract.Contact table contains the same
contact multiple times for different accounts.
i.e I have one 'dave' with com.google account and another in with
vnd.sec.contact.sim .
I thought the Contact table is supposed to be an aggregate of
RawContacts automatically
Can anyone explain the use of Nested AnimationSets defined in xml.
As far as I can understand it you would use them so that everything
within took some of the properties from its parent.
I can not really see the use of nesting them, can any one give an
example that uses nested AnimationSets and
Hi All
I am experiencing a problem where I can not load a truetype font in
android 2.2 but loads fine in all versions prior.
I get the error
java.lang.RuntimeException: native typeface cannot be made
when calling
Typeface.createFromAsset(Resources.getSystem().getAssets(),/
font.ttf);
Any
Was trying to find out how to launch the android music players' song
selecter activity,
Couldn't find how to do this on the net so I thought I would post it
here now that I have figured it out
very simple
Intent intent = new Intent(Intent.ACTION_PICK);
I am trying to run a reverse geocode using a GeoCoder.
When calling
geoCoder.getFromLocation(double lat,double lon,int maxresults)
with the parameters (37.6, -141.1 , 1)
I get the error
reverseGeocode(): no feature in GLocation
Any ideas why this is not working, as it was correctly returning
Also the tag on the error isLocationMasfClient
--
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
The same code is working on a device.
--
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
I am trying to make a PopupWindow show straight away when an activity
has started.
when calling
public void showAtLocation (View parent, int gravity, int x, int y)
I get the exception
ERROR/AndroidRuntime(2500): Caused by: android.view.WindowManager
$BadTokenException: Unable to add window --
Ive had a similar problem where updateAppWidget does not cause an
update.
For me it is usually only the first time you install on the emulator
(think most 2.0 versions do this, not 1.5, 1.6 does i think)
if you restart the emulator (without deleting installed widget) the
upate will work.
I have
on the screen)
On Dec 31, 1:11 pm, Chopcsu st...@kilsby.com.au wrote:
Ive had a similar problem where updateAppWidget does not cause an
update.
For me it is usually only the first time you install on the emulator
(think most 2.0 versions do this, not 1.5, 1.6 does i think)
if you restart
Hi,
I am having problems getting Android to use the correct resources.
I am trying to have it pick the correct resources across all densitys
and screen layouts orientations.
So I have created the directory structure as follows
drawable
drawable-large
drawable-large-land
drawable-large-port
On Dec 7, 1:40 pm, Chopcsu st...@kilsby.com.au wrote:
I am trying to detect if the screen size isnormal, large or small.
I am using
Configuration conf =view.getResources().getConfiguration();
(conf.screenLayoutConfiguration.SCREENLAYOUT_SIZE_MASK) ==
Configuration.SCREENLAYOUT_SIZE_NORMAL
And density detection is done by
DisplayMetrics.densityDpi
On Dec 8, 4:58 pm, Chopcsu st...@kilsby.com.au wrote:
Ok I have determined half the problem
Although I was using 480x800(or 854), it still thought it was anormal
size screen with hdpi
So now im searching for how to detect dpi
I am trying to detect if the screen size is normal, large or small.
I am using
Configuration conf =view.getResources().getConfiguration();
(conf.screenLayoutConfiguration.SCREENLAYOUT_SIZE_MASK) ==
Configuration.SCREENLAYOUT_SIZE_NORMAL
When testing with the emulator this works for screen
Does byte[] array actually only have 1 byte in it?
Could be that the getLength call is just incorrect.
On Nov 13, 6:16 am, Pierre pierredur...@gmail.com wrote:
I use Android 1.5 on HTC Hero
My code (udp server on my phone) :
this.socket = new DatagramSocket(port);
byte[] array = new
I have got an app that i want input to only be allowed with english
characters.
I am using a EditText widget in a dialog box, but the user can freely
change between english and chinese input.
Just wondering if the virtual keyboard can be locked to english input
only?
--
You received this
I Have an app that is running fine in 1.6,
I have now updated my sdk to 2.0 and the app never starts properly
I was wondering if anyone had an idea of what would stop an app
running on the newer version that runs fine usually.
Once it is started, it runs threads correctly, but nothing gets
Found the culprit.
I was calling Looper.prepare() in a thread outside of the main paint
thread, It seemed this stopped the painting.
Strange that 2.0 would not work but 1.6 worked.
On Nov 10, 5:03 pm, Chopcsu st...@kilsby.com.au wrote:
I Have an app that is running fine in 1.6,
I have now
20 matches
Mail list logo