[android-beginners] updating an xml file

2010-07-20 Thread Emmen Farooq
I have an xml file on my hard drive, that already has and element name , now when I change it through the application I want it to be written to the xml , i.e. the name is updated in the xml , when the user changes it in the aplication , please help / advise ? -- You received this message

[android-beginners] Re: ant scripts to build apk file and load it in a emulator?

2010-07-20 Thread jrichards1...@googlemail.com
any sugegstions? -- You received this message because you are subscribed to the Google Groups Android Beginners group. NEW! Try asking and tagging your question on Stack Overflow at http://stackoverflow.com/questions/tagged/android To unsubscribe from this group, send email to

[android-beginners] no such table: local_network: , while compiling: SELECT _id, network, url FROM local_network

2010-07-20 Thread Rodney Lendore
Hi, Sorry for reposting this, but some of the initial details were incorrect. I have followed the instructions from this site to the letter http://www.reigndesign.com/blog/using-your-own-sqlite-database-in-android-applications/comment-page-2/ but to no avail. Each time I run the code suggested,

[android-beginners] Debug Keystore Password Wrong? HELP!!!

2010-07-20 Thread Johnb
If i can get any help it would be great. I am trying to just run the debug mode with the keytool and i enter the Keystore password from Android which is android and it tells me that the password is wrong. What Do i do about this problem so i can get the MD5 fingerprint in order to get my API key

[android-beginners] Accessibility program

2010-07-20 Thread Gordon
Hi everyone I'm mainly a PHP developer, and have only basic Java experience, but I recently acquired an Android phone (A HTC Desire) and was shocked to discover how poor the out-of-the-box accessibility features are! I had naturally assumed that there would be something along the lines of the

[android-beginners] Android Facebook SDK - get friends birthday

2010-07-20 Thread Tibi Neagu
Hello, I am trying to develop an application that show your facebook friends birthday. I am using Facebook Official SDK downloaded from here http://github.com/facebook/facebook-android-sdk. In this moment I have the list of friends obtained using graph api from www.facebook.com/me/friends but I

Re: [android-beginners] ERROR:- no such table: TABLE: , while compiling: SELECT _id, network, url FROM TABLE

2010-07-20 Thread Rodney Lendore
Hi Justin, Again sorry for the confusion I only used TABLE in the subject head the real error is: no such table: local_network: , while compiling: SELECT _id, network, url FROM local_network Thanks Rodney On Mon, Jul 19, 2010 at 10:44 PM, Justin Anderson janderson@gmail.comwrote: And

[android-beginners] Returning values from dialog

2010-07-20 Thread nimusi
I am a newbie trying to learn Java at the same time as learning Android. I need to show a dialog containing two EditTexts and return the values: I am using the following code: public static String addItem(final Context context) { final String myTitle = ; final

Re: [android-beginners] Notification.FLAG_NO_CLEAR not working as expected

2010-07-20 Thread TreKing
On Sat, Jul 17, 2010 at 12:49 PM, Bret Foreman bret.fore...@gmail.comwrote: notification.defaults |= Notification.FLAG_NO_CLEAR; I expect this to mean that pressing the clear button in the expanded notification screen will not clear this notification. But the button still clears the

Re: [android-beginners] Debug Keystore Password Wrong? HELP!!!

2010-07-20 Thread Xavier Ducrohet
The password has not changed, we still use android for the debug keystore. Xav On Tue, Jul 20, 2010 at 1:05 AM, Johnb johndreamsp...@hotmail.com wrote: If i can get any help it would be great.  I am trying to just run the debug mode with the keytool and i enter the Keystore password from

Re: [android-beginners] ant scripts to build apk file and load it in a emulator?

2010-07-20 Thread Xavier Ducrohet
I'm not sure why you chose to export an Ant file from Eclipse. If it was from an Android project, you're not going to get Ant target for the Android builders (because we didn't add any support for Ant export) so those steps are missing. Interestingly your Ant file contains some bits from the Ant

Re: [android-beginners] Re: Creating a populated sqlite database

2010-07-20 Thread Rodney Lendore
Hi Kostya, Given the diffculties I have had porting a database I created in SQLite Browser. I am going to try the approach you suggested. Many Thanks On Fri, Jul 16, 2010 at 8:41 PM, Kostya Vasilyev kmans...@gmail.com wrote: Rodney, Just one more option - write a small Android app to create

Re: [android-beginners] Re: Creating a populated sqlite database

2010-07-20 Thread Mikey
I have used Justin's approach with my app, and have found it to be a very good approach as this can then handle database versioning. Mikey On 20 Jul 2010, at 16:26, Rodney Lendore wrote: Hi Kostya, Given the diffculties I have had porting a database I created in SQLite Browser. I am

Re: [android-beginners] Returning values from dialog

2010-07-20 Thread Kostya Vasilyev
Try removing 'final' from 'final mytitle'. 'final' in Java means you are telling the compiler you are going to assign the value once, a kind of self-check. Consequent assingments are flagged as an error. -- Kostya Vasilyev -- http://kmansoft.wordpress.com 20.07.2010 18:26 пользователь nimusi

[android-beginners] Re: Returning values from dialog

2010-07-20 Thread nimusi
Thank you, that works. On 20 July, 16:40, Kostya Vasilyev kmans...@gmail.com wrote: Try removing 'final' from 'final mytitle'. 'final' in Java means you are telling the compiler you are going to assign the value once, a kind of self-check. Consequent assingments are flagged as an error. --

Re: [android-beginners] How to Access voice call stream in real time

2010-07-20 Thread peter f miller
On Mon, Jul 19, 2010 at 10:53 PM, zain mustafa zai...@gmail.com wrote: I know it is possible to catch the voice stream of a call and edit it in real time because of the existence of call spoofing applications on android phones. I need to know how i can access the real time stream of a voice

[android-beginners] Re: updating an xml file

2010-07-20 Thread DanH
This is probably a job for DOM. On Jul 20, 2:08 am, Emmen Farooq farooq.em...@gmail.com wrote: I have an xml file on my hard drive,   that already has and element name , now when I change it through the application I want it to be written to the xml , i.e. the name is updated in the xml , when

[android-beginners] Re: stubborn error wont go away

2010-07-20 Thread DanH
Yeah, same here, but they are handy in some cases. On Jul 19, 11:18 pm, Justin Anderson janderson@gmail.com wrote: * Yeah, the ability to define a class inline like that is a very powerful feature of Java, but it can be very confusing since the {} and () get nested so deeply and get so

[android-beginners] Developing a website for nice/elegant visualization in Android Tablet...

2010-07-20 Thread Dinooz
I like to create some kind of catalog of products, the picture and some information, I'm thinking to use Ruby on Rails for quick prototyping, however, what would you recommend to use as resolution of the page to make it easily viewable using the web browser from an Android Tablet ? Thanks in

[android-beginners] generating http requests

2010-07-20 Thread Emmen Farooq
how can i get an emulator to generate them ? for android -- You received this message because you are subscribed to the Google Groups Android Beginners group. NEW! Try asking and tagging your question on Stack Overflow at http://stackoverflow.com/questions/tagged/android To unsubscribe from

[android-beginners] [Android Doubt] ListView inside Layout with Scroll

2010-07-20 Thread Carlos Junior
Hello, I need some advancements with layout in android. If a have some components in my screen and a listView in the end how could I scroll the entire screen? LinearLayout does not support scroll right? Besides, ListView inside ScrollView is a bad idea, so I ask the android experts, how this

[android-beginners] Source code

2010-07-20 Thread kypriakos
Hi all, is the Android 2.1 or 2.2 source code available somewhere? I was able to find the source code of what they called android 1.5 cupcake but I am not sure that is very recent. Thanks -- You received this message because you are subscribed to the Google Groups Android Beginners group.

Re: [android-beginners] Source code

2010-07-20 Thread Mark Murphy
On Tue, Jul 20, 2010 at 3:20 PM, kypriakos demet...@ece.neu.edu wrote: is the Android 2.1 or 2.2 source code available somewhere? http://source.android.com I was able to find the source code of what they called android 1.5 cupcake but I am not sure that is very recent. Cupcake is from last

[android-beginners] The application camera has stopped error

2010-07-20 Thread Amit Sood
Hello Experts, I am trying to run my camera on my emulator, but every time i try running it i get the following error. the application camera (process com.android.camera) has stopped unexpectedly. please try again Please advice Massive thanks -- You received this message because you are

Re: [android-beginners] Re: stubborn error wont go away

2010-07-20 Thread TreKing
On Mon, Jul 19, 2010 at 1:18 PM, martinmike2 martinmi...@gmail.com wrote: not sure what im doing wrong. This: Im just starting app development and learning java at the same time. Do yourself a favor and learn Java first independently of Android. It will be much easier to get your pants on

[android-beginners] Re: GPS satellite icon

2010-07-20 Thread Bret Foreman
Someone else emailed me directly with the same problem. It looks like this is simply a bug in Android. The work-around should be pretty simple: 1) Build a periodic Timer with a TimerTask that registers the listener, say every 10 minutes or whatever frequency is required. 2) Unregister the

Re: [android-beginners] Re: Creating a populated sqlite database

2010-07-20 Thread Rodney Lendore
Thanks guys, coding did the trick . On Tue, Jul 20, 2010 at 4:29 PM, Mikey frak@gmail.com wrote: I have used Justin's approach with my app, and have found it to be a very good approach as this can then handle database versioning. Mikey On 20 Jul 2010, at 16:26, Rodney Lendore wrote:

Re: [android-beginners] ERROR:- no such table: TABLE: , while compiling: SELECT _id, network, url FROM TABLE

2010-07-20 Thread Rodney Lendore
Hi all, i have found the error of my ways http://www.reigndesign.com/blog/using-your-own-sqlite-database-in-android-applications/comment-page-2/ I misinterpreted the instructions on this page and put the database i created into the assets folder in my workspace folder for the project instead of

Re: [android-beginners] Source code

2010-07-20 Thread Rogério de Souza Moraes
You can get the source from http://source.android.com. Next time google a little bit more and you will find out the answer. Regards, Rogerio 2010/7/20 Mark Murphy mmur...@commonsware.com On Tue, Jul 20, 2010 at 3:20 PM, kypriakos demet...@ece.neu.edu wrote: is the Android 2.1 or 2.2

[android-beginners] Attaching file to email won't work...

2010-07-20 Thread Victoria
Hi, I am trying really hard to attach files to an email... but so far I didn't manage to get it working, I have tried different things that I found while searching for a solution, but I hadn't any luck so far... If someone could help me out here, please, that would be great :) Thanks in advance

RE: [android-beginners] The application camera has stopped error

2010-07-20 Thread tinyang
First, check your logcat and post the lines generated by the error. Secondly, what version of android are you running it on when you get this error, and what are you trying to do with the camera? The offending code snippet might be helpful also. -Original Message- From:

[android-beginners] Re: GPS satellite icon

2010-07-20 Thread Bret Foreman
I notice that several commercial applications have the same problem, in particular the Yelp app. Maybe I should send them my work-around. :) -- You received this message because you are subscribed to the Google Groups Android Beginners group. NEW! Try asking and tagging your question on Stack

[android-beginners] Calling an AlertDialog from inside onOptionsItemSelected

2010-07-20 Thread Bret Foreman
I'm getting an exception when I try to pop up an alert dialog from within the onOptionsItemSelected method of an Activity. The exception looks like this: W/WindowManager( 57): Attempted to add window with non-application token WindowToken{43c4d3b0 token=null}. Aborting. I pasted the same code

[android-beginners] Re: Calling an AlertDialog from inside onOptionsItemSelected

2010-07-20 Thread Bret Foreman
That worked. Mark, you rock...and after 7pm too! -- You received this message because you are subscribed to the Google Groups Android Beginners group. NEW! Try asking and tagging your question on Stack Overflow at http://stackoverflow.com/questions/tagged/android To unsubscribe from this

Re: [android-beginners] Re: Calling an AlertDialog from inside onOptionsItemSelected

2010-07-20 Thread Mark Murphy
On Tue, Jul 20, 2010 at 10:14 PM, Bret Foreman bret.fore...@gmail.com wrote: That worked. Mark, you rock...and after 7pm too! What? People are tracking my sleeping habits now? :-) I was probably a bit over the top by saying to delete all getApplicationContext() calls, though there's so few

[android-beginners] problem in creating options menu

2010-07-20 Thread Emmen Farooq
Hi , I tried the tutorials at http://www.droidnova.com/how-to-create-an-option-menu,427.html and http://developer.android.com/guide/topics/ui/menus.html but in both cases the menu just doesn't appear , the app doesn't crash though -- You received this message because you are subscribed to the

[android-beginners] options menu problem

2010-07-20 Thread Emmen Farooq
is there anyway to make the options menu appear with out clicking on the menu button ? . Thanks in advance -- You received this message because you are subscribed to the Google Groups Android Beginners group. NEW! Try asking and tagging your question on Stack Overflow at