AFAIK there is no equivalent widget for a UITableView in Android. I
emulated it using a ListView and a custom ListAdapter implementation
that wraps the tree data model.
Pepijn
On 07/11/2011 00:09, bob wrote:
I'm working on converting an app from iPhone to Android.
Here's a screenshot of the
Override ContentProvider#applyBatch, start a transaction on your
database, apply all the operations and then commit (or rollback) the
transaction. The default implementation delegates each operation to the
corresponding ContentProvider method so you can probably do this as:
startTransaction
more people would be complaining...
Pepijn
On 21/10/2011 17:36, Pepijn Van Eeckhoudt wrote:
In my project I've implemented a custom view that does a substantial
amount of processing when rendering itself. When I attach the debugger
to my application I'm experiencing so much slowdown
On 26/10/2011 01:14, Doug wrote:
Emulator or device? The emulator is already slow, and it will only
get worse if you attach a debugger to it.
This is on real devices. I'm currently testing on an HTC Desire but this
happens on all our test devices; all of which are rather high end phones
and
by this; otherwise
more people would be complaining...
Pepijn
On 21/10/2011 17:36, Pepijn Van Eeckhoudt wrote:
In my project I've implemented a custom view that does a substantial
amount of processing when rendering itself. When I attach the debugger
to my application I'm experiencing so much slowdown
In my project I've implemented a custom view that does a substantial
amount of processing when rendering itself. When I attach the debugger
to my application I'm experiencing so much slowdown that the application
is essentially not useable anymore. Due to the increased time taken by
certain
On 04/07/2011 03:19, NikolaMKD wrote:
Save it as resource in raw folder, load it as resource then try to
copy it into app path. It does not need to be inside /databases
folder. It can be anywhere (SDcard not recommended)
Why is copying onto the sdcard not recommeded?
Pepijn
--
You received
Paint#setStrokeWidth
On 28/06/2011 20:23, Brian Hodge wrote:
Hey,
I've been looking around for a while now and can't really find much of
the subject. I've got a sudoku puzzle on the go to try and learn how
to use Android. The problem i have is that i want the smaller 3x3
grids to have a thin
Indeed. In 10.0 it's only in ultimate edition but in 10.5 it's available
in the community edition as well. When you're working on an Android
project (i.e., a project with at least one Android module in it),
there's a tab in the bottom tabbar titled 'Android Logcat' that does
exactly what you
When I add a new email account via the 'Accounts Sync' settings screen
a full screen activity appears that takes you through the account
configuration process. If I do the same thing for my own custom account
type, the content view of my account setup activity is displayed in a
small dialog
On 11/06/2011 20:25, Mark Murphy wrote:
On Fri, Jun 10, 2011 at 9:12 AM, Gorav Singaltechi...@gmail.com wrote:
Actually, I want to have mobile application running in background. And, I
have a java application running on desktop, which will send commands through
socket. And, the device
You could use the group_concat aggregation function to concatenate the
category titles. That way you'll only have a single row per post.
Another alternative is to simply not use CursorAdapter but write your
own work-alike instead, possibly starting from the CursorAdapter source
code.
Pepijn
Have a look at the 'Search' documentation
(http://developer.android.com/guide/topics/search/index.html). Not
exactly what you're trying to do, but it's close enough that it should
give you some inspiration.
Pepijn
On 10/06/2011 11:21, MOHIT SHARMA wrote:
Hi ,
Can anybody tell , how create a
If you're trying to test your own application code you can do this via
the Instrumentation API.
Pepijn
On 10/06/2011 14:34, Mark Murphy wrote:
On Thu, Jun 9, 2011 at 3:41 AM, goravtechi...@gmail.com wrote:
I want to simulate keyboard events, touch events on screen. And, I
don;t want to have
You need to wrap the Bitmap in a NinePatchDrawable in order to get the
stretching behavior.
Pepijn
On 08/06/2011 13:57, Raj wrote:
Hi
I am trying to rotate a draw 9 image horiontally. But all the
stretching is done.
Bitmap bmp =
It doesn't seem to be documented but I would assume they are using
WGS-84. GeoPoints are as a lon/lat coordinate so that rules out usage of
projected grid coordinates. The correct definition of the 'google
projection' can be found in epsg:3857. That essentially says to project
WGS84 ellipsoid
@googlegroups.com
*Subject:*Re: [android-developers] Phone for development
Thanks Pepijn. That helps a lot. I'll most probably do with a HTC now.
Thanks everyone.
On Wed, Apr 27, 2011 at 8:45 PM, Pepijn Van Eeckhoudt
pep...@vaneeckhoudt.net mailto:pep...@vaneeckhoudt.net wrote:
On 27/04/2011 16
On 27/04/2011 16:12, Raghav Sood wrote:
Okay. I'll check that out. Still can someone suggest a reasonably
priced android 2.2 or above phone?
Thanks
Since no one's giving you any advice I'll give it a try ;)
The dev phones I use myself are Motorola Milestone XT720, HTC Desire,
Samsung Galaxy
On 27/04/2011 17:37, MichaelEGR wrote:
Should I file a bug? I've already spent too much time tracking down
the problem to create a separate test case. I'm now not going to have
a private beta for I/O as it is due to this delay.
So many words and you still didn't actually say what
On 26/04/2011 07:54, Romain Guy wrote:
What is the G-Slate you keep referring to??
LG's honeycomb tablet
http://www.lg.com/us/mobile-phones/tablets/LG-V909.jsp I guess.
Pepijn
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to
You can get various text size values either using Paint#getFontMetrics
or Paint#getTextBounds.
Pepijn
On 24/03/2011 08:55, a a wrote:
I want to draw a text and rect like following:
1.a, b, c, d are vertex, actually, there is not exist the four vertex.
here is just for mark the rectangle.
2.
I've never done this myself, but from reading the InputMethodManager
documentation I get the impression you need to override
View#onCreateInputConnection(EditorInfo) in order to directly interact
with an IME.
Might be worth a shot...
Pepijn
On 24/03/2011 13:26, Rich E wrote:
On Tue, Mar
You can use ContentProvider#bulkInsert or ContentProvider#applyBatch to
do a bunch of operations in one go.
Pepijn
On 23/03/2011 08:59, ydm wrote:
Hello!
I have to insert around 100 rows in a sqlite db at once (trough
content provider). Is there any way to make it process all the queries
at
On 16/03/2011 14:05, guich wrote:
Its really a shame that this can't be done. I never found a solution,
in any other threads. Boy, i miss Windows Mobile, with their
SystemMetrics api.
Have you tried reuse the correct style/theme
(http://developer.android.com/guide/topics/ui/themes.html)?
Bit
In my app I'm drawing polygons using Canvas#drawPath. The polygons are
stroked with a stroke width 1.
In order to zoom in and out on the polygons I tried setting a scaling
affine transform on the canvas, but this causes the stroke width to be
scaled as well. At scale 1 and stroke width 5 the
As far as I can tell the current version of renderscript only supports
single precision floating point. Is this correct?
Pepijn
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to
http://en.wikipedia.org/wiki/Mipmap
On 15/02/2011 10:33, Gary Wang wrote:
Dear all,
I found the following resource folders are existing in Honeycomb-
version Borwser apk.
mipmap-hdpi
mipmap-mdpi
The meaning of mipmap resource is not listed in its SDK's
documentation.
Can anyone help to
On 15/02/2011 15:03, Deepak Kumar wrote:
One of the solution can be multiplying these values
with ratio (according to device).Is there any other way to do the same?
In code, I define constants in 'dp' and then multiply with
DisplayMetrics#density
Adding android:configChanges=orientation to activities that handle
orientation changes themselves should do the trick. Of couse, it becomes
your own responsibility to handle the config change properly then...
Pepijn
On 14/02/2011 17:13, Kim wrote:
Thanks Diane.
I see my thinking was wrong. I
What is the recommended way of distributing a reusable library (i.e.,
jar file, assets, documentation, sample code)?
One possibility I'm considering is an sdk extra (the same way for
instance the google market_licensing library is made available in SDK
manager. Is this a supported mechanism
On 07/02/2011 13:45, Mark Murphy wrote:
On Mon, Feb 7, 2011 at 6:00 AM, Pepijn Van Eeckhoudt
pep...@vaneeckhoudt.net wrote:
ZIP file, backed by a GitHub repo or the equivalent.
It's a closed source project so no Github or the like.
One possibility I'm considering is an sdk extra (the same
On 04/02/2011 22:12, mot12 wrote:
Any suggestion as to why a phone may reboot are highly welcome.
I've only been able to make phones reboot by triggering a
crash/exception in a system process. This is standard Android behavior
as far as I can tell.
This happened to me when I was
what is
going on; it is *extremely* helpful in a bug you file since the
engineer can very likely tell what the problem is and how to fix it
from the log.
On Mon, Feb 7, 2011 at 9:15 AM, Pepijn Van Eeckhoudt
pep...@vaneeckhoudt.net mailto:pep...@vaneeckhoudt.net wrote:
On 04/02/2011 22:12
I think AccountManager#setUserData is what you should use to store additional
account data. At least that's what I did in my application and it works as I
expected.
Pepijn
Op 26 Jan 2011 om 21:58 heeft Dmitri Plotnikov dplotni...@google.com het
volgende geschreven:
I think it is just a
I tend to prefer the handler approach over synchronized methods just because
it's less easy to shoot yourself in the foot if only a single thread touches
your data structures.
Performance wise there shouldn't be any fundamental difference between the
handler approach and the synchronized
I've implemented a custom ContentProviders that calls notifyChange
passing in null as the ContentObserver. There doesn't seem to be a way
to pass a ContentObserver to a ContentProvider so that's the only option.
I would now like to avoid receiving self notifications for changes I
make via my
Hi,
Quite often when I launch an Activity using startActivityForResult I
need to store some context data that will be needed in my
onActivityResult implementation. (e.g., a reference to some in memory
data that will be modified after the child activity finishes). The data
in question is
Hi,
Quite often when I launch an Activity using startActivityForResult I
need to store some context data that will be needed in my
onActivityResult implementation. (e.g., a reference to some in memory
data that will be modified after the child activity finishes). The
data in question is transient
38 matches
Mail list logo