[android-beginners] Lighting effects in android

2010-04-28 Thread satish bhoyar
Hi all, I am developing one app where I need light effect. the exact is it should give a feel like light is traveling. I know one way i.e. by using GLSurfaceView, but is there any other way to achieve this ? because GLS might be costly i guess. Light is as a ray. please help or suggest on this

[android-beginners] Re: Problem when writing a file that was deleted in meantime or not enough space left on SDCARD

2010-04-28 Thread vanesa
I close the stream when download is finished. There is now exception. try{ while( (c = in.read(chunk, 0, 2)) != -1) { out.write(chunk, 0, c); } } catch(IOException ex) { Log.d(ex,ex); } try{ if(dos != null) {

[android-beginners] Re: menu.add - Cannot be resolved

2010-04-28 Thread amitait
Thank you :) On Apr 27, 11:23 pm, TreKing treking...@gmail.com wrote: On Tue, Apr 27, 2010 at 2:21 PM, amitait amit...@gmail.com wrote: What is private static final int ? (Or, where can I read about it?) How about on the internet?http://lmgtfy.com/?q=java+private+static+final+int

[android-beginners] Widget problems

2010-04-28 Thread dr3as
I've been playing with a tutorial to make my own countdown widget. When you add the widget, you get a configurationscreen, you set the date, and push the ok button. This works just fine. But how can i get some text from that configurationscreen to the widget. I have made a edittext field, but i

[android-beginners] Spell Checking

2010-04-28 Thread Charles Barnwell
I am considering writing a spell-checking application for the Android. The idea is to provide the capabilities of those little machines you can buy to help with solving crosswords. So two simple functions at first, user enters ?e?t?ng gives two possibilities, setting and testing and an anagram

[android-beginners] How to get Gmail address registered on the phone ?

2010-04-28 Thread djdamage06
Hello everybody, I want to know if it's possible (and if YES how) to get through my application the specified mail address by the user when he/she goes on the Android Market I don't need his/her password, only the address mail registered in GoogleApps ! I know it's possible to get that with

[android-beginners] Send SQLite db to web server

2010-04-28 Thread Shane
Hi, I have an application that creates an SQLite database and saves information to it over the course of a day. At the end of the day i want to export this database to a web server. Could anyone point me in the right direction for this? Should I use httppost or put. I have researched this

[android-beginners] Pulling data from SQLite Table

2010-04-28 Thread Kevin Brooks
Can someone give me an example of pulling one field from a SQLite Database and putting it's value into a variable? -- -- 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

[android-beginners] How to open a new activity when an expandableList row is clicked ?

2010-04-28 Thread ScCrow
I have my expandable list working. The data in my database will be Group for the main level, then the expanded items will have a subGroup and an itemName. When I click on a row, I want to open an edit window for the data on that row. Since the information I need to access it is Group, Subgroup,

[android-beginners] Converting Spica to Development Phone

2010-04-28 Thread Ubuntu Explorer
Hi, I have a Samsung Galaxy Spica phone with Android 1.5. I want to use it as a development phone for testing applications using Android SDK 2.1. I have googled about converting the phone, but almost all of them have disclaimers warning about phone getting bricked. Can someone please tell me a

Re: [android-beginners] Converting Spica to Development Phone

2010-04-28 Thread Rubén González
You should be able to update your phone through Samsung's PC Studio 7. To be able to use ADB on your phone I believe that you must have enabled USB Debugging @ Settings - Applications - Development. On Wed, Apr 28, 2010 at 5:26 PM, Ubuntu Explorer ubuntuexplo...@gmail.comwrote: Hi, I have a

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

2010-04-28 Thread Jack
I am adding two different sounds with ID '1' and '2'. But I just want to play them simultaneously and not worry about adjusting volume as of now. Still can't figure out how to do that. On Apr 16, 2:48 pm, BobG bobgard...@aol.com wrote: Looks like you are only adding sound1 to the pool. Need to

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

2010-04-28 Thread Jack
I am adding two different sounds with ID '1' and '2'. But I just want to play them simultaneously and not worry about adjusting volume as of now. Still can't figure out how to do that. On Apr 16, 2:48 pm, BobG bobgard...@aol.com wrote: Looks like you are only adding sound1 to the pool. Need to

Re: [android-beginners] Widget problems

2010-04-28 Thread Justin Anderson
Store the text from the configuration screen in the shared preferences and retrieve it when you update the widget... SharedPreferences allows you to store things in a Key/Value pair... -- There are only 10 types of people in the

Re: [android-beginners] Pulling data from SQLite Table

2010-04-28 Thread Justin Anderson
http://developer.android.com/resources/tutorials/notepad/notepad-ex1.html -- There are only 10 types of people in the world... Those who know binary and those who don't.

[android-beginners] How to change the Phone app UI?

2010-04-28 Thread Zero
I'm working on a VoIP app and I would like it to modify the Phone/ Dialer app so that two buttons appear below the dial pad: a SIP button and a Cell button. I know that I can put two buttons on my own app's main activity layout, and then create new ACTION_DIAL intents in the click listeners, but I

Re: [android-beginners] How to change the Phone app UI?

2010-04-28 Thread Sean Hodges
Hello Zero, You cannot modify the stock Phone app without rebuilding it; you will need to distribute your own extended version instead. Download the source code from here: http://source.android.com/download. You will need to get your users to download the customised Phone app as well as your

[android-beginners] Re: How to open a new activity when an expandableList row is clicked ?

2010-04-28 Thread ScCrow
I would still like to see an answer,but I have at least coded a way to get the job done. Duh, Im using an array to store the information, then using the subGroup to index into my array. Not what I wanted, but it will at least work. Also, the information in my Toast now seems to be

[android-beginners] Can someone tell me why this is failing?

2010-04-28 Thread Kevin Brooks
I have cardmaint.java and cardmaint.xml . I also put the activity in the Manifest but I still get this error. 04-29 02:49:40.527: ERROR/AndroidRuntime(901): Uncaught handler: thread main exiting due to uncaught exception 04-29 02:49:40.557: ERROR/AndroidRuntime(901):

Re: [android-beginners] Can someone tell me why this is failing?

2010-04-28 Thread Justin Anderson
Well the error log you provided says exactly what the problem is: * 04-29 02:49:40.557: ERROR/AndroidRuntime(901): Caused by: java.lang.NullPointerException 04-29 02:49:40.557: ERROR/AndroidRuntime(901): at com.android.flashcardloop.cardmaint.onCreate(cardmaint.java:33) * So the problem