[android-developers] Re: Deleting an entire table in a content provider?

2010-03-17 Thread prachi
H Yaa u can delete the whole table table using delete method supplying table name and where and whereargs as null.Inside the delete method of your contentprovider call the delete method of SQLiteDatabase. I guess this will work. On Mar 16, 1:04 pm, Makas Tzavellas makas.tzavel...@gmail.com

[android-developers] How to get all Contact details in a single query

2010-03-17 Thread Pankaj
I am using Android SDK 1.6 I want to get name, all emails, all phone numbers, organization details for a contact. Currently what I do is append the People.ContactMethods.CONTENT_DIRECTORY with a base uri to obtain emails Contacts.Organizations.CONTENT_DIRECTORY with a base uri to obtain

[android-developers] Re: Ant vs Eclipse build difference

2010-03-17 Thread Amy Winarske
Yes, they are in the libs directory. On Mar 16, 6:24 pm, Makas Tzavellas makas.tzavel...@gmail.com wrote: Do you have the jar files that the project is dependent on in the libs folder in your Android project folder? If not, it might explain why it works in Eclipse since it can reference jar

[android-developers] Re: Deleting an entire table in a content provider?

2010-03-17 Thread Kumar Bibek
Prachi's method does work. Try it out. Thanks and Regards, Kumar Bibek. On Mar 17, 11:12 am, prachi prachi.tya...@wipro.com wrote: H Yaa u can delete the whole table table using delete method supplying table name and where and whereargs as null.Inside the delete method of your

[android-developers] Re: Emulator won't work

2010-03-17 Thread Anandi
I downloaded the 2.1 source on ubuntu machine and built it. Now emulator is working fine. On Mar 12, 1:23 pm, Anandi heyan...@gmail.com wrote: i am also facing the same issue. Can anybody please help? On Jun 12 2009, 4:55 am, Dagvadorj Galbadrakh dagvad...@gmail.com wrote: When I start

Re: [android-developers] Emulator won't work

2010-03-17 Thread David Turner
On Thu, Jun 11, 2009 at 4:55 PM, Dagvadorj Galbadrakh dagvad...@gmail.comwrote: When I start an AVD with emulator, emulator says the following emulator: emulator window was out of view and was recentred The emulator saves the last position of its window when it exits. On startup, it

[android-developers] Re: Sd card file write

2010-03-17 Thread Bob Kerns
I can't really make out what you're doing. You have a 'bos.write(myByte);' line that references bos, with no clue what that is. I don't know what myvals or x are intended to be. I don't see a filecon.close() anywhere, or a try/finally block to ensure it's closed (and preferably deleted) in the

[android-developers] Re: ORM tool for ANDROID Applications

2010-03-17 Thread ko5tik
There is some movemet in this: - http://groups.google.com/group/androdb-dev - people have started work on liteweight ORM tool (not much there yet) - I use JSON marhalling to text files (functional: http://github.com/ko5tik/jsonserializer ) - you may dig out xdoclet(2) and create plugin to

[android-developers] Re: Share files with different Activities running in different processes in a application.

2010-03-17 Thread Bob Kerns
Process safe would be the issue. Within a process, activities all run on the same thread, so there's not much concurrency issue there. I hope you have a very good reason to split your application across processes. I can think of a few, but they all cause headaches... Renaming a file is atomic.

[android-developers] Re: Out of Memory resuming application

2010-03-17 Thread REvolver
but the problem seems to be in the onpause- onresume cycle, because if I try to switch between the two views it works... as soon as i pause and reume the application, my external heap grow (of course after switching to another view). On Mar 16, 3:58 pm, Streets Of Boston flyingdutc...@gmail.com

[android-developers] Re: SQLite onUpgrade

2010-03-17 Thread grace
onUpgrade is called when u have installed using adb.. now when u load the app, the new version is already upgraded so it will not again call the onUpgrade again.. in short this function is called when there are some changes made to the data schema,droping tables,altering ables etc. On Mar 12,

[android-developers] Re: Sd card file write

2010-03-17 Thread westmeadboy
Having only skimmed your post, I would say you at least need a filecon.flush() (and filecon.close()) at the end. On Mar 17, 6:37 am, sumit asok sumita...@gmail.com wrote: Hi, I'm trying to write a file from an Http post reply to a file on the sdcard. Everything works fine until the byte array

[android-developers] Re: Out of Memory resuming application

2010-03-17 Thread Yahel
Hi Luca, As Anton told you, withouth the code in the onpause and onresume, hard to tell if you're doing something wrong. One option might be to save the state of your app in onpause and then restore that state in your onresume. This way you could clean up all the bitmaps in the onpause and

[android-developers] Re: Numbers aligned to the right in EditText

2010-03-17 Thread Marek Urbaniak
It works. Thank you very much Grace. On 17 Mar, 06:19, grace grace.a...@wipro.com wrote: u can set the gravity of the view(edittext ) toright. On Mar 16, 2:17 pm, Marek Urbaniak marek.urban...@gmail.com wrote: Is it possible to align text in the EditText widget to theright? I do not see

[android-developers] Re: [android-porting] Re: CTS APK'S QUERIES

2010-03-17 Thread Umang Gupta
Thanks Abukustfan . Running cts test cases using startcts script is known to me . but that are for host machine . like for running signature test cases , I run : cts start --plan Signature -t android.tests.sigtest.SignatureTest#signatureTest Since apk's of all such test cases are generated

[android-developers] Handler is not using seperate Thread

2010-03-17 Thread Nithin
Hi, For showing loading screen, in the activity's main thread, I draw loading screen and created a handler for doing other extensive operations like database creations, parsing etc. But unfortunate;y, for me, all is executing in main thread only. Seems like Handler is not working as a seperate

[android-developers] Re: using git with cygwin

2010-03-17 Thread Michael Lam
i don't think it's an issue of path, as i ran the following: cd /cygdrive/c/Android_NDK make APP=hello-jni and it works. i, however, don't see repo.exe in the cygwin/bin directory. i went thru the default installation for cygwin, and i tried reinstalling cygwin, but i don't see a package name

[android-developers] Re: Changing Textview dynamically in the same activity/

2010-03-17 Thread javame_android
Hi, Is there anyone who has developed such an application before? I just want to make a Quiz Application where Questions will be fetched from the database. So, I don't want to have a separate Activity for each question, just to replace the questions and answers which will be in checkbox. Can

[android-developers] Re: Handler is not using seperate Thread

2010-03-17 Thread Kumar Bibek
Handler is not meant to do this. Handler should be called from a background thread to update the UI. Thanks and Regards, Kumar Bibek On Mar 17, 3:03 pm, Nithin nithin.war...@gmail.com wrote: Hi, For showing loading screen, in the activity's main thread, I draw loading screen and created a

[android-developers] How to find out when any activity starts or get focus

2010-03-17 Thread Csenteri Barna
Hi I would need to know when one activity starts or get's focus. I need this notification for any activity regardless of his type, name or whatever - not searching for one specific activity. Checked the ActivityMonitor and the Intent and I haven't found a generic intent for this purpose. Or I

[android-developers] Re: Handler is not using seperate Thread

2010-03-17 Thread Nithin
Hi, In onCreate, I am doing like this, new Thread(new Runnable() { public void run() { handler.sendMessage(msg); } }).start(); In Handler after doing all operations, I am updating the screen. But its not working.. Nithin On Mar 17, 4:02 pm, Kumar Bibek

[android-developers] Closing a process when Process ID Process Name is known

2010-03-17 Thread Jaya Hoondlani
Hi All, I am having a requirement that i want to close a process that is running from my application. For Example : If a pdf file is opened in the device, i want that if my application is launched it should close. I am able to get the process id i.e 620 process name : com.htc.pdfreader by

[android-developers] Re: How to disable the menuitem

2010-03-17 Thread Nikhil Agarwal
Override onPrepareOptionsMenu. Use MenuItem item = menu.findItem(itemId) and then call item.setEnabled(false) to disable it based on some condition. From the docs for onPrepareOptionsMenu:- Prepare the Screen's standard options menu to be displayed. This is called right before the menu is shown,

Re: [android-developers] Re: Handler is not using seperate Thread

2010-03-17 Thread Mark Murphy
Nithin wrote: Hi, In onCreate, I am doing like this, new Thread(new Runnable() { public void run() { handler.sendMessage(msg); } }).start(); In Handler after doing all operations, I am updating the screen. But its not working.. Here is an example

Re: [android-developers] How to find out when any activity starts or get focus

2010-03-17 Thread Mark Murphy
Csenteri Barna wrote: Hi I would need to know when one activity starts or get's focus. I need this notification for any activity regardless of his type, name or whatever - not searching for one specific activity. Checked the ActivityMonitor and the Intent and I haven't found a generic

[android-developers] ServerSocket to wake up a sleeping phone

2010-03-17 Thread Miguel Paraz
Hi, I noticed that if the Android phone is listening on a ServerSocket on the 3G network, and is then put to sleep with the power button, it no longer listens for incoming connections. The incoming TCP connection does not wake up the phone. Is this there a way to enable waking up a sleeping phone

[android-developers] Re: Changing Textview dynamically in the same activity/

2010-03-17 Thread skink
On Mar 17, 9:07 am, javame_android su...@softwebsolutions.com wrote: Can anyone let me know how to do this or give me some idea of doing this then it will really helpful. Hope to get a reply soon. TextSwitcher is exactly what you need, try it pskink -- You received this message because

[android-developers] Re: [android-porting] Re: CTS APK'S QUERIES

2010-03-17 Thread Uander
Thanks abukustfan . I am following the same here . Uander On Wed, Mar 17, 2010 at 3:39 PM, abukustfan abukust...@gmail.com wrote: First, prepare the apk. For emulator, I think you can create a new system.img and userdata.img after build cts. then you can specified those image when launch

Re: [android-developers] Re: Masking password input in extracted UI

2010-03-17 Thread Adrian Vintu
what is Extracted fullscreen? please post s short example of your java and xml code. BR, Adrian Vintu http://adrianvintu.com On Tue, Mar 16, 2010 at 4:45 PM, ahamed ahamedp...@gmail.com wrote: Thanks for your reply. I got it to work in portrait mode. But the problem is on landscape

[android-developers] Re: Ant vs Eclipse build difference

2010-03-17 Thread Makas Tzavellas
Hmmm, strange indeed then. If possible, maybe you can copy paste the contents of .claspath file. And run your ANT with ant -diagnostics and ant -d, paste the info here too. Maybe it will contain the information needed to identify the problem. On Mar 17, 2:22 pm, Amy Winarske

[android-developers] Re: how to Play music from AudioTrack

2010-03-17 Thread Wouter
Hey, i am also creating a media player for online radio. I have my online streams in mp3 format and I also hear a gap between 2 files (i write the stream to different files and play them, just like kavitha). How can i convert the stream to ogg when I try to play it? Can you give me any solutions

[android-developers] Relative Layout problem :(

2010-03-17 Thread Marco Alexander Schmitz
hi, I've got a RelativeLayout with a small Image aligned to the left (like a face), 2 texts above each others in the middle and an Image aligned to the right (like an expander symbol). Now I've got the middle part may be too wide, so it overlays the right image. My only solution is to tell the

Re: [android-developers] Ant vs Eclipse build difference

2010-03-17 Thread Sean Hodges
Your team member was using the Java 6 JDK. The @XmlSeeAlso annotation is not available in the Java 5 SDK: http://java.sun.com/javase/6/docs/api/javax/xml/bind/annotation/XmlSeeAlso.html I've seen this happen a lot. You need to either switch to JDK6 to build your app, or find an JDK5 compatible

[android-developers] I don't HATE apple, but I found these interesting things yesterday, poor iphone developers.

2010-03-17 Thread niko20
First off I like to write music apps, so I keep an eye on the music apps that are out for iPhone. Two of these really popular apps are BeatMaker and Noise.IO. Beatmaker is a sample driven sequencer MPC style, and Noise.IO is a full featured FM synth. I read something disturbing in the app info

Re: [android-developers] How to find out when any activity starts or get focus

2010-03-17 Thread Jim Blackler
As a general rule it is not possible to get information about, or influence other applications on an un-rooted Android. The exception is where the application is designed for external interaction and has prepared public intents or broadcasts to allow this. Jim On 17 March 2010 11:51, Mark Murphy

Re: [android-developers] Relative Layout problem :(

2010-03-17 Thread Csenteri Barna
Did You tried another layout in the middle in which you put your textfields centered? B. hi, I've got a RelativeLayout with a small Image aligned to the left (like a face), 2 texts above each others in the middle and an Image aligned to the right (like an expander symbol). Now I've got the

[android-developers] Re: Audio Flickering - my code, my computer or android emulator?

2010-03-17 Thread Gabriel Simões
Nope, I´ve paid attention to see if GC was being called, but nothing shows up on LogCat. Well, I´ve found some posts on the internet about using AudioRecord´s native implementation. Isn´t it supported anymore? I still can´t believe we are spending so much time on something that should be plug

Re: [android-developers] How to find out when any activity starts or get focus

2010-03-17 Thread Csenteri Barna
To be honest I don't see a security issue in the part of get information about, only in the influence. That's because it's posible to get the current activity's package with ActivityManager.getCurrentTasks from a bacgkround service without any problem right now. I just wanted to avoid polling

[android-developers] Accessing External Database

2010-03-17 Thread uday kiran
Hi folks, Im new bie to android.. i want to access external database from my android application.. I've searched so much time in the internet but could not get exact idea how to implement?? Please help me If any one is having idea on that and post if u have any code related to it... Thanks for

Re: [android-developers] Re: Custom Dialog

2010-03-17 Thread TreKing
On Tue, Mar 16, 2010 at 3:55 PM, Bob Kerns r...@acm.org wrote: I've not been able to come up with a single use case for calling getApplicationContext(); Could someone from Google PLEASE update the documentation for this function and the samples that use it incorrectly? It is the source of

[android-developers] Accessing Email Addresses

2010-03-17 Thread Maxood
I have the following code through which i am able to retrieve phone numbers. Somehow , i am not able to retrieve email addresses by using android.provider.Contacts.People API. Any ideas? import android.app.AlertDialog; import android.app.ExpandableListActivity; import

[android-developers] Re: Windows Phone and XNA. Nightmare is real. What we do with that ?

2010-03-17 Thread Piotr
M$ has show already done great XNA gaming framework with VS Express NET 4 for Win Phone 7, ready to download: http://developer.windowsphone.com/windows-phone-7-series/ I bet, most developers will choose WinPhone to create games, if they can just create their games for Zune, X360, PC and WinPhone

Re: [android-developers] Accessing External Database

2010-03-17 Thread Jim Blackler
Hi Uday Is there an existing, specific external database that you wish to access? Or do you wish to set up a new database? Jim On 17 March 2010 13:32, uday kiran uday.pic...@gmail.com wrote: Hi folks, Im new bie to android.. i want to access external database from my android application..

Re: [android-developers] Re: Windows Phone and XNA. Nightmare is real. What we do with that ?

2010-03-17 Thread Weston Weems
Meh. I think its important to keep your finger on the pulse of trends... but the fact is no matter how. Good. Frramework is they may and try apple shenanigans... which makes the scare null andvoid On Mar 17, 2010 6:48 AM, Piotr piotr.zag...@gmail.com wrote: M$ has show already done great

[android-developers] Re: Accessing External Database

2010-03-17 Thread uday kiran
Thanks for ur quick reply jim.. I want to access an existing database which is present on some server.. Cheers Uday On Mar 17, 6:51 pm, Jim Blackler jimblack...@gmail.com wrote: Hi Uday Is there an existing, specific external database that you wish to access? Or do you wish to set up a new

[android-developers] Re: Questions about drawPosText

2010-03-17 Thread dataStorm
If anyone finds this question, there is a response here: http://stackoverflow.com/questions/2448103/drawpostext-in-android-graphics-canvas-what-is-origin If you're in left alignment, the text origin is the bottom left corner. If you're in center alignment, the text is centered horizontally and

[android-developers] Re: Handler is not using seperate Thread

2010-03-17 Thread Lance Nanek
When created by the no argument constructor, a Handler runs on the thread it is created on. You often see a Handler created on the main thread intentionally, like in Mark's example above, so that a second thread can send messages to it that will be acted on in the main thread. This is needed

[android-developers] Re: Problem with Network Access with HttpClient using AsyncTask (or Thread directly)

2010-03-17 Thread Makas Tzavellas
Hi Objectist Software Inc, First of all, your code isn't working because myThing variable is updated by a separate thread (you delegated the response handling to a Handler) than the one that is calling getMyThing() method. So it's pretty obvious that myThing variable may be null when the method

Re: [android-developers] Re: Accessing External Database

2010-03-17 Thread Jim Blackler
OK what can you tell us about this database. Is it on the internet? What software is it running? On 17 March 2010 13:54, uday kiran uday.pic...@gmail.com wrote: Thanks for ur quick reply jim.. I want to access an existing database which is present on some server.. Cheers Uday On Mar 17,

[android-developers] Re: ORM tool for ANDROID Applications

2010-03-17 Thread Hari
Memory footprint considerations are top priority. However, the dependency is only 1MB ( db4o-7.4.72.12266-java5.jar ) for Db4O ! On Mar 17, 3:10 am, ko5tik kpriblo...@yahoo.com wrote: There is some movemet in this:  -http://groups.google.com/group/androdb-dev- people have started work on

[android-developers] Re: Accessing External Database

2010-03-17 Thread uday kiran
YES..The database is present on the internet only.. The database should be in SQLite..OS is windows.. On Mar 17, 6:59 pm, Jim Blackler jimblack...@gmail.com wrote: OK what can you tell us about this database. Is it on the internet? What software is it running? On 17 March 2010 13:54, uday

[android-developers] Re: Accessing External Database

2010-03-17 Thread uday kiran
As of my knowledge in android we use HttpURLConnection to connect to the database in the internet.. am i right Jim?? On Mar 17, 7:05 pm, uday kiran uday.pic...@gmail.com wrote: YES..The database is present on the internet only.. The database should be in SQLite..OS is windows.. On Mar 17,

Re: [android-developers] Re: Accessing External Database

2010-03-17 Thread Jim Blackler
Provided the database exposes an HTTP-based API, yes. On 17 March 2010 14:09, uday kiran uday.pic...@gmail.com wrote: As of my knowledge in android we use HttpURLConnection to connect to the database in the internet.. am i right Jim?? On Mar 17, 7:05 pm, uday kiran uday.pic...@gmail.com

[android-developers] Re: Accessing External Database

2010-03-17 Thread uday kiran
OK... u have any example code which is used to work on this concept?? On Mar 17, 7:11 pm, Jim Blackler jimblack...@gmail.com wrote: Provided the database exposes an HTTP-based API, yes. On 17 March 2010 14:09, uday kiran uday.pic...@gmail.com wrote: As of my knowledge in android we use

Re: [android-developers] Re: Accessing External Database

2010-03-17 Thread Jim Blackler
Hi Uday, I have to bow out here because this is too general a question for this list really. There are a great many ways to do what you are describing. I'd recommend getting a textbook or two on the topic. On 17 March 2010 14:13, uday kiran uday.pic...@gmail.com wrote: OK... u have any example

Re: [android-developers] Re: Device Seeding Program for Top Android Market Developers

2010-03-17 Thread TreKing
On Tue, Mar 16, 2010 at 4:19 PM, Matt thatsthesolut...@gmail.com wrote: ... regardless. Can't wait! These next 5 - 10 days we'll all be jumping for joy with our new Android devices (or at least those of us who are qualified to receive one). ... or these next 5 - 10 days we'll all continue

Re: [android-developers] Re: Windows Phone and XNA. Nightmare is real. What we do with that ?

2010-03-17 Thread Sean Hodges
On Wed, Mar 17, 2010 at 1:48 PM, Piotr piotr.zag...@gmail.com wrote: I say it again, hoping that some Google Worker is watching :D: ... and right here is where your effort ends, and the whole concept becomes little more than hot air. Google are not a gaming company, they are not even a

[android-developers] Re: Grrrrr.... 100 SMS per hour

2010-03-17 Thread Mike dg
I've noticed the same issue, the pending intents don't get reliably sent. Probably a bug in Android? -Mike dg On Mar 16, 9:04 pm, Isaac Wagner isaacewag...@gmail.com wrote: On Tue, Mar 16, 2010 at 3:56 PM, Mark Murphy mmur...@commonsware.com wrote: Isaac Wagner wrote: After the 100 messages

[android-developers] Re: I don't HATE apple, but I found these interesting things yesterday, poor iphone developers.

2010-03-17 Thread Gabriel Simões
I do agree with you that the Apple app publishing restriction is pushing developpers too far, far enough to see some great developers give the plataform up not for technical reasons, but for their principles. On the other side, as a music app developer I don´t know how you are happy with Android.

[android-developers] Re: Accessing External Database

2010-03-17 Thread uday kiran
okk. i may get the quick reference if i go to http://developer.android.com site?? Where this funtionality is to be added in android code?? in onCreate() method? On Mar 17, 7:16 pm, Jim Blackler jimblack...@gmail.com wrote: Hi Uday, I have to bow out here because this is too general a question

[android-developers] Re: Device Seeding Program for Top Android Market Developers

2010-03-17 Thread Maps.Huge.Info (Maps API Guru)
This just in... Jimmy Hoffa is still dead. -- 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 this group, send email to

[android-developers] Re: Windows Phone and XNA. Nightmare is real. What we do with that ?

2010-03-17 Thread Streets Of Boston
True and not true. If google thinks that making an XNA like framework could enhance Android's adoption and device sales enough to bring more ad-revenues/ SaaS-revenues (because more phones would be around if such a framework existed), then google could be interested in creating such framework.

[android-developers] Re: 3D Physics Engine For Android Demo

2010-03-17 Thread Streets Of Boston
Relax, 2.1 will come to your droid starting this week. http://androidandme.com/2010/03/news/verizon-droid-does-android-2-1-this-week/ On Mar 16, 11:54 pm, Kevin Duffey andjar...@gmail.com wrote: Well if it makes you feel any better, us Moto Droid owners were supposed to have an Android

[android-developers] Re: About progress dialogs

2010-03-17 Thread LeGeNDuS
On 16 mar, 18:09, TreKing treking...@gmail.com wrote: On Tue, Mar 16, 2010 at 1:05 PM, LeGeNDuS legen...@gmail.com wrote: What happens to it? If this is you exact code, you're running everything in the UI thread, which means the dialog gets shown and subsequently closed before it actually

[android-developers] Re: About progress dialogs

2010-03-17 Thread LeGeNDuS
Ah, ok, thanks, I'll see the example of the documentation. On 16 mar, 18:09, TreKing treking...@gmail.com wrote: On Tue, Mar 16, 2010 at 1:05 PM, LeGeNDuS legen...@gmail.com wrote: What happens to it? If this is you exact code, you're running everything in the UI thread, which means the

Re: [android-developers] 3D Physics Engine For Android Demo

2010-03-17 Thread Jiri
Sorry to be off topic, but can somebody also point me to a 'decent' _2d_ physics engine. I seen a few, but i was wondering what the general consensus is about the 'most' reliable one in terms of steady/continues development. Cheers, Jiri On 15/03/2010 15:25, Kevin S. wrote: I've

[android-developers] Re: Device Seeding Program for Top Android Market Developers

2010-03-17 Thread Matt
Is there a bridge? Because I seem to have spotted a troll... On Mar 17, 9:16 am, TreKing treking...@gmail.com wrote: On Tue, Mar 16, 2010 at 4:19 PM, Matt thatsthesolut...@gmail.com wrote: ... regardless.  Can't wait! These next 5 - 10 days we'll all be jumping for joy with our new Android

Re: [android-developers] Re: Windows Phone and XNA. Nightmare is real. What we do with that ?

2010-03-17 Thread Jiri
Does this framework support simple 2d physics and collision detection and/or elastic collision? Jiri On 10/03/2010 01:11, Mario Zechner wrote: While it's not nearly as full featured as XNA i started working on something similar to XNA. It allows you to develop your games mostly on the

Re: [android-developers] Re: Windows Phone and XNA. Nightmare is real. What we do with that ?

2010-03-17 Thread Sean Hodges
On Wed, Mar 17, 2010 at 2:25 PM, Streets Of Boston flyingdutc...@gmail.com wrote: True and not true. If google thinks that making an XNA like framework could enhance Android's adoption and device sales enough to bring more ad-revenues/ SaaS-revenues (because more phones would be around if

[android-developers] Re: Custom Dialog

2010-03-17 Thread Lance Nanek
I tried the official issue route of getting someone to do something here: http://code.google.com/p/android/issues/detail?id=5748 You can star/vote it up, I suppose. It's been months, though. Disappointing that such a trivial fix that would help so many people who are starting out isn't being

[android-developers] Re: Game Developers: Some general questions about high scores, achievements, multi player support and in game ads.

2010-03-17 Thread shaun
We are considering the use of Scoreloop (http://www.scoreloop.com/) to add a social component to our games and apps. Since we have no real experience in that arena, I'll just leave this link as my contribution. On Mar 16, 8:08 pm, Kevin Duffey andjar...@gmail.com wrote: Hey all, I am curious

[android-developers] Re: Windows Phone and XNA. Nightmare is real. What we do with that ?

2010-03-17 Thread niko20
Personally through my experience this JNI layer overhead is so small that its effect is negligible. In my apps using NDK with JNI has alway increased my speed immensly regardless of any JNI method call overhead. It's just simply not true that the JNI will slow you down. -niko On Mar 17, 9:06 

[android-developers] Google Labs API and Scale Overlay

2010-03-17 Thread JFrog
I've noticed that with the update to the Maps application that comes with the Android, they introduced a few features such as different traffic overlays, terrain overlays and a scale factor display that can be placed at the bottom of the screen. Is this part of a Google Labs API out there that

[android-developers] Bug in 2.0 GridView

2010-03-17 Thread MobileDataSys
My application uses a GridView with an adapter backed by an array that implements BaseAdapter. I have a custom layout/view that displays an image and/or text for the grid cells. When data in the array changes, the GridView calls onLayout for all but one of the displayed grid cells. The cell that

[android-developers] Re: Audio Flickering - my code, my computer or android emulator?

2010-03-17 Thread HeHe
i heard that too. but some google folk seemed discouraging use of the stuff. On Mar 17, 6:27 am, Gabriel Simões gsim...@gmail.com wrote: Nope, I´ve paid attention to see if GC was being called, but nothing shows up on LogCat. Well, I´ve found some posts on the internet about using

[android-developers] Re: Audio Flickering - my code, my computer or android emulator?

2010-03-17 Thread Gabriel Simões
Installing ubuntu 9.1 on my machine. I will try using linux to develop as I think it will be less confusing to develop using NDK. Hehe: I was thinking about trying to get an answer from someone from Google tomorrow at irc. Have you ever tried it? Won´t anyone who is actually using AudioRecord

[android-developers] Re: Using USB connection for data transfer

2010-03-17 Thread cellurl
That engaget mod you just mentioned requires a pushbutton during boot. There must be a better way. -- 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] Re: 3D Physics Engine For Android Demo

2010-03-17 Thread Mario Zechner
There's a couple of choices, none of them will work fast enough if you use the Java implementations. Popular choices are Chipmunk (http:// code.google.com/p/chipmunk-physics/) and Box2D (http:// www.box2d.org/). There's also a Java port of Box2D which is called JBox2D (http://www.jbox2d.org/) i

[android-developers] Re: Windows Phone and XNA. Nightmare is real. What we do with that ?

2010-03-17 Thread Mario Zechner
Not at this point. I plan to write a JNI bridge to Box2D and Bullet in the future though. Happy to have some volunteers that help me put that together :) On 17 Mrz., 15:57, Jiri jiriheitla...@googlemail.com wrote: Does this framework support simple 2d physics and collision detection and/or

[android-developers] Re: Windows Phone and XNA. Nightmare is real. What we do with that ?

2010-03-17 Thread Mario Zechner
I agree to this point based on my own experience and micro benchmarks. That's why i think only performance critical code should be written in native code such as physics calculations. I'd really love to get more people on board of libgdx, it's now in a pretty useable state and the API is nearly

[android-developers] Re: I don't HATE apple, but I found these interesting things yesterday, poor iphone developers.

2010-03-17 Thread MobDev
hehe, another music app developer here, with no decent streaming app possibilities :( It's nice to have a MediaPlayer which streams MP3, but thats way way too limited.. I want it to be compatible with AAC to begin with (because of the bandwidth), and I definitely would want more control (and maybe

[android-developers] LOGV

2010-03-17 Thread André Barbosa
Dear All, I'm running the mediaplayer of android and i would like to see the LOGV generated by mediaplayer, but they do not appear in logcat. these logs are stored in a file? how can I debug them? Regards, André Barbosa. -- You received this message because you are subscribed to the Google

Re: [android-developers] Manually set preferences being overwritten by a subclass of PreferenceActivity

2010-03-17 Thread TreKing
On Tue, Mar 16, 2010 at 5:33 PM, Pete petesla...@gmail.com wrote: I am finding that any data that I store from the first activity, my bespoke preference screen which manually adds the data using a StoredPreferences.Editor instance is overwritten once the user selects an option in my activity

[android-developers] Re: [resolved] CTS not detecting device after restart

2010-03-17 Thread aerosmith
Looks like it may be a problem with our usb driver. I don't think there is anything wrong with the adb or google's usb driver for linux. On Feb 18, 3:33 pm, aerosmith parvata...@gmail.com wrote: Hi, I am testing an android device with eclair using the 2.1 CTS version. When CTS completes a set

[android-developers] Source code for keyboard in Android 2.1

2010-03-17 Thread Trygve
Hi Does anyone know if the source code for the updates of the keyboard in Android 2.1 is available somewhere? I know that you can get the source for the Android keyboard here: http://android.git.kernel.org/?p=platform/packages/inputmethods/LatinIME.git;a=summary But this doesn't seem to contain

Re: [android-developers] How could I make such a UI? customized UI issue

2010-03-17 Thread TreKing
On Tue, Mar 16, 2010 at 11:44 PM, cindy ypu01...@yahoo.com wrote: Our UI designer design a very complicated UI, Tell them to stop it. Can someone point out how to implement such as UI? Sorry, but your description is so general and abstract, I doubt anyone is going to be able to help you.

[android-developers] Service that injects key events.

2010-03-17 Thread Tim
Is it possible to have a service running in the background that a) Finds the current foreground activity. b) Sends key press or touch events to it? -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to

Re: [android-developers] Source code for keyboard in Android 2.1

2010-03-17 Thread Dianne Hackborn
The voice input requires interaction with proprietary Google services, which can't be open-sourced. Thus to do this in the time we had, a fork was made of the LatinIME to a Google version that integrates the voice search. This situation should be cleaned up in Froyo. On Wed, Mar 17, 2010 at

Re: [android-developers] Game Developers: Some general questions about high scores, achievements, multi player support and in game ads.

2010-03-17 Thread Wayne Wenthin
In my Game I actually display the Hiscore as a webpage. This allows it to be shown on my website also. I generate it once an hour since it was taking way to long to display otherwise. I have since revised my code and I could update ever 15 minutes. Ads: If you have a game that users spend

[android-developers] Re: I don't HATE apple, but I found these interesting things yesterday, poor iphone developers.

2010-03-17 Thread Sundog
Right on point here, all three of you, and representative of the problems of both platforms. I won't even consider continuing my IPhone development, but I've had to completely drop several projects I wanted to do in Android because it simply isn't up to it. Since they're being nice enough to send

[android-developers] How to figure out that mp3player is delayed when seek bar is working with

2010-03-17 Thread Insoo Kim
While playing mp3 by mediaplyer and showing the progress with seek bar, the problem is that mp3playing sound is delayed when mediaplyer and seekbar working at the same time. I used thread, handler, timer for solving that problem on seekbar.setProgress(mediaplayer.getCurrentPosition()). what

[android-developers] Re: How to get MediaPlayer current volume

2010-03-17 Thread Gauri
Even I am facing some problem. I can set it from 0.1f to 0.9f , but unable to get it until unless I remember the last set value. On Mar 15, 11:23 pm, Bob Kerns r...@acm.org wrote: That's really not the same thing. It's a monaural setting that affects ALL streams of that type, while the

[android-developers] How to setup the Gallery AP in the Android emulator

2010-03-17 Thread MeMe
How to trace the Gallery in the EClipse? Thanks a lots. -- 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 this group, send email to

[android-developers] How to setup the Gallery AP in the Android emulator

2010-03-17 Thread MeMe
I want to trace the Gallery AP in the Android emulator. But I don't know how to build this in the EClipse. Anyone can answer me? Thanks a lot. -- 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: Grrrrr.... 100 SMS per hour

2010-03-17 Thread Andreas
I'm sorry, but I can't hep thinking that there must be a better way to accomplish whatever you are trying to do. What about using some other kind of data carrier? E-mail? Http? It would certainly be interesting to know what kind of application needs to send over a hundred sms in an hour.

[android-developers] how can I animate a widget in and out of a View?

2010-03-17 Thread eburke
Let's say I have some views stacked inside a LinearLayout: [LinearLayout vertical] [ListView weight=1 so it fills the space] [EditText] [SomeRowOfButtons] I want the SomeRowOfButtons to be hidden initially. When the EditText gets focus I want to animate SomeRowOfButtons in,

[android-developers] Re: Supress the native In Call Screen and replace with 3rd party?

2010-03-17 Thread Bytes
Hi, I'm also looking for similar kind of stuff. My question is even instead of using INTENT, can't we dial using any APIs. If we raise INTENT, we may not having complete control over the call. Can any one confirms that it can't be done through SDK ? I'm pretty sure it can't be done. But is is

[android-developers] Problem with upgrading Android Dev Phone 1's version 1.0 firmware to version 1.6

2010-03-17 Thread Katsuya Noguchi
Hi, I have upgraded my android dev phone 1's version 1.0 firmware to 1.6 following the recovery image method instructed by HTC (http:// developer.htc.com/adp.html) . After the installation, I got the notification saying preparing SD card. Checking for errors when I rebooted it. I waited for a

[android-developers] Re: SD Card File I/O

2010-03-17 Thread sumit asok
I think openFileOutput() method is used to write to applications private data ( not the SD card ) So your application will be searching for a folder /sdcard/ inside your applications folder /data/...path to your application/ In order to write file you have to use FileOutputStream. On Mar 12,

[android-developers] MediaPlayer: Changing surfaceHolder

2010-03-17 Thread VicRSTi
Is it possible to change the SurfaceHolder on a MediaPlayer object that's already been assigned a SurfaceHolder? For example if I have a small SurfaceView in activity A with a MediaPlayer streaming an online video and I launch activity B with a full screen SurfaceView, but I don't want to create

  1   2   3   >