Hello Pedro,
from my point of view it doesn't make sense to wrap each statement
into a try..catch. In you sample if httpclient.execute() fails, then
I'm not sure that response.getEntity().getContent() makes sense, since
there was no response.
I would rewrite your sample as:
try {
Hello all,
I have a legacy application and need to split it into a library
project (common code) and two application projects (paid and free
applications). I don't use Eclipse for development, and also don't use
Ant builds provided (generated) by Android SDK (there are several
reasons for that),
Hello Dianne,
thank you for clarification. But I have one more question.
Everything you've said makes sense when we talk about internal
application files (configurations, temporarily storage whatever else).
However, there are few other cases. In my case I need to implement
backup/restore
Thank you! I didn't know about two cards in Samsung.
--
Best regards,
Andriy.
--
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 all,
I have a question about SD card usage in Android applications. I need
my application to store some files on the SD card. Is there any
document (conventions) about how the application should use the SD
card?
I saw applications create a directory named as the application itself
and
Thank you, guys, just wanted to be sure that I haven't missed
something important (the conventions document).
--
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
Hello all,
I have a question about ListView behaviour when user is in the touch
mode.
I have an application which has a list of items (stored in the
database, thus I use SimpleCursorAdapter), and user can add new, edit
and delete existing items to/from the list.
I want to implement following
After playing with it a little bit I discovered more interesting
thing.
Frankly speaking, I used my extension of the ListView, shortly
public class MyListView
{
...
public void setSelection(long theID)
{
ListAdapter adapter = getAdapter();
if (adapter == null) {
Hello all,
I want to protect my application with password. My imagination how it
should work:
1. When a user launches the application for the first time from the
Home screen, password is requested.
2. When the user launches the application for the 2nd (3rd and so on)
time the Home screen,
Hello all,
I have an activity which uses a ListView component. It's not a
ListActivity, just a ListView and few other widgets within a
LinearLayout. I need the activity to save/restore its state correctly
on orientation change. Things mostly work fine, the only problem I
encounter is that
Hello all,
few weeks ago I encountered a problem. My Android SDK 1.5 emulator
became very slow and CPU consuming. This happened earlier, but was
irregular just removing AVDs usually helped. Few weeks ago I installed
Android SDK 1.6, tried to move my dev environment there and noticed
that
Hello All,
I know there were a lot of topics like this created earlier, but most
of them haven't got any response. I'd like to raise this topic once
again and probably ask more concrete questions.
I need to create several forms which allow users entering data. Form
allows entering text
or using context menu in the contact list;
Calendar application: you can delete an event using view event options
menu, day view context menu and (!) using delete button in the edit
event form.
On May 29, 7:05 pm, Andriy Zakharchuk andriy.zakharc...@gmail.com
wrote:
Hello All,
I know there were
:
Follow what Contacts does :)
On Fri, May 29, 2009 at 9:05 AM, Andriy Zakharchuk
andriy.zakharc...@gmail.com wrote:
Hello All,
I know there were a lot of topics like this created earlier, but most
of them haven't got any response. I'd like to raise this topic once
again and probably
Hello All,
I'm using aapt to generate R.java class from resource directories
(from an Ant build), I have two resource directories in a project:
resources of an application itself, and resources required for unit
tests. When I build .apk with unit tests (to launch tests on the
emulator) I have to
Hello all,
I have a question about touch mode (probably it was already asked,
sorry if so, but I couldn't find a discussion like this). It's not
about technical issues, everything more or less is clear here, it's
more about philosophy. Hope Romain Guy will have chance to look into
this.
The
Thank you for comments, guys.
Probably, I was not clear, but I'm still using context menus. However,
in my opinion, context menu is a secondary way to perform an action.
So, there should always be a primary way (options menu, item click,
toolbar button). Context menu is less obvious/intuitive
Hello all,
I have a screen with a number of widgets. One of widgets is EditText.
I need this edit box to be single line and want to set a hint for it.
When I write
editText.setHint(blah-blah-blah);
I see hint, but edit box allows multi line input.
When I write
editText.setSingleLine();
I
a lot !
On 26 nov, 14:03, Andriy Zakharchuk [EMAIL PROTECTED]
wrote:
Hello all,
I'm trying to implement a view similar to the Contact view (screen
with a contact icon, name, favourite checkbox, dial number and send
SMS actions) available in the Android emulator. And I'm interesting
Hello all,
I have a question about grid view: is there any chance to stretch
GridView vertically. What I'm trying to do is to create a screen with
a limited number of items (6). I need exactly 2 columns and 3 rows (or
3x2 in landscape mode) to fill all the screen.
In a grid view I can control
Hello all,
I'm trying to implement a view similar to the Contact view (screen
with a contact icon, name, favourite checkbox, dial number and send
SMS actions) available in the Android emulator. And I'm interesting if
there are any standard styles available for that. Particularly, I'm
looking
Have you tried setting your own list selector via android:listSelector
or setSelector(int)?
Hmm, when I read documentation first time I thought that it is a kind
of an icon (checkbox or smth else) I can use in addition to the
selection. Now, I played with it a little bit, and I guess that's
Hello all,
I'm trying to create a list view with small list item views (smth
similar to ListView we had in m3_rc37 version of SDK). Yes, I know
they are not usable for finger touch mode, however I still want to
have it.
SDK 1.0_r1 samples contain Views/Lists/6. ListAdapter Collapsed
screen. I
Hello all,
I'd like to create a list with small list items (like it was in
m3_rc37). Yes, I know this is not compatible with touch mode, but I'd
like to have this anyway :)
In the 1.0_r1 samples I see ListAdapter Collapsed example. I don't
need collapsed items, but I refer to it since it
smaller, whereas selection
highlight bar did not.
So my question was about selected item highlight, not the list item
view.
BTW, thank you for links to nice Android resources.
On Nov 21, 8:00 pm, Mark Murphy [EMAIL PROTECTED] wrote:
Andriy Zakharchuk wrote:
Is there any way to make highlight
25 matches
Mail list logo