I am not sure, if you just want to stop your app to change orientation
on rotating. But if thats the case, along with the line you mentioned
android:configChanges="orientation|keyboardHidden" which tells the
system that app will be handling the orientation change, you need to
add the following lin
Hi John,
If you can post the logs would help understand the reason of the
memory leak. Also, a small sample of code will be helpful.
Cheers,
Prateek
On Jan 1, 12:32 am, John Gaby wrote:
> I seem to have a memory leak when running under version 1.6 of the
> OS. I have a custom view group which
Hi,
If you just want to disable the back button and do nothing, you can
try this -
@Override
public void onBackPressed()
{
// Your code here, If you wish to write any, else no
need. :-)
}
Thats it !!!
Cheers,
Prateek
On Dec 22, 5:06 pm, Abhilash baddam
wro
On itemClickListener make web view invisible for all the items other
than the selected one.
It will be better if you can post the code too.
Cheers,
Prateek
On Dec 2, 11:05 am, Android Humanoid wrote:
> Hi All,
>
> I have custom list view in which each list item has
> 1. an ImageView
> 2. a Text
- in short, you should lift the
> parser from the android source tree and package it in your app.
>
> If you want to browse the code it uses for serializing and parsing
> vCards (both 2.1 and 3.0) it's available
> here.http://www.google.com/codesearch/p?hl=en#uX1GffpyOZk/core/ja
Hi All,
I am able to retrieve all contacts from android in .vcf file using
following code.
ContentResolver cr = getContentResolver();
Cursor cur = cr.query(ContactsContract.Contacts.CONTENT_URI,null,
null, null, null);
String lookupKey =
cur.getString(cur.getColumnIndex(ContactsContract.Conta
Hi,
I think headers are the part of ListView (therefore 1st ListView
item), so you cannot make scrollbar at the top when the focus is on
the the next item. No so sure though.
Cheers,
Prateek
On Nov 18, 5:30 pm, lou wrote:
> Hi !
> I'm actually working on a ListView, which have two headers.
> Th
Hi Everyone,
I have seen various posts on importing contacts as a vCard format and
didn't really got the clean way of achieving this.
I tried following code to import the code -
public void readContacts(View view) {
ContentResolver cr = getContentResolver();
Curso
Hi Everyone,
Is it possible to read the database files in Android 2.1 ? For
example, files in /data/data/com.android.providers.contacts/databases/
contacts2.db
If yes, how? And is it possible to replace this file programmatically
in order to import / export contacts or any other database files?
You can use the following code snippet to access sdcard -
boolean mExternalStorageAvailable = false;
boolean mExternalStorageWriteable = false;
String state = Environment.getExternalStorageState();
if (Environment.MEDIA_MOUNTED.equals(state)) {
Hey!
I haven't used any Android device, but I've read a lot of news about
it, and I feel it pretty cool. Though I still prefer my Symbian S60
more. What about you guys?
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group,
11 matches
Mail list logo