[android-developers] Modifying fields in address book

2008-04-19 Thread vinnu

Hi,

I am trying to change the value of the "user status" field in the
contacts of the adress book but I dont see my updates when i requery
the android.provider. could someone please let me know if im doing
something wrong. here is my relevant piece of code
---
Uri myPeopleUri = android.provider.Contacts.People.CONTENT_URI;

String[] projection = new String[] {
android.provider.BaseColumns._ID,
android.provider.Contacts.PeopleColumns.NAME,
android.provider.Contacts.PeopleColumns.NOTES,
android.provider.Contacts.People.USER_STATUS
};

Cursor cur = managedQuery(myPeopleUri,projection,null,null);

if(cur.first()){
String name;
String status;
String notes;

int nameColumn =
cur.getColumnIndex(android.provider.Contacts.PeopleColumns.NAME);
int statusColumn =
cur.getColumnIndex(android.provider.Contacts.People.USER_STATUS);
int notesColumn =
cur.getColumnIndex(android.provider.Contacts.People.NOTES);

do{
name =   cur.getString(nameColumn);
status = cur.getString(statusColumn);
notes  = cur.getString(notesColumn);

// Now update the status

   cur.updateString(statusColumn, "Dummy status");
   cur.updateString(notesColumn, "New random note");
   cur.updateString(nameColumn, name+" New");
   cur.commitUpdates(); // This is inefficient but just for
now

} while(cur.next());

  }
   cur.requery();

// When I again loop through the cursor..none of my fields are
changed!!!
--

Thanx,
Vinod
-
--~--~-~--~~~---~--~~
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
[EMAIL PROTECTED]
Announcing the new M5 SDK!
http://android-developers.blogspot.com/2008/02/android-sdk-m5-rc14-now-available.html
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] Protecting data and application from illegal use

2008-04-19 Thread Jackkk

Hi!

I was wondering about some real world issues about commercial
applications:

- Will there be a possibility for encrypted APKs as some of the
information included with the app (files, media, images, databases)
can be copyrighted with the need to protect it from illegal copy.
- Could there be an Android based solution for evaluation purposes and
time limitations?
- How can we protect our software from being just copied from one
phone to another? The trick would be to add some checksum files
created from serial no and phone info, but what are the proper
mechanisms for that? What is the unique and reliable info from the OS
or phone that could be used and could not be cracked very easily?
- How to protect data in SQLite? For example, the software needs a
load of data that will be stored in database after initial launch. But
the data could be also suitable for other illegal purposes - sharing
on Internet, creating your own apps etc. But it is once again
intellectual property of someone.
- Another issue is the actual protection of user data itself.
Currently the emulator is as open as it can be! If the phone is stolen
for example, some data could be really sensitive that can be stored in
the Phone SQLite database? Will there be any solutions how to restrict
access to the console level in the future that the user himself can
set and manage?

Possible solutions that I have come to are:
- hardcoding the copyrighted data into code
- using obfuscators to protect the code from some reverse engineering
attempts
- authenticating the app over Internet on the first use and creating
some MD5 checkfiles

I find those questions important! If you have similar doubts or you
could extend the list of those issues, we could try to improve those
questions together through a wider dialogue!

Regards

Jack
--~--~-~--~~~---~--~~
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
[EMAIL PROTECTED]
Announcing the new M5 SDK!
http://android-developers.blogspot.com/2008/02/android-sdk-m5-rc14-now-available.html
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] Re: Protecting data and application from illegal use

2008-04-19 Thread tu
I am working on this topic recently, base on my project RCP for Android.
http://code.google.com/p/rcpandroid/

Now bundles (sub-apks) can be loaded after encrypted.


2008/4/19, Jackkk <[EMAIL PROTECTED]>:
>
>
> Hi!
>
> I was wondering about some real world issues about commercial
> applications:
>
> - Will there be a possibility for encrypted APKs as some of the
> information included with the app (files, media, images, databases)
> can be copyrighted with the need to protect it from illegal copy.
> - Could there be an Android based solution for evaluation purposes and
> time limitations?
> - How can we protect our software from being just copied from one
> phone to another? The trick would be to add some checksum files
> created from serial no and phone info, but what are the proper
> mechanisms for that? What is the unique and reliable info from the OS
> or phone that could be used and could not be cracked very easily?
> - How to protect data in SQLite? For example, the software needs a
> load of data that will be stored in database after initial launch. But
> the data could be also suitable for other illegal purposes - sharing
> on Internet, creating your own apps etc. But it is once again
> intellectual property of someone.
> - Another issue is the actual protection of user data itself.
> Currently the emulator is as open as it can be! If the phone is stolen
> for example, some data could be really sensitive that can be stored in
> the Phone SQLite database? Will there be any solutions how to restrict
> access to the console level in the future that the user himself can
> set and manage?
>
> Possible solutions that I have come to are:
> - hardcoding the copyrighted data into code
> - using obfuscators to protect the code from some reverse engineering
> attempts
> - authenticating the app over Internet on the first use and creating
> some MD5 checkfiles
>
> I find those questions important! If you have similar doubts or you
> could extend the list of those issues, we could try to improve those
> questions together through a wider dialogue!
>
> Regards
>
> Jack
> >
>

--~--~-~--~~~---~--~~
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
[EMAIL PROTECTED]
Announcing the new M5 SDK!
http://android-developers.blogspot.com/2008/02/android-sdk-m5-rc14-now-available.html
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] Re: Protecting data and application from illegal use

2008-04-19 Thread Jackkk

Nice work!

Is there going to be an option for transparent framework also? If I
could include my real app encrypted inside the bundle and distribute
it as one package leaving the wrapper invisible to the end user.

Regards

Jack
--~--~-~--~~~---~--~~
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
[EMAIL PROTECTED]
Announcing the new M5 SDK!
http://android-developers.blogspot.com/2008/02/android-sdk-m5-rc14-now-available.html
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] Re: Protecting data and application from illegal use

2008-04-19 Thread David Given
Jackkk wrote:
> I was wondering about some real world issues about commercial
> applications:

I don't know, but I'm going to have to do something similar, evil though
it may be. In general, though, what you want is impossible: the phone
has to be able to decrypt the data in order to use it, which means that
the decryption key needs to be known to the phone, which means the user
can get at it. All we can do is make it hard or inconvenient to get at
the key.

What I'm doing is not encrypting the data but signing it, which is a
much easier problem --- I don't care about the user being able to copy
the data, I only care about the user *using* that data on another
device. For that, a signature based on our private key and the phone's
IMEI will do. Our app checks the signature every time it starts up which
verifies that the data is authorised for use by that phone, and verifies
that nobody's tampered with it.

If you want a full-scale encryption system... um, hard. Are you willing
to download the key every time the applicaiton is used, over the 'net?
That way you don't have to store it on the phone.

-- 
┌─── dg@cowlark.com ─ http://www.cowlark.com ─
│ "I have always wished for my computer to be as easy to use as my
│ telephone; my wish has come true because I can no longer figure out
│ how to use my telephone." --- Bjarne Stroustrup



signature.asc
Description: OpenPGP digital signature


[android-developers] Re: Protecting data and application from illegal use

2008-04-19 Thread tu
Yeah, the framework is mostly transparent. You can generate your own private
key and encrypt or sign your bundle. The main-apk has public key. You can
try to download my project and extract sources packed in apk to study how to
bundle programming. I will upload my security solutions some days later.


2008/4/19, Jackkk <[EMAIL PROTECTED]>:
>
>
> Nice work!
>
> Is there going to be an option for transparent framework also? If I
> could include my real app encrypted inside the bundle and distribute
> it as one package leaving the wrapper invisible to the end user.
>
> Regards
>
> Jack
> >
>

--~--~-~--~~~---~--~~
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
[EMAIL PROTECTED]
Announcing the new M5 SDK!
http://android-developers.blogspot.com/2008/02/android-sdk-m5-rc14-now-available.html
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] Re: Protecting data and application from illegal use

2008-04-19 Thread tu
Yeah, the framework is mostly transparent. You can generate your own private
key and encrypt or sign your bundle. The main-apk has public key. You can
try to download my project and extract sources packed in apk to study how to
bundle programming. I will upload my security solutions some days later.


2008/4/19, Jackkk <[EMAIL PROTECTED]>:
>
>
> Nice work!
>
> Is there going to be an option for transparent framework also? If I
> could include my real app encrypted inside the bundle and distribute
> it as one package leaving the wrapper invisible to the end user.
>
> Regards
>
> Jack
> >
>

--~--~-~--~~~---~--~~
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
[EMAIL PROTECTED]
Announcing the new M5 SDK!
http://android-developers.blogspot.com/2008/02/android-sdk-m5-rc14-now-available.html
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] Re: Protecting data and application from illegal use

2008-04-19 Thread Jackkk

This is of course obvious that we can never get full protection for
apps that the program files have been given away. For server based
things this is rather simple.

Tu, your work seems to be very interesting… Combined with other
methods and technics it can provide a very good system. What I'm
conserned is the actual performance that might go down. How is the
decryption done - loading the code into memory and launching from
there? Also, if in the future there will be other database engines
available for Android, the data protection might become much easier
also!

To extend the idea of IMEI encrypted check keys, a rather good
solution would also be to compile the app each time it is downloaded
with unique keys hardcoded for identification purposes or make a
number of apk's that are all different from inside and let the buyers
download different version each time. This all can be 100% automated.

The thing where the user has to authenticate himselt over network each
time is impossible. Even the first time might be hard! I think the
issue here is to make it a little bit harder than the cost of $10.
--~--~-~--~~~---~--~~
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
[EMAIL PROTECTED]
Announcing the new M5 SDK!
http://android-developers.blogspot.com/2008/02/android-sdk-m5-rc14-now-available.html
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] ProgressDialog not rotating

2008-04-19 Thread WildLuka

hi all,

My LoginDialog spawns a progress dialog during the login process.
this is achieved the canonical way, through the use of a handler,
which is in charge of executing the login code.

public class LoginDialog extends Dialog {
private ProgressDialog mProgressDialog;

private Handler mProgressDialogHandler  = new Handler() {
public void handleMessage(Message msg) {
mProgressDialog.dismiss();
}

private void login()   {
mProgressDialog = ProgressDialog.show(getContext(), "Login",
   "Authenticating ... ", true, true);
   // start login code here
   mProgressDialogHandler.post(new Runnable() {
   public void run() {
   login();
   }
   }
   );

  // end login code here
  mProgressDialogHandler.sendEmptyMessage(0);
}
}

I hope I haven't left anything out.  The ProgressDialog does show up,
however it doesn't rotate!
your help will be immensely appreciated.  I will also welcome any
suggestions on how to improve the login design ...
Many thanks in advance.

Luka
--~--~-~--~~~---~--~~
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
[EMAIL PROTECTED]
Announcing the new M5 SDK!
http://android-developers.blogspot.com/2008/02/android-sdk-m5-rc14-now-available.html
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] Re: Protecting data and application from illegal use

2008-04-19 Thread tu
Then performance is acceptable according to my test. It cost a few seconds
to install a bundle. Because the ClassLoader provided by Android now is only
support apk file than memory bytes, so I have to decrypt the bundle(sub-apk)
to main-apk's data directory.

2008/4/19, Jackkk <[EMAIL PROTECTED]>:
>
>
> This is of course obvious that we can never get full protection for
> apps that the program files have been given away. For server based
> things this is rather simple.
>
> Tu, your work seems to be very interesting… Combined with other
> methods and technics it can provide a very good system. What I'm
> conserned is the actual performance that might go down. How is the
> decryption done - loading the code into memory and launching from
> there? Also, if in the future there will be other database engines
> available for Android, the data protection might become much easier
> also!
>
> To extend the idea of IMEI encrypted check keys, a rather good
> solution would also be to compile the app each time it is downloaded
> with unique keys hardcoded for identification purposes or make a
> number of apk's that are all different from inside and let the buyers
> download different version each time. This all can be 100% automated.
>
> The thing where the user has to authenticate himselt over network each
> time is impossible. Even the first time might be hard! I think the
> issue here is to make it a little bit harder than the cost of $10.
> >
>

--~--~-~--~~~---~--~~
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
[EMAIL PROTECTED]
Announcing the new M5 SDK!
http://android-developers.blogspot.com/2008/02/android-sdk-m5-rc14-now-available.html
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] Managed Cursors

2008-04-19 Thread Flik

What causes a managed cursor to not update on resume? Does
startActivity or startSubActivity have anything to do with this? How
many cursors can an activity manage?
--~--~-~--~~~---~--~~
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
[EMAIL PROTECTED]
Announcing the new M5 SDK!
http://android-developers.blogspot.com/2008/02/android-sdk-m5-rc14-now-available.html
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] Re: Emulator crashing constantly on Windows Vista

2008-04-19 Thread Beginner

- Installed SP1
- uninstalled both sdk and the plugin

No difference.

On Apr 18, 6:08 pm, "Michael R. Novak" <[EMAIL PROTECTED]>
wrote:
> I would try reinstalling the sdk and if needed the eclipse plugin.
>
> I have noticed issues with the emulator on both Windows and Linux.
>
> If you have a mac, the emulator is certainly the best on the mac.
>
> -Mike
>
> - Original Message -
> From: "Beginner" <[EMAIL PROTECTED]>
> To: "Android Developers" 
> Sent: Friday, April 18, 2008 3:23:06 PM GMT -05:00 US/Canada Eastern
> Subject: [android-developers] Re: Emulator crashing constantly on Windows 
> Vista
>
> I'm not sure if this is of any more help, but here we go
>
> [Trace from console]
>
> "failed to read packet from transport socket on fd 103
> failed to read packet from transport socket on fd 108
>
> This application has requested the Runtime to terminate it in an
> unusual way.
> Please contact the application's support team for more information."
>
> The "failed to read packet" lines appear when I close the emulator
>
> [What I did]
> Here are the steps I took to get the problem... I'm not sure if they
> tell you anything or if they're useless. But I will include them just
> in case.
>
> - Delete old userdata img file
> - Run (not debug) emulator from eclipse
>
> - ./adb shell
> - cd data/misc/location
> - mkdir 
> - exit
>
> - From eclipse File Explorer view
> - push properties file to 
> - push kml file to 
> - close emulator
> - start emulator again
> - run for 5 minutes (everything works fine)
> - close emulator
>
> - wait a few minutes
> - see error
>
> I hope this helps, but I'm sure the above gives you no useful info. So
> if you want me to try something specific, let me know.
>
> On Apr 18, 2:23 pm, burevestnikov <[EMAIL PROTECTED]> wrote:
> > Just confirming that I am also seeing this.
>
> > On Apr 18, 9:42 am, Beginner <[EMAIL PROTECTED]> wrote:
>
> > > I'm seeing the same problem. The Windows message is:
>
> > > "adb.exe has stopped working
>
> > > A problem caused the program to stop working correctly.
> > > Windows will close the program and notify you if a solution is
> > > available"
>
> > > There is no "Details" button or anything of the sort. Only a "Close
> > > Program" button.
>
> > > Eclipse has the following message in the Console:
>
> > > [2008-04-18 04:41:28 - adb] This application has requested the Runtime
> > > to terminate it in an unusual way.
> > > [2008-04-18 04:41:28 - adb] Please contact the application's support
> > > team for more information.
> > > [2008-04-18 12:17:04 - DeviceMonitor] Adb connection Error:An existing
> > > connection was forcibly closed by the remote host
>
> > > Any ideas what could be causing this?
>
> > > On Mar 30, 12:28 pm, Digit <[EMAIL PROTECTED]> wrote:> but there must be 
> > > a button like "Details..." that should give you more
> > > > information about the crash. if you could paste this information here, 
> > > > that
> > > > would be useful to understand what's happening...
>
> > > > On Sun, Mar 30, 2008 at 10:00 AM, [EMAIL PROTECTED] <[EMAIL PROTECTED]>
> > > > wrote:
>
> > > > > The error message is that Emulator has stopped working.
>
> > > > > nitin
--~--~-~--~~~---~--~~
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
[EMAIL PROTECTED]
Announcing the new M5 SDK!
http://android-developers.blogspot.com/2008/02/android-sdk-m5-rc14-now-available.html
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] Re: Emulator crashing constantly on Windows Vista

2008-04-19 Thread Michael R. Novak

try installing the Java EE version of eclipse, that is what i switched to on 
windows. It doesn't make it perfect but it certainly makes it easier.

mike

- Original Message -
From: "Beginner" <[EMAIL PROTECTED]>
To: "Android Developers" 
Sent: Saturday, April 19, 2008 2:05:04 PM GMT -05:00 US/Canada Eastern
Subject: [android-developers] Re: Emulator crashing constantly on Windows Vista


- Installed SP1
- uninstalled both sdk and the plugin

No difference.

On Apr 18, 6:08 pm, "Michael R. Novak" <[EMAIL PROTECTED]>
wrote:
> I would try reinstalling the sdk and if needed the eclipse plugin.
>
> I have noticed issues with the emulator on both Windows and Linux.
>
> If you have a mac, the emulator is certainly the best on the mac.
>
> -Mike
>
> - Original Message -
> From: "Beginner" <[EMAIL PROTECTED]>
> To: "Android Developers" 
> Sent: Friday, April 18, 2008 3:23:06 PM GMT -05:00 US/Canada Eastern
> Subject: [android-developers] Re: Emulator crashing constantly on Windows 
> Vista
>
> I'm not sure if this is of any more help, but here we go
>
> [Trace from console]
>
> "failed to read packet from transport socket on fd 103
> failed to read packet from transport socket on fd 108
>
> This application has requested the Runtime to terminate it in an
> unusual way.
> Please contact the application's support team for more information."
>
> The "failed to read packet" lines appear when I close the emulator
>
> [What I did]
> Here are the steps I took to get the problem... I'm not sure if they
> tell you anything or if they're useless. But I will include them just
> in case.
>
> - Delete old userdata img file
> - Run (not debug) emulator from eclipse
>
> - ./adb shell
> - cd data/misc/location
> - mkdir 
> - exit
>
> - From eclipse File Explorer view
> - push properties file to 
> - push kml file to 
> - close emulator
> - start emulator again
> - run for 5 minutes (everything works fine)
> - close emulator
>
> - wait a few minutes
> - see error
>
> I hope this helps, but I'm sure the above gives you no useful info. So
> if you want me to try something specific, let me know.
>
> On Apr 18, 2:23 pm, burevestnikov <[EMAIL PROTECTED]> wrote:
> > Just confirming that I am also seeing this.
>
> > On Apr 18, 9:42 am, Beginner <[EMAIL PROTECTED]> wrote:
>
> > > I'm seeing the same problem. The Windows message is:
>
> > > "adb.exe has stopped working
>
> > > A problem caused the program to stop working correctly.
> > > Windows will close the program and notify you if a solution is
> > > available"
>
> > > There is no "Details" button or anything of the sort. Only a "Close
> > > Program" button.
>
> > > Eclipse has the following message in the Console:
>
> > > [2008-04-18 04:41:28 - adb] This application has requested the Runtime
> > > to terminate it in an unusual way.
> > > [2008-04-18 04:41:28 - adb] Please contact the application's support
> > > team for more information.
> > > [2008-04-18 12:17:04 - DeviceMonitor] Adb connection Error:An existing
> > > connection was forcibly closed by the remote host
>
> > > Any ideas what could be causing this?
>
> > > On Mar 30, 12:28 pm, Digit <[EMAIL PROTECTED]> wrote:> but there must be 
> > > a button like "Details..." that should give you more
> > > > information about the crash. if you could paste this information here, 
> > > > that
> > > > would be useful to understand what's happening...
>
> > > > On Sun, Mar 30, 2008 at 10:00 AM, [EMAIL PROTECTED] <[EMAIL PROTECTED]>
> > > > wrote:
>
> > > > > The error message is that Emulator has stopped working.
>
> > > > > nitin


--~--~-~--~~~---~--~~
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
[EMAIL PROTECTED]
Announcing the new M5 SDK!
http://android-developers.blogspot.com/2008/02/android-sdk-m5-rc14-now-available.html
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] Re: Emulator crashing constantly on Windows Vista

2008-04-19 Thread Digit
please provide us with ADB server traces (collected through the procedure I
described a few posts ago in this thread). without this, there is little we
can do

On Sat, Apr 19, 2008 at 8:05 PM, Beginner <[EMAIL PROTECTED]> wrote:

>
> - Installed SP1
> - uninstalled both sdk and the plugin
>
> No difference.
>
> On Apr 18, 6:08 pm, "Michael R. Novak" <[EMAIL PROTECTED]>
> wrote:
> > I would try reinstalling the sdk and if needed the eclipse plugin.
> >
> > I have noticed issues with the emulator on both Windows and Linux.
> >
> > If you have a mac, the emulator is certainly the best on the mac.
> >
> > -Mike
> >
> > - Original Message -
> > From: "Beginner" <[EMAIL PROTECTED]>
> > To: "Android Developers" 
> > Sent: Friday, April 18, 2008 3:23:06 PM GMT -05:00 US/Canada Eastern
> > Subject: [android-developers] Re: Emulator crashing constantly on Windows
> Vista
> >
> > I'm not sure if this is of any more help, but here we go
> >
> > [Trace from console]
> >
> > "failed to read packet from transport socket on fd 103
> > failed to read packet from transport socket on fd 108
> >
> > This application has requested the Runtime to terminate it in an
> > unusual way.
> > Please contact the application's support team for more information."
> >
> > The "failed to read packet" lines appear when I close the emulator
> >
> > [What I did]
> > Here are the steps I took to get the problem... I'm not sure if they
> > tell you anything or if they're useless. But I will include them just
> > in case.
> >
> > - Delete old userdata img file
> > - Run (not debug) emulator from eclipse
> >
> > - ./adb shell
> > - cd data/misc/location
> > - mkdir 
> > - exit
> >
> > - From eclipse File Explorer view
> > - push properties file to 
> > - push kml file to 
> > - close emulator
> > - start emulator again
> > - run for 5 minutes (everything works fine)
> > - close emulator
> >
> > - wait a few minutes
> > - see error
> >
> > I hope this helps, but I'm sure the above gives you no useful info. So
> > if you want me to try something specific, let me know.
> >
> > On Apr 18, 2:23 pm, burevestnikov <[EMAIL PROTECTED]> wrote:
> > > Just confirming that I am also seeing this.
> >
> > > On Apr 18, 9:42 am, Beginner <[EMAIL PROTECTED]> wrote:
> >
> > > > I'm seeing the same problem. The Windows message is:
> >
> > > > "adb.exe has stopped working
> >
> > > > A problem caused the program to stop working correctly.
> > > > Windows will close the program and notify you if a solution is
> > > > available"
> >
> > > > There is no "Details" button or anything of the sort. Only a "Close
> > > > Program" button.
> >
> > > > Eclipse has the following message in the Console:
> >
> > > > [2008-04-18 04:41:28 - adb] This application has requested the
> Runtime
> > > > to terminate it in an unusual way.
> > > > [2008-04-18 04:41:28 - adb] Please contact the application's support
> > > > team for more information.
> > > > [2008-04-18 12:17:04 - DeviceMonitor] Adb connection Error:An
> existing
> > > > connection was forcibly closed by the remote host
> >
> > > > Any ideas what could be causing this?
> >
> > > > On Mar 30, 12:28 pm, Digit <[EMAIL PROTECTED]> wrote:> but
> there must be a button like "Details..." that should give you more
> > > > > information about the crash. if you could paste this information
> here, that
> > > > > would be useful to understand what's happening...
> >
> > > > > On Sun, Mar 30, 2008 at 10:00 AM, [EMAIL PROTECTED] <
> [EMAIL PROTECTED]>
> > > > > wrote:
> >
> > > > > > The error message is that Emulator has stopped working.
> >
> > > > > > nitin
> >
>

--~--~-~--~~~---~--~~
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
[EMAIL PROTECTED]
Announcing the new M5 SDK!
http://android-developers.blogspot.com/2008/02/android-sdk-m5-rc14-now-available.html
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---