Thanks Kris,
yes, i am not using any thing either service or background thread
computation, but still it has been
consuming approx 2% CPU, i have been looking it through another
application Android assistant.
is there any way to know running thread of application from eclipse?
so that i can
On Tue, Nov 1, 2011 at 2:01 AM, imran ali imran...@gmail.com wrote:
Thanks Kris,
yes, i am not using any thing either service or background thread
computation, but still it has been
consuming approx 2% CPU, i have been looking it through another
application Android assistant.
is there any
normally in Java ~ which I am reading is the Primary Programming
Linguistic for this Android Platform one would run that with Timer and
TimerTask - the Alarm Manager is intended for cases where you want to
have your application code run at a specific time, even if your
application is not currently
There is a much easier way to do this
Visit my website @ http://apkmultitool.com and download my tool from
my download section and everything is strait forward and includes a
doc folder with a instrunction manual.
On Nov 1, 1:56 am, venugopal reddy venugopal.re...@tspl.com wrote:
Thankq very
let me know if you would like to have a driver-shell in Java for it ~
just let me know what commands you want to ship or where you want the
response file and a standard location so that i can avoid putting up a
browse dialog - home dir on whino is failure.mode only
On Nov 1, 1:45 am, Raziel23x
Hi,
For (1) probably not, sms can be queued by the operator for quite a
while if recipient phone is off.
For (2) you can get an accurate GMT timestamp from the GPS Location,
provided you have a current gps fix.
Regards
On Nov 1, 6:29 am, John Goche johngoch...@googlemail.com wrote:
Hello,
I
Hi,
I think you will find getAccuracy() will continue to vary within the
10 metres range or more. And you will not know which is 'most
accurate' without averaging the fixes over some period of time. All of
which is harder if the device is also moving.
Regards
On Nov 1, 5:44 am, Ab Caballero
The application that we are developing has 5 image buttons on the group
view. Each image button is next to each other with some space between them.
It is found that when we try to click on the image button the group view
ends up expanding and it is not acceptable. Hence we have decided to
Hi friends,
How Will I dwevelop Bar code scanner for android ?
Please help me ...
Give me the specifications also( i means which jars are reuires like
that)
thanks
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group,
For dialogs fragments UI google
recommendshttp://developer.android.com/resources/samples/ApiDemos/src/com/example/android/apis/app/FragmentAlertDialog.html
to
extend DialogFragment. However in provided sample it handle alert inside
activity, but I need to do it inside fragment that invoke
Your TTS object is only initialized when onActivityResult is called.
If you click on your button before that happens, KABOOM.
Martin
mobitobi
GentleAlarm
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to
On Tue, Nov 1, 2011 at 8:37 AM, gjs garyjamessi...@gmail.com wrote:
Hi,
For (1) probably not, sms can be queued by the operator for quite a
while if recipient phone is off.
For (2) you can get an accurate GMT timestamp from the GPS Location,
provided you have a current gps fix.
What do
This sort of activity here is the reason Android will never be a viable
platform for developers.
On 11/1/2011 2:45 PM, Raziel23x wrote:
There is a much easier way to do this
Visit my website @ http://apkmultitool.com and download my tool from
my download section and everything is strait
Hey
I used to be able to track installs of apps by placing the
INSTALL_REFERRER action in my manifest and pointing it to a custom
receiver. However, it seems the newest version of the Android Market
app has changed the way it handles the referrer string included in
market URLs, this means I can
i am new at this but i am sure what he is saying is A class
representing a geographic location sensed at a particular time (a
fix). A location consists of a latitude and longitude, a UTC
timestamp. and optionally information on altitude, speed, and bearing.
But what you are saying is that any
Thanks...
But without talking the new calendar API. If you want add a contact or see
calendar application you must create an account.
Ok, so i'm going to create an AVD using Google API. Thanks
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
http://code.google.com/p/zxing/
On Tue, Nov 1, 2011 at 5:24 AM, venugopal reddy
venugopal.re...@tspl.com wrote:
Hi friends,
How Will I dwevelop Bar code scanner for android ?
Please help me ...
Give me the specifications also( i means which jars are reuires like
that)
thanks
--
You
You should have a barcode decoding engine to decode barcode from a
image frame. Camera API provides frames, which needs to be processed
for decoding barcoes. You can use Zxing or RedLaser barcode scanners
http://code.google.com/p/zxing/
http://www.redlaser.com/
thanks
Chenna
On Nov 1, 2:24
Did you try it? does it actually work ?
Yes, I tried it and unfortunately it worked.
--
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,
On Tue, Nov 1, 2011 at 2:24 AM, Belvedere Computer Services
fa829...@gmail.com wrote:
normally in Java ~ which I am reading is the Primary Programming
Linguistic for this Android Platform one would run that with Timer and
TimerTask - the Alarm Manager is intended for cases where you want to
Here is the link : http://www.bbc.co.uk/news/business-15523050
I'm wondering if this new policy will impact Android applications that use
the MapView.
The FAQ makes references to javascript and flash, but nothing about Android.
http://code.google.com/apis/maps/faq.html#tos_pricing
--
You
On Tue, Nov 1, 2011 at 12:19 AM, Bishan tvbis...@gmail.com wrote:
I have followed instructions to Download the Support Package
in http://developer.android.com/sdk/compatibility-library.html. but i can't
see Support Package in my Android SDK and AVD Manager. there is only Android
SDK Tools,
On Tue, Nov 1, 2011 at 6:39 AM, teracc websec02@gmail.com wrote:
Did you try it? does it actually work ?
Yes, I tried it and unfortunately it worked.
While they can read your layout resource, I would not expect them to
be able to actually update the app widget instance on the home screen,
I used the emma to generate the code coverage on the android phone.
Everything goes well when I used the android sdk 3.0 and before.
However, after I update the sdk to 4.0, the report can't be generated
by running ant coverage. I have update the build.xml before I run
the command!
--
You
On Fri, Oct 28, 2011 at 7:47 PM, Tom Yu xuejianyuandr...@gmail.com wrote:
Hey everyone. My name is Tom Yu. First time poster and hopefully it
won't be my last.
I got into learning how to develop android games through the book
Beginning Android Books by Mario Zechner. With what I learned, I
Hello,
I render an UI rely on Cursor entries, meanwhile is can happen that an
update of an row get updated in my ContentProvider, so i use
getContext().getContentResolver().notifyChange(uri, null); to inform
the CursorAdapter, but it forces the Adapter to reload everything and
the UI beginns to
Hi,
Possibly worth mentioning, your game play outlines two players but you
mention multi-player as well.
With Android it is possible to support more players over BT maybe 4 in
client server, possibly a few more in a daisy chain BT network. (Do a
google search for examples.)
As mentioned try to
On Mon, Oct 31, 2011 at 11:08 PM, Zsolt Vasvari zvasv...@gmail.com wrote:
Maybe you misunderstood me. I am looking for a way for the TextView
to draw the text differently based on my markups.
Ohhh - Yeah, my idea won't work then =P . And I haven't tried
anything like that so IDK.
On Tue, Nov 1, 2011 at 3:35 AM, Ash anan...@gmail.com wrote:
Can you please advice if there is other way of displaying a timer on the
group view or the way I am currently doing it is acceptable?
Seems like it should work - if not, not sure what to tell you. Haven't
modified
On Mon, Oct 31, 2011 at 11:16 PM, Divyata Panchal
panchal.divyat...@gmail.com wrote:
is it possible to change default contact manager app made by google..?
Yes, it is possible.
-
TreKing
Make it a custom webview and use html?
There's also spannable which lets you define things like clickable links in
text. I believe it also supports html formatting.
On Tue, Nov 1, 2011 at 5:13 AM, TreKing treking...@gmail.com wrote:
On Mon, Oct 31, 2011 at 11:08 PM, Zsolt Vasvari
http://groups.google.com/group/android-discuss/browse_thread/thread/d31b93959ec20673/4bae1beebe67755c
-
TreKing http://sites.google.com/site/rezmobileapps/treking - Chicago
transit tracking app for
On Tue, Nov 1, 2011 at 12:57 AM, venugopal reddy
venugopal.re...@tspl.comwrote:
How do I implement bar code reader in android ..
Write the code for a bar code reader in android. =P
Seriously, if you want a non-dumbass response, you need to ask a better
question:
notityDataSetChanged rebuilds the view list, so yes, that could cause UI
events to be missed.
As far as updating an {Expandable}ListView in a more efficient way - if
you just need to refresh a few UI widgets - this can be done by:
- Asking the list view for the currently visible range of
Or perhaps try something out with this:
http://developer.android.com/reference/android/text/style/MetricAffectingSpan.html
The classes that affect character-level text formatting in a way that
changes the width or height of characters extend this class
Or this:
When using contentResolver.delete(uri, null, null) then determining
success can be done by looking at the return value of how many rows
were affected.
However, deleting a contact through ContentProviderOperation and
applyBatch returns ContentProviderResult[]
How can you identify whether the
Is there any way to detect the KeyDown / KeyUp events of the soft keyboard
in an EditText?
--
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
Apparently the onKeyListener doesn't work for soft keyboards, and I cannot
use a TextWatcher as I need the specific KEY_UP and KEY_DOWN events.
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to
I'll be surprised if this is possible. For starters, it might not be a
keyboard and therefore may not have the concept of keys, such as:
https://market.android.com/details?id=com.access_company.graffitihl=en
On Tue, Nov 1, 2011 at 9:16 AM, Aki arnab...@gmail.com wrote:
Apparently the
+1 for Flurry. The device and carrier info is interesting (I won't commit
to useful as I couldn't back that up with much conviction ;) ).
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to
Thats sad. Actually I need to detect Key combos. I figured detecting the
key press events was the best way to proceed. Can you suggest an
alternative? Some way using which I will be able to detect key combinations?
I know key combinations are not an Android convention. Still, I would like
to
Surprisingly I am able to detect the key press event of the ENTER key of
the soft keyboard, but not of the character keys.
That doesn't seem like very consistent behaviour, if they don't work, none
of them should work. Whats is special about the ENTER key?
--
You received this message because
On Tue, Nov 1, 2011 at 9:33 AM, Aki arnab...@gmail.com wrote:
Thats sad. Actually I need to detect Key combos. I figured detecting the key
press events was the best way to proceed. Can you suggest an alternative?
Some way using which I will be able to detect key combinations?
I would not
On Tue, Nov 1, 2011 at 9:41 AM, Aki arnab...@gmail.com wrote:
Surprisingly I am able to detect the key press event of the ENTER key of the
soft keyboard, but not of the character keys.
That doesn't seem like very consistent behaviour, if they don't work, none
of them should work. Whats is
Thank you for the elaborate answer Mark. I will try out extending EditText.
You see, I came up with the idea of key combinations because I needed
something corresponding to a shortcut, without taking up screen space.
I am unwilling to use long clicks or gestures as they take too long to
I am using Google Analytics in my application. I would like the tracking
session to be reset when the application goes to the background.
I would like to do it without having to maintain state of each activity (my
application has quite many Activities and I would rather not update the
On Tue, Nov 1, 2011 at 9:49 AM, Aki arnab...@gmail.com wrote:
Thank you for the elaborate answer Mark. I will try out extending EditText.
You see, I came up with the idea of key combinations because I needed
something corresponding to a shortcut, without taking up screen space.
I have no idea
I have drawn a bezier curve and I want my imageview which is a picture
of a ball to follow the path traced by the curve and eventually fall
to the ground.How do I do that? Please help
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post
I wouldn't worry about users finding it, my target users will already know
them.
Anyway, I'll give the custom EditText a shot, otherwise I'll have to figure
something else out.
Thanks for the help :)
--
You received this message because you are subscribed to the Google
Groups Android
+1 for Flurry :D
On Tue, Nov 1, 2011 at 11:24 AM, Oli Wright oli.wri...@gmail.com wrote:
+1 for Flurry. The device and carrier info is interesting (I won't commit
to useful as I couldn't back that up with much conviction ;) ).
--
You received this message because you are subscribed to the
Ok, thanks. Will check it out.
On Nov 1, 8:31 pm, Kostya Vasilyev kmans...@gmail.com wrote:
Or perhaps try something out with this:
http://developer.android.com/reference/android/text/style/MetricAffec...
The classes that affect character-level text formatting in a way that
changes the
Hi
i have around 14 images if i want change keep on image how to do
for each activity .
like i have 10 screen for each how to change the images.
please tell me any one .help required
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post
Bumping the question until I'll get 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@googlegroups.com
To unsubscribe from this group, send email to
need more explanation.
--
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+unsubscr...@googlegroups.com
Let me know if you are successful at actually adding a Google Account
and getting it to work with either the Calendar or People apps. I
have been unsuccessful.
On Nov 1, 6:25 pm, arnouf arnaud.far...@gmail.com wrote:
Thanks...
But without talking the new calendar API. If you want add a contact
I have a ListView which displays rows which can have a variety of
controls. If the row contains TextViews, ImageViews, and/or Buttons,
everything works as expected. However, if I add a EditText control to
a row, then I no longer seem to be able to select a row (touching
outside of the EditText
Hi
i have mainactivity in and i have 10 actvity screens if each screen navigating
in the activity screen :
like right to left and left to right needs to change the backgroud images
how can i change.
those images are stored and fixed.default one image i need to show
after that user by clicking
I'm looking at it in Windows system.
On Oct 28, 6:16 pm, Studio LFP studio@gmail.com wrote:
\n works if you are on a Unix based system. If you are using a Windows
(DOS) based system, you'll want to use \r\n.
Are you looking at your file in an text editor like notepad on a Windows
system?
and \r\n worked by the way. Thank you so much.
On Oct 28, 6:16 pm, Studio LFP studio@gmail.com wrote:
\n works if you are on a Unix based system. If you are using a Windows
(DOS) based system, you'll want to use \r\n.
Are you looking at your file in an text editor like notepad on a
Hello, i tried your advise but i get this (z: 8.121132brtime:
2.862953E12) output.
On Oct 30, 2:57 am, adithya holla adithyaho...@gmail.com wrote:
try br
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to
Try http://code.google.com/p/zxing/
Cheers
Emanuel Moecklin
1gravity LLC
--
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
we can call use the zxing bar code reader in our app ...try this
package com.resource;
import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.Button;
public class BarcodeScan
I think that this one is a perfectly reasonable question, especially
since all you have to do to read barcodes is fire an intent at the
barcode reader.
Google barcode reader intent android
Kris
On Tue, Nov 1, 2011 at 8:18 AM, TreKing treking...@gmail.com wrote:
On Tue, Nov 1, 2011 at 12:57 AM,
Is it true that almost all Android phones are powered by an ARM chip
made by ARM company in England?
--
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
On 1 November 2011 15:23, bob b...@coolgroups.com wrote:
Is it true that almost all Android phones are powered by an ARM chip
made by ARM company in England?
Why would you ask such question to this group and subject yourself to
ridicule, rather than simply type your question into Google and
ARM doesn't make the chips. They design the IP cores for the chips,
so their main investment is the chip design, not the chip itself. The
chips are made by many many other companies.
Kris
On Tue, Nov 1, 2011 at 11:23 AM, bob b...@coolgroups.com wrote:
Is it true that almost all Android phones
I have added a sensor search option to https://www.elusivestars.com.
So now you can just type in gyro in in search and it will show you the
devices available for your test. Developers can signup regardless of
location, for Members we are currently limited to US.
Pete
On Oct 29, 12:56 am,
This shows how the arm specification is used inside the System on a
Chip (SoC) designed by qualcomm. It also shows how these SoCs are in
smartphones, and tablets.
http://en.wikipedia.org/wiki/Snapdragon_(system_on_chip)
From the page it says, The Snapdragon application processor core,
dubbed
I think it's possible. But I have never tried though.
But what I have learnt is that ListView aren't the best way to handle
such an UI.
This link would perhaps give you some more insights.
http://groups.google.com/group/android-developers/browse_thread/thread/50f0fc185da8fe4d
On Nov 1, 7:23
Hello guys,
If this subject was already discussed somewhere in the forums with the
solution without ROOTing the device, I would like to apologize ahead of
time...
As we know that the Bottom Status Bar in the Android Honeycomb takes lots
of real-estate on the Tablet screen, since this is the case
Well, I booted up the Google API emulator fine. But, in the calendar
app, it only has the option of adding an exchange account. I can't see
anywhere where it asks for a Google account.
On Nov 1, 7:18 pm, Zsolt Vasvari zvasv...@gmail.com wrote:
Let me know if you are successful at actually adding
Is there a way to block Save for Offline Reading in Android 4?
It seems this feature would be need for mobile web developers looking
to at least attempt to protect sensitive and private data(i.e.
Financial, Healthcare, Personal,)
Is there a meta tag or something?
--
You received this
Is there a way to block Save for Offline Reading in Android 4?
It seems this feature would be need for mobile web developers looking
to at least attempt to protect sensitive and private data(i.e.
Financial, Healthcare, Personal,)
Is there a meta tag or something?
--
You received this
Hmmm, Quite an issue. Can't help you more other than starring the
issue :)
BTW, frankly speaking, the location of the status bar is a bit weird,
as far as usability is concerned, especially the Back button. Hope,
that it gets fixed soon enough.
On Nov 1, 9:24 pm, Sebastian Tomaszewski
Wait...
When I go to my bank statement on my browser, I can click save on my
web browser...
Does this mean my browser is flawed?
Kris
On Tue, Nov 1, 2011 at 12:32 PM, kc3000 kendrick_wil...@hotmail.com wrote:
Is there a way to block Save for Offline Reading in Android 4?
It seems this
Drag drop inside a ListView still seems to be very difficult with HC
or ICS. I haven't seen any examples that do this yet. But yeah, drag
from one view and drop on another is pretty easy and simple.
On Nov 1, 7:12 am, TreKing treking...@gmail.com wrote:
On Fri, Oct 28, 2011 at 12:20 PM, wBishop
On Tue, Nov 1, 2011 at 12:48 PM, Kumar Bibek coomar@gmail.com wrote:
Drag drop inside a ListView still seems to be very difficult with HC
or ICS. I haven't seen any examples that do this yet.
https://github.com/commonsguy/cwac-touchlist
--
Mark Murphy (a Commons Guy)
Oops, Thanks Mark. I had missed that one.
On Tue, Nov 1, 2011 at 10:20 PM, Mark Murphy mmur...@commonsware.comwrote:
On Tue, Nov 1, 2011 at 12:48 PM, Kumar Bibek coomar@gmail.com wrote:
Drag drop inside a ListView still seems to be very difficult with HC
or ICS. I haven't seen any
Well, if it was a DMCA, I think the law states you have the right to
know who filed it.
On Oct 28, 9:10 am, Kristopher Micinski krismicin...@gmail.com
wrote:
That's for a chrome extension... so I'd say... no.
Kris
On Fri, Oct 28, 2011 at 11:56 AM, JackN j...@jacknorth.com wrote:
You?
On Tue, Nov 1, 2011 at 12:24 PM, Sebastian Tomaszewski
stomasze101...@gmail.com wrote:
As we know that the Bottom Status Bar in the Android Honeycomb takes lots of
real-estate on the Tablet screen, since this is the case and one of my
applications that I am creating needs that space, is there
On Tue, Nov 1, 2011 at 12:57 PM, Kumar Bibek coomar@gmail.com wrote:
Oops, Thanks Mark. I had missed that one.
It's only so-so -- it's code I refactored out of the old AOSP Music
app, and hence I don't fully grok it. :-)
--
Mark Murphy (a Commons Guy)
http://commonsware.com |
Can you name any such meta tag or something that blocks File|Save As
on any desktop browser?
On Tue, Nov 1, 2011 at 12:32 PM, kc3000 kendrick_wil...@hotmail.com wrote:
Is there a way to block Save for Offline Reading in Android 4?
It seems this feature would be need for mobile web developers
It works. I might use it for my app. :)
On Tue, Nov 1, 2011 at 10:29 PM, Mark Murphy mmur...@commonsware.comwrote:
On Tue, Nov 1, 2011 at 12:57 PM, Kumar Bibek coomar@gmail.com wrote:
Oops, Thanks Mark. I had missed that one.
It's only so-so -- it's code I refactored out of the old
SIGHT... THank you [?]...
On Tue, Nov 1, 2011 at 9:59 AM, Mark Murphy mmur...@commonsware.com wrote:
On Tue, Nov 1, 2011 at 12:24 PM, Sebastian Tomaszewski
stomasze101...@gmail.com wrote:
As we know that the Bottom Status Bar in the Android Honeycomb takes
lots of
real-estate on the
Attempting to learn about fragments, and studying the docs and some
samples, I am not really clear as to what the fragment tag represents
in an XML file and how it relates to the fragment container view that
is supposed to be passed to onCreateView. Mainly, in the sample that I'm
using, which
Hi Everyone,
I have a .net c# application acting as a server listening on a
particular port, and an Android app that I'm building acting as the
client which will connect and send / receive tcp messages to / from
the .net server application. I have it working at the moment but am
faced with a
You need a separate thread for reading.
*Thanks and Regards,
Kumar Bibek*
*
http://techdroid.kbeanie.com
http://www.kbeanie.com*
On Tue, Nov 1, 2011 at 11:09 PM, Tonez apires...@gmail.com wrote:
Hi Everyone,
I have a .net c# application acting as a server listening on a
particular port,
Hi
What is the best way for communicating between two applications?
I want to create a central management app for my suite of applications so
the one app would request data from the other much like how applications
can query the market app for licence information using androids Licencing
You can fire intents between the two.
Or you can look into Messenger.
Or you can read up on AIDL, which is the most flexible but also
hardcore solution.
How much do the apps have to communicate? A little? Or a lot? This
question determines which one of these is necessary.
Kris
On Tue, Nov
Hi
Is there any object deep clone library for android which works fine.
Take care.
Regards
Goutom Roy
--
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
Unfortunatlly its its not opening default youtube app but ask for action
and outube app is not offered. If I call Intent.ACTION_VIEW with url what
lead direct to any video YT app is started.
r^
On 1 November 2011 03:27, TreKing treking...@gmail.com wrote:
On Mon, Oct 31, 2011 at 12:52 PM,
It's a little more complicated than that.
2% of CPU usage in the background with the CPU running at normal speed is a
*lot*.
And really, an app in the background shouldn't be using any CPU. If it is
sitting there blocked waiting for something to do, it won't use any CPU.
The only reason it
The home button is not something applications ever see.
The back button is always required to be available on the device (even if
that is done through an on-screen affordance).
The search button has always been and is still one of many optional extra
keys.
The menu key until 3.0 was a required
On Tue, Nov 1, 2011 at 8:57 AM, Aki arnab...@gmail.com wrote:
I am using Google Analytics in my application.
GA is not part of the SDK, so you're going to be hard-pressed to get a good
answer here. Try the GA documentation and see if there is a forum or user
group. I'll try anyway.
I would
Another wrinkle is that Android devices aggressively scale the CPU, so 2% of
an essentially idle CPU may be a lot smaller because the CPU is running at
that point at a much lower frequency.
Ah, yes, I had supposed that this was the case, but wasn't sure on it.
--
You received this message
Why in the world would my app crash with a No such method Java error
on a statement like if (!myString.isEmpty() for a perfectly valid
String object? If I simply change it to if (myString.length() 0) it
works just fine, so it's not like I'm not pointing to a valid String
object or anything.
On Tue, Nov 1, 2011 at 3:40 PM, Doug Gordon gordo...@gmail.com wrote:
Why in the world would my app crash with a No such method Java error on a
statement like if (!myString.isEmpty() for a perfectly valid String
object? If I simply change it to if (myString.length() 0) it works just
fine, so
Because String.isEmpty() didn't exist in 2.2. You can verify this by
looking at
http://developer.android.com/reference/java/lang/String.html#isEmpty() and
checking the Filter by API level option at the top.
You should use TextUtils.isEmpty() instead.
On Tue, Nov 1, 2011 at 12:40 PM, Doug Gordon
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On 11/01/2011 12:40 PM, Doug Gordon wrote:
Why in the world would my app crash with a No such method Java error on a
statement like if (!myString.isEmpty() for a perfectly valid String object?
If
I simply change it to if (myString.length() 0) it
On 11/1/2011 3:45 PM, Marc Petit-Huguenin wrote:
The method String.isEmpty() exists only since Java 1.6/Android API 9.
Thanks. That explains a lot. This was a recent change. I thought surely
I'd used that method before, but when I searched my entire project,
isEmpty was nowhere to be found!
1 - 100 of 139 matches
Mail list logo