[android-developers] Re: delete my app on G1

2008-11-01 Thread s d
Thanks Mark and brs for your answers. Uninstall works. I wonder why I never thought of that :) sd On Sat, Nov 1, 2008 at 5:06 AM, brs [EMAIL PROTECTED] wrote: On Nov 1, 1:05 am, sd [EMAIL PROTECTED] wrote: I am able to delete my app on the emulator either using adb or the file explorer

[android-developers] Re: g1 keyboard missing up/down/left/right keys?

2008-10-28 Thread s d
it themselves. This is why you can long press on the trackball all over the UI to bring up the context menu. On Oct 27, 8:13 pm, s d [EMAIL PROTECTED] wrote: How do we bring up context menu when there is no D-Pad Center? Holding down the trackball didn't seem to work for me. Thanks! On Mon

[android-developers] Re: g1 keyboard missing up/down/left/right keys?

2008-10-27 Thread s d
How do we bring up context menu when there is no D-Pad Center? Holding down the trackball didn't seem to work for me. Thanks! On Mon, Oct 27, 2008 at 5:04 PM, hackbod [EMAIL PROTECTED] wrote: They are translated, but of course it will be a quick down/up pair. Snake should work; Lunar Lander

[android-developers] PlayScreen launches portal with 20 free games for the new T-Mobile G1 (Google Android) Phone.

2008-10-23 Thread William D. Volk
News about our web-portal for the G1. PlayScreen launches portal with 20 free games for the new T-Mobile G1 (Google Android) Phone. G1 owners won’t have to wait for great mobile entertainment at PlayScreen.com . SAN DIEGO - Oct, 23rd, 2008. The company that launched the first iPhone

[android-developers] How do I 'convert' web apps into Java apps that don't need to access the net?

2008-10-19 Thread William D. Volk
I understand that I can replace the main view in an Eclipse generated application with a WebView, and point it to my content, enable javascript and then have a web based (javascript) application that can be treated as a Java app (App Market etc...). My question is simply this, how can I

[android-developers] On screen Key board

2008-09-30 Thread D
Has there been a program developed for an on screen key board with Android software? I currently have an HTC T Mobile Wing, and I am used to a quarty keyboard. Though convenient, I still like to be able to text, or send an email with one hand. I am able to do this on the wing using windows 6.0,

[android-developers] ListAdapter transformation

2008-09-10 Thread Jorge D Ortiz
Hi all, I would like to transform the contents of one of the fields of a databade before they get printed in each of the rows. For example, I have an integer field that can be 0 or 1 and I want to print on or off on the list. I assume that the proper place to do the transformation is by using

[android-developers] Re: ListView, multipleChoice -- how do you choose things?

2008-09-09 Thread Jorge D Ortiz
Hi all! Same problem here. Any advances/diagnostic? Best regards, Jorge On Aug 26, 10:05 pm, Mark Murphy [EMAIL PROTECTED] wrote: I just checked our changelogs and this is a bug we fixed after the SDK was cut. Sorry for this inconvenience, the next SDK will provide you with a fix for

[android-developers] ListActivity getSelectedItemId() and AlertDialog()

2008-09-06 Thread Jorge D Ortiz
Hi all, I have a problem when using getSeletedItemId() for a ListActivity. The code should do something like this: 1. User selects one row of the list. 2. User invokes the menu option Delete row. 3. onOptionsItemSelected() handles that case and asks for confirmation: case MENU_ID_DEL:

[android-developers] Re: ListActivity getSelectedItemId() and AlertDialog()

2008-09-06 Thread Jorge D Ortiz
Thanks to both. That was my understanding, but then I run into a problem with the java language. If I declare the rowId variable as local in the onOptionsItemSelected() then the compiler complains that: local variable rowId is accessed from within inner class; needs to be declared final. And

[android-developers] Re: ListActivity getSelectedItemId() and AlertDialog()

2008-09-06 Thread Jorge D Ortiz
Adding on mark comments, I should say that the behaviour is not the same with an ExpandableListActivity using getSelectedId(). Best regards, Jorge On Sep 6, 9:37 pm, Jorge D Ortiz [EMAIL PROTECTED] wrote: Thanks to both.  That was my understanding, but then I run into a problem

[android-developers] Re: ListActivity getSelectedItemId() and AlertDialog()

2008-09-06 Thread Jorge D Ortiz
Fair enough! Thank you. Jorge On Sep 6, 9:45 pm, Mark Murphy [EMAIL PROTECTED] wrote: Jorge D Ortiz wrote: Thanks to both.  That was my understanding, but then I run into a problem with the java language. If I declare the rowId variable as local in the onOptionsItemSelected

[android-developers] Re: ListActivity getSelectedItemId() and AlertDialog()

2008-09-06 Thread Jorge D Ortiz
the menu option Delete row. A remark: As far as I understand, the proper Android way of doing this would be to put the Delete command into the long-click context menu... (either long-click by d-pad, or by touch). Context commands should not appear in the options menu - only global commands

[android-developers] Re: ListActivity getSelectedItemId() and AlertDialog()

2008-09-06 Thread Jorge D Ortiz
the menu option Delete row. A remark: As far as I understand, the proper Android way of doing this would be to put the Delete command into the long-click context menu... (either long-click by d-pad, or by touch). Context commands should not appear in the options menu - only global commands

[android-developers] Re: ListActivity getSelectedItemId() and AlertDialog()

2008-09-06 Thread Jorge D Ortiz
this would be to put the Delete command into the long-click context menu... (either long-click by d-pad, or by touch). Context commands should not appear in the options menu - only global commands (e.g. Delete all) should be placed there. See onCreateContextMenu

[android-developers] Re: ListActivity getSelectedItemId() and AlertDialog()

2008-09-06 Thread Jorge D Ortiz
this would be to put the Delete command into the long-click context menu... (either long-click by d-pad, or by touch). Context commands should not appear in the options menu - only global commands (e.g. Delete all) should be placed there. See onCreateContextMenu

[android-developers] Re: ListActivity getSelectedItemId() and AlertDialog()

2008-09-06 Thread Jorge D Ortiz
On Sep 6, 10:09 pm, Romain Guy [EMAIL PROTECTED] wrote: And we're aware that this tutorial is wrong :( Sorry for being misleading. On Sat, Sep 6, 2008 at 1:08 PM, Jorge D Ortiz [EMAIL PROTECTED] wrote: However the tutorial (notepad) implements this exact behaviour. :-/  Jorge On Sep 6

[android-developers] Re: ListActivity getSelectedItemId() and AlertDialog()

2008-09-06 Thread Jorge D Ortiz
several items. On Sep 6, 2008 2:18 PM, Jorge D Ortiz [EMAIL PROTECTED] wrote: I understand.  I am not an expert on usability, but it seems more convenient to me to delete from the list view (as in the tutorial) than having to get into each of the items (like in the contacts application

[android-developers] Re: ListActivity getSelectedItemId() and AlertDialog()

2008-09-06 Thread Jorge D Ortiz
Very interesting. Thank you. How do you deal with long clicks? I do not find any function in the ListActivity that takes care of them. Is there any examples in the ApiDemos? Best regards, Jorge On Sep 6, 11:34 pm, Peli [EMAIL PROTECTED] wrote: it seems more convenient to me to delete

[android-developers] Re: ListActivity getSelectedItemId() and AlertDialog()

2008-09-06 Thread Jorge D Ortiz
Thank you! On Sep 7, 1:09 am, Mark Murphy [EMAIL PROTECTED] wrote: Jorge D Ortiz wrote: Very interesting. Thank you. How do you deal with long clicks? I do not find any function in the ListActivity that takes care of them. Is there any examples in the ApiDemos? For cases like yours

[android-developers] Re: 0.9 and simple database management issue ? [SOLVED]

2008-09-02 Thread Jorge D Ortiz
Hi, I am having the same problem here. It is the getWritableDatabase() that fails showing the following error: sqlite3_open_v2(/data/data/com.powwau.gtd.android/databases/gtd, handle, 6, NULL) failed I have been porting my app from m5 to 0.9 and followed the Notepad tutorial. Any ideas?

[android-developers] Re: 0.9 and simple database management issue ? [SOLVED]

2008-09-02 Thread Jorge D Ortiz
emulator -wipe-data solved it. Thanks. Jorge On Sep 2, 7:18 pm, Jorge D Ortiz [EMAIL PROTECTED] wrote: Hi,   I am having the same problem here. It is the getWritableDatabase() that fails showing the following error: sqlite3_open_v2(/data/data/com.powwau.gtd.android/databases/gtd, handle

[android-developers] Re: how can i know if im connected

2008-05-22 Thread mystic-d
can someone help me with this issue plz ? Thanks ! --~--~-~--~~~---~--~~ 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

[android-developers] catching the KEYCODE_ENDCALL event

2008-05-21 Thread mystic-d
hey someone know how can i catching the KEYCODE_ENDCALL and KEYCODE_HOME event ? i try to override the 'onKeyDown' method of activity like the next code , but i cant catch the events @Override public boolean onKeyDown(int keyCode, KeyEvent event) { if (keyCode ==

[android-developers] Error msg while creating Database

2008-05-19 Thread mystic-d
hey im using the below code to create the database and its working fine, except that when im watching the LogCat i saw the error msg : Failed to open database file /data/data/com.myAPP/database/DB.db - unable to open database file (i saw this under the E (ERROR) section) , but as i saw it, it

[android-developers] Re: using kml file

2008-05-18 Thread mystic-d
yes i named it gps , and i forgot to say, that with nmea file its working well... --~--~-~--~~~---~--~~ 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] Re: how can i know if im connected

2008-05-18 Thread mystic-d
oops :) its still not working... i have the class HandleConnectionState that extends IntentReceiver, and im using this code to register the reciever inside a service (that is also has registered for reciever :handleLocationUpdate ): [code] connectionStateReceiver = new HandleConnectionState();

[android-developers] Problem with the heap size

2008-05-17 Thread mystic-d
Hi I have developed an application and while running its giving heap size problem , my application was just crashed (and not getting any exception) , i saw in the DDMS that the heap size for my application (that its my thought) is 1.316MB and i have free 336.176KB before i start the new action,

[android-developers] Re: Problem with the heap size

2008-05-17 Thread mystic-d
it cant be that im trying to allocate 15MB at once or generally ( i dont have so much data )... there is any way to check it ? what is what im watching in the DDMS that says that the HEAP size is 1.3MB and i free 336KB ? Thanks ! On May 17, 11:50 am, Romain Guy [EMAIL PROTECTED] wrote:

[android-developers] Re: Problem with the heap size

2008-05-17 Thread mystic-d
I saw this at the DDMS , there is a small icon that im pressing on to ENABLED the update HEAP and than in the right side there is a tab with the heap information (this is what you called the VM information in the DDMS ? ) where can i find a logs file inside the emulator ? because in the logCat i

[android-developers] Re: Problem with the heap size

2008-05-17 Thread mystic-d
something is very strange because when i run it regularly (not in debug mode) its work fine, but when im in debug mode , the application is crashed (i think because im not getting to the next line in the code..) and i cant see nothing in the logCat. there is a log files inside the emulator ?

[android-developers] Re: Problem with the heap size

2008-05-17 Thread mystic-d
when i say i cant see nothing in the logCat i mean that the logCat was stop to work (i didnt see any message.. even when i restart the application) --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers

[android-developers] Re: how can i know if im connected

2008-05-17 Thread mystic-d
can someone give me a peace of code , about how to do this ? and what did i need in my AndroidManifest.xml file ? On May 12, 8:49 pm, bloodcarter [EMAIL PROTECTED] wrote: Hi mystic-d, This may helphttp://code.google.com/android/reference/android/content/Intent.html#... So you can listen

[android-developers] how can i create a apk file from my project

2008-05-13 Thread mystic-d
hey how can i create a apk file from my project ? Thanks ! --~--~-~--~~~---~--~~ 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

[android-developers] Re: how can i create a apk file from my project

2008-05-13 Thread mystic-d
thanks for your replay Mark, but what do you mean 'command-line' tools ? im using the Eclipse for the development... thanks On May 13, 3:07 pm, Mark Murphy [EMAIL PROTECTED] wrote: mystic-d wrote: hey how can i create a apk file from my project ? Thanks ! If you are using the command

[android-developers] how can i know if im connected

2008-05-12 Thread mystic-d
hey Does someone know how can i know if im connected to the internet (through the WIFI connection and not GPRS or anything elese) ? Thanks ! --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To

[android-developers] Re: Creating a Mock Location Provider

2008-03-29 Thread Chris D
Megha, Will that new mock provider reside in your apk? I ask specifically to understand if I'll have to find a way to include a mock provider in my submission. If it will not be there, will the judges use the adb shell to make the directory? Thanks, Chris On Mar 12, 7:54 pm, Megha Joshi

[android-developers] Proximity Alert Extras

2008-03-28 Thread Chris D
Has anyone been able to put extras in the intent they use for addProximityAlert then be able to do a getExtra when the IntentReceiver handles the Proximity Alert? ex: Intent blah = new Intent(com.google.android.PROXIMITY_ALERT); blah.putExtra(color,red);

<    1   2   3   4   5