Hi,
I've got a multiplayer game where users can play up to 5 games at a
time for free. I'd like to offer the option to pay $N to play up to 10
games at a time.
This seems likes a perfect use-case for paypal, but it sounds like the
marketplace terms forbid this. The 30% cut that marketplace would
Hi,
It looks like the android team will be investing more resources in
support / improvement of the HttpURLConnection class, based on this
dev post here:
http://android-developers.blogspot.com/2011/09/androids-http-clients.html
"For Gingerbread and better, HttpURLConnection is the best choice"
"N
Hi,
I'm seeing a bug in webview, same as in this thread:
https://groups.google.com/group/android-developers/browse_thread/thread/92d6f063682d2ca4/2c56e6e85c51e507
I've found that someone has posted a workaround, wondering if anyone
has tried it?:
http://www.zubha-labs.com/workaround-for-nu
Perfect, thanks.
On Jul 11, 3:59 pm, Mark Murphy wrote:
> http://stackoverflow.com/questions/2870906/adding-pictures-to-the-gal...
>
>
>
>
>
>
>
>
>
> On Mon, Jul 11, 2011 at 3:55 PM, Mark Wyszomierski wrote:
> > Hi,
>
> > If I create a folder
Hi,
If I create a folder on my sd card, and store images there (test.jpg
etc), the built-in gallery app will see them whenever I restart the
phone (nexus s, galaxy s). Is there a way to hint the gallery app to
scan the sd card for media (a specific folder would be great).
Otherwise I have to tell
Hi,
I have a WebView in my activity which loads some html pages which have
timers. I can see the timers continue running after exiting the
activity by logging WebViewClient.onLoadResource() statements.
I have tried calling resumeTimers() + pauseTimers() in my onResume() +
onPause() methods. Also
m, TreKing wrote:
> On Tue, Jun 21, 2011 at 10:41 AM, Mark Wyszomierski wrote:
>
> > Are there any terms of service for using MyLocationOverlay along
> > with MapView?
>
> 5 second Google search:http://code.g
Hi,
Are there any terms of service for using MyLocationOverlay along with
MapView? I have a MapActivity where I am showing the user's most up to
date location in a TextView, and the MapView is below that. The user
has the option to hide the MapView if they don't care to see it, but I
continue gett
going on?
>
> > On Jun 11, 1:51šam, Kostya Vasilyev wrote:
>
> > > Mine stopped appearing in searches by name. Will try to make a dummy
> > > change
> > > as well.
>
> > > --
> > > Kostya Vasilyev
> > > 11.06.2011
Jun 10, 11:58 pm, Mark Wyszomierski wrote:
> Hi,
>
> I have a few apps in the marketplace. One of them no longer appears in
> searches, and if I look under the "other apps from this developer"
> page for myself, it doesn't appear there either. I can see the app ok
>
I doubt it's possible it'd be a huge security issue.
On Jun 10, 11:11 pm, treyb wrote:
> I am trying to make an app that will run like a service and add a menu
> item (Print Button) to other apps like the web browser and such. How
> can I accomplish this if at all possible?
--
You received thi
Hi,
I have a few apps in the marketplace. One of them no longer appears in
searches, and if I look under the "other apps from this developer"
page for myself, it doesn't appear there either. I can see the app ok
using its direct url, and it also appears ok in my marketplace control
panel. There ar
Hi,
I've got some NFC tags and have written some data into them using the
NXP Tag Writer app available from marketplace.
After writing some data in the tag, I'd like to remove write-access to
it so people can't overwrite the tag data. Using the Tag Writer app, I
get a message stating that write p
I see the -1 behavior when using HttpURLConnection with https. It
doesn't happen every other time, but near enough. I couldn't find any
answers to this (works as expected with http). I just put a try /
catch block and give three tries to the connection:
for (int i = 0; i < 3; i++) {
try {
>> Not all devices use 24-bit color buffers. Some are 16-bit
Good point. I saw this on the N1, nexus S for sure, can't remember
where else I saw it.
On Apr 26, 5:08 pm, Kostya Vasilyev wrote:
> PNG is lossless, it's basically LZW or something similar applied on a
> per-block basis, IIRC. JPG is t
I've seen render issues like this. I think one example was putting a
png with a flat color next to a view with its background color
specified with the same hex value. They won't match. It makes it
really difficult to make portions of your layout blend together.
Example:
I'm sure the png I
Ok thanks for confirming Tre, I saw this happen about a year ago but
was hoping it had been resolved by now,
Thanks
On Apr 25, 4:49 pm, TreKing wrote:
> On Mon, Apr 25, 2011 at 3:21 PM, Mark Wyszomierski wrote:
> > I'm just wondering which numbers to trust here,
>
> None
Hi,
When you log into the admin console for android marketplace, we see
two numbers:
N total
N active installs (M%)
These numbers appear to get "stuck" for me quite regularly. The new
hyperlink named "stats" shows me active installs per day which seems
to really be updated daily. I am al
Hi,
The TabWidget widget used to have a drop shadow below the tabs. This
seems to be gone in android 2.3. Is that right?
Thanks
--
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@google
Hi,
If I declare my application to be able to read NFC tags using the
following:
and the user chooses my app as the default for further reads, we're
essentially wiping out the chance for any other app in the system to
handle tag reading?
Just wondering how we'll bal
Hi,
I have an activity for which I'd like to intercept some urls. I have
the following in my manifest:
However, it seems like any url I click is getting caught by the above
pattern:
www.example.com // matched
www.example.com/foo //
I did the same, wrap all analytics calls in a try/catch block,
Mark
On Mon, Jan 3, 2011 at 3:39 AM, blindfold wrote:
> Well, after another user apparently had 6 crashes in 2 minutes from
> GoogleAnalyticsTracker.trackEvent() right when launching my app, I've
> updated my app to wrap all Google A
Hi,
I'm using google analytics in my app. I am getting a good number of
force closes from users, finally got a stacktrace:
Caused by: android.database.sqlite.SQLiteException: file is encrypted
or is not a database
at android.database.sqlite.SQLiteDatabase.native_setLocale(Native
Method)
at
an
Anyone word on this from google?
I am distributing a pretty popular app and this error has popped up a
few hundred times now in the marketplace crash report. I can't really
do anything for these users except ask them to run something like Log
Collector but it's a slim chance they'll do that (no ta
Hi,
I was looking at using google analytics for android. We can use the
basic template below to record "page views":
public class MyActivity extends Activity {
private GoogleAnalyticsTracker tracker;
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCre
Hi,
I've got a pretty standard list control, it's got about 4 lines of
text. Some of the text in each row might start a new activity when
clicked, like:
Row 1
John Doe [clickable, starts activity]
1234 Main Street [clickable, starts activity]
Last Read: The Great Gatsby [clickable, starts
Yes this continues to be a problem, seeing a good number of updates hanging
in marketplace as reported by users. The app in question is a free app,
nothing has changed in signing procedures etc. Wonder if there is any
official word from google on what's going on?
Thanks
On Thu, Oct 28, 2010 at 7:
Nevermind, the different xml files are ok. My second xml file had a
raw string in it which does not work (everything must use string
references to strings.xml).
On Oct 29, 1:56 pm, Mark Wyszomierski wrote:
> Hi,
>
> I am supporting search in my app, I'd like to display a unique
Hi,
I am supporting search in my app, I'd like to display a unique hint in
the search box depending on what activity is being viewed. To that
end, I have a two different searchable.xml files in my xml folder:
searchable.xml
searchable_activity_foo.xml
When I reference searchable.xml, everyth
I've been seeing a lot of errors with downloads from marketplace
recently, don't have any more detailed info than that. I've had to
tell users to delete the app, then install fresh. If the user is just
trying to update the app, the download seems to get stuck - never
starts, just sits there saying
Hi,
I have a TabActivity. Each tab hosts its own activity. I wanted to use
a custom titlebar. I don't believe it's possible to access the custom
titlebar from the child activities:
// main tab activity
public class MainTabActivity extends TabActivity {
protected void onCreate(Bundle saved
Hi,
I have a TextView. I am setting its textAppearance attribute, as well
as autoLink="all":
With this configuration, items do get linkified, but the text for them
is invisible. For example, the input:
"Hello, welcome to http://www.google.com!";
will linkify the url correctly, but it wil
Hi,
I created a signed apk. I uploaded it to marketplace as usual. I also
installed a copy of it on a device directly, perhaps as an email
attachment.
If I upload an updated version of the app to the marketplace, will the
device be notified that a new version of the app exists on
marketplace? Or
Hi,
I have a PreferenceActivity. Is there a way to change the color of
each section title?:
http://schemas.android.com/apk/res/android";>
// <--
http://groups.google.com/group/android-developers?hl=en
ayout in the general /layout folder would be used?:
Thanks
On Sep 14, 3:21 pm, Kostya Vasilyev wrote:
> I wonder what would happen of you used RelativeLayout for the entire list
> item.
>
> --
> Kostya Vasilyev --http://kmansoft.wordpress.com
>
> 14.09.2010 23:04 польз
>> Market won't let you upload two different apps with the same package
name.
Ah ok that's what I was thinking. Ok thanks for all the info,
Mark
On Fri, Sep 24, 2010 at 1:37 PM, Pent wrote:
> > They'll both have the same package names. Should I just change the
> > 'versionName' in the manifes
PM, TreKing wrote:
> On Fri, Sep 24, 2010 at 11:32 AM, Mark Wyszomierski wrote:
>
>> Any way to do this?
>>
>
> Set the 1.5 version to max and target SDK = 3 and the 1.6+ version to
> maxSDK = 8 (or whatever) and target to whatever you prefer, then update to
> Market
Hi,
Is there a way to leave a version of an app on the marketplace (which
is 1.5 compatible) and then put up a new version which is 1.6 and
above compatible? The idea being that any 1.5 users going to
marketplace can only download the 1.5 version, everyone else sees the
1.6+ version?
I'm running
Hi,
I have a ListView, my rows each have a background drawable set. One
strange quirk is that if I have a row selected (it is orange now),
then hit the context menu, the orange focus color is lost, the row
background is made transparent. When I dismiss the context menu,
orange focus is returned to
Yeah I think by default if the app is not resumed for some period of
time, android will restart the app instead of resuming it:
http://developer.android.com/guide/topics/manifest/activity-element.html
look at: "android:alwaysRetainTaskState"
On Sep 23, 11:01 am, Albert wrote:
> Hi,
>
> I'm hav
Hi,
I'm trying to make a compound control which looks like the following:
...
I want to fill a horizontal linear layout with as many image views as
possible - but only a single row of them. I'm not sure where to add
the image views to the layout at runtime, I am getting incon
Hi,
I have a linear layout that is focusable, I'd like it to use the same
background drawable as found in listview items:
StateListDrawable sld =
(StateListDrawable)context.getResources().getDrawable(
android.R.drawable.list_selector_background);
linearLayout..setBackgroundDrawabl
iew where you currently
> specify a color constant?
>
> --
> Kostya Vasilyev -- http://kmansoft.wordpress.com
>
> 18.09.2010 19:35 пользователь "Mark Wyszomierski"
> написал:
>
>
> Yeah I guess that's why I'm confused, the alpha of my png is 100%. So
l make a separate test app to try and demo it,
Thanks
On Sat, Sep 18, 2010 at 11:21 AM, Mark Murphy wrote:
> On Sat, Sep 18, 2010 at 11:17 AM, Mark Wyszomierski
> wrote:
> > I'm not quite sure what's going on - if I specify the color in my layout
> xml
> > like so wit
is showing it as a different type of grey. Did I
miss what you meant by alpha channel difference, Mark?
Thanks
On Thu, Sep 16, 2010 at 9:59 AM, Mark Murphy wrote:
> Might be an alpha channel difference.
>
> On Thu, Sep 16, 2010 at 9:51 AM, Mark Wyszomierski
> wrote:
> > Hi,
>
ou could pass various commands encoded in the
> URI, returning results in your own Cursor implementation.
>
> If you are keen on using intents, though - your code is pretty close,
> but you need to use startActivityForResult rather than startActivity, so
> that you ca
Hi,
I've got an application, and I'd like to publish a way for third-party
services to get data from it. Ideally I could expose this through
intents, as in the following pseudocode:
// third party apps
class ThirdPartyService extends Service {
@Override
public void onCreate()
Hi,
I've implemented parcelable on a class of mine per the doc
instructions, works fine:
public class MyParcelable implements Parcelable {
...
public static final Parcelable.Creator CREATOR
= new Parcelable.Creator() {
public MyParcelable createFromPar
Hi,
I have a 9 png which is used as the background of a view, the
stretchable region has a color of:
#ebebeb
I have a view next to it, and I've set its background color like so:
when the two views are beside one another, you can clearly tell that
the colors are not the same, they're diff
state which happens
when the list is being animated maybe? I'm not sure what other
combinations I can try here in attributes on the text views, I was
hoping that setting:
android:ellipsize="none"
android:singleLine="false"
would get around whatever state it being hit
Cool I'll check out those facilities. Pasting the exact layout below.
I can't nail down exactly what's causing this. The first render of the
listview works ok. The first attempt to scroll generates the exception
(pasted below). I tried using a 9 png drawable direct from the android
project, same be
Yes, I can easily set the background drawable in java code at runtime,
it would just be easier to maintain if I could specify the quirk in
the xml file - just wondering if there's a way to do it, if not, I'll
just modify at runtime,
Thanks
On Sep 14, 10:18 am, Frank Weiss wrote:
> You understand
Hi,
Is there a way to specify a background in a layout based on OS
version?:
android:background_1.5="@color/white"
android:background_above_1.5="@drawable/mybackground"
I'm running into a problem where using a 9 png drawable for the
background causes a stack overflow exception on a listview
Hi,
Is TabWidget.setDividerDrawable() functional? I'm trying to use it,
passing it a 1px-wide 9 png stretchable, but no dividers are drawn
between my tabs:
tabWidget.setDividerDrawable(R.drawable.myDivider);
when used, touches then seem to break, like if I tap the 1st tab, the
3rd then gets se
I had similar problems trying to get a smooth game loop going, I just
couldn't get rid of gcs happening (I think some were occurring outside
my app too). I think I had removed everything from the draw loop in
frustration except for drawing a rectangle, but would still get the
bumps. That was about
Hi,
I've got a TabHost/TabWidget, I'm supplying custom views for each of
the tabs, works great. I'm not sure if setting the divider drawable
and the left and right strips is working as I'm assuming. Basically I
supply a drawable, and no divider is drawn, nor is the left/right
strips. Are those met
Hi,
In a ListView, disabled elements don't get their divider drawable
drawn. Is there a way to change that? I always would like the dividers
drawn, regardless if an element is disabled. This post is pretty close
to what I'm looking at:
http://groups.google.com/group/android-developers/browse_thre
Hi,
I have a button, and am applying a text style to it:
the color defined in the style doesn't get applied to the button
though:
- 18dip
- #F00
the other style elements do get applied though (lik
I think you'd have to use static variables (a singleton could be
nice), write to the prefs, stuff like that.
On Sep 8, 1:31 pm, tatebn wrote:
> If I have a tab activity with multiple tabs, each containing a
> different activity, is it possible to have a variable in the tab
> activity and access i
Hi,
How can we pass through a text style to our own compound control? For
example, I have the following:
com.me.test.MyCompoundView
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:textAppearance="@style/TextStyleFoo"
public class MyCompou
is
> initialized.
>
>
>
>
>
> On Fri, Sep 3, 2010 at 3:20 PM, Mark Murphy wrote:
> > On Fri, Sep 3, 2010 at 6:01 PM, Mark Wyszomierski
> > wrote:
> > > Ah well, is there any better and new way of setting pixel sizes at
> > > least for a view? For example,
e for me? I doubt
it, but just wondering if there's some way to utilize the dip system,
Thanks
On Sep 3, 2:51 pm, Mark Murphy wrote:
> On Fri, Sep 3, 2010 at 5:42 PM, Mark Wyszomierski wrote:
> > Is there a way to set a style for a View at runtime?
>
> Not that I am aware of
Hi,
Is there a way to set a style for a View at runtime? I've seen this
question a few times on the board here but no answers, so probably
not:
// later...
ImageView iv = (ImageView)findViewById(...);
iv.setStyle(R.style.myotherstyle);
is it not possible to do something like this? We
pters, they just won't do anything with them.
>
> Do be sure of course to test your code on an older platform to be sure all
> is well, though.
>
> On Fri, Jul 30, 2010 at 11:17 AM, Mark Wyszomierski wrote:
>
>
>
>
>
> > Hi,
>
> > I'm looking
Hi,
I'm looking at the sample sync adapter here:
http://developer.android.com/resources/samples/SampleSyncAdapter/index.html
I'd like to still support sdk level 3 and 4 devices. Will including
the following lines in my app's manifest be problematic?:
are these specific to sdk level 5?
I have to check again, but I thought webview won't center and zoom a single
image for you. It will just show the full size image, if it's larger than
the phone screen, it'll just scroll off.
On Thu, Jul 15, 2010 at 4:33 PM, Maps.Huge.Info (Maps API Guru) <
cor...@gmail.com> wrote:
> You can alway
Hi,
I'm trying to use an image-display intent to..display an image:
Uri uri = ...;
Intent intent = new Intent(android.content.Intent.ACTION_VIEW);
intent.setDataAndType(uri, "image/" + extension);
startActivity(intent);
this works well, but some devices have image viewers that ha
Hi,
There's no method available to us to display a callout / bubble above
an ItemizedOverlay item when, tapped, right? I don't think there is,
just wondering if I'm missing this in the docs before I start my own,
Thanks
--
You received this message because you are subscribed to the Google
Group
Awesome, will check it out, thanks Mark.
On Jun 15, 3:29 pm, Mark Murphy wrote:
> On Tue, Jun 15, 2010 at 6:24 PM, Mark Wyszomierski wrote:
> > I've made an activity which uses some image resources. I'd like to
> > make it available to other projects by packaging it as
Hi,
I've made an activity which uses some image resources. I'd like to
make it available to other projects by packaging it as a jar. The
project is opensource - the goal of making it a jar would just be
convenience for the end developer.
I'm not sure that this is possible though - since the jar i
Hi,
Anyone try using the facebook sdk for android?:
http://github.com/facebook/facebook-android-sdk
there are a few problems with it, most frustrating is that they're not
managing the login dialog correctly - rotating the device will hide
the dialog and leak it, sigh.
I was going to repackage
Things seem to be getting back to normal, foursquare is now appearing for
those users again (it was affecting users on evo, eris, possibly others). I
hope everything is ok for others now too,
Thanks
On Tue, Jun 8, 2010 at 6:13 AM, Mark Wyszomierski wrote:
> Thanks, Mark, will try getting
Thanks, Mark, will try getting in touch with them,
Mark
On Jun 8, 5:47 am, Mark Murphy wrote:
> Mark Wyszomierski wrote:
> > I'm working on a project (Foursquare). I pushed a new version to
> > marketplace last night, but it is not showing up in marketplace
> > searche
Hi,
I'm working on a project (Foursquare). I pushed a new version to
marketplace last night, but it is not showing up in marketplace
searches for Evo users. I've read about this happening to other apps,
and one major reason seems to be if copy protection is being used (but
it is not for the Foursq
Hi,
If I do:
for (int i = 0; i < 3; i++) {
NotificationManager.notify(i, notification);
}
I'll get three notification icons on the notification bar, and three
list items in the pull down. Is there a way to use only one icon on
the notification bar, but still keep three entries in th
Hi,
My app schedules an alarm, like:
AlarmManager mgr = (AlarmManager)context.getSystemService(
Context.ALARM_SERVICE);
mgr.setRepeating(...);
with the alarm scheduled, what happens if I release a new version of
my app, and the user upgrades the app? Will this alarm be removed? Or
will
If I understand your question correctly, then yes.
In your manifest, just set the following:
the app will still work on 1.5+. Just make sure you don't use any SDK
methods that don't exist on earlier platforms without checking the
user's local sdk version.
On May 11, 9:53 am, HeHe wrote:
> t
Hi,
I have an app which does some work with local businesses. I'd like to
offer the user a button which could bring up a google business page
for the business. These pages look like:
http://maps.google.com/places/us/san-francisco/guerrero-st/600/-tartine-bakery
if I have a name of a busines
Hi,
What is the effect of calling setContentView() in an activity twice?
My situation:
class A extends Activity {
protected TextView mLabel;
public void onCreate() {
super.onCreate();
setContentView(R.layout.a);
mLabel = (TextView)findViewById(R.id.la
Hi,
Really general, very new to bluetooth. Can we have one android device
broadcasting a simple 'hello' bluetooth network (maybe a radius of
just a few feet) - then when other android devices come into that
area, reply with a 'hello' back? The client devices moving through the
'hello' radius would
Hi,
Is there a way to set a Spinner's selection to 'none' ? When my
activity launches, it looks like a spinner will automatically select
the 0th element in the spinner. I'd like to explicitly make the user
choose a selection instead.
Thanks
--
You received this message because you are subscribe
Hi,
I have a Spinner in a resource file. I'm giving it an
ArrayAdapter to show.
What's the right way to style the font used by the spinner? I'd like
to change the size of the text and its color. I tried:
but it's not being honored,
Thanks
--
You received this message because you are subsc
Long-click is a cool mechanism for exposing more options, it would be
neat if there was some UI guideline that the android team could come
up with to indicate to users that a row has this capability,
Thanks
On Mar 23, 5:58 pm, Mark Murphy wrote:
> Mark Wyszomierski wrote:
> > I have a
Hi,
I have a ListView. I let the user perform some action on a long-click
(pop up a picker dialog with a few choices) on row items.
Is there any typical UI mechanism that should be used to let the user
know that they can long-click a row item? Right now I feel like users
would have no idea to lon
18, 12:47 pm, Mark Murphy wrote:
> Mark Wyszomierski wrote:
> > Yeah that definition is perfect, having a little trouble implementing
> > it though.
>
> > I'm just trying to use:
>
> > File file = getFilesDir();
>
> > this points to:
>
> >
.xml. If so, is there a proper way to resolve
that path other than kind of hard-coding it into my app?
Thank you
On Mar 18, 11:50 am, Mark Murphy wrote:
> Mark Wyszomierski wrote:
> >>> Otherwise, checking for files/databases/preferences is pretty typical
> >>> AFAIK.
>
hanks
On Mar 18, 11:41 am, Mark Murphy wrote:
> Mark Wyszomierski wrote:
> > Is there any way to tell whether an application is being run for the
> > first time, other than checking if there are any left over
> > preferences / files from a previous run?
>
> While your app
Hi,
Is there any way to tell whether an application is being run for the
first time, other than checking if there are any left over
preferences / files from a previous run?
Thanks
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to
Hi,
Is there a way to launch an activity when the device's search key is
pressed?
I know we can hook into the search feature of android instead.
But I'm trying to fix a broken app quickly. Ideally whenever the
search key is pressed (if my app is visible) then one of my activities
is started.
T
Hi,
I have a TabActivity, each tab holds an activity. At some point I'd
like to 'refresh' the tabs. I'd basically like to restart each
activity in the tabs. I'm not sure how to do this. Calling:
getTabHost().clearTabs();
removes the tabs, but the activities still seem to be in alive, in
limbo
the panel, did you set the alpha value to
> FF? 0 gives you full transparency and FF gives you total opacity.
>
> Hope this helps.
> Ivar
>
> On Mar 11, 8:37 pm, Mark Wyszomierski wrote:
>
>
>
> > Hi,
>
> > I'm trying to supply my own background drawab
Hi,
I'm trying to supply my own background drawable for a dialog. It works
fine on 1.6+, on 1.5 though instead of a transparent dimmed background
around the dialog, I just get opaque black. I defined the style like
this in my styles.xml file:
- @drawab
ntent you are starting:
>
> http://developer.android.com/reference/android/content/Intent.html#FL...
>
> On Thu, Mar 11, 2010 at 12:04 AM, Mark Wyszomierski wrote:
>
>
>
>
>
> > Hi,
>
> > Is it possible to forward a result like the following?:
>
> > Acti
Hi,
Is it possible to forward a result like the following?:
ActivityA
startActivityForResult(intentB, 22);
ActivityB
startActivityForResult(intentC, 22);
finish();
ActivityC
setResult(99);
finish();
is it possible to get A's onActivityResult() to fire here and catch
the value 99
It looks like it works,
Thanks,
Mark
On Mar 8, 4:36 pm, Mark Wyszomierski wrote:
> Hi,
>
> I implemented Parcelable on two of my classes, and one class contains
> instances of the other. I'm not sure how to read them back in. Here's
> an example:
>
> public c
Hi,
I implemented Parcelable on two of my classes, and one class contains
instances of the other. I'm not sure how to read them back in. Here's
an example:
public class Farm implements Parcelable {
ArrayList mHorses; // Horse implements parcelable too.
@Override
public void
Hi,
I have a linear layout, and I wanted to set its background to be a
rounded rect. I defined the background like so:
http://schemas.android.com/apk/res/android";>
that works ok, but I also wanted to make the background turn orange
when clicked (like as in a listview). In the past, I'
Hi all,
I have an activity with the dialog theme applied to it. I am setting
the dialog title, but the string is quite long, and instead of
wrapping, it just gets truncated. Is there a way to wrap the title
instead?
Thanks
--
You received this message because you are subscribed to the Google
Gr
Hi,
I have an adapter class composed of several child adapters. Looks like
this:
public class TestAdapter extends BaseAdapter {
ArrayLIst mChildAdapters;
public void addAdapterChild(Adapter adapter) {
mChildAdapters.add(adapter);
}
}
it works ok, running into a problem th
In that example, nothing, but if I have an adapter which can accept an
unknown amount of types, I would need something like that, right?
Thanks
On Mar 2, 11:42 am, Mark Murphy wrote:
> Mark Wyszomierski wrote:
> > @Override
> > public int getViewTypeCount() {
> &
1 - 100 of 361 matches
Mail list logo