=============================================================================
Today's Topic Summary
=============================================================================
Group: [email protected]
Url: http://groups.google.com/group/android-developers/topics
- How to create a reminder [1 Update]
http://groups.google.com/group/android-developers/t/8f3df8fb356b1841
- Writing to disk [1 Update]
http://groups.google.com/group/android-developers/t/770af904d0fbda9f
- Google Android platform for robotics (serial connection support). [2
Updates]
http://groups.google.com/group/android-developers/t/63850fdf35aa0fe4
- SQL lite [1 Update]
http://groups.google.com/group/android-developers/t/bbdffd819a79d741
- Highlight focus item on listview [2 Updates]
http://groups.google.com/group/android-developers/t/6c3a3101a0416824
- Accessing Shared Preferences of another Application [1 Update]
http://groups.google.com/group/android-developers/t/2584754a606e6d13
- Mount as USB drive [1 Update]
http://groups.google.com/group/android-developers/t/f7edd8070657be74
- How to handle Home Button [1 Update]
http://groups.google.com/group/android-developers/t/c42b636151b23b54
- Limitations of the MapView and MapActivity design [2 Updates]
http://groups.google.com/group/android-developers/t/596f6c14d2b1af8b
- Finding a development phone - how is the LG Optimus GT540? [1 Update]
http://groups.google.com/group/android-developers/t/d96d015a9637655
- Google TV [1 Update]
http://groups.google.com/group/android-developers/t/1329e921ddc79c44
- webview.loadUrl - native [1 Update]
http://groups.google.com/group/android-developers/t/a04fe9b9c3a4c7d3
- Connection Center Settings [1 Update]
http://groups.google.com/group/android-developers/t/308e424bdec49bae
- LVL and Google Apps accounts [1 Update]
http://groups.google.com/group/android-developers/t/6141024272ed80b
- Problems with creating cache files and directories on HTC Desire [1
Update]
http://groups.google.com/group/android-developers/t/2ca8e7cecbf877ef
- how to retrieve music file information [1 Update]
http://groups.google.com/group/android-developers/t/a5436c5cf363f02b
- How do I assign each of my ListView list items an individual icon?
[1 Update]
http://groups.google.com/group/android-developers/t/d307049da50db32b
- how to insert images in edittext [1 Update]
http://groups.google.com/group/android-developers/t/64e61deba25f9d5c
- how to exit touch mode in Android [1 Update]
http://groups.google.com/group/android-developers/t/1aa5b2cab2d03862
- Gallery Control Fling operation [1 Update]
http://groups.google.com/group/android-developers/t/bc83db82625f7315
- Saving data to SQL lite [1 Update]
http://groups.google.com/group/android-developers/t/69419969b399950f
- Spinner: crash when selected [1 Update]
http://groups.google.com/group/android-developers/t/aeb6324e1895d8be
=============================================================================
Topic: How to create a reminder
Url: http://groups.google.com/group/android-developers/t/8f3df8fb356b1841
=============================================================================
---------- 1 of 1 ----------
From: avigadl <[email protected]>
Date: Oct 25 01:45PM -0700
Url:
http://groups.google.com/group/android-developers/msg/94e8a60635e957e9
We would like to create a reminder that will be poped-up on given
date.
We would like to do this without having our application running at the
backgroud.
Any ideas how to do this?
Thanks.
=============================================================================
Topic: Writing to disk
Url: http://groups.google.com/group/android-developers/t/770af904d0fbda9f
=============================================================================
---------- 1 of 1 ----------
From: kypriakos <[email protected]>
Date: Oct 25 01:46PM -0700
Url:
http://groups.google.com/group/android-developers/msg/7073d5204ccfe457
Hi Mark,
android:sharedUserId
The name of a Linux user ID that will be shared with other
applications etc.
Where can I find the allowable values for this ID?
Thanks
=============================================================================
Topic: Google Android platform for robotics (serial connection support).
Url: http://groups.google.com/group/android-developers/t/63850fdf35aa0fe4
=============================================================================
---------- 1 of 2 ----------
From: FrankG <[email protected]>
Date: Oct 25 01:22PM -0700
Url:
http://groups.google.com/group/android-developers/msg/474749c5bfb1c231
Hello,
IMHO the beagle board will be the cheapest platform. The other
platform board i.e. from TI
will be more expensive. To the serial communication on this boards I
have no clue.
Good luck ! Frank
---------- 2 of 2 ----------
From: Bret Foreman <[email protected]>
Date: Oct 25 01:45PM -0700
Url:
http://groups.google.com/group/android-developers/msg/1e0f827ff479b00c
This is a nice setup:
http://www.amarino-toolkit.net/index.php
Note that standard phone hardware usually assumes the phone will be a
USB target, not a USB host. This means RS232 dongles won't work
without a lot of fiddling around with USB hubs and all that. If you
want to support the broadest set of hardware, the best bet is to
interface with Bluetooth. That works pretty much the same on all
phones. If you don't mind special-purpose hardware, then the Beagle
and Amarino are the two best.
=============================================================================
Topic: SQL lite
Url: http://groups.google.com/group/android-developers/t/bbdffd819a79d741
=============================================================================
---------- 1 of 1 ----------
From: Filip Havlicek <[email protected]>
Date: Oct 25 10:39PM +0200
Url:
http://groups.google.com/group/android-developers/msg/4fb05085ba33d075
Hi,
I think this tutorial is just what you need to read
http://developer.android.com/guide/tutorials/notepad/index.html
Best regards,
Filip Havlicek
2010/10/24 jamesy281 <[email protected]>
=============================================================================
Topic: Highlight focus item on listview
Url: http://groups.google.com/group/android-developers/t/6c3a3101a0416824
=============================================================================
---------- 1 of 2 ----------
From: TreKing <[email protected]>
Date: Oct 25 03:03PM -0500
Url:
http://groups.google.com/group/android-developers/msg/a56bda712d39972c
No I mean i just want the selected item to stay highlighted so the user
can
visually see which item there selecting before they touch the buttons
since
the buttons affect the selected items
That doesn't make sense unless you're doing multi-select, which is what I
was referring to.
If you want to just effect one item in the list view, there's no reason
to
have the user do two steps of selecting then pressing a button when
clicking
the item itself (or using a context menu for multiple actions) will
suffice
and is what most (if not all) Android users will be used to.
-------------------------------------------------------------------------------------------------
TreKing <http://sites.google.com/site/rezmobileapps/treking> - Chicago
transit tracking app for Android-powered devices
---------- 2 of 2 ----------
From: Adrián <[email protected]>
Date: Oct 25 01:33PM -0700
Url:
http://groups.google.com/group/android-developers/msg/b956ad3282cc1bd9
I suppose if you set a radiobutton as the background of the row, you
can simulate the behaviour you want. The problem here is that when you
clicks with the mouse (or tap with the finger in a real device) you
enter in Touch mode and that is the behaviour of this mode.
Regards.
=============================================================================
Topic: Accessing Shared Preferences of another Application
Url: http://groups.google.com/group/android-developers/t/2584754a606e6d13
=============================================================================
---------- 1 of 1 ----------
From: TreKing <[email protected]>
Date: Oct 25 03:30PM -0500
Url:
http://groups.google.com/group/android-developers/msg/46d03fbf414d0afd
Can anyone help me in accessing the shared preferences of another
application.
Do you own this other application?
-------------------------------------------------------------------------------------------------
TreKing <http://sites.google.com/site/rezmobileapps/treking> - Chicago
transit tracking app for Android-powered devices
=============================================================================
Topic: Mount as USB drive
Url: http://groups.google.com/group/android-developers/t/f7edd8070657be74
=============================================================================
---------- 1 of 1 ----------
From: FrankG <[email protected]>
Date: Oct 25 01:27PM -0700
Url:
http://groups.google.com/group/android-developers/msg/66e4664cf21c4caa
Sorry .. but did you mean with "usb drive is mounted" ?
You mean when you mount the sdcard and make them available as mass
storage device via usb ?
=============================================================================
Topic: How to handle Home Button
Url: http://groups.google.com/group/android-developers/t/c42b636151b23b54
=============================================================================
---------- 1 of 1 ----------
From: TreKing <[email protected]>
Date: Oct 25 03:04PM -0500
Url:
http://groups.google.com/group/android-developers/msg/4f6bbc59e85b8061
I tried for KEYCODE_HOME, its not working.. Are you are it works?
On Mon, Oct 25, 2010 at 8:56 AM, TreKing <[email protected]> wrote:
-------------------------------------------------------------------------------------------------
TreKing <http://sites.google.com/site/rezmobileapps/treking> - Chicago
transit tracking app for Android-powered devices
=============================================================================
Topic: Limitations of the MapView and MapActivity design
Url: http://groups.google.com/group/android-developers/t/596f6c14d2b1af8b
=============================================================================
---------- 1 of 2 ----------
From: Spiral123 <[email protected]>
Date: Oct 25 01:21PM -0700
Url:
http://groups.google.com/group/android-developers/msg/a2b8d050177e8307
Hi Jon.
personally I've not found any practical limitation to how MapView/
MapActivity is implemented in Android. In fact, I quite like it.
The iphone version of the app shows maps in multiple places
which iPhone app? I'd be interested to see what it does.
---------- 2 of 2 ----------
From: TreKing <[email protected]>
Date: Oct 25 03:26PM -0500
Url:
http://groups.google.com/group/android-developers/msg/170b34ccd9a7b77e
The iphone version of the app shows maps in multiple places, but this is
not possible with the android version because of this limitation.
Well, it's possible, just much more cumbersome. What you have to do is
abstract your other views / activities that would show the map and make
them
views that you show and manage within the MapActivity. Not fun, put
theoretically possible.
Has anybody else had to make compromises to their application because of
these limitations?
Yup - not too horrible yet, but as the number of different things I want
to
do with the map grows, it's getting more and more complicated.
Is the Google engineer who owns this API aware of the limitations?
I'm sure - they even documented it =P
Are there any proposals to fix it?
Don't hold your breath. It doesn't look like the Maps API gets updated.
It
is what it is.
Is the best workaround simply to use a WebView that uses the javascript
API?
That, or as I mentioned, abstract your other functionality to work within
the one MapActivity. I think the Strategy Pattern might be a good fit for
this.
-------------------------------------------------------------------------------------------------
TreKing <http://sites.google.com/site/rezmobileapps/treking> - Chicago
transit tracking app for Android-powered devices
=============================================================================
Topic: Finding a development phone - how is the LG Optimus GT540?
Url: http://groups.google.com/group/android-developers/t/d96d015a9637655
=============================================================================
---------- 1 of 1 ----------
From: FrankG <[email protected]>
Date: Oct 25 01:19PM -0700
Url:
http://groups.google.com/group/android-developers/msg/12b1ca0e40b5c696
Yes, I think for the price it offers many features .. and it is small.
Yes, you need a special drivers as this device comes with
a composit usb interface. But with the PC Suite driver download
it works out of the box.
But note that the the GT 540 I have uses a rather old android version,
so
you need to check whether the update is already available.
Good luck ! Frank
=============================================================================
Topic: Google TV
Url: http://groups.google.com/group/android-developers/t/1329e921ddc79c44
=============================================================================
---------- 1 of 1 ----------
From: "Howard M. Harte" <[email protected]>
Date: Oct 25 01:19PM -0700
Url:
http://groups.google.com/group/android-developers/msg/104ff09fbf1fc51f
Still waiting for it to arrive, should be here today. I picked up the
Sony Blue-Ray unit, and think it has potential, but some issues with
my Dish Network box via the IR Blaster.
I'm not too concerned though, only software issues, and I bought these
for "development" not really to use them for watching TV. I have to
say that the YouTube Leanback is pretty nice, and maybe now I'll have
to get NexFlix.
Based on the teardowns, I can see pros and cons to both devices, and I
think Logitech did a nicer job putting the hardware together, but Sony
has more USB ports and gigabit ethernet. Sony also has two wifi
antennae, not sure if it is for MIMO or simply for diversity, whereas
Logitech has one.
-Howard
=============================================================================
Topic: webview.loadUrl - native
Url: http://groups.google.com/group/android-developers/t/a04fe9b9c3a4c7d3
=============================================================================
---------- 1 of 1 ----------
From: TreKing <[email protected]>
Date: Oct 25 03:00PM -0500
Url:
http://groups.google.com/group/android-developers/msg/e11068017768183e
I need to understand how the webview loadurl is working behind the scene
can somebody here point me out to the source code (native) that it's
actually taking place?
http://tinyurl.com/3a2mja3
-------------------------------------------------------------------------------------------------
TreKing <http://sites.google.com/site/rezmobileapps/treking> - Chicago
transit tracking app for Android-powered devices
=============================================================================
Topic: Connection Center Settings
Url: http://groups.google.com/group/android-developers/t/308e424bdec49bae
=============================================================================
---------- 1 of 1 ----------
From: TreKing <[email protected]>
Date: Oct 25 02:57PM -0500
Url:
http://groups.google.com/group/android-developers/msg/3d99a78e606e0b38
Can anyone tell me how to do settings for Connection Center on Windows.
What does this have to do with Android Development?
-------------------------------------------------------------------------------------------------
TreKing <http://sites.google.com/site/rezmobileapps/treking> - Chicago
transit tracking app for Android-powered devices
=============================================================================
Topic: LVL and Google Apps accounts
Url: http://groups.google.com/group/android-developers/t/6141024272ed80b
=============================================================================
---------- 1 of 1 ----------
From: MarcoAndroid <[email protected]>
Date: Oct 25 12:56PM -0700
Url:
http://groups.google.com/group/android-developers/msg/86f54e7dd8788d3e
Yeah I've seen this too. But only in a certain combination:
- You already have an existing version of the app published. The new
app you're testing has a newer version number
- Your LVL code work from the emulator on which you are logged in with
your developer account
- But you always get NOT_MARKET_MANAGED or similar on a real phone
(like the N1) when testing the LVL with a google non-developer test
account
- The market developer console return status has been set to LICENSED
of course
My guess is that that combi is not (correctly) supported by the market
in combination with market console, because it seems not to be able to
detect the difference between the currently pubished app checking with
LVL for being licensed, and your newer test version by that same user.
It seems the published app check takes precedence over the console
setting for test-accounts.
Did you try the same with your developer account on the N1? (I didn't
because I don't want to mess up my phone which I'm worried might
happen :)
If my reasoning is correct, that probably will validate fine.
As soon as you publish your new version, the validation should be
working fine (it did for me). But of course (just like me) you do want
to try it out before publishing it...
My conclusion: I think it's currently not possible with test accounts
if you've published an app before and now wanting to test a newer
version of that app with a test account...
Hope this makes sense, and it's all concluded from trial and error
from my side.
=============================================================================
Topic: Problems with creating cache files and directories on HTC Desire
Url: http://groups.google.com/group/android-developers/t/2ca8e7cecbf877ef
=============================================================================
---------- 1 of 1 ----------
From: TreKing <[email protected]>
Date: Oct 25 02:49PM -0500
Url:
http://groups.google.com/group/android-developers/msg/4bcea1a867fbe650
When I call getApplicationContext().getCacheDir() or
getApplicationContext().getFilesDir() from my activity this always
returns
null.
First, there's no point to using getApplicationContext() - it's
redundant at
best and causes issues with anything GUI-related at worst. Just forget
about
using it.
Why I cannot create folders in this directory?
No idea. The system should automatically create those folders if they
don't
exist (at least I've done this with the cache directory - when I blow it
away successfully, it's re-created next time I call getCacheDir()). There
might be something wrong on your phone.
Is there a possibility to set the fileDir and cacheDir paths to the sd
card
or somewhere else?
You might be able to disable the cache altogether, though that's
obviously
not an ideal solution.
Do I need to set a permission to create cache files?
Nope.
Maybe Google around for problems with the Desire and see if it's a common
problem? If not, a factory reset might be worth a shot if nothing else
works.
-------------------------------------------------------------------------------------------------
TreKing <http://sites.google.com/site/rezmobileapps/treking> - Chicago
transit tracking app for Android-powered devices
=============================================================================
Topic: how to retrieve music file information
Url: http://groups.google.com/group/android-developers/t/a5436c5cf363f02b
=============================================================================
---------- 1 of 1 ----------
From: TreKing <[email protected]>
Date: Oct 25 02:37PM -0500
Url:
http://groups.google.com/group/android-developers/msg/f56628e6c41f4692
plz help..
With what?
-------------------------------------------------------------------------------------------------
TreKing <http://sites.google.com/site/rezmobileapps/treking> - Chicago
transit tracking app for Android-powered devices
=============================================================================
Topic: How do I assign each of my ListView list items an individual icon?
Url: http://groups.google.com/group/android-developers/t/d307049da50db32b
=============================================================================
---------- 1 of 1 ----------
From: Kumar Bibek <[email protected]>
Date: Oct 25 12:32PM -0700
Url:
http://groups.google.com/group/android-developers/msg/62806cf62cd89349
http://techdroid.kbeanie.com/2009/07/custom-listview-for-android.html
You need to have a custom adapter, and the layout for each items which
would have an ImageView. In the getView method of your adapter, set
the image to whatever you like.
=============================================================================
Topic: how to insert images in edittext
Url: http://groups.google.com/group/android-developers/t/64e61deba25f9d5c
=============================================================================
---------- 1 of 1 ----------
From: Kumar Bibek <[email protected]>
Date: Oct 25 12:30PM -0700
Url:
http://groups.google.com/group/android-developers/msg/6d689141409cd8ef
http://techdroid.kbeanie.com/2010/06/textview-with-html-content.html
This example is for the TextView, but I am quite sure, this approach
would also work for EditTexts as well
=============================================================================
Topic: how to exit touch mode in Android
Url: http://groups.google.com/group/android-developers/t/1aa5b2cab2d03862
=============================================================================
---------- 1 of 1 ----------
From: Mark Murphy <[email protected]>
Date: Oct 25 03:29PM -0400
Url:
http://groups.google.com/group/android-developers/msg/ca25c784087978e3
Im basically trying to have a list of items in listview and with that
select an item then have the item stay selected as i have a button on
my app on the bottom of the screen for it.
Use android:choiceMode="singleChoice" and a CheckedTextView as your row.
Or, better yet, get rid of the button, and have the user tap on the
row to play it.