Hi,
Thank you for your reply. I have a couple follow up comments/questions
related to the responses. I have included these inline.
On Mon, Feb 6, 2012 at 12:25 PM, TreKing treking...@gmail.com wrote:
On Mon, Feb 6, 2012 at 11:15 AM, John-Marc Desmarais j...@ieee.org wrote:
I have an Override
On Mon, Feb 6, 2012 at 12:56 PM, TreKing treking...@gmail.com wrote:
On Mon, Feb 6, 2012 at 11:36 AM, John-Marc Desmarais j...@ieee.org wrote:
How do I handle the byte[] settingsBuffer = new byte[(int)
inputFile.length]; without opening a File?
You get the stream of data as the returned
Yup.
commit() still works as advertised.
Thank you,
-jm
On Mon, Feb 6, 2012 at 1:19 PM, TreKing treking...@gmail.com wrote:
On Mon, Feb 6, 2012 at 12:04 PM, John-Marc Desmarais j...@ieee.org wrote:
And am now getting Input settings not found when closing and
reopening my application
On Tue, Jan 31, 2012 at 6:37 AM, geo geoandr...@gmail.com wrote:
Hello,i am getting error:
Caused by: java.lang.NullPointerException
E/AndroidRuntime(329): at ...LineGraph.getIntent(LineGraph.java:109)
E/AndroidRuntime(329): at LineGraph.onCreate(LineGraph.java:80)
Seeing that too on a couple of orders. Not a huge number though. A couple
today.
Bad deal that. I also see the same users trying again and hitting the same
error.
-John Coryat
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post
with that interface, you might be in luck. Otherwise, it's going
to be native coding for Android and iOS.
Good luck!
-John Coryat
--
Science and Technology News Aggregator
Twitter: http://twitter.com/coryat
G+: http://www.usnaviguide.com/+
--
You received this message because you are subscribed
Danielle,
If you look at the src (android-3.2.2_r2 is what I'm looking at), it's
crashing in the custom view. Unless you've implemented the code I
mentioned before, this will be the case.
John
On Jan 31, 3:42 pm, drenda daniele.re...@gmail.com wrote:
Hi John,
thanks for your replay.
I'm
?
Thanks,
John-Marc Desmarais
--
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
application privilege to perform sql queries on the live database but
this does not work either.
Any suggestions on how to work on the database on a non-rooted phone? I
would prefer to use the database on the phone rather than on a pc.
--
John F. Davis
独树一帜
--
You received this message because
Hello Kostya Vasiyev,
Many thanks. I see what you mean. I could add an import/export command to
the app. And in the final release, simply remove the import/export
capability.
John
On Wed, Feb 1, 2012 at 11:43 AM, Kostya Vasilyev kmans...@gmail.com wrote:
On 02/01/2012 08:36 PM, John Davis
Different APK's will have different package names and be installed in
different directories, so in short, the answer is no.
-John Coryat
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android
You're pretty much stuck sending a complete APK and dealing with additional
features using switches inside the app itself.
There may be other ways to handle this but I am unaware of them.
-John Coryat
--
You received this message because you are subscribed to the Google
Groups Android
In general, the loading of the URL should come last (right now you've
got plugins and Javascript enabled messages being sent to the webcore
after you send a url request).
Is this on Honeycomb or ICS? (I'm guessing ICS due to the 'normal'
errors you posted above). Keep in mind that video needs
.
Thanks for your help.
-jm
On Mon, Jan 30, 2012 at 11:16 AM, Daniel Drozdzewski
daniel.drozdzew...@gmail.com wrote:
John-Marc,
I have not done this myself, but here is tutorial on how to do it:
http://blog.pocketjourney.com/2008/04/04/tutorial-custom-media-streaming-for-androids-mediaplayer
...@gmail.com wrote:
John-Marc,
I am glad that it works.
I am not sure whether prepareAsync would be quicker than blocking prepare
call.
I mean that whatever the system implementation of the player,
preparing it takes the same amount of time and async call simply does
not block, but if you call
-issues.html
--
John F. Davis
独树一帜
--
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
and just directly adding
to a couple of nodes?
d.) Binding mouseup/down might be problematic with jQuery (due to
multitouch, trackball, etc).
John
On Jan 29, 10:28 pm, Greg Donald gdon...@gmail.com wrote:
I'm working up some new code that uses Javascript binding, described here:
http
Hi,
I am currently writing a video file to the SDCard while playing it
with VideoView.
My problem is that, if I buffer 1MB of video and begin the Video
playback, the video stops after 1MB has been played, even though by
this time, 5MBs of file has now been written to the sdcard.
I have been
I am interested in creating an application that allows users to draw
on top of google maps and then store the information on the local
device. For example, create a line of their favorite hiking trail. I
may also make a site (ala, http://scribblemaps.com/) that allows users
to generate
Martin,
The creation callback is only supported on ICS (it might be supported
on Honeycomb, I never checked there). It's definitely not supported
in the 2.x codebase.
Cheers,
John
On Jan 29, 1:26 am, Martin warwo...@gmail.com wrote:
Hi.
I'm using the Database Storage API in a WebView
Also keep in mind that certain versions of Android you should/must
give webkit a custom path for your databases
(websettings.setDatabasePath(), et al), which can be set on a per view
basis (unlike AppCache, which is a singleton per app).
On Jan 29, 1:26 am, Martin warwo...@gmail.com wrote:
Hi.
I haven't used this personally myself, but the src points to
supportTouchOnly in WebViewSettings turning off touch highlighting,
etc in the WebView (look for what
WebViewSettings.setLightTouchEnabled() actually mutates and work
backwards).
John
On Jan 30, 1:53 am, Sungil holy.adrea...@gmail.com
is that the flash drive on most Android devices is
abysmally slow and SQLite is constantly doing fsyncs (especially on
ext3 devices). execSQL(PRAGMA synchronous=OFF); can give up to a 4x
speed boost depending on the device, YMMV.
John
On Jan 27, 9:33 am, Robert Hawkey rhaw...@gmail.com wrote:
Yes
Hello
I modified the hellogridview example so it has 5 colunns by changing the
NumColunns property from auto_fit to 5. This is great, it gives me 5
columns, however it only gives me one row. How to set so it gives
additional rows?
--
John F. Davis
独树一帜
--
You received this message because
Many thanks.
2012/1/26 Mark Murphy mmur...@commonsware.com
Give it an Adapter with more than five items.
On Thu, Jan 26, 2012 at 10:59 AM, John Davis davi...@gmail.com wrote:
Hello
I modified the hellogridview example so it has 5 colunns by changing the
NumColunns property from
http://netskink.blogspot.com/2012/01/grid-view-notes.html
--
John F. Davis
独树一帜
--
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
Hello Mark,
You mentioned that tool before. I have yet to look it up. I assume this
is the starter page for it
http://developer.android.com/guide/developing/debugging/debugging-ui.html
I'll look into it. Thanks man.
John
2012/1/26 Mark Murphy mmur...@commonsware.com
Use Hierarchy Viewer
I am unfamilier with android and programming. I want to know about
what each permission implies. I already found out the descriptions of
them on the website of android developer, but it is really difficult
for me to understand unfamiliar and expert words exactly. My ultimate
purpose is to
It's because of the use of the TEMPORARY TABLE clause I think.
# MATCH clause variance
http://www.sqlite.org/fts3.html
# iOS sqlite support
http://stackoverflow.com/questions/3142575/iphone-ios-2-0-to-ios-4-0-sqlite-compatibility
# Android sqlite support
Oh and from the same session:
sqlite sqlite CREATE VIRTUAL TABLE pages USING fts4(title, body);
SQL error: no such module: fts4SQL error: near sqlite: syntax error
sqlite
On Jan 26, 3:15 pm, Robert Hawkey rhaw...@gmail.com wrote:
SQlite supports FTS3 and FTS4 (full text searching). I've seen
a component with three lines of text with two font sizes. Any
suggestions on what I should do?
--
John F. Davis
独树一帜
--
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
Hello TreKing,
Thank you. I'll look into that. FWIW, I've gotten some other suggestions
off list. It appears that I will need
to learn gridview. Possibly the solution to my problem is a custom
component consisting of a GridView with three textviews.
Does that seem right to you?
John
On Wed
Hello TreKing,
Yes, the diagonal placement might not work with the gridview, but I can
adjust my goal to fit the gridview.
Very true about many viable ways. I'm just trying to get a rough heading
from the established guide before I head out into the wilderness.
John
On Wed, Jan 25, 2012 at 9
Hi,
I have a VideoView in a LinearLayout with 2 other boxes. In trying to
create a full screen video, I am doing the following:
private boolean isFullScreen = false;
public void onClick(View v)
{
VideoView vv = (VideoView) v.findViewById(R.id.videoView1);
That is a very good point.
Thanks.
-jm
On Wed, Jan 25, 2012 at 2:33 PM, TreKing treking...@gmail.com wrote:
On Wed, Jan 25, 2012 at 1:25 PM, John-Marc Desmarais j...@ieee.org wrote:
Can anyone suggest why this is the case?
This is your code: (LinearLayout.LayoutParams)vv.getLayoutParams
There's no such thing as a free lunch!
--
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
Completely possible, though keep in mind that due to the design of the
WebKit/Android integration some things are shared app wide (http
cache, AppCache, android.net.http.* RequestQueue stack, etc).
On Jan 23, 6:51 am, Mark Murphy mmur...@commonsware.com wrote:
On Fri, Jan 20, 2012 at 9:18 PM,
He might be asking if he can use node.js within a webview... That would be
applicable to this group.
-John Coryat
--
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
)
On Sun, Jan 22, 2012 at 12:55 AM, John j...@julientech.com wrote:
the LinearLayout does not appear to be filling the height of the parent.
Does anyone know why this might be?
I think ... if the parent is a ScrollView, it will only fill up as much as
is needed. If it's more than is available
in a vertical linear layout. You can
use layout_weight on the table layout, or replace linear layout with
relative layout, using android:layout_alignParentBottom and
android:layout_above on its children.
-- K
22 января 2012 г. 10:55 пользователь John j...@julientech.com написал:
Hi,
I have a scroll view
What would be the preferred way of storing a database on a server to
allow dynamic changes to data?
On Jan 22, 2012, at 6:16 AM, Mark Murphy mmur...@commonsware.com wrote:
On Sun, Jan 22, 2012 at 3:51 AM, Matt Clark mrclark32...@gmail.com wrote:
Is there some kind of SQL library that i could
of the parent.
Does anyone know why this might be?
Thanks,
John
--
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
On Wed, Jan 18, 2012 at 2:21 AM, Nikolay Elenkov
nikolay.elen...@gmail.comwrote:
On Wed, Jan 18, 2012 at 7:00 AM, John Goche johngoch...@googlemail.com
wrote:
In AccountsActivity.java we have methods getAuthToken() and
getAuthCookie().
Basically
the AccountManager takes care of storing
I've seen the multiple cancel lots of times. I've also seen many double
payments.
Has anyone else seen double payments? Those are of greater concern to me
than cancels.
-John Coryat
--
You received this message because you are subscribed to the Google
Groups Android Developers group
so I'm guessing it's probably due to either Google doubling the charge
or the API not kicking back the notification to the app in a timely
fashion. I've asked a few times what happened to people who have been
double charged and never had a response so I am in the dark.
-John Coryat
--
You
Hello,
I would like to know what the best way is
to debug an app engine application. The
problem I am experiencing is that I cannot
step through the code in Jetty nor can I
find a log where I can see what exceptions
are thrown. Any ideas on how to proceed
would be very appreciated.
John Goche
the code so
that I may adapt it to
my own use case.
Thanks a lot,
John Goche
--
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
Hi,
I have the following AsynchTask class but, it fails to execute the
onProgressUpdate method when doInBackground is running. That is to say
the Log.v(LogName.onProgressUpdate, LogName.onProgressUpdate) never
occurs in LogCat. There are two calls to publishProgress. The first is
after the
Hi,
The authenticate method takes a long time, and I want to update
progress while that's happening like this:
Authenticating .
Authenticating . .
Authenticating . . .
Authenticating . . . .
Authenticating
So I created a thread to add a dot to my TextView every 1/4 second.
Mark Murphy's
How do I pass my Dialog to onPreExecute?
-jm
2012/1/16 Kostya Vasilyev kmans...@gmail.com:
... and this:
textViewAuthenticating = (TextView)
dialog.findViewById(R.id.TextViewAuthentication);
belongs in onPreExecute, or elsewhere on the UI thread, *not* in
doInBackground.
16 января 2012
,
John Goche
--
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
For more options
processing the file?
If not, then you may want to rethink what you are asking about.
Well, my XML files are going to be varied but small in size, so memory
shouldn't be a problem.
I was wondering about the availability of good tutorials on Java XML DOM
though.
Regards,
John Goche
--
You
://www.amazon.com/Beginning-Java-7-Apress/dp/1430239093/ref=sr_1_7?ie=UTF8qid=1326650427sr=8-7
even though android AFAIK uses Java 6 this reference should be good
enough for my purposes.
Regards,
John Goche
--
You received this message because you are subscribed to the Google
Groups Android Developers group
guess that would be another alternative, which, presumably, being part of
java 6 also
works on android?
Regards,
John Goche
--
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
Update...
I replied to Komal the following:
*Komal,*
*
*
*P L E A S E R E A D M Y E N T I R E R E P O R T B E F O R E R
E P L Y I N G !!!*
*
*
*snipped*
*
*
*-John Coryat*
*
*
I got a reply today:
*Hello John,
Thanks for reaching out to us. To ensure a faster resolution, I’ve
Update...
Got a response from the market support team. I'm not surprised they
didn't bother to actually read my report and just sent a canned response:
*Hello John,
Thanks for your email. I suggest that you have the buyer write to our
buyer support specialist at
http://www.google.com/support
) pass the original Google Order Id
to the user.
Has anyone else seen this problem?
-John Coryat
--
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
I'll play.
Sign me up.
-jm
On Mon, Jan 9, 2012 at 3:45 PM, YuviDroid yuvidr...@gmail.com wrote:
Looks very interesting! Count me in! :)
Yuvi
On Mon, Jan 9, 2012 at 6:04 PM, PhotoSteve dfwgoph...@gmail.com wrote:
Add me too...I'm so new to Android I don't even know what I don't know
Hi,
Can anyone help getting Android Tools - Add Native Support to show up
in Eclipse?
Eclipse Version:
Eclipse IDE for C/C++ Developers
Version: Indigo Service Release 1
Build id: 20110916-0149
My system path includes
C:\Android\android-ndk-r7
Running Windows 7.
I have no problems building
Hi,
Thanks for your help. I installed Sequoya and MTJ but, I still have no
Add Native Support under Android Tools.
I have also tried installing android-ndk-r6b and having
C:\android\android-ndk-r6b in the path. But, currently, I have
C:\android\android-ndk-r7 installed and in the system path.
Anyon know why when I have an email address linked in a ListActivity my
onItemClickListener doesn't work?
To link the email I'm using a TextView with autoLink=email
Thanks,
John
--
You received this message because you are subscribed to the Google
Groups Android Developers group
Hello,
Has anyone been able to deploy an android
C2DM web application as generated from eclipse?
I am getting the following error during deployment:
-
Unable to update:
to open
connection to server.
I entered my username and password under Add an
Exchange account.
I am using the 2.3.3 emulator (which is post 2.2 hence
should work, but does not).
Thanks,
John Goche
--
You received this message because you are subscribed to the Google
Groups Android Developers
with the server.
Still cannot get the emulator to work though. I had to C2DM from a physical
phone.
Regards,
John Goche
On Mon, Jan 9, 2012 at 4:17 PM, John Goche johngoch...@googlemail.comwrote:
Hello,
I have created and registered an application by the imaginative name
called FooBarAkAFoobar.
I
a library, is that the way? Exactly what
are the required steps to achieve the desired effect?
Best Regards,
John Goche
--
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
sincerely appreciated, I'm really stuck on this one.
Regards,
John Goche
--
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
On Sun, Jan 8, 2012 at 3:20 PM, Nikolay Elenkov
nikolay.elen...@gmail.comwrote:
On Sun, Jan 8, 2012 at 9:24 PM, John Goche johngoch...@googlemail.com
wrote:
Hello,
I am still trying to authenticate to app engine using google accounts
and would like to figure out the details of how
the following URLs out of the video (shown towards the end):
http://bigdaddy-io.appspot.com/
http://code.google.com/p/cloud-tasks-io
http://cloudtasks-io.appspot.com/ http://cloudtasksio.appspot.com/
I'm going to have a look at these too,
Regards,
John Goche
On Sun, Jan 8, 2012 at 5:38 PM
accounts authentication method is not mentioned
on the
following page:
http://code.google.com/apis/accounts/docs/GettingStarted.html
Regards,
John Goche
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android
Hello,
I am trying to follow the code from
http://www.tbray.org/ongoing/When/201x/2011/09/29/AERC
I have obtained the library with:
$ git clone http://code.google.com/p/aerc/
but I cannot make out what the difference is between the following two
variables:
App.ROOT_URI
App.ROOT_URI and
I can confirm having this same bug only with picasa images on
Honeycomb and ICS.
Code:
file = new File(getPath(intent.getData()));
java.lang.RuntimeException: Failure delivering result
ResultInfo{who=null, request=1, result=-1, data=Intent { dat=content://
I am kinda new to this all and have a question or two about the proper
way to do some things when designing an app. my first question is, is
it okay to use the built in SQLite database for an app? i ask this
because it seems as if the database is supposed to be used for the
operating system data
On Sat, Jan 7, 2012 at 6:04 PM, John Goche johngoch...@googlemail.comwrote:
Hi Nikolay,
On Sat, Jan 7, 2012 at 5:39 PM, Nikolay Elenkov nikolay.elen...@gmail.com
wrote:
On Sun, Jan 8, 2012 at 1:32 AM, John Goche johngoch...@googlemail.com
wrote:
Now that you have mentioned
somewhat lost because all
the examples I am finding are not android specific.
Thanks,
John Goche
--
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
On Sat, Jan 7, 2012 at 5:14 PM, Nikolay Elenkov
nikolay.elen...@gmail.comwrote:
On Sun, Jan 8, 2012 at 1:08 AM, John Goche johngoch...@googlemail.com
wrote:
I am using google App Engine. I need my users to authenticate
prior to being able to access the JDO objects on my servlet. Once
Hi Nikolay,
On Sat, Jan 7, 2012 at 5:39 PM, Nikolay Elenkov
nikolay.elen...@gmail.comwrote:
On Sun, Jan 8, 2012 at 1:32 AM, John Goche johngoch...@googlemail.com
wrote:
Now that you have mentioned AccountManager I have found the following
site:
http://gnuc.in/resources/archives/1404
faction; private
static String TAG = CompanionName; public CompanionName() { Log.d(TAG,
constructor hit); name = not specified; faction = not specified; }
public String toString() { return name; } }
--
John F. Davis
独树一帜
--
You received this message because you are subscribed to the Google
http://en.wikipedia.org/wiki/Magnetic_declination
--
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
There are quite a few developers using Phonegap. One, I know of is Pamela
Fox, formally a Google Maps developer relations engineer. Here's a link to
her app:
https://market.android.com/details?id=io.everyday.app
-John Coryat
--
You received this message because you are subscribed
I am having a problem with setRequestProperty on pre 2.3 versions of
Android. I am trying to implement an OAuth2 protocol to connect to a
website (which is not under my control), and it requires the header
field 'Authorization' to have the first letter capitalized. Since
setRequestProperty is
Hello
I have a listview with items in it. I would like to set certain line
items to be a certain color. Is this possible?
--
John F. Davis
独树一帜
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email
, 2012 at 9:59 AM, Mark Murphy mmur...@commonsware.com wrote:
On Thu, Jan 5, 2012 at 9:50 AM, John Davis davi...@gmail.com wrote:
I have a listview with items in it. I would like to set certain line
items to be a certain color. Is this possible?
Override getView() of your ArrayAdapter
Hmm.
Ok, I maybe over my head. I guess the first thing to do is subclass
array adapter as you said first so I can override its getView call.
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to
of
overriding getView for a bit.
John
On Thu, Jan 5, 2012 at 10:26 AM, Mark Murphy mmur...@commonsware.com wrote:
On Thu, Jan 5, 2012 at 10:19 AM, John Davis davi...@gmail.com wrote:
Ok, I maybe over my head. I guess the first thing to do is subclass
array adapter as you said first so I can
);
return super.getView(position, convertView, parent);
}
The result from hacking around is that the list has invisible values.
I guess its time to look at your pdf. lol
John
2012/1/5 John Davis davi...@gmail.com:
Hello Mark,
Ok. Thanks. I've managed to create my own MyAdapter
I changed the getview code so it only calls the super code once and
returns the rowView as you did.
public class MyAdapterT extends ArrayAdapterT {
public MyAdapter(Context context, int textViewResourceId, T[] objects)
{
super(context, textViewResourceId, objects);
).setTextColor(0x64788e);
rowView.setBackgroundColor(0x64788e);
return rowView;
}
On Thu, Jan 5, 2012 at 10:57 AM, John Davis davi...@gmail.com wrote:
I changed the getview code so it only calls the super code once and
returns the rowView as you did.
public
-ui.html
On Thu, Jan 5, 2012 at 10:57 AM, John Davis davi...@gmail.com wrote:
I changed the getview code so it only calls the super code once and
returns the rowView as you did.
public class MyAdapterT extends ArrayAdapterT {
public MyAdapter(Context context, int textViewResourceId, T
for the individual row
items. Here, I tried to use the resource id of the list itself.
There is not a View.getChild() like call.
--
John F. Davis
独树一帜
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android
items since they are not
defined.
-- Kostya
5 января 2012 г. 20:31 пользователь John Davis davi...@gmail.com написал:
Hello
The getView() call for arrayadapter is blank. Is there a document
which describes how it works?
I have overridden it in order to change the text color of items
Hello
I don't have resource id's for the individual row items.
You should, it's your project.
Super. That might help, but this example
http://developer.android.com/resources/tutorials/views/hello-listview.html
does not use id's for the individual list items. How would I do that?
John
to do. I don't understand why the hooks do not exist for what
i want to do.
-- Kostya
5 января 2012 г. 20:47 пользователь John Davis davi...@gmail.com написал:
Hello Kostya,
Thanks for the reply.
On Thu, Jan 5, 2012 at 11:39 AM, Kostya Vasilyev kmans...@gmail.com
wrote:
2:
Yes, you're
the array adapter and list
view set the tag for the color and the array adapter to draw the line
items in blue or red based upon this tag.
John
On Thu, Jan 5, 2012 at 12:13 PM, Kostya Vasilyev kmans...@gmail.com wrote:
Aha!
android.R.layout.simple_list_item_1 is defined in the platform, you can
A listview says there are 6 items in the list. ie. count = 6
Yet, you can not get the items
for (int i=0;inumRows;i++) {
count = theList.getCount(); // returns 6
fooView = (View) theList.getItemAtPosition(i); // raises
exception
--
John F. Davis
独树
пользователь John Davis davi...@gmail.com написал:
Kostya,
Tip of the hat to you. That worked. It will set all the items to
blue text. I appreciate your help a lot.
Now, is there a simple way to do this selectively? I saw you could
tag items and then look based upon a tag. Perhaps
PM, John Davis davi...@gmail.com wrote:
fooView = (View) theList.getItemAtPosition(i); // raises exception
The exception would be?
The stack trace would be?
-
TreKing - Chicago transit tracking
Yes, I would think it is possible, but not in this version. Its
possible to set all line items to the same value. However, its not
possible to set the colors on a case by case value using the provided
api.
This code will set all the line items to blue:
public View getView(int position,
this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
--
John F. Davis
独树一帜
--
You received this message because you are subscribed to the Google
Groups Android Developers group
the decision in some other way.
-- Kostya
5 января 2012 г. 23:07 пользователь John Davis davi...@gmail.com написал:
Yes, I would think it is possible, but not in this version. Its
possible to set all line items to the same value. However, its not
possible to set the colors on a case by case value
Hello Treking,
On Thu, Jan 5, 2012 at 2:17 PM, TreKing treking...@gmail.com wrote:
On Thu, Jan 5, 2012 at 1:07 PM, John Davis davi...@gmail.com wrote:
Yes, I would think it is possible, but not in this version. Its possible
to set all line items to the same value. However, its not possible
601 - 700 of 1774 matches
Mail list logo