You mean you have accomplished the two individual tasks reading from a
file and splitting a string, but can't put them together?
I assume your read from file code is a loop, reading the file line by
line, which you assign to a String variable. Why can't you just use your
split a string code on
Sanitize your inputs? http://xkcd.com/327/
On Thursday, 1 March 2012 18:33:19 UTC-5, Mark Winchester wrote:
I've got a GUI coded up, and it works pretty well, but I'm having an issue
getting everything formatted just right. Currently, there exists a
ListView on the page. This list view is
Sanitize your inputs? http://xkcd.com/327/
On Friday, 2 March 2012 11:49:21 UTC-5, Mark Winchester wrote:
I finally figured out what my problem was. My data source was appending a
bunch of extra white space at the end of input names that it was giving
me. So, even though I had my layouts
, Kookamonga site...@yahoo.ca wrote:
Sorry for the off-topic question (trying to piggy-back on the image
provided in OP). In the image provided in the first post, you see the
emulator screen on the left and the controls on the right... I seem
to have done something in my Eclipse such that when I launch
I've been successfully able to use this in the past:
http://developer.android.com/reference/android/provider/MediaStore.Images.ImageColumns.html#ORIENTATION
On Feb 26, 8:46 am, drenda daniele.re...@gmail.com wrote:
Hi,
I've a problem getting orientation of an image chosen from gallery.
I'm
I have what seems like a very basic question: how can I maintain the
sorted state of a ListView as new items are added to the list?
I have a ListView that is populated from a database. Specifically, I
query my database, create an ArrayList of items, and use a custom
ArrayAdapterMyType as the
Thanks for your answer.
I'll change over to a CursorAdapter and see how things go.
On Feb 24, 10:30 am, skink psk...@gmail.com wrote:
Kookamonga wrote:
I have what seems like a very basic question: how can I maintain the
sorted state of a ListView as new items are added to the list?
I
just trying to understand it myself,
so I'm not sure if it is coming across in a coherent manner.
On Feb 24, 10:40 am, Kookamonga site...@yahoo.ca wrote:
Thanks for your answer.
I'll change over to a CursorAdapter and see how things go.
On Feb 24, 10:30 am, skink psk...@gmail.com wrote
Looks like once again, it was all about Googling for the right thing:
https://www.google.com/search?q=listview+cursoradapter+checkbox
My bad.
On Feb 24, 11:37 am, Kookamonga site...@yahoo.ca wrote:
I've hit a problem in changing over to a CursorAdapter. The custom
items in my ListView
through all of this for the first time.
On Feb 24, 12:54 pm, Kookamonga site...@yahoo.ca wrote:
Looks like once again, it was all about Googling for the right
thing:https://www.google.com/search?q=listview+cursoradapter+checkbox
My bad.
On Feb 24, 11:37 am, Kookamonga site...@yahoo.ca wrote
This may help:
http://groups.google.com/group/android-developers/browse_thread/thread/bedff1b9bbfdd9f3
It sounds like you need the images in both /drawable and /drawable-
ldpi (at different resolutions, of course) and the system itself will
pick the appropriate icon.
On Feb 23, 12:49 am, Jaison
This is more a Java question than an Android question. Let me give it
a shot.
The setOnItemClickListener(...) method requires an object that
implements the OnItemClickListener interface as an argument. In your
code snippet above, you are providing such an object by creating an
anonymous class
1) What is the error that you get?
2) Are you sure you have access to the db location? Your phone likely
has to be rooted for you to have this access...
Perhaps you could try this method:
http://stackoverflow.com/questions/4202064/how-can-i-pull-databases-off-my-android-onto-my-desktop
On Feb
http://developer.android.com/guide/topics/resources/string-resource.html#StringArray
On Feb 23, 10:32 am, duadinam somethingcleve...@gmail.com wrote:
Hi,
I'd like to know if its possible to create multi dimensional arrays in
strings.xml, or if their is a general array tag where this can be
if I'm wrong about this general
approach.
On Feb 23, 11:35 am, rhaazy rha...@gmail.com wrote:
Thanks for your input!
Inbetween when I posted this and when I checked it again I ended up
doing something similiar to what kookamonga did.
After I read your post Mark, I added the implements
with this, so I'm not
sure about it.
On Feb 23, 1:24 pm, Ted Scott t...@hootinholler.com wrote:
On 2/23/2012 11:55 AM, Kookamonga wrote: Mark has way more experience than
me, so I'll let him give the
definitive answer... But my two cents are that it depends on the
situation. :-)
I don't
I won't argue that a setting in SharedPreferences won't work...
But at the same time, shouldn't it be possible to do this just with
the Intent itself? If you use the putExtra method on your intent and
add just a simple boolean that indicates that the button should be set
to on, I would think this
https://www.google.com/search?hl=enbiw=1920bih=955output=searchsclient=psy-abq=install+apk+programmaticallybtnK=
On Feb 21, 7:35 am, android developer
android.developer4...@gmail.com wrote:
Hi all,
How to Install APK File Programmatically, Please help me in this issue
--
You received this
https://www.google.com/webhp?ion=1#hl=enoutput=searchsclient=psy-abq=setting%20layout%20parameters%20programmaticallyfp=8eac583198a3d402
On Feb 21, 8:53 am, Marcin Orlowski webnet.andr...@gmail.com wrote:
Hi,
I am trying to set android:layout_alignParentTop and
android:layout_alignParentLeft
I think I can be a bit more helpful. You basically have to use the
addRule method of RelativeLayout.LayoutParams as shown here:
http://android-coding.blogspot.com/2011/06/set-relativelayoutalignparenttoprelativ.html
On Feb 21, 9:43 am, Kookamonga site...@yahoo.ca wrote:
https://www.google.com
1) What is the error?
2) What does testCount() do?
3) Why are you enforcing that there are no gaps in the IDs after a
delete? What is your goal?
On Feb 21, 10:37 am, Jeresam515 jeremyschiff...@gmail.com wrote:
bump
--
You received this message because you are subscribed to the Google
Groups
Sorry for the off-topic question (trying to piggy-back on the image
provided in OP). In the image provided in the first post, you see the
emulator screen on the left and the controls on the right... I seem
to have done something in my Eclipse such that when I launch the
emulator, I only see the
and the
android:background points to the selector you are using to set
different backgrounds depending on the state (pressed/focused/etc.)
I don't know WHY I spent so long trying to accomplish this with only
the android:src attribute. Dumb.
On Feb 17, 11:31 am, Kookamonga site...@yahoo.ca wrote:
Just
that can be applied
on top of the changing background. Hopefully this is more clear.
Thanks again for your help.
On Feb 16, 10:53 pm, Kookamonga site...@yahoo.ca wrote:
I have a clickable ImageView that contains an image, say an X, set by
using the android:src attribute of the ImageView to a drawable
I have a clickable ImageView that contains an image, say an X, set by
using the android:src attribute of the ImageView to a drawable/png
file. Searching around, I've been able to figure out how to use a
selector to change the background colour of an ImageView when it is
pressed. But again, this
Sorry, completely off-topic, but dolla dolla bills, yo is just ...
awesome. :-)
On Feb 13, 8:35 am, TreKing treking...@gmail.com wrote:
On Mon, Feb 13, 2012 at 3:24 AM, S Sam mailme2s...@gmail.com wrote:
I have tried the following app, but I am getting a lot of errors.
You should explain
android:adjustViewBounds=true
/
This does *not* scale up images that are less than the max dimensions.
But I might be aiming for something quite different from your case.
On Feb 11, 12:22 am, Kookamonga site...@yahoo.ca wrote:
I have an ImageView defined like so
I have an ImageView defined like so:
ImageView android:id=@+id/im_delete
android:layout_width=fill_parent
android:layout_height=40dp
android:background=@null
If I understand you correctly, this is certainly possible. The integer
argument is an ID, so you just have to call setId() on your
programmatically created views first (where each ID is unique...), and
then use view.getId() in the addRule() method. See here for a somewhat
more complete
am, Kookamonga site...@yahoo.ca wrote:
I want to be able to send mail using GMail without user intervention
in my app. I was able to do this using the Google example here:
http://code.google.com/p/google-mail-xoauth-tools/wiki/JavaSampleCode
Note, though, that that sample code uses a Python
I want to be able to send mail using GMail without user intervention
in my app. I was able to do this using the Google example here:
http://code.google.com/p/google-mail-xoauth-tools/wiki/JavaSampleCode
Note, though, that that sample code uses a Python script (xoauth.py)
to obtain the
Sorry to resurrect an old thread, but there was never an answer to how
a *USER* would be able to revoke access he/she had granted to an app:
Kris:
re: your initial reply, I believe we're talking about different
permissions. It sounds like you're referring to the permissions that a
user must accept when first installing the app. I'm not talking about
those. I'm talking about permission the user has to accept that allows
the app access
at 9:40 PM, Kookamonga site...@yahoo.ca wrote:
Uninstalling the app is hardly a solution!
Sure it is! It solves the problem you posed! That's a solution, kinda by
definition!
First, I'm not even sure if it will work (because I don't think this
permission to access one's Google Account
that the user can skip the tutorial
or whatever you want him to be able...
Greetings from Lucerne,
Stephan Wiesner
On 17 Jan., 04:55, Kookamonga site...@yahoo.ca wrote:
Excellent, SurfaceView, just learned something new. Thanks, I'll have
a look.
On Jan 16, 10:48 pm, Kristopher
Alex,
Thanks a lot... The ViewPagerIndicator project was easy enough to
find!
On Jan 17, 2:12 pm, Alex Curran aml.cur...@gmail.com wrote:
Having a look at the rest of the responses, this looks like it is probably
a ViewPager with lots of ImageViews of screenshots. The ViewPager is found
in
I'd like to embed a tutorial into my app that the user can step
through when the app is first started. Does anyone know how the Google
Currents app tutorial is implemented? It is extremely sleek and allows
users to step through at their own pace.
I found a similar question here:
I've seen some apps (Google currents, for example) that have a step-by-
step tutorial that you can walk through when the app is first loaded.
Does anyone know how to do that?
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this
have no clue what type of view is used to do
that... Is it simply an ImageView with a transparent background? Or
what?
Thanks.
On Jan 16, 9:35 pm, Kookamonga site...@yahoo.ca wrote:
I've seen some apps (Google currents, for example) that have a step-by-
step tutorial that you can walk through
Darn... Too slow. :-) Sorry Kristopher, I wasn't clear in my initial
post.
On Jan 16, 9:41 pm, Kookamonga site...@yahoo.ca wrote:
Let me be clear. I'm not asking how to do the when the app is first
loaded. I'm asking how to actually create a tutorial that a user can
step through. The Google
of different things you can think of, however
I suppose you've figured that out already..
kris
On Mon, Jan 16, 2012 at 9:42 PM, Kookamonga site...@yahoo.ca wrote:
Darn... Too slow. :-) Sorry Kristopher, I wasn't clear in my initial
post.
On Jan 16, 9:41 pm, Kookamonga site
...@gmail.com
wrote:
On Mon, Jan 16, 2012 at 9:51 PM, Kookamonga site...@yahoo.ca wrote:
OK, thanks Kris. I was looking to find out whether there was a special
view that did this sort of thing. Appears not to be the case. And
yeah, I can figure out other ways to get the same effect.
Not to say
...@gmail.com
wrote:
Honestly, they might just be screenshots arranged in a custom view
that does that cute scrolling thing...
kris
On Mon, Jan 16, 2012 at 10:22 PM, Kookamonga site...@yahoo.ca wrote:
Yes, I will try and find an example and look at the source.
In the meantime, just so we're
:-)
kris
On Mon, Jan 16, 2012 at 10:37 PM, Kookamonga site...@yahoo.ca wrote:
Yup, I thought of that... This is why I initially suggested it was
just an ImageView that was listening for gestures to move between
successive ImageViews. That would work. But the only way I can think
:13 am, Mark Murphy mmur...@commonsware.com wrote:
You might consider explaining what Google Currents looks like, perhaps
using screenshots, as not everybody has that app, let alone uses it.
On Fri, Jan 13, 2012 at 8:53 AM, Kookamonga site...@yahoo.ca wrote:
I'd like to embed a tutorial
45 matches
Mail list logo