[android-developers] Re: Which API Level to target

2010-03-10 Thread Kaj Bjurman
Really nice to see some statistics, but I don't think that they are applicable for the rest of the world. It's e.g. not possible to buy any phones with Android 2.1 in many countries in europe, and it looks like your app mostly is used in US, where you have the Droid and the N1. I would expect the

[android-developers] Re: Which API Level to target

2010-03-10 Thread Kaj Bjurman
I don't think that that is totally correct. You can handle multiple screen sizes, and still make the app work on 1.5. The new entries in the manifest will be ignored by 1.5, so you are safe as long as you don't use any new APIs/methods. On 11 mar, 05:46, Kumar Bibek wrote: > Targetting 1.5 woul

[android-developers] Re: The "life cycle of a static"

2010-03-10 Thread westmeadboy
I implemented the singleton approach in the end, and it works pretty well. I pass the application context to get the instance and that's enough to open the database and do various other pieces of initialisation I need across the app. In Activity1.onDestroy() I close the database. However, is this

[android-developers] Re: currentTimeMillis() doesnt match on two concurrent emulators

2010-03-10 Thread Kaj Bjurman
Have you checked all entried in logcat to see if you can see anything odd? I had e.g. a loop where each iteration did something like: Log.i(TAG, "Forecast expires at " + aJavaDateInstanceRepresentingExpirationDateTime); Each execution of that log statement took about 1-2 seconds since date.toStri

Re: [android-developers] java.lang.ClassCastException when using self-defined ListAdapter in Listview

2010-03-10 Thread Romain Guy
You are returning the parent from getView()? Why? The parent is the ListView itself, you are telling ListView to add itself to itself :) On Wed, Mar 10, 2010 at 11:26 PM, windstorm wrote: > Hi all: > > I am writing a adapter for a specific app, the problem I met is: > > I have only 1 listview in

[android-developers] Re: Device Seeding Program for Top Contributors to Community Forums

2010-03-10 Thread Robert Green
I've been really wanting an extra device to run OS builds on. Also, I get reports of people running my live wallpaper off of G1s and other devices. Having another device for those custom builds would be great. On Mar 11, 12:45 am, Bob Kerns wrote: > I suppose it's too late then, to send lots of

[android-developers] java.lang.ClassCastException when using self-defined ListAdapter in Listview

2010-03-10 Thread windstorm
Hi all: I am writing a adapter for a specific app, the problem I met is: I have only 1 listview in main.xml, and the row style is defined in file_row.xml. If I simply use list.setAdapter(new ArrayAdapter(this, R.layout.file_row, R.id.file_name, items)); where items is a ArrayList, everything wo

[android-developers] Re: currentTimeMillis() doesnt match on two concurrent emulators

2010-03-10 Thread Robert Green
FYI - Good that you're doing it that way. I have to recommend switching to nanoTime, though. I've witnessed multi-second time updates (from the system, not from me) while playing my games and it's not pretty. I've switched everything to nanoTime / 100 since then (which gives milliseconds) an

[android-developers] Re: how can I put a newline into a format string

2010-03-10 Thread Bob Kerns
But without the doc -- even WITH the doc -- we don't know when these are/were supported. works in fromHtml(), but does it work in format()? On Mar 10, 7:07 pm, Mark Murphy wrote: > Bob Kerns wrote: > > Well, I was taking this page as definitive: > > >http://developer.android.com/intl/de/guide/t

[android-developers] Re: Creating Simple Serial Output:

2010-03-10 Thread Bob Kerns
I'm not clear on what you're trying to do. Are you trying to get a phone to talk to an Arduino, or are you trying to replace the Arduino with a phone? Phone USB ports aren't generally set up to act as hosts, but as devices. Supposedly some phone USB ports are hardware capable of doing so, but I do

[android-developers] Re: Using MediaPlayer - multiple sound files

2010-03-10 Thread Nightwolf
Another way is to use single MediaPlayer and call reset(), setDataSource(), prepare() and start(). There could be some delays though, at least for the first time. BTW the last time I tried SoundPool it was impossible to have more than 1 MB of sounds. SoundPool uses uncompressed audio and I didn't

[android-developers] Re: Need Bluetooth UUID clarification

2010-03-10 Thread moneytoo
0003--100­0-8000-00805F9B34FB is 128 bit UUID. 0003 is 32 bit UUID. 0003 is 16 bit UUID. To create record advertising serial service, use the SPP 16 bit UUID and add the BT part. 1101--100­0-8000-00805F9B34FB is UUID for SPP on Android. On Mar 11, 4:26 am, Arun wrote: > I am

[android-developers] Re: Restart LogCat without restarting eclipse?

2010-03-10 Thread Bob Kerns
I think you're probably seeing what I see -- that LocCat just starts showing the last line, briefly, and then going blank. What I find is that CLEARING logcat with the little Clear Log icon at the right of the icon bar above the log restores it to functionality (though, of course, losing any prior

[android-developers] Re: Questions to comic contents developer

2010-03-10 Thread Bob Kerns
My suggestion: Don't deliver the entire comic with the app -- just a sample. (DO make it clear in the market description!) Then download additional sections of the comic on a daily basis over the next week or month, or if it's an ongoing serial, make it an ongoing subscription. Give them enough t

[android-developers] Re: Device Seeding Program for Top Contributors to Community Forums

2010-03-10 Thread Bob Kerns
I suppose it's too late then, to send lots of pointless responses like this one, in hopes of getting in? :) Anyway, I've got a Nexus One. What I need is a few old clunkers for testing, if people are looking to sell... On Mar 10, 2:57 pm, Streets Of Boston wrote: > I don't know what determines w

[android-developers] Highlight text in WebView

2010-03-10 Thread treetop
Hi all, I hava a WebView to load a string contains javascript & html content with "bookWebView.loadDataWithBaseURL" method. For example, function test() { var bc = document.getElementById('test').style;

[android-developers] Re: How to reset the price of application

2010-03-10 Thread Carlo
We really appreciate the way the android market is right now, hope it won't change in the future... there is still some issues with the "customer in review" status for the customer who are unable to download, are not aware of the 7 days delay before the order is automatically canceled and complain

[android-developers] Re: Creating first game

2010-03-10 Thread Bob Kerns
No problem with your English. I see others have pointed you at templates and such. So let me talk a bit about strategy. First, it's a lot of work. Don't EVER try to do some big grand thing all at once. It's OK to have a grand idea -- but always work on the next SMALL step toward that idea. (And t

[android-developers] How to use phone internal memory to store user data......

2010-03-10 Thread Girish
Hi all.. I want to access phone internal memory to store some data, similar to that of sdcard. but the problem is that the data written by one application is not accessed by other applications. because of uid mismatches. any solution ? Thanks ... -- You received this message

[android-developers] Re: Custom Spinner

2010-03-10 Thread Kumar Bibek
It is possible. But we need to know first what your requirements are. You can fully customize any widget. Thanks and Regards, Kumar Bibek. On Mar 9, 6:42 pm, mmkr wrote: > Hi all, > >         The default drop down view of the spinner occupies the entire > width of the screen. I tried to create a

Re: 答复: [android-developers] Where is the source project location of YouTube in Eclair?

2010-03-10 Thread Kumar Bibek
Intent intent = new Intent(Intent.ACTION_SEARCH); intent.putExtra("query", "Android"); intent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK); startActivity(intent); Try this. It will open a Resolver activity. When you choose Youtube, it will show you video

[android-developers] Re: Number of ratings decreased??

2010-03-10 Thread Farproc
Do you notice the "Clear my review" option menu of Market app? On Mar 11, 11:10 am, Justin wrote: > Since 9:00am on March, 10, the ratings for one of my apps has > DECREASED by 6, from 45 ratings down to 39.  What would the cause of > this be?  Is this a sign of another breakage of the market sta

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

2010-03-10 Thread Tako Au
It's already 9 days from my submission of form :'(. I've sent an email 2 days ago but they haven't replied me yet On Mar 11, 5:51 am, Rootko wrote: > Yeah, sounds reasonable. Although I kind of expected that they would > at least confirm me that zip code has been corrected in my case. Well, > I

[android-developers] Re: Webview textbox and keypad

2010-03-10 Thread nikhil
yeah tried that as well On Mar 10, 9:38 pm, Farha Ansari wrote: > try using :- > > android:windowSoftInputMode="adjustPan" > > this is what i am using. > > Thanks, > Farha > > On Mar 11, 1:57 am, nikhil wrote: > > > Worst part is the manual scroll...if I move it up and then touch the > > keypad

Re: [android-developers] Re: How to reset the price of application

2010-03-10 Thread Dianne Hackborn
On Wed, Mar 10, 2010 at 8:48 PM, Kumar Bibek wrote: > "promote your app free for 24H or more" > > That's a nice idea. Ummm, Google doesn't seem to be working on the > Android Market. :( > Yep, no more development on android market. It is perfect how it is. Now we can go see a movie. -- Dianne

[android-developers] Re: How Add Rating Bar on App Widget???

2010-03-10 Thread Gulfam
Thanks Mark and Kumar. On Mar 10, 5:22 pm, Mark Murphy wrote: > Gulfam Hassan wrote: > > One Thing more I am using 1.5 SDK > > > On Wed, Mar 10, 2010 at 4:06 PM, Gulfam > > wrote: > > >     Hi all, > > >     I am trying to make an app widget, and i want to add three th

Re: [android-developers] Prevent LED/camera Flash requiring APPS from marketplace

2010-03-10 Thread Dianne Hackborn
There is a feature for that: http://developer.android.com/reference/android/content/pm/PackageManager.html#FEATURE_CAMERA_FLASH Put this in in your manifest. On Wed, Mar 10, 2010 at 9:51 PM, Prem

[android-developers] Prevent LED/camera Flash requiring APPS from marketplace

2010-03-10 Thread Prem Thilagar
Hi, Is there a particular flag that we can use to prevent apps showing up in marketplace which require the phone to have a Camera Flash /LED. typical apps are ones which make the phone act like a torchlight in dark , i have seen a tag which prevents apps requiring autofocus in a camera from ap

[android-developers] Everything for your mobile. The search is over

2010-03-10 Thread Omer Farooq
Tired of searching software for your mobile Phone. Well the search is over now. Wether you have Andriod, Symbian or Iphone. WHether you have NOKIA, HTC, IPHONE, SONY ERICSON, SAMSUNG. It doesn't matter for this product. Search any software, themes, ringtones, wallpapers, screensave. You will defina

Re: [android-developers] Re: Using MediaPlayer - multiple sound files

2010-03-10 Thread kavitha
You can prepare Mediaplayer asynchronously and store them in a collection. after that call MediaPlayer.start() wherever needed. On Thu, Mar 11, 2010 at 5:29 AM, Mark Murphy wrote: > Neilz wrote: > > Anyone? I'm sure this must be a common problem... > > Actually, this is the first I've heard of a

[android-developers] Re: Client Twitter and Android

2010-03-10 Thread Kumar Bibek
There are apis for almost everything. You just need to search for them. You would find those most probably on facebook developer site itself On Mar 11, 10:00 am, David Toledo wrote: > Thanks. exists api similar for the facebook? > > 2010/3/10 Thomas Riley > > > +1 on JTwitter. > > > Was playing

[android-developers] Re: How to launch YouTube with specified keywords?

2010-03-10 Thread Kumar Bibek
Try this. Intent intent = new Intent(Intent.ACTION_SEARCH); intent.putExtra("query", "Android"); intent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK); startActivity(intent); Here, you will get a Chooser activity. Now when you select Youtube, you will get video results for Android. Thanks and Regards,

Re: [android-developers] Re: Client Twitter and Android

2010-03-10 Thread Greg Donald
On Wed, Mar 10, 2010 at 10:52 PM, Kumar Bibek wrote: > I think you should re-use the apps that already exist without re- > writing. Yeah, that's why Google wrote Buzz. -- Greg Donald destiney.com | gregdonald.com -- You received this message because you are subscribed to the Google Groups "A

Re: [android-developers] Possible to Detect if OnResume is because Back button was hit?

2010-03-10 Thread TreKing
On Wed, Mar 10, 2010 at 6:47 PM, Sam wrote: > I wanted to know if it is possible to Detect in an Activitiy's > OnResume if the Activity is resuming because the devices Back button > was hit or not? > A) Why do you want to do this? Sounds hacky. B) If you start the Activity with startActivityFor

Re: [android-developers] Re: Client Twitter and Android

2010-03-10 Thread David Toledo
Thanks. exists api similar for the facebook? 2010/3/10 Thomas Riley > +1 on JTwitter. > > Was playing around with it the other week and it works well. > > On Mar 10, 7:56 pm, Mark Murphy wrote: > > David Toledo wrote: > > > Excuse me. some client that is api "jar" and can using in the > develop

[android-developers] Re: Which API Level to target

2010-03-10 Thread Maps.Huge.Info (Maps API Guru)
Check out one of my app's companion site: http://www.radarnow.net Click on the stats link. You'll see the percentage for each version, also the devices that are being used. That may help make up your mind. -John Coryat "Radar Now!" "What Zip Code?" -- You received this message because you ar

[android-developers] Re: Restart LogCat without restarting eclipse?

2010-03-10 Thread Kumar Bibek
>From the command line, run these commands, adb kill-server adb start-server Thanks and Regards, Kumar Bibek On Mar 10, 11:25 pm, Mike dg wrote: > Click the DDMS tab and ini the device tab there should be a "down > arrow button" next to the screenshot button. Press that and all the > way at the

[android-developers] Re: Client Twitter and Android

2010-03-10 Thread Kumar Bibek
I think you should re-use the apps that already exist without re- writing. Contact Twidroid and Seismic and see if they have any feature wherein you can send a tweet through there apps. Twidroid has. Don't know about Seismic. The whole purpose of the implicit Intent Mechanism is for different apps

[android-developers] Re: Android MYSQL

2010-03-10 Thread saru
Who told to develop mysql application in android. Android does not support mysql database. rather try to use SQlite database On Mar 9, 4:45 am, Si458 wrote: > Hiya, > > Im currently trying to develop a mysql app on the android, ive got the > basics working and ive also managed to get the JDBC wor

[android-developers] Re: How to reset the price of application

2010-03-10 Thread Kumar Bibek
"promote your app free for 24H or more" That's a nice idea. Ummm, Google doesn't seem to be working on the Android Market. :( Thanks and Regards, Kumar Bibek On Mar 11, 8:22 am, Carlo wrote: > Google folks are very wise and kudos to them for installing such of > good market policy to prevent th

[android-developers] Re: Possible to Detect if OnResume is because Back button was hit?

2010-03-10 Thread Sam
Are you saying if you're on Activity A -> Activity B, hit Back Button from Activity B, a static flag is set to true on the back key, When Activity A resumes, you check that static variable, and do your logic, then set the flag back to false? On Mar 10, 8:27 pm, Robert Green wrote: > I kind of do

[android-developers] Re: Which API Level to target

2010-03-10 Thread Kumar Bibek
Targetting 1.5 would be the safest. But, you can gradually shift to 1.6 when the next SDK comes out. But again, it depends on your app. If you are using some things that are only available on 16 and up, you do not have a choice. And also, if you have taken care of multiple screen sizes, which is a

[android-developers] Which API Level to target

2010-03-10 Thread jb
Hi, Very basic, newbie question. I'm new to the Android world. I'm nearing completion of a port of my iPhone app to Android. The uncertainty I have is what API Level to target. I've only tested on the emulator at 2.1 and 1.6. Any suggestions, ideas, things to consider? TIA, jb -- You received

Re: [android-developers] Re: what is the detailed relation between contacts and raw_contacts?

2010-03-10 Thread Dmitri Plotnikov
Here's documentation on status updates: http://developer.android.com/reference/android/provider/ContactsContract.StatusUpdates.htmlIs it insufficient? 2010/3/10 Dmitri Plotnikov > There is basic API documentation here: > http://developer.android.com/reference/android/provider/ContactsContract.ht

Re: [android-developers] Re: what is the detailed relation between contacts and raw_contacts?

2010-03-10 Thread Dmitri Plotnikov
There is basic API documentation here: http://developer.android.com/reference/android/provider/ContactsContract.html 2010/3/10 Jerome Deng > ^_^Oh, fail to connect to android developer site in China if don't use > proxy. > > Thanks brain. You are right, there is no document about this. > Any one

Re: [android-developers] Re: Device Seeding Program for Top Contributors to Community Forums

2010-03-10 Thread Disconnect
Just FYI I set up a device swap site. Aimed partially at people in the seed program (since it is random droid vs nexus) but also for general users - its getting on to 2nd gen of devices, lots of people are replacing older units, etc. http://andblogs.net/2010/03/android-device-exchange/ has the ann

[android-developers] Re: currentTimeMillis() doesnt match on two concurrent emulators

2010-03-10 Thread Samsyn
Thanks, Robert! yes, don't worry, I wasn't doing that. :-) Basically the server has the master time, each client has a dynamic ping value to the server, which is also shared with the other clients for suitable adjustments. at key moments a client notes the local currentMillis() value matching a

[android-developers] Re: Google Latitude JSON/KML feed - getting user ID

2010-03-10 Thread monica
Anybody can give answers? 2010/3/10 monica > I'm using the Google Latitude to get location data for select users. What > I'm wondering is if it is possible to get additional information from the > user ids than is provided in the JSON feed? Because right now I am unable to > get the user id, how

[android-developers] Re: Webview textbox and keypad

2010-03-10 Thread Farha Ansari
try using :- android:windowSoftInputMode="adjustPan" this is what i am using. Thanks, Farha On Mar 11, 1:57 am, nikhil wrote: > Worst part is the manual scroll...if I move it up and then touch the > keypad ...it rolls back down .. > > On Mar 8, 2:49 pm, nikhil wrote: > > > > > Thank you for y

Re: [android-developers] Re: Activity lifecycle problem on Nexus One - onStop not called

2010-03-10 Thread Dianne Hackborn
Hi, there is an issue in 2.1 with the new launcher that causes the onStop()/onDestroy() to be delayed longer than typical when going back to home. Note these are not delayed -forever-, but just until later in the future (when the next activity switch happens). These methods are defined to happen

[android-developers] Regardinf #define or build flag

2010-03-10 Thread Dilip Dilip
Hi All, Please tell me how to declare equivalent of #define in java ? whats the best way and best place in android to define equivalent of it. my requirement is some thing like this ... if the flag is enabled that part of the code should get complile else it should not compile. something like

[android-developers] Need Bluetooth UUID clarification

2010-03-10 Thread Arun
I am trying to connect to a Bluetooth headset, and it fails at the time of connect with an error: "Service Discovery Failed". Following is the code snippet. BluetoothSocket btsock = device.createRfcommSocketToServiceRecord(UUID.fromString("0003--1000-8000-00805F9B34FB")); btsock.connect();

[android-developers] Re: How to reset the price of application

2010-03-10 Thread Carlo
Google folks are very wise and kudos to them for installing such of good market policy to prevent the market to be hijacked by the "promote your app free for 24H or more" , what about a "promote your very good paid app for 24H or more" ? ;) > You cannot make a free application not-free, sorry! > >

[android-developers] Creating Simple Serial Output:

2010-03-10 Thread joshbeck
I've got a fairly unique situation: -I'm a teacher with a magnet school that focuses on rocketry and technology. -I've got a rocket payload that has a video overlay board which does the following: -Takes input from a camera. -Takes input from a serial d

[android-developers] Number of ratings decreased??

2010-03-10 Thread Justin
Since 9:00am on March, 10, the ratings for one of my apps has DECREASED by 6, from 45 ratings down to 39. What would the cause of this be? Is this a sign of another breakage of the market stats/ ratings? I have a question regarding this posted at the blackhole that is the Market Forum, but have

Re: [android-developers] Re: how can I put a newline into a format string

2010-03-10 Thread Mark Murphy
Bob Kerns wrote: > Well, I was taking this page as definitive: > > http://developer.android.com/intl/de/guide/topics/resources/available-resources.html#stringresources > > Which is where I got my count of 3 tags. However, in searching for > that, I found this (which links to that): > http://devel

[android-developers] Re: how can I put a newline into a format string

2010-03-10 Thread Bob Kerns
Well, I was taking this page as definitive: http://developer.android.com/intl/de/guide/topics/resources/available-resources.html#stringresources Which is where I got my count of 3 tags. However, in searching for that, I found this (which links to that): http://developer.android.com/intl/de/guide/

[android-developers] Re: Looking to becoming a developer part time

2010-03-10 Thread Jerome Deng
SDK is the best assistant. On 3月10日, 上午3时36分, TreKing wrote: > On Mon, Mar 8, 2010 at 1:12 PM, omnilaw wrote: > > I plan on spending a little time a night trying > > to learn the programming needed and get familiar with the SDK once I'm > > up to speed but wasn't sure where to start. > > Do you

[android-developers] Drawing failure?

2010-03-10 Thread dwilde1
The following routine in a subclass of view attempts to draw a bell curve on a canvas and display it. It calculates an array of points, erases the previous pass, and then draws a new set of lines. Tried with both drawLines() and drawPoint() in a loop; no joy. Basic code worked when done in onDraw()

[android-developers] Re: what is the detailed relation between contacts and raw_contacts?

2010-03-10 Thread Jerome Deng
^_^Oh, fail to connect to android developer site in China if don't use proxy. Thanks brain. You are right, there is no document about this. Any one can help interpret with details? On 3月9日, 上午8时29分, brian wrote: > +1 - the documentation in this area needs some work. To do the > simplest thing

[android-developers] Re: Activity lifecycle problem on Nexus One - onStop not called

2010-03-10 Thread Achanta
I too have the same issue and Mark, we discussed it earlier in another thread. I was trying to use the onStop and onDestroy to stop Location updates and other background threads that I start from onCreate method. Here is what I observed. Here is what I have seen. I am using Nexus one [2.1]. Press

[android-developers] Re: Can´t create an AudioRecor der object

2010-03-10 Thread Gabriel Simões
Well, after spending my free time for the last 5 days working on the AudioRecord class I´m here again to post my findings. But first let me make myself clear: - What I´m about to write is the result of my tests and findings after having a lot of trouble to use the basic routines of the class. I fo

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

2010-03-10 Thread Carlo
c# and .net will be like having java, nothing can beat native code, so the NDK is the way to go, soon the debugging features will be implemented and that will boost original game development, if you look at ExZeus arcade built upon NDK, we are already far from the "logical bricks/ball/falling diamo

[android-developers] Re: currentTimeMillis() doesnt match on two concurrent emulators

2010-03-10 Thread Robert Green
Samsyn, For multiplayer synchronization, you absolutely can not count on the current time of either device. Here's one way to handle it: Both host and client use System.nanoTime() / 100; That gives you a fairly accurate counter to use. Host sends snapshots with their current time. Client a

[android-developers] Re: Query Loop!?

2010-03-10 Thread Ben
James, Upon looking at that, I saw the following : "Execute a single SQL statement that is not a query. For example, CREATE TABLE, DELETE, INSERT, etc." As my whole intent is to query, put data into ContentValues, and then update the fields in the existing tables I don't think that will work. Th

[android-developers] Re: currentTimeMillis() doesnt match on two concurrent emulators

2010-03-10 Thread Samsyn
at the risk of answering my own question (with the to-be-expected accuracy level associated with that), it appears that if I * shut down eclipse * open two CMD windows * launch the emulators from command line that I get much better peformance (5x better?), less 'time-slice- theft' (top window sti

[android-developers] Re: Widget setOnClickPendingIntent not working

2010-03-10 Thread Kasra Rahjerdi
I've made some progress. If I set my application up to do widget updating in onRecieve everything works, similar code in the onUpdate function does not. -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to an

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

2010-03-10 Thread Maps.Huge.Info (Maps API Guru)
>From what I understand, both units (N1 and Droid) will come with a 30 day free account with either T-Mobile or Verizon. That will allow activation without any funny business. Of course, I may be wrong. -John Coryat -- You received this message because you are subscribed to the Google Groups "An

[android-developers] currentTimeMillis() doesnt match on two concurrent emulators

2010-03-10 Thread Samsyn
so... I am testing my multiplayer game by running several instances of the emulator (which is, sadly, extremely slow and dis-satisfying). I depend on a little trick using currentTimeMillis() to keep a synchronized clock between the players (but NOT the absolute value of currentTimeMillis() since n

[android-developers] how to wrap content in optionsmenu?

2010-03-10 Thread Stefan
Hi, my problem is, that i have long strings in my optionsmenu. so my question is, whether is it possible to define, that i only want to show one item per line: LNG STRING 1 LONG STRING2 -

Re: [android-developers] Re: multiple parameters with rawQuery in sqlite = BUG

2010-03-10 Thread Mark Murphy
Nathan wrote: > On Mar 10, 3:56 pm, Mark Murphy wrote: >> Create a project that demonstrates the problem, open an issue >> onhttp://b.android.com, and shoot me the issue number when you've done that. >> > > OK. First, though, is there a way to capture what SQL is actually > being sent to the dat

[android-developers] Re: How do I simulate the Home key programmatically?

2010-03-10 Thread Robert Green
If you want to exit, just use finish(). On Mar 10, 10:23 am, Wides wrote: > Hi, I have a requirement to implement an Exit button in my Android > application. I don't really care about killing the activity stack, I > just want to have the same effect as pressing the Home button. So that > applicat

[android-developers] How to launch YouTube with specified keywords?

2010-03-10 Thread David
Dear All, I want launch the YouTube with specified video searching list at startup(e.g I want YouTube shows the video list all related with the key word "Susan" and "U.S" in the first page.) But The YouTube application is not open source in Éclair, would you please tel

[android-developers] Re: Possible to Detect if OnResume is because Back button was hit?

2010-03-10 Thread Robert Green
I kind of do something like this. I set a flag to false onResume and then set it true if the back button is hit. onPause, if that flag is true, I know it's because my user is backing out and I can respond in a certain way (knowing that we'll be going back to a previous activity). The previous ac

[android-developers] Re: Can static library is created by android 2.0 work at android 2.1?

2010-03-10 Thread Robert Green
Bluestar, Any shared object you generate using the NDK for a previous version of Android should be forward compatible. IE: If you compile some code that runs fine against 2.0, it should (for the most part) also work against 2.1. On Mar 8, 8:35 pm, bluestar wrote: > I create one static library(

[android-developers] Re: Can static library is created by android 2.0 work at android 2.1?

2010-03-10 Thread mah
The SDK provides you with what you need for building a 2.1 emulator... probably easier (and more reliable) to simply try it out. On Mar 8, 9:35 pm, bluestar wrote: > I create one static library(alogrithm.a) by using android 2.0 > > Now I want to use this library to work at android 2.1 > > Can I

[android-developers] Re: multiple parameters with rawQuery in sqlite = BUG

2010-03-10 Thread Nathan
On Mar 10, 3:56 pm, Mark Murphy wrote: > > Create a project that demonstrates the problem, open an issue > onhttp://b.android.com, and shoot me the issue number when you've done that. > OK. First, though, is there a way to capture what SQL is actually being sent to the database? And what does

[android-developers] Possible to Detect if OnResume is because Back button was hit?

2010-03-10 Thread Sam
Hi, I wanted to know if it is possible to Detect in an Activitiy's OnResume if the Activity is resuming because the devices Back button was hit or not? Sammy -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send emai

[android-developers] Re: registerCallback leaks memory?! Help?

2010-03-10 Thread James Wang
I am not much sure gclog.py is only available for linux. Maybe you can try installing python on withows and playing with it. However, linux is recommended. -- 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] XML validation error when updating Android SDK

2010-03-10 Thread Xavier Ducrohet
Looks like you're running an older version of the tools (rev 3 or older). Only rev 4 is able to properly adapt to schema changes in the repository. Please download the rev 5 of the tools directly from http://developer.android.com/sdk/index.html Xav On Wed, Mar 10, 2010 at 3:57 AM, aisakov wrote

Re: [android-developers] Re: Using MediaPlayer - multiple sound files

2010-03-10 Thread Mark Murphy
Neilz wrote: > Anyone? I'm sure this must be a common problem... Actually, this is the first I've heard of a file too big for SoundPool. How have you determined that file size is your issue? With respect to MediaPlayer, it's possible that having a whole bunch of MediaPlayer objects will be OK, b

Re: [android-developers] Re: multiple parameters with rawQuery in sqlite = BUG

2010-03-10 Thread Mark Murphy
Nathan wrote: > I don't know if you've solved this by now, but I see the same behavior > with a completely different query that uses five parameters. The only > thing in common, probably, is the use of floating point. > > I've had okay results using one parameter, or passing a fully > populated st

[android-developers] Re: Using MediaPlayer - multiple sound files

2010-03-10 Thread Neilz
Anyone? I'm sure this must be a common problem... -- 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+unsu

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

2010-03-10 Thread Vladimir
Verizon Droid works fine after bypassing the initial activation check (really easy). Obviously can't place calls on GSM network, but everything else is ok. On Mar 7, 4:13 am, "anton.slut...@gmail.com" wrote: > Do Verizon phones even load without being hooked up to Verizon?  Sorry > for being igno

[android-developers] Re: multiple parameters with rawQuery in sqlite = BUG

2010-03-10 Thread Nathan
I don't know if you've solved this by now, but I see the same behavior with a completely different query that uses five parameters. The only thing in common, probably, is the use of floating point. I've had okay results using one parameter, or passing a fully populated string both in code and in s

[android-developers] Call processing

2010-03-10 Thread songs
Hi, I've got two apps that process calls great independently, but I'm having trouble getting them to play nice together. I've set the priorities on their intent filters so that they get the broadcast in the right order, but when I process with the first one and set the result, the second process

[android-developers] Re: Device Seeding Program for Top Contributors to Community Forums

2010-03-10 Thread Robert Green
I only have a meager 340 in this group. :) On Mar 10, 4:57 pm, Streets Of Boston wrote: > I don't know what determines whether you get an Android device or not. > I have 600 msgs overall on this board (in the top 10) and about 150 in > Android Discuss. > > On Mar 10, 5:53 pm, nikhil wrote: > >

[android-developers] Re: How to get text under touch?

2010-03-10 Thread Vladimir
forgot to mention that "widget" in the code is actually the TextView being touched. IIRC this code comes from ArrowKeyMovementMethod. Don't know about WebView or other components. On Mar 11, 1:16 am, Vladimir wrote: > Something along the lines of: > onTouchEvent(... MotionEvent event) { > >     i

[android-developers] Re: How to get text under touch?

2010-03-10 Thread Vladimir
Something along the lines of: onTouchEvent(... MotionEvent event) { if (event.getAction() == MotionEvent.ACTION_UP) { int x = (int) event.getX(); int y = (int) event.getY(); x -= widget.getTotalPaddingLeft(); y -= widget.getTotalPaddingTop(); x += wid

Re: [android-developers] Re: HTML content on AppWidget

2010-03-10 Thread Mark Murphy
String wrote: > On Mar 10, 8:16 am, Deepak wrote: > >> I need to know if it is possible to display HTML content on an >> AppWidget. > > I don't believe that it is possible. The official list of view > supported by AppWidgets doesn't include WebView: > http://developer.android.com/guide/topics/ap

Re: [android-developers] How to reset the price of application

2010-03-10 Thread Mark Murphy
Rootko wrote: > Hi fellow developers. > Recently I tried to temporary set the price of one of my apps to Free, > just to see the boost in downloads. However now I cannot re-set it, > there is simply no radio button to switch to price. Is there some > workaround for this? I cannot delete application

[android-developers] Re: HTML content on AppWidget

2010-03-10 Thread String
On Mar 10, 8:16 am, Deepak wrote: > I need to know if it is possible to display HTML content on an > AppWidget. I don't believe that it is possible. The official list of view supported by AppWidgets doesn't include WebView: http://developer.android.com/guide/topics/appwidgets/index.html#Creating

Re: [android-developers] Re: Device Seeding Program for Top Contributors to Community Forums

2010-03-10 Thread Wayne Wenthin
Ah a typical Google thing then. Based on stats not content. (not saying that to be mean because I've used many of your ideas) On Wed, Mar 10, 2010 at 2:57 PM, Streets Of Boston wrote: > I don't know what determines whether you get an Android device or not. > I have 600 msgs overall on this boar

[android-developers] How to reset the price of application

2010-03-10 Thread Rootko
Hi fellow developers. Recently I tried to temporary set the price of one of my apps to Free, just to see the boost in downloads. However now I cannot re-set it, there is simply no radio button to switch to price. Is there some workaround for this? I cannot delete application from developer console

[android-developers] Re: Market Refund Policy

2010-03-10 Thread Mike dg
Thanks Thomas, I remembered a few news sites reporting this as a new change to the policy. And I couldn't find for sure if it actually was a change, or just that people assumed it was. On Mar 10, 2:58 pm, Thomas Riley wrote: > Hello, > > From what I remember the Android market distro agreement h

[android-developers] Re: Device Seeding Program for Top Contributors to Community Forums

2010-03-10 Thread Streets Of Boston
I don't know what determines whether you get an Android device or not. I have 600 msgs overall on this board (in the top 10) and about 150 in Android Discuss. On Mar 10, 5:53 pm, nikhil wrote: > Whats the cut? > > On Mar 9, 10:37 am, Streets Of Boston wrote: > > > > > This is similar to the seed

[android-developers] Re: Device Seeding Program for Top Contributors to Community Forums

2010-03-10 Thread nikhil
Whats the cut? On Mar 9, 10:37 am, Streets Of Boston wrote: > This is similar to the seeding program for Android Market Developers. > I don't know what the criteria are to get selected for this seeding > program (which forums, how many posts, etc.), but many more of us can > now expect an Android

Re: [android-developers] Re: Device Seeding Program for Top Contributors to Community Forums

2010-03-10 Thread Greg Donald
On Wed, Mar 10, 2010 at 4:37 PM, Robert Green wrote: > I feel like I should qualify this being that I've written over 200 > posts in response to questions and also over 100 on my own forum at > http://www.rbgrn.net/forums not to mention the 40 articles I wrote on > Android game development in whic

[android-developers] Re: Device Seeding Program for Top Contributors to Community Forums

2010-03-10 Thread Robert Green
I feel like I should qualify this being that I've written over 200 posts in response to questions and also over 100 on my own forum at http://www.rbgrn.net/forums not to mention the 40 articles I wrote on Android game development in which I also helped many devs - http://www.rbgrn.net/topic/program

[android-developers] Re: Is this the way to prefent ScrollView to overlap/go under the button bar?

2010-03-10 Thread Vladimir
One possible solution is arranging your RelativeLayout like this: ... ... Notice the layout_above attribute. Placing the scrollview below the buttonbar in xml is necessary because it references the other component (and layout is done in 1 pass). It's not very convenient, but for a simple layou

  1   2   3   >