Nobody tells you to freeze the UI thread. Dig into source code, see
how Handlers, Looper and MessageQueue works and you'll get an idea how
you can implement everything on UI thread without having it frozen.
It's all about that.
On Aug 19, 6:35 am, Snowak psno...@gmail.com wrote:
What a wonderful
I'm trying to write an app that will simulate a driving route with
Google Maps Navigation.
I am using:
LocationManager locationManager =
(LocationManager)getSystemService(Context.LOCATION_SERVICE);
locationManager.addTestProvider(LocationManager.GPS_PROVIDER, false,
false,false, false, true,
Could you elaborate on the solution you found? I'm experiencing the same
view-restriction issue.
--
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
http://www.artfulbits.com/products/android/aiCharts.aspx
On Aug 9, 1:04 pm, Thulasi thulas...@gmail.com wrote:
Hi,
Is there any good Candle Stick graph libraries for android..??
i managed to find couple of evaluatory versions.. not sure if there is a
tested charting library for Candle Stick
http://www.artfulbits.com/products/android/aiCharts.aspx
On Aug 8, 12:45 am, niki nikhil2...@gmail.com wrote:
how to make chart component in android.
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to
Make sure yoy are not reopening batabase after you've opened it.
On Aug 4, 1:19 am, Dev_red sktniranjanad...@gmail.com wrote:
Thank you very much.
but i am getting this error..
Finalizing a Cursor that has not been deactivated or closed.
database =
Look at
http://developer.android.com/reference/android/Manifest.permission.html#KILL_BACKGROUND_PROCESSES
But I do agree with Mark. Please don't write anything like that.
On Aug 4, 5:20 pm, Mark Murphy mmur...@commonsware.com wrote:
On Thu, Aug 4, 2011 at 2:12 PM, vinaykant
I'm trying to dynamically create tabs and a tabHost based on XML that
I receive from an API.
The XML basically defines the UI and how the layout should be setup.
Here's an example XML snippet: https://gist.github.com/1119132
Traversing the XML and building most of the views is all working
decent
It's push. Android market (vending process on your device) keeps
passive connection with Android Market server. Same way Gmail app
works. This is why email delivery is instant.
On Aug 1, 7:23 pm, Jose_GD jose.gonzale...@gmail.com wrote:
Hi all,
I'm wondering how the Android Market's web app
First guess: have you tried moving heavy stuff to C/C++ and linking
via JNI?
On Jul 31, 3:35 pm, Peter Pippinger pe...@pippinger.de wrote:
Hello,
I have now completed my first app
(https://market.android.com/details?id=com.pippinger.android.frogthisw...).
For the music I was working
Omg! Are you serious?
On Jul 30, 11:37 am, ajaykumar kanchak ajaykumar.kanc...@gmail.com
wrote:
you need arrange the things like for example u may used only for
drawable ldpi, only but having mdpi ldpi hdpi so u have check out the
things may be it may work only landscape make it as potrait and
Press scroll lock button on a keyboard :)
On Jul 23, 2:16 pm, TreKing treking...@gmail.com wrote:
On Sat, Jul 23, 2011 at 2:11 PM, freeanderson freeander...@gmail.comwrote:
please stop logcat 'autoscroll' or please make its option.
It is an option. If you scroll to the bottom of the
Here's my list of the top ways I can think of to market your Android
app. If you have any suggestions to add please leave them in the
comments or email me at p...@bowen.fm. I've tried to order the list in
terms of risk vs effort vs reward to order in terms of which strategy
will have the most
GO thru SDK samples. They will give you generic idea of how that could
be implemented.
On Jul 15, 7:54 am, julious raj julious...@gmail.com wrote:
I want to create an application which stores the given data such as
name, DOB, address, mail, and etc., into sqlite database and then goes
to
: ***
[out/target/product/devkit8000/obj/SHARED_LIBRARIES/libcamerastub_intermediates/LINKED/libcameraservice.so]
Error 1
make: *** Waiting for unfinished jobs
~/work/0xdroid$
Best Regards,
Paul Chu
http://www.luke54.org/
http://www.luke54.org/耶和華我的磐石,我的救贖主阿,願我口中的言語,心裡的意念,在你面前蒙悅納。~詩1914
--
You
b_t, which device are you using? I'd like to be able to specifically
name the problematic devices until the issue is resolved.
Alex, do you have a list of devices?
The only device I've encountered with this problem is the Samsung
Galaxy S II and I've posted an issue on Android here:
You will have to supply Adapter for GridView in order to work.
Consider setting CHOICE_MODE_MULTIPLE as I assume you can have
multiple items toggled.
On Jun 19, 6:21 pm, Vault lord.va...@gmail.com wrote:
Hello,
I'm trying to obtain something
Your process will need permission to do that. ADB has it by default,
but regular apps don't. Unless you're rooted, you can't do that.
On Jun 2, 4:27 am, Bharathiraja R bharathiraja.andr...@gmail.com
wrote:
Hi All,
Want sample code to capture screenshot of current screen from phone,
same like
What you mention here is a thread starving. Generally, there are 2
solutions you can think of:
1. Don't send message to UI thread until prevoius one was dispatched
2. Remove message from UI thread before sending a new one
The mode you choose is up to implementation and depends on how
important is
Mention full package name in your XML file.
Like:
com.mypackage.views.ResettableChronometer
android:layout_width=fill_parent
android:layout_height=fill_parent/
On May 15, 1:59 am, Brian Carmicle brian.carmi...@gmail.com wrote:
Right now, I'm trying to extend Chronometer (1) with a class called
Seriously?
On Apr 30, 10:06 am, Fadil Kamal fadilkama...@gmail.com wrote:
how to accelerate the performance of my phone?
sometimes my phone lags
how to fix it?
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send
Why are you asking the same question all over the group?
On Apr 30, 10:02 am, Fadil Kamal fadilkama...@gmail.com wrote:
how to accelerate the performance of my phone?
sometimes my phone lags even force close
how to fix it?
--
You received this message because you are subscribed to the Google
decent()-acent()
On Apr 30, 5:49 am, a a harvey.a...@gmail.com wrote:
paint.measureText(text) return the width, how can i get the height
of the text?
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to
I am using eclipse and cannot find Keytool or Jarsigner . Where are they
accessed from?
--
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,
I tried to upload my apk file on android market and got the error message
that says Market does not accept apks signed with the debug certificate.
Create a new certificate that is valid for at least 50 years. Market
reqires that the certificate used to sign the apk be valid until at least
:30 am, Kostya Vasilyev kmans...@gmail.com wrote:
Paul,
Don't know if this is a typo, but - you have Uri.fromFile in the code
quoted below. That method makes a file:// Uri, which has nothing to do
with your content provider (or any other) - and that's why you are not
seeing a call to your
that I simply don't
have, Part.FILENAME (column fn) and then if not found, column
Part._DATA (column _data).
Any ideas how to respond to this?
On Apr 26, 3:30 am, Kostya Vasilyev kmans...@gmail.com wrote:
Paul,
Don't know if this is a typo, but - you have Uri.fromFile in the code
quoted below
.
Should I be looking for the file-specific uri in query() (those that
end with .png), and if that hits, then create and return a cursor that
contains the needed columns, fn, _data?
Thanks,
Paul
On Apr 26, 11:42 am, Kostya Vasilyev kmans...@gmail.com wrote:
Right.
Any sane application dealing
, then openFile() will be called at some subsequent stage
where I can then set the permissions as needed to give the send/share
functionality access to the private file as needed. Will post back
here once I have this implemented.
Thanks,
Paul
On Apr 26, 4:13 pm, Kostya Vasilyev kmans...@gmail.com wrote
on how to handle this.
Paul
On Apr 26, 4:13 pm, Kostya Vasilyev kmans...@gmail.com wrote:
26.04.2011 19:53, Paul пишет:
Right, but in my case I am dealing with a physical file, not data
stored in a database. I have physical .png files located in the
applications /files directory that I
Hello List:
Is it possible to define a private clipboard area per activity and/or
application? I'm looking for a solution that is supported in 1.5+.
Thanks,
..Paul..
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group
(R.string.note_default_mime_png));
share.putExtra(Intent.EXTRA_STREAM, Uri.fromFile(shareFileCopy));
startActivityForResult(Intent.createChooser(share, Share),
ACTIVITY_SHARE);
Thanks,
Paul
On Apr 23, 12:47 pm, Dianne Hackborn hack...@android.com wrote:
No shell commands are part of the SDK. Using shell commands
Ah I see, thanks. A few notes in-line below:
On Apr 25, 6:31 pm, Dianne Hackborn hack...@android.com wrote:
On Mon, Apr 25, 2011 at 2:27 PM, Paul pmmen...@gmail.com wrote:
So just to clarify (as I have no access to the other app and what it
calls, in this case the other app is the OS
On Apr 25, 8:55 pm, Dianne Hackborn hack...@android.com wrote:
On Tue, Apr 26, 2011 at 12:46 AM, Paul pmmen...@gmail.com wrote:
share.setType(getString(R.string.note_default_mime_png));
There is no reason for this string to come from a resource; it is not
something that gets localized
to work.
On Tue, Apr 26, 2011 at 2:04 AM, Paul pmmen...@gmail.com wrote:
On Apr 25, 8:55 pm, Dianne Hackborn hack...@android.com wrote:
On Tue, Apr 26, 2011 at 12:46 AM, Paul pmmen...@gmail.com wrote:
share.setType(getString(R.string.note_default_mime_png));
There is no reason
. These guys rock. Firmware procedures will void your
warranty so be careful.
Honestly, this forum is a bad place to ask questions like that. Go to
xda and read-read-read.
Paul.
On Apr 24, 12:41 am, Nicholas Key nicholaskeythole...@gmail.com
wrote:
Hi Android Dev group members,
I've been searching
, but still fails to change the file perms on Android:
Runtime.getRuntime().exec(setperm chmod 755 \/path/to/file name.png
\);
or
Runtime.getRuntime().exec(setperm chmod 755 '/path/to/file
name.png');
Any ideas?
Thanks,
Paul
--
You received this message because you are subscribed to the Google
Groups
$your_sdk_dir$/Android/platforms/android-8/ant
On Apr 14, 6:58 am, luiX_ lui...@gmail.com wrote:
please, can you provide a link?
thx :D
2011/4/14 Paul Turchenko paul.turche...@gmail.com
see sdk. They have all ant scripts implemented there.
On Apr 12, 9:14 pm, Sam samira_hi
Intercept onTouch event
On Apr 21, 8:18 am, swetha akkina.swe...@gmail.com wrote:
Hi,
I am developing a sample application, in which I need to handle mouse
events on table layout. Could you please let me know how to proceed
further.
Thanks in advance.
Regards,
Swetha
--
You received
Update your radio firmware
On Apr 20, 4:06 pm, JohnC fayv...@gmail.com wrote:
I have been researching for a long while and getting nowhere. Many
have asked along the lines of: What is the sanity behind the C2DM
message delivery delay? The delay, as slows as 30 minutes, is always
attributed
if it's possible to pass in increment values via
the .update() method's ContentValues parameter without having to first
run a query to find out the current (in my case, view) value?
Thanks for any pointers,
Paul
--
You received this message because you are subscribed to the Google
Groups Android
for an N+1 type backreference.
16.04.2011 20:59 пользователь Paul pmmen...@gmail.com написал:
I have an app that as the user opens 'things' from the ListView, I
want to update their view count as they are opened. Currently doing
this via raw SQL (...SET views = views + 1...), but would like
Are you starting activity that starts the service? Your logcat shows
that having activity thread. If it's not true, try sending pending
intent to start a service. That might be a workaround, but that should
get you moving.
On Apr 12, 2:14 pm, Te-Yuan Huang huan...@gmail.com wrote:
Hi all,
I am
Use adb to do that
On Apr 11, 10:12 pm, beeleo qf8@gmail.com wrote:
I want to send message from my android applications to application on
pc (like android as client, pc as server) , how can I connect the pc
actively? the android doesn‘t know the pc's ip, isn't it?
--
You received this
if a NDK-coded conversion
routine would be more efficient, or is this the wrong tree to be
barking up?
Any suggestions welcome!
Paul
--
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
The XML is the storage venue - Paths are drawn to the screen from the
XML, and users can add new Paths (written back to the XML) or delete
existing Paths (data is deleted from XML).
On Apr 14, 12:11 pm, Marcin Orlowski webnet.andr...@gmail.com wrote:
Any suggestions welcome!
How often the
/Number.init ()V = 30.3%
Paul
On Apr 14, 2:20 pm, Dianne Hackborn hack...@android.com wrote:
I think this may be what Marcin was suggesting -- if the same float value
tends to appear multiple times, then when you parse a new one put it into a
cache. When you read strings, first see if the string
I think Diane clarified what you were suggesting Marcin, thanks for
the input. Any suggestions as to the caching structure? I'd need
something with inexpensive lookups, yet can grow as I add pairings to
the cache.
Thanks,
Paul
On Apr 14, 12:11 pm, Marcin Orlowski webnet.andr...@gmail.com
webnet.andr...@gmail.com wrote:
On 14 April 2011 20:43, Paul pmmen...@gmail.com wrote:
Ah, I see, create a kind of mapping from String - float, and first
check the mapping before performing the conversion?
Try to go as simple as possible. The less logic the faster is would possibly
go. How
String.toLowerCase(String) and StringBuilder have to do with
parsing a floating point number?
-- Kostya
14.04.2011 22:43, Paul пишет:
Ah, I see, create a kind of mapping from String - float, and first
check the mapping before performing the conversion?
Here is what traceview is telling me
with results as I have them!
Paul
On Apr 14, 4:26 pm, Dianne Hackborn hack...@android.com wrote:
What version of the platform are you running on? It looks like in the
current source most of the function is written in native code, but there is
no native code in your profiling. I don't work
OK, have stripped the FloatingPointParser bare, but can't run it as
the native method, parseFltImpl() is throwing an
UnsatisfiedLinkError...
Maybe a silly question, but any ideas what to do from here?
On Apr 14, 4:57 pm, Paul pmmen...@gmail.com wrote:
Sorry, should have mentioned
I'd be interested to see how an SQLite implementation could work - you
could define each SVG document in a table, and then each shape from
that document in a second table, but where it would start to get
complicated would be that each shape each shape type has unique
properties. For instance, for
.
Thanks,
Paul
On Mar 22, 5:06 pm, Dianne Hackborn hack...@android.com wrote:
Why do you want this? It is used for some subtle event dispatching in the
view hierarchy to better select target views when touching near the edge of
the screen. I strongly recommend you not rely on it yourself
on them being reported when they
happen in ACTION_MOVE. Thanks so much for the clarification.
My impetus for wanting to make use of the edge flags was to save the
manual calcs, but that indeed should work and is what I'tt implement.
Thanks,
Paul
On Apr 6, 1:47 pm, Dianne Hackborn hack
, Chinmay S cvs...@gmail.com wrote:
Hi Paul,
As you suspect, the gallery depends on the mediascanner to update the list
of files.
The samsung MyFiles app will rescan/refresh the contents of a directory
every time you re-open the app.
To force a mediascanner update on a directory, you
I posted this over on StackOverflow weeks ago, but not even a nibble -
hoping someone here has seen this or has any suggestions.
http://stackoverflow.com/questions/5207221/android-problem-with-media-scanner-not-running
I have an app that user's can draw with, and then 'export' that
drawing as a
Nope.
On Mar 31, 3:13 am, ydm jordanmiladi...@gmail.com wrote:
Hello, all!
Is there a way to add another view inside a WebView?
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to
or InputFilter, but those seem to largely operate AFTER
input, rather than preventing it in the first place, which is really
what I am after.
Thanks for any pointers, or a quick 'not possible' if that is the
case.
Paul
--
You received this message because you are subscribed to the Google
Groups
I was hoping to hear something by now, but since nothing, I'll clarify.
HID iClass card transmits a public UID over 13.56MHz using the ISO 15693
standard. All I want to do is read that public UID from an HID iClass. Since
I can read the UID of an ISO 15693 it stands to reason that I should be
drawing app to report a
getEdgeFlags() value of anything other than 0.
Anyone else have this issue, or a workaround for it?
Thanks,
Paul
--
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
getScrollX() and getScrollY() methods should work for you (they have
other methods to access mLeft, mRight, etc.)
On Mar 22, 11:13 am, argongold argongol...@gmail.com wrote:
Hi,
I want to format my text for shortcuts as done in launcher
application. I've tried to copy BubbleTextView.java
On Mar 3, 1:05 pm, David Caunt dca...@gmail.com wrote:
Hi Mika,
In my case the GiffGaffAPN app actually doesn't seem to have added an APN
successfully, though other users report success in reviews.
I'm running a HTC Desire with a Sense ROM (rooted) so perhaps it requires a
stock
Hi,
I was working on something similar for the last few days.
You may find happiness there, thanks to aidl :
http://code.google.com/p/auto-answer/source/browse/trunk/src/com/everysoft/autoanswer/AutoAnswerIntentService.java
and more in the android doc :
Hi,
I've been working for a few days on something similar. Most forums
said it was impossible, however I managed to find my happiness in
google codes.
You should take a look at this example, with aidl interfaces :
On 15 Mar 2011, at 02:15, A. Elk wrote:
Good work. I have a couple of comments:
Glad you like it :-)
If you have POJOs in your code, you can test them with JUnit using a
standard mocking framework of your choice. The only limitations on
mocking are imposed by the Android system.
That's
me to
retrieve data like the track2 data from credit cards, assuming I know the
protocols to use?
-- Paul Christensen
On Fri, Mar 11, 2011 at 6:04 PM, Nick Pelly n...@android.com wrote:
Sorry for the late reply,
We have looked into this, and it is indeed a bug.
On 2.3.3, NfcA.connect
A mailing list for this would be awesome for me. I'm in a similar situation
to yours, and figuring out how to talk to these cards is going to be quite
the adventure, to say the least.
-- Paul Christensen
On Fri, Mar 11, 2011 at 10:25 PM, Brill Pappin br...@pappin.ca wrote:
laugh!
I just got
the
Android possibilities.
On a side note, you're going to love the Nexus S. I got one for myself as
soon as I was able, and the phone is awesome.
-- Paul Christensen
On Mon, Mar 14, 2011 at 9:47 AM, Brill Pappin br...@pappin.ca wrote:
indeed!
It's actually kind of worrying me :)
I do have external
Very helpful. Thank you.
-- Paul Christensen
On Mon, Mar 14, 2011 at 11:22 AM, Michael Roland mi.rol...@gmail.comwrote:
Hallo,
seems as if my previous message never arrived in this thread...
Can you tell me, will communicating through IsoDep still allow me to
retrieve data like
Can anyone tell me, does the nexus s support reading HID iCLASS cards? I have
not been able to scan them, but I don't know if this is due to the antenna, or
that they're simply not supported.
Thanks.
--
You received this message because you are subscribed to the Google
Groups Android
Based on what I'm seeing, I tend to agree. It's looking like I should be
able to accomplish most what I'm after without too much trouble.
-- Paul Christensen
On Mon, Mar 14, 2011 at 2:53 PM, Nick Pelly n...@android.com wrote:
Hi Paul,
My understanding is that those types of transactions
, if I change this method to be IsoDep instead
of NfcB (or NfcA, for that matter), I am able to successfully connect to the
card, send a message to the card, and retrieve a response from that card.
-- Paul Christensen
On Sun, Mar 6, 2011 at 10:06 PM, Nick Pelly n...@android.com wrote:
Hi Paul
and attempted to connect to the same cards using
IsoDep, which was successful.
-- Paul Christensen
On Mon, Mar 7, 2011 at 11:04 AM, Nick Pelly n...@android.com wrote:
I'll try and reproduce. But I just want to make sure, are you only
connecting NfcB / NfcA, and never connecting IsoDep first? Because you
I am experimenting with an NFC tag reader, and I've found that when I have
NFC turned on on my Nexus S, the tag reader is able to read my phone. The
problem is that when the reader reads my phone it is detecting a 4 byte Id
that changes on each read.
I'm investigating the possibility of an
Thanks.
-- Paul Christensen
On Mon, Mar 7, 2011 at 1:04 PM, Nick Pelly n...@android.com wrote:
On Mon, Mar 7, 2011 at 10:23 AM, Paul Christensen
p.ellischristen...@gmail.com wrote:
I am experimenting with an NFC tag reader, and I've found that when I have
NFC turned on on my Nexus S
Ok, so I've learned additional, somewhat less than encouraging things.
1. I have a Discover Zip card, no idea what the ISO technology is, all
I do know is the Nexus S does not respond at all to this card.
2. I have a Visa NfcB card that will connect as IsoDep, but not as NfcB.
3. I
I'm hoping someone can give me an idea of what's going wrong here. I am
trying to read an NfcB tag, but when I call NfcB.connect(tag) I'm getting an
IOException with a message of null.
When the card is scanned, I'm retrieving the Tag object. Once I determine
that I'm working with an NfcB tag,
I guess I should add that I am using API Level 10, and my Nexus S is at
2.3.3.
--
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
good thought, but that's not it. I can actually connect as an IsoDep tag on
this card, but I need to access it as IsoB.
--
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
it's a PayPass MasterCard. Pretty old one, at that, so I'm hoping it has a
damaged chip or something. I'm going to try to read some of the newer samples
we have in the office tomorrow, hopefully with better results.
--
You received this message because you are subscribed to the Google
Groups
it in onCreate...
is this typically how this would/could be handled?
Thanks,
Paul
--
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
, but I'd like to change this BEFORE it
gets to the provider, so that I can use the sort order set by the user
and stored in a SharedPreference.
Any idea where the live folder query is implemented and where the
default name ASC sort order is coming from?
Thanks,
Paul
--
You received this message
other suggestions?
Thanks forany info,
Paul
--
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
Bumping this message, as I too would be very interested in this...
On Feb 13, 10:16 am, neohacker arunscari...@gmail.com wrote:
Hi all,
I'm in the middle of an android app that need to check
whether the device is connected to another system or pendrive through
usb and if it is
I have created a DateIndexer class that mimics the AlphabetIndexer
class, except I can pass it an ArrayList of unique dates, and it will
generate the section prompts to a ListView when implemented. I'd be
happy to share this code once I have it finished... which brings me to
this question: The
Gah... it's a hardcoded value, and as you said, is instantiated
directly from AbsListView so I can't extend it and have it used by the
ListView... looks like a dead-end.
Any suggestions on getting around this, or is my DateIndexer dead in
the water?
Thanks for any insight,
Paul
On Feb 14, 1
Looks like there might be a solution here, disabling the FastScroller
then rolling your own:
http://stackoverflow.com/questions/3531398/resize-fastscroll-alert-dialog
So much work for such a simple feature...
On Feb 14, 1:30 pm, Paul pmmen...@gmail.com wrote:
Gah... it's a hardcoded value
mBitmap? Can anyone suggest a better way
to do this?
Thanks,
Paul
--
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
I'm not really crazy about the whole In App Billing thing. I'm selling
a paid app pretty successfully (so I guess kind of biased). Now here
comes in App billing, so everybody and their brother can offer a free
version of anything, then get people to buy up or unlock features
through In App
I am trying to add an arc to a path, but nthing gets drawn with each
call. I have ensured that the passed RectF oval is dimensioned
properly, and calls to Path.addOval(oval, Path.Direction.CW) work
perfectly, but calls to either of Path.addArc(oval, 0, 180) and
Path.arcTo(oval, 0, 180) fail
draw the exact same oval using addOval().
Paul
On Feb 3, 10:19 am, Paul pmmen...@gmail.com wrote:
I am trying to add an arc to a path, but nthing gets drawn with each
call. I have ensured that the passed RectF oval is dimensioned
properly, and calls to Path.addOval(oval, Path.Direction.CW
center
(x,y), so I could likely do some calculations relating to the known
window size, and these values to determine the corner, but just
wondering if there are any routines or better ways to handle this.
Thanks for any info,
Paul
--
You received this message because you are subscribed
Tried, no difference...
On Feb 3, 11:21 am, Kostya Vasilyev kmans...@gmail.com wrote:
Paul,
Perhaps you could try path.arcTo(oval, 0, 180, *true*); ?
03.02.2011 19:03, Paul ?:
Also, have tested this in both the emulator for Froyo, as well as on
Froyo hardware and the arcs
?
03.02.2011 19:41, Paul пишет:
Tried, no difference...
On Feb 3, 11:21 am, Kostya Vasilyevkmans...@gmail.com wrote:
Paul,
Perhaps you could try path.arcTo(oval, 0, 180, *true*); ?
03.02.2011 19:03, Paul ?:
Also, have tested this in both the emulator for Froyo, as well
, 10, 110, 110), 0, 360, true);
androidPath.quadTo(150, 100, 200, 200);
canvas.drawPath(androidPath, paint);
I've tried changing the constructor flags from the Paint (by removing
the Paint.ANTI_ALIAS_FLAG), changing the stroke width, changing the
paint style...
On Feb 3, 3:40 pm, Paul pmmen
Yes, that got it... mode 360 is 0 and a sweep of 0 means nothing is
drawn...
Thanks!
On Feb 3, 4:03 pm, Kostya Vasilyev kmans...@gmail.com wrote:
Paul,
Tried it out (Motorola Milestone).
The following works:
// -
Path androidPath = new Path();
Paint paint
You might also be able to scroll the text by restricting the ellipsize
the text by setting properties of the TextView to:
android:maxLines=1
android:scrollHorizontally=true
I do this with an EditText and it works perfectly.
Paul
On Jan 28, 7:54 pm, John Lussmyer johnlussm...@gmail.com wrote
It looks like Android is still using the default color state list for
the button. I've never used a state list for a button, but maybe
capturing the android:state_selected state might help?
Paul
On Jan 28, 6:01 pm, Jarrette jarrette.sch...@gmail.com wrote:
*thanks for the reply, doug. Here's
Store and access it from /res/raw should work, I have a text file in
that folder for an app of mine and no problem with the app accessing
that file after installation to devices.
Paul
On Jan 28, 7:51 am, Marcin Orlowski webnet.andr...@gmail.com wrote:
On 28 January 2011 11:34, Kumar Bibek
101 - 200 of 514 matches
Mail list logo