[android-beginners] Database insertion timings

2010-04-12 Thread Alok Kulkarni
Hi, I am inserting around 7000 to 8000 records in my database having 4 tables each having 3 to 4 columns.Its taking me around 22 seconds to do the insertion which is i think is too long. I am using transaction while doing this without which its taking around 55 seconds. According to SQLite

[android-beginners] JavaScript problem in webview

2010-04-12 Thread brijesh masrani
Hello, I have a JavaScript function which returns a value and i want to use that value in my Android program. Can anyone please tell me how to do that. Regards, Brijesh Masrani -- You received this message because you are subscribed to the Google Groups Android Beginners group. NEW! Try

[android-beginners] What version of Android to use when programming basic apps?

2010-04-12 Thread chris0101
First post here! I am new to programming on Android. I would like to know, when you start Android development, which version of Android do you usually choose (the latest or v1.5)? The benefit of testing in the latest I guess would be having the newest and best APIs (and any bugfixes), whereas

[android-beginners] ContactManager sample app (api version 7) stopped unexpectedly

2010-04-12 Thread Langley
I'm trying to get the ContactManager sample application to run and it stops unexpectedly. I haven't modified anything, just deployed it to an AVD that ran other applications (jetboy and the notepad example) fine. The problem occurs when I try to save a new contact and using the debugger I can see

[android-beginners] nested users-permissions/android.permission ?

2010-04-12 Thread filter
Hello, I've already searched the forums, but no luck thus far. Does anyone know where permissions are documented, specifically if permissions are nested? Meaning. If I include android.permission.ACCESS_FINE_LOCATION, does that imply android.permission.ACCESS_COARSE_LOCATION, or do I include

[android-beginners] Location

2010-04-12 Thread Shtpavel
Hello, community! I have some question. How can i know that GPS engine started normally, and i can get current location now? Thanks! -- 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

[android-beginners] is java.security.* packages used in Android?

2010-04-12 Thread ChangMook Lim
android supports java.security.* packages so I took a look at them to see if there are any use. Then I thought most of them aren't used in android application development as there is a security mechanism already in android. for example, securitymanager is not installed as default, wonder why

[android-beginners] Re: How do I import to eclipse projects that come with the android source?

2010-04-12 Thread Stephen
I've hit this issue as well. I don't know why it happens, but in addition to the first suggestion, I do the following so I can keep everything neatly in my Workspace folder 1) Copy the code you want somewhere else ie. copy android-source/apps/whatever home-dir/whatever 2) Create a new project

[android-beginners] Re: possible to send an xml file via HttpClient?

2010-04-12 Thread jrichards1...@googlemail.com
Easy. construct your xml into a stringBuffer and then dump it on a HttpEntity object and then use that enity object on a HttpPost object and execute that http method. done. On Mar 25, 9:18 am, MobDev developm...@mobilaria.com wrote: I'd be interested on how you succeeded with that ? Sending

[android-beginners] Re: XML namespace?

2010-04-12 Thread jrichards1...@googlemail.com
Any suggestions? On Apr 11, 7:25 pm, jrichards1...@googlemail.com jrichards1...@googlemail.com wrote: Hi, is their anxmlnamespaceor some sort of api that easily allows me to construct my ownxmlschema? I know i could use something like this to do it:    xml+= cardNumber + thisCard.CardNumber

[android-beginners] Re: SharedPreferences with Context between two Activities

2010-04-12 Thread Stu
Hi Mark, I have made the change you suggested, but that puts me back to the error I was getting originally: E/AndroidRuntime( 9948): Uncaught handler: thread main exiting due to uncaught exception [...] E/AndroidRuntime( 9948): Caused by: java.lang.NullPointerException E/AndroidRuntime( 9948):

Re: [android-beginners] Re: eclipse problem

2010-04-12 Thread nubh bhargava
Hey try this I hope it might help, what I understood from your problem is that you need to make a build for the project i.e. Right click on the folder of the project and you see a list and out of that list, click Android out of it and set the build path or the version on which you are about to

Re: [android-beginners] Re: Android phones still require data plan?

2010-04-12 Thread Mark Murphy
alexk-il wrote: I've set my Google account on my HTC Hero over the WiFi. I'm still using my phone without mobile networking with WiFi as the only available option. As I noted in one of my posts on this thread, some phones do not require the Google account when the phone is first turned on.

[android-beginners] Re: SharedPreferences with Context between two Activities

2010-04-12 Thread Stu
Ok, sorry for the double post, but I managed to get this sorted. Suddenly preferences seem clearer to me. I apparently had some sort of epiphany. :) Thanks for the pointers. Stu. On Apr 12, 9:14 am, Stu stuart.gilb...@gmail.com wrote: Hi Mark, I have made the change you suggested, but that

[android-beginners] Conversion to Dalvik format failed with error

2010-04-12 Thread nubh bhargava
Hi I am a newbie in developing android applications. There are few problems while development. I’ll start with few, [2010-03-25 14:24:22 - Dialing]Conversion to Dalvik format failed with error I don’t know why it is generation some error of this sort read there are some settings we need to do

[android-beginners] about ListView

2010-04-12 Thread pierissimo
Hi everybody! I'm trying to implement a listView to show a list. The problem is that i'm not able to insert a text under an element of the list. This image is more explicative, is what I would to get: http://the-gadgeteer.com/wp-content/uploads/2009/01/android-g1-23.jpg There are the tel number

[android-beginners] Draw Text on GLSurfaceView

2010-04-12 Thread Android Developer
Hi, Can anyone help me to understand how to draw text on GLSurfaceView in Android ? Thanks in advance Ren -- 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

Re: [android-beginners] about ListView

2010-04-12 Thread Mark Murphy
pierissimo wrote: Hi everybody! I'm trying to implement a listView to show a list. The problem is that i'm not able to insert a text under an element of the list. This image is more explicative, is what I would to get: http://the-gadgeteer.com/wp-content/uploads/2009/01/android-g1-23.jpg

[android-beginners] Re: about ListView

2010-04-12 Thread Tereno
Here's a thread with a whole bunch of tutorials: http://groups.google.com/group/android-developers/browse_thread/thread/b7d2b7c275ac730f/8031cb58b5aa947d Good luck! Essentially, you will have to use a custom adapter and specify how you would render the cells of the list. Cheers, T On Apr 12,

[android-beginners] Re: about ListView

2010-04-12 Thread pierissimo
thanx i'll give a look On 12 Apr, 16:42, Mark Murphy mmur...@commonsware.com wrote: pierissimo wrote: Hi everybody! I'm trying to implement a listView to show a list. The problem is that i'm not able to insert a text under an element of the list. This image is more explicative, is what

[android-beginners] GeoFix inaccuracy

2010-04-12 Thread MartinM
I'm sending (via the console) geo fix -2.430872 51.225761 Then centering the map and zooming in : public class GeoUpdateHandler implements LocationListener { @Override public void onLocationChanged(Location location) { String

[android-beginners] Question About Audio and Sources

2010-04-12 Thread Patrick Casey
Hello all, I am new to this group and wanted to say hi and express my appreciation to all that make this possible. I am totally new to all this and don't even know if what I am trying to do can be done. I have specific tasks in mind and figured I could learn how to make those pieces and when the

Re: [android-beginners] Available data from an InputStream from URLConnection?

2010-04-12 Thread Chris Ross
Sorry to ping again, but does anyone have any idea how to take an InputStream from a URLConnection, and make enough data available so that BitmapFactory will either (a) wait for the data, or (b) have all data already available to it? I looked at all of the various classes in/around

[android-beginners] Re: What version of Android to use when programming basic apps?

2010-04-12 Thread a2ronus
If you are going to publish the app on the Market, you might want to think about these issues: - An overview the relative amount of how many users are using which Android platform version: http://developer.android.com/intl/zh-CN/resources/dashboard/platform-versions.html. - On top of that you

Re: [android-beginners] Re: What version of Android to use when programming basic apps?

2010-04-12 Thread Chris Ross
I also had seen that pie chart and information, and loved it. Unfortunately, I notice that it's data from the turn of the year (week ending 4-Jan-2010). Does anyone know if Market folks generate this data more regularly, and if there's any web site we could look at to see it? I'd love

Re: [android-beginners] What version of Android to use when programming basic apps?

2010-04-12 Thread ~ TreKing
On Sat, Apr 10, 2010 at 12:55 AM, chris0101 9chri...@gmail.com wrote: First post here! I am new to programming on Android. Welcome! I would like to know, when you start Android development, which version of Android do you usually choose (the latest or v1.5)? You should use the latest

Re: [android-beginners] Location

2010-04-12 Thread ~ TreKing
On Sun, Apr 11, 2010 at 5:14 AM, Shtpavel shtpa...@gmail.com wrote: Hello, community! Hello! I have some question. Some implies more than one, and question is singular, but OK ... How can i know that GPS engine started normally, I have no idea what you're asking, but maybe when you

[android-beginners] Re: Question About Audio and Sources

2010-04-12 Thread BobG
A search in market for 'volume control' gave a half dozen free apps. Check those out and try to add some feature? -- 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

Re: [android-beginners] is there any1 who has implemented facebook integration with android app by any means ??? plz help

2010-04-12 Thread Justin Anderson
This has got to be about the 10th time you have asked this exact same question... If you haven't gotten an answer yet you probably aren't going to get one. -- There are only 10 types of people in the world... Those who know

Re: [android-beginners] is there any1 who has implemented facebook integration with android app by any means ??? plz help

2010-04-12 Thread wahib haq
hi dear !! yes justin, you are right. I am trying my best on my end and being a student and doing a part time job its tough to give sufficient time to my passion. Thus its not wrong to seek for help but i dnt depend on any1. I know i'll get to the solution very soon but a helping hand can just

Re: [android-beginners] JavaScript problem in webview

2010-04-12 Thread wahib haq
are you making a http get/post request ??? regards, wahib On 4/12/10, brijesh masrani masrani.brij...@gmail.com wrote: Hello, I have a JavaScript function which returns a value and i want to use that value in my Android program. Can anyone please tell me how to do that. Regards, Brijesh

[android-beginners] Re: XML namespace?

2010-04-12 Thread Rob Mazur
Came across this link in another thread: http://www.ibm.com/developerworks/opensource/library/x-android/index.html#N1029E The Creating XML section should help with what you need. If you want to check out the other thread it is:

[android-beginners] Re: XML namespace?

2010-04-12 Thread Rob Mazur
Came across this link in another thread: http://www.ibm.com/developerworks/opensource/library/x-android/index.html#N1029E The Creating XML section should help with what you need. If you want to check out the other thread it is:

[android-beginners] Re: XML namespace?

2010-04-12 Thread Rob Mazur
Came across this link in another thread: http://www.ibm.com/developerworks/opensource/library/x-android/index.html#N1029E The Creating XML section should help with what you need. If you want to check out the other thread it is:

[android-beginners] Loading and APK into emulator

2010-04-12 Thread Kevin Brooks
How do I load an apk someone gave me into the emulator? I do not have the whole project just the apk. -- 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

Re: [android-beginners] Loading and APK into emulator

2010-04-12 Thread Mark Murphy
Kevin Brooks wrote: How do I load an apk someone gave me into the emulator? I do not have the whole project just the apk. adb install path/to/the.apk -- Mark Murphy (a Commons Guy) http://commonsware.com | http://twitter.com/commonsguy Android Training in NYC: 4-6 June 2010:

[android-beginners] Re: Draw Text on GLSurfaceView

2010-04-12 Thread Tereno
Is there anything specific that you're trying to do? On Apr 12, 10:39 am, Android Developer renjithkum...@gmail.com wrote: Hi, Can anyone help me to understand how to draw text on GLSurfaceView in Android ? Thanks in advance Ren -- You received this message because you are subscribed to

[android-beginners] Need Help: Can't play multiple sounds simultaneously with SoundPool

2010-04-12 Thread Jack
I am unable to use the following to code to play multiple sounds/beeps simultaneously. In my onclicklistener I have added ... public void onClick(View v) { mSoundManager.playSound(1); mSoundManager.playSound(2); } ... But this plays only one sound at a time, sound with index 1 followed by sound