[android-beginners] Building the apk using the ant script .

2010-06-22 Thread sheikahmed
Hi , iam facing problem in creating the .apk file using the ant script . The generated .apk named as _unaligned.apk instead of .apk and on installing the _unaligned.apk file to the device i get force-close showing the java.lang.VerifyError exaception , but the same apk generated using IDE works

Re: [android-beginners] Re: Upgrade to Android 2.2 phones

2010-06-22 Thread Chi Kit Leung
I heard about nexus one should be very easy to 2.2. On Tue, Jun 22, 2010 at 10:00 AM, Joshua Partogi joshua.part...@gmail.comwrote: Thanks for the swift response Mark. Really appreciate it. This really helps us for evaluating Android. Regards, Joshua. On Jun 22, 9:48 am, Mark Murphy

Re: [android-beginners] Name of apk

2010-06-22 Thread Pankaj Sharma
apk bole to? On Tue, Jun 22, 2010 at 11:12 AM, Aviral Shrivastava aviral...@gmail.comwrote: Hi.. Can we identify the name of the apk at the run time through code without using adb? Thanks Regards Aviral Shrivastava -- You received this message because you are subscribed to the Google

[android-beginners] Name of apk

2010-06-22 Thread Aviral Shrivastava
Hi.. Can we identify the name of the apk at the run time through code without using adb? Thanks Regards Aviral Shrivastava -- 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 comes that the estimate time becomes negative

2010-06-22 Thread ckloch
Dear all, I have developed a small app that helps the driver to regulate his speed in order to pass the traffic light when it is green; and thereby minimizing the number of times that he has to stop for red. But, the app does not always work as anticipated. In my app, I need to get the

[android-beginners] Re: How to (properly) get device orientation data?

2010-06-22 Thread repDetect()
On Jun 17, 11:56 am, lawrizy lawr...@gmail.com wrote: Hi, I wanna thank you very much for your explanation. The official documentation was very difficult to understand. And the example in the api sample (the compass) does use a depreciated methods  (with sensorlistener). Nice, I'm glad it's

[android-beginners] Re: Getting text of dynamically created radio buttons

2010-06-22 Thread Maxood
Thanks. I'm making a quiz app and once completed, i'll blog it with a tutorial on: http://www.maxood-android-corner.blogspot.com/ You are welcome to subscribe on my blog. On Jun 18, 7:23 am, Mikey frak@gmail.com wrote: I have taken a look at the API reference, and getText() looks like it

[android-beginners] ListView refresh in ListActivity

2010-06-22 Thread beedaddy
Hello, I have a ListActivity with a custom CursorAdapter. Using a ContextMenu I delete a row from the database. My problem is, that after deleting the row, the ListView is not updated. IIRC the ListView should refresh automatically. But I also tried to trigger this with a requery() on the cursor.

Re: [android-beginners] ListView refresh in ListActivity

2010-06-22 Thread Mark Murphy
On Tue, Jun 22, 2010 at 9:26 AM, beedaddy mda...@googlemail.com wrote: But I also tried to trigger this with a requery() on the cursor. That technique works fine: http://github.com/commonsguy/cw-android/tree/master/Database/Constants/ -- Mark Murphy (a Commons Guy) http://commonsware.com |

[android-beginners] Re: ListView refresh in ListActivity

2010-06-22 Thread beedaddy
Thank you Mark! In my deleteBeeyard() method, the finally {dbCon.close();} was the problem. I thought the SQLiteDatabase I get from getWritableDatabase() is unrelated to the previously created Cursor (with getReadableDatabase().rawQuery(...) ) for the CursorAdapter. Obviously I didn't (and

[android-beginners] Re: How to (properly) get device orientation data?

2010-06-22 Thread lawrizy
Thank you for your answer. I will try on a device. On 22 juin, 11:17, repDetect() n6mba50...@gmail.com wrote: On Jun 17, 11:56 am, lawrizy lawr...@gmail.com wrote: Hi, I wanna thank you very much for your explanation. The official documentation was very difficult to understand. And the

[android-beginners] Re: Switch between views.

2010-06-22 Thread m0ny3t
Tx for rply treking, Everything is working and fine, since i am newbie either in java and android. I am looking for better/good ways if there is any. Do u have nice links u can share? On Jun 21, 11:01 pm, TreKing treking...@gmail.com wrote: On Mon, Jun 14, 2010 at 9:43 PM, m0ny3t

[android-beginners] Re: Problems with Google Groups?

2010-06-22 Thread DonFrench
Thanks, it was the Cookie Monster! On Jun 21, 3:13 pm, RichardC richard.crit...@googlemail.com wrote: Had the same problem in Firefox, deleting the cookies for groups.google.* fixed it. Hope this helps /Richard On Jun 21, 7:15 pm, Greg Donald gdon...@gmail.com wrote: On Mon, Jun 21,

Re: [android-beginners] File Browsing or Customisation Activities

2010-06-22 Thread TreKing
On Tue, Jun 15, 2010 at 4:02 AM, redneon darrell.bl...@gmail.com wrote: I've seen the RingtonePreference activity, so I can probably get away with using that for browsing for ringtones but there doesn't appear to be anything similar for wallpapers. Try looking into MediaStore.

[android-beginners] LogCat

2010-06-22 Thread DonFrench
I use LogCat a lot when debugging but it is an irritation that it frequently has to be reset to get the latest log output. I am only aware of two ways to get the log output when this happens: 1) Go to the DDMS perspective and then pull down the menu in the Devices view and select reset adb, and 2)

Re: [android-beginners] LogCat

2010-06-22 Thread Kostya Vasilyev
Don, I can recommend running adb logcat from the OS's command line window. This way, it's always around, you can make it as large as you want, and can do filtering by piping through grep or find, if necessary. -- Kostya 22.06.2010 22:02, DonFrench пишет: I use LogCat a lot when debugging

Re: [android-beginners] LogCat

2010-06-22 Thread Mikey
Thanks a lot for that tip, even though I was not the person asking the question... On 22 Jun 2010, at 19:11, Kostya Vasilyev wrote: Don, I can recommend running adb logcat from the OS's command line window. This way, it's always around, you can make it as large as you want, and can do

[android-beginners] ListView TextFilter..Broken?

2010-06-22 Thread HeyYouThere
Hi everyone, My issue is simplebelow is the code. When the list filters, and the person clicks, no matter what the position is on 0...Can I do it by the string name in the listview instead of the position? public void onListItemClick(ListView l, View v, int position, long id) {

[android-beginners] Re: Date picker problem

2010-06-22 Thread Varun Khanduja
Thank you everyone. I resolved most of the issues with all the help from all the group members. I have one last issue: R. id. display cannot be resolved. Couldn't find anything online to help. Any help would be appreciated. /*** * Excerpted from Hello, Android!, * published by The Pragmatic

Re: [android-beginners] Re: Date picker problem

2010-06-22 Thread Temitope Akinwande
Looking through your code, I do not see where you are using R.id.display, however I see R.id.dateDisplay If the problem is with R.id.dateDisplay, do you have any layout defined that has the id dateDisplay? Check in your res/layout folder -Tope On Tue, Jun 22, 2010 at 3:57 PM, Varun Khanduja

[android-beginners] onHandleIntent(Intent) method does not get called

2010-06-22 Thread appsgrrl
Hi -- I'm tryng to get an IntentService to work, and I have extended IntentService, and I implemented a onHandletIntent(Intent) method. I put some logging in there, but this method never gets called. I must be doing something really dumb, but I don't know what it is. Is there something else I