[android-developers] Re: Voice Recognition using given words

2010-01-13 Thread Matt P
Surely there is a way to rapidly increase the accuracy for longer sentences? On Jan 13, 7:44 am, Matt P wrote: > I've had a search of the docs and forums and unless i misunderstand > can find nothing on the below. > > Is there a way to send Google a set of words that the recognizerintent > shou

[android-developers] Re: Simultaneous Http Requests

2010-01-13 Thread TrojanSnake12
I have a very similar operation in my application. Personally, the user is using the downloaded files in some sort of sequential order, so I do them one at a time in a single background thread. To be precise, I'm trying to transfer some metadata about the image (which is in a database) as well as

Re: [android-developers] Kernel Messages

2010-01-13 Thread Frank Weiss
I suppose JNI would be the way to go. On Wed, Jan 13, 2010 at 12:35 AM, perumal316 wrote: > Hi, > > Any idea how do I show the kernel messages to user? One way is to > install terminal emulator and then 'dmesg'. But I want to write an app > which shows the kernel messages to the user. Is it poss

Re: [android-developers] prominent android developers

2010-01-13 Thread Frank Weiss
Everyone please note that emailing these people directly is a bad idea. Some of them have indicated that in their signatures. However, the OP did not intend that, just to filter messages based on the sender's email address. Even then, doing so tends towards leeching. AFAIK a mail list system is int

Re: [android-developers] Re: Accessing wcf service from android

2010-01-13 Thread Frank Weiss
Generally, the same as you would from any Java program. I would recommend you try it from a Java desktop application before diving into Android, or search for an existing Android library to do it. On Tue, Jan 12, 2010 at 8:39 PM, Sudeep wrote: > How to access the web service from android? > > On

[android-developers] Re: Simultaneous Http Requests

2010-01-13 Thread Nathan
On Jan 13, 4:48 pm, Kevin Duffey wrote: > I would say your idea of downloading all files at the same time is flawed... > one at a time would be better. So you vote for option one. > I'd queue up the files to be downloaded and > download one at a time. That's what I'm doing now. > I'd imagine t

[android-developers] Re: Getting a view in a non-Activity class

2010-01-13 Thread Manoj
In the class you want to access the view make the constructor taking the view as parameter the call the findviewbyid on that object On Jan 14, 9:30 am, Eric Crump wrote: > I need to change the visibility of a View but I need to do it from a > ItemizedOverlay.  How do I get a refrence to a view si

[android-developers] Getting a view in a non-Activity class

2010-01-13 Thread Eric Crump
I need to change the visibility of a View but I need to do it from a ItemizedOverlay. How do I get a refrence to a view since I can't use findViewById ? -- 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: getDrawable() Resourses$NotFoundException

2010-01-13 Thread Eric Crump
Passing it in in the constuctor will work for having an addition Drawable, but what if I want to determine the one to pick at runtime and there are many to choose from? On Jan 13, 11:11 pm, Lance Nanek wrote: > Let's say the package name for your app is "com.example". You are > using a value from

[android-developers] prominent android developers

2010-01-13 Thread Atif Gulzar
Hi All, I have compiled a small list of prominent android developers how frequently post on Google Android groups (android-developers.googlegroups.com & android-beginners.googlegroups.com). There is a flood of emails (>200 per day) on Google Android groups and it is not possible to follow all. B

Re: [android-developers] Selling paid applications in Canada

2010-01-13 Thread Kevin Duffey
Interesting Shane. Is there any info you can point me to on how taxes are dealt with for iphone/android/other market like app stores (Sun I think released one and Intel is about to as well). I mean.. if I sold an app and made $30KUSD (one can dream right), I'd like to avoid any legal issues with th

[android-developers] Re: getDrawable() Resourses$NotFoundException

2010-01-13 Thread Lance Nanek
Let's say the package name for your app is "com.example". You are using a value from the "com.example.R" class. The only values that will work with the system resources are from the "android.R" class. These values are not the actual content. They are just a value used to lookup the actual content.

[android-developers] Buy one Nexus One in Argentina

2010-01-13 Thread Mario Chacon
Hello I am really want to buy a Nexus One, but I do not know how to send it to Argentina, Does anybody know how to do it, please!!!?? thank you salu2... masch... -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send e

Re: [android-developers] Re: Simultaneous Http Requests

2010-01-13 Thread Kevin Duffey
I am still confused why downloading multiple files at once is any better than downloading one file at a time? Is there a reason you must download all of them at once? I don't think they would get downloaded any faster doing them all at once. Unless you are building a bitorrent client for Android...

[android-developers] Announcing First MP3 & OGG Recorder for Android

2010-01-13 Thread Hunter Peress
Hi Folks Just released the first MP3 recorder available on Android: URL: http://hifirecorder.codejanitor.us Supports MP3, OGG. Sending files over email. W@@T!! -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send e

[android-developers] How does the Google calendar sync be triggered after you create an event on the phone ?

2010-01-13 Thread zhege
I want to know that after I create an event on the phone, how is it triggered to sync to the sever. Anyone could give me a hand, 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-deve

[android-developers] Re: Simultaneous Http Requests

2010-01-13 Thread Nathan
On Jan 13, 4:24 pm, Mark Murphy wrote: > Nathan wrote: > > Can AsyncTask be started on another thread? > > Yes. > Good > > I also wonder, though, if the AsyncTask takes into account that each > > task might be running an HttpRequest since it is for general purpose > > threaded. I can foresee r

[android-developers] Re: getDrawable() Resourses$NotFoundException

2010-01-13 Thread Eric Crump
OK. I'm not in an Activity though, I'm in the overlay class. You can't call getResources() from there. Also, I printed the resource id to the log to verify that there is an actual value there. It matches the one in the R file. On Jan 13, 9:47 pm, Lance Nanek wrote: > I don't see any field name

[android-developers] Re: getDrawable() Resourses$NotFoundException

2010-01-13 Thread Lance Nanek
I don't see any field named target in android.R.drawable. Are you sure there is a system drawable resource with that name? If you are using your own package's R class, then you should be using your activity's resources. They are available via getResources() on the activity. Resources.getSystem() i

[android-developers] getDrawable() Resourses$NotFoundException

2010-01-13 Thread Eric Crump
I'm trying to set a resourse in the onTable method of my map overlay. It throws a Resourses$NotFoundException. I've also tried making it a class variable and setting it from the MapView but I get the same result. @Override public boolean onTap(GeoPoint gp, MapView mv) { OverlayItem item =

Re: [android-developers] Re: Pretty code program (for all developers)...

2010-01-13 Thread Kenneth Adam Miller
Thanks guys! i had that last message posted as a draft because I forgot I had that one open. But I only had it open when I had only one response. But yea thanks a lot! :) I'm def going to check those out. On Wed, Jan 13, 2010 at 7:35 PM, Kenneth Adam Miller < kennethadammil...@gmail.com> wrote: >

Re: [android-developers] Re: Pretty code program (for all developers)...

2010-01-13 Thread Kenneth Adam Miller
Ah ok. Sorry if it was off topic, I just thought that it would be good for any programmer. We'll remove it from the android developers or don't respond to it after this one if you think it's off topic. -- You received this message because you are subscribed to the Google Groups "Android Developers

[android-developers] Re: Dotted line in 2D graphics API

2010-01-13 Thread Lance Nanek
Never tried them before, but these might do it: http://developer.android.com/intl/fr/reference/android/graphics/DashPathEffect.html http://developer.android.com/intl/fr/reference/android/graphics/Paint.html#setPathEffect%28android.graphics.PathEffect%29 On Jan 13, 4:21 pm, Matt Oakes wrote: > Hi,

Re: [android-developers] Droid screen resolution for layout directory

2010-01-13 Thread Mark Murphy
yidongsoft wrote: > I am writing layout file for Droid Milestone. I set the directory to > layout-854x480, but it doesn't work at all. That is not a recommended practice. > I then use: > > // get the screen size > DisplayMetrics dm = new DisplayMetrics(); >

Re: [android-developers] Droid screen resolution for layout directory

2010-01-13 Thread Dianne Hackborn
Please don't use concrete screen sizes, as written in the documentation these are very strongly discouraged and deprecated: http://developer.android.com/intl/de/guide/topics/resources/resources-i18n.html#AlternateResources There are many other configuration attributes for the screen that will all

[android-developers] Droid screen resolution for layout directory

2010-01-13 Thread yidongsoft
I am writing layout file for Droid Milestone. I set the directory to layout-854x480, but it doesn't work at all. I then use: // get the screen size DisplayMetrics dm = new DisplayMetrics(); getWindowManager().getDefaultDisplay().getMetrics(dm);

Re: [android-developers] Re: Best way to launch Messaging app via intent

2010-01-13 Thread Dianne Hackborn
Sorry I don't know the details of this stuff. On Wed, Jan 13, 2010 at 1:24 PM, Steve wrote: > Thanks for the info Dianne.When using the SENDTO action with an > mms: URI, can multiple addressees be supplied? If yes could you > please give an example? > > Also, am I correct in concluding that

Re: [android-developers] Re: Simultaneous Http Requests

2010-01-13 Thread Kevin Duffey
I would say your idea of downloading all files at the same time is flawed... one at a time would be better. I'd queue up the files to be downloaded and download one at a time. First off, whether all 20 come at the same time, or 1 at a time, you're not going to get them done any faster since they wo

Re: [android-developers] Selling paid applications in Canada

2010-01-13 Thread Shane Isbell
On Tue, Jan 12, 2010 at 11:09 AM, Kevin Duffey wrote: > Isn't there issues with how other countries handle income and taxes tho? > Like, in the US, I don't know for sure yet how this is done (someone who has > sold on the market, please do tell...) but I assume for every $1 I make, > Google has

[android-developers] Re: Pretty code program (for all developers)...

2010-01-13 Thread Chris McClanahan
Outside of Eclipse, I use AStyle On Jan 13, 7:14 pm, clark wrote: > Since this is an android development forum I can suggest using the > code formatter built into eclipse rather than re-invent the wheel. > You can always adjust the settings to your liking and create your own > profile for formatt

[android-developers] Re: camera setPreviewSize, on Nexus One, apiVersion 7

2010-01-13 Thread Dani
Sorry for asking stupid questions on the forum, I found the answer myself: What I proposed above doesn't work. I had to learn first a bit about reflection... I adapted successfully (as it seems) the code from http://developer.android.com/resources/articles/backward-compatibility.html to this pr

Re: [android-developers] Re: Simultaneous Http Requests

2010-01-13 Thread Mark Murphy
Nathan wrote: > Can AsyncTask be started on another thread? Yes. > I also wonder, though, if the AsyncTask takes into account that each > task might be running an HttpRequest since it is for general purpose > threaded. I can foresee running out of HttpRequests before running out > of threads, if

[android-developers] Re: Pretty code program (for all developers)...

2010-01-13 Thread clark
Since this is an android development forum I can suggest using the code formatter built into eclipse rather than re-invent the wheel. You can always adjust the settings to your liking and create your own profile for formatting if you do not like some of the built in ones. You can go to Window->Pref

Re: [android-developers] android.backup package

2010-01-13 Thread Dianne Hackborn
It is not exposed because it is not yet ready for use by applications. Eventually the intention is to have an API of something like this available to apps, but there is no time frame for it. On Wed, Jan 13, 2010 at 2:31 PM, zv wrote: > I would like to use this package to back-up my app's databa

[android-developers] Re: corporate calendar testing needed -help?

2010-01-13 Thread andrew android
Thanks! I will try this, I think! On Jan 11, 6:04 am, Kumar Bibek wrote: > HeyAndrew. > > Microsoft online has a 30 day evaluation for Exchange 2007 server. You > can register there and get upto 20 accounts with all functions free > for 30 days. > > Thanks and Regards, > Kumar Bibekhttp://tech-d

[android-developers] Re: Simultaneous Http Requests

2010-01-13 Thread Nathan
> IMHO, just use AsyncTask for the HTTP requests. It already has a thread > pool, tuned for what the core Android team feels is a reasonable number > of threads for this sort of purpose. > So you would suggest that I would create and start 20 async tasks, each responsible for one download, and let

[android-developers] Re: Launch updated emulator?

2010-01-13 Thread abhi
Thank you. That worked! On Jan 13, 5:43 pm, Mark Murphy wrote: > abhi wrote: > > How do you start an emulator from the command line with that AVD file? > > When I tried $emulator -avd AndroidAVD.avd, I got the error: > > emulator: ERROR: unknown virtual device name: 'AndroidAVD.avd' > > emulator:

Re: [android-developers] Re: Launch updated emulator?

2010-01-13 Thread David Turner
emulator @ or emulator -avd you don't need the .avd suffix here On Wed, Jan 13, 2010 at 3:37 PM, abhi wrote: > How do you start an emulator from the command line with that AVD file? > When I tried $emulator -avd AndroidAVD.avd, I got the error: > emulator: ERROR: unknown virtual device name: '

Re: [android-developers] Service callback to Activity

2010-01-13 Thread Mark Murphy
Biosopher wrote: > Our application will expose a Service that can be called by Activities > in other people's applications. Great! > In many cases, the parent > applications calling Activity may be paused before our Service > completes. It's unclear why that matters. > (2) Create a PendingInte

Re: [android-developers] Re: Launch updated emulator?

2010-01-13 Thread Mark Murphy
abhi wrote: > How do you start an emulator from the command line with that AVD file? > When I tried $emulator -avd AndroidAVD.avd, I got the error: > emulator: ERROR: unknown virtual device name: 'AndroidAVD.avd' > emulator: could not find virtual device named 'AndroidAVD.avd' Do not type in the .

[android-developers] Unable to connect to internet from emulator

2010-01-13 Thread abhi
Hi, I am not able to connect to the internet from the emulator. I tried using the below command with the proper proxy/port, but it still is not connecting. $ adb shell sqlite3 /data/data/com.google.android.providers.settings/ databases/settings.db "INSERT INTO system VALUES (99,'http_proxy','[HO

[android-developers] Re: Launch updated emulator?

2010-01-13 Thread abhi
How do you start an emulator from the command line with that AVD file? When I tried $emulator -avd AndroidAVD.avd, I got the error: emulator: ERROR: unknown virtual device name: 'AndroidAVD.avd' emulator: could not find virtual device named 'AndroidAVD.avd' On Jan 13, 5:22 pm, Mark Murphy wrote:

[android-developers] Re: Catching an action without setting an intent filter?

2010-01-13 Thread Moto
Hi Dianne! Thanks for the help! That was exactly what I was looking for! For anyone else you can also refer to the following thread: http://groups.google.com/group/android-developers/browse_thread/thread/40753eb1b312f4ab/f90bfb98f109de52?lnk=gst&q=registerReceiver#f90bfb98f109de52 -Moto On Jan

[android-developers] Service callback to Activity

2010-01-13 Thread Biosopher
Our application will expose a Service that can be called by Activities in other people's applications. In many cases, the parent applications calling Activity may be paused before our Service completes. I am looking for the best way for a Service to communicate back to the calling Activity that m

Re: [android-developers] Re: Launch updated emulator?

2010-01-13 Thread Mark Murphy
abhi wrote: > I figured I could use ./emulator from the /tools/ > directory. However it is asking me for the .avd file to go with it and > I am not able to locate it. When I saw under the ~/.android/avd > directory, there is a *directory* called AndroidAVD.avd, not a file. > So, does anyone know wh

[android-developers] Re: Launch updated emulator?

2010-01-13 Thread abhi
I figured I could use ./emulator from the /tools/ directory. However it is asking me for the .avd file to go with it and I am not able to locate it. When I saw under the ~/.android/avd directory, there is a *directory* called AndroidAVD.avd, not a file. So, does anyone know where the *.AVD is locat

Re: [android-developers] Simultaneous Http Requests

2010-01-13 Thread Mark Murphy
Nathan wrote: > Is there a limit on the number of simultaneous http requests of the > form: > > HttpResponse response = client.execute(request); > > I'm interested in any official limit as well as practical ones. > > (In a previous life, you had to dig deep to discover that WinMo only > allowed

[android-developers] Simultaneous Http Requests

2010-01-13 Thread Nathan
Is there a limit on the number of simultaneous http requests of the form: HttpResponse response = client.execute(request); I'm interested in any official limit as well as practical ones. (In a previous life, you had to dig deep to discover that WinMo only allowed three WebRequests to be open at

[android-developers] Pretty code program (for all developers)...

2010-01-13 Thread Kenneth Adam Miller
Recently, as I was asking for help on IRC I posted my code. Someone said it looked ugly. Of course, there are many coding preferences and one of them is spacing style. I was thinking about writing a simple vim plugin that could reformat source code to make it look according to a sample, and then I

Re: [android-developers] Launch updated emulator?

2010-01-13 Thread David Turner
the new emulator binary is still at the same place, i.e. /tools/emulator. Can you check your PATH environment variable, it probably points to a directory where a previous binary is installed. On Wed, Jan 13, 2010 at 2:33 PM, abhi wrote: > Hi, > > I am working on Linuix and I recently updated my

[android-developers] Launch updated emulator?

2010-01-13 Thread abhi
Hi, I am working on Linuix and I recently updated my emulator to work with Android 2.1 and I am able to launch it from Eclipse. However when I try to launch it from command line from the /tools/ directory, the old version of the emulator opens. I want to open it from the command line to add the -h

[android-developers] android.backup package

2010-01-13 Thread zv
I would like to use this package to back-up my app's database filles. I was looking at the source for the User Dictionary Provider when I noticed that it was using it. Why is it not exposed in the public API and what are the plans in the short term with it? -- You received this message because y

[android-developers] Re: camera setPreviewSize, on Nexus One, apiVersion 7

2010-01-13 Thread Dani
Thanks a lot four your answer! I see that this function is supported since API level 5. When I try to call it from the emulator running level 5 and higher I always receive a null-list back when asking for getSupportedPictureSizes. This is a bit inconvenient but I can work around that. I keep my f

[android-developers] Re: Android code compatibility with GWT

2010-01-13 Thread S. Ghelani
Hi Mark, Thanks for your comments. All I am trying to do is upload and download images and some associated text to server database. I already have an app to do this function on Android. To provide access to this app to users who do not have Android device, I am thinking of developing a mobile app

Re: [android-developers] Re: Prolonged touching (>30s) in one area causes onTouchEvent to stop registering?

2010-01-13 Thread Wayne Wenthin
More than likely its a feature to keep the pocket presses from sucking your battery dry.If it is exactly 30 seconds I would guess its designed that way. On Tue, Jan 12, 2010 at 7:19 PM, Josh wrote: > Posted in the Issue tracker if anyone wants to follow it: > http://code.google.com/p/android

Re: [android-developers] Re: Live Wallpaper Tutorial

2010-01-13 Thread SoftwareForMe.com SoftwareForMe.com
How does one set the icon for the Wallpaper? When you choose Wallpapers and see the list, each has an icon (preview) next to it, but it's not clear how to provide that. Anybody know? SoftwareForMe.com On Tue, Jan 12, 2010 at 1:47 PM, Robert Green wrote: > Oh man. I threw away that code last ye

[android-developers] Re: Can't dispatch DDM chunk error

2010-01-13 Thread pzul
Hi fadden, here is the output from the commands you asked for... - Paul $ adb shell pm Can't dispatch DDM chunk 46454154: no handler defined Can't dispatch DDM chunk 4d505251: no handler defined usage: pm [list|path|install|uninstall] snip- logcat output: D/AndroidRuntime( 999): D/Andr

[android-developers] Re: Can't dispatch DDM chunk error

2010-01-13 Thread pzul
New theory: A colleague mentioned that this can happen when there are two versions of adb: the one eclipse is using and the one the command line adb is using. -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email

[android-developers] Re: Best way to launch Messaging app via intent

2010-01-13 Thread Steve
Thanks for the info Dianne.When using the SENDTO action with an mms: URI, can multiple addressees be supplied? If yes could you please give an example? Also, am I correct in concluding that there is currently no documented API for programatically sending MMS? (SmsManager doesn't appear to c

[android-developers] Dotted line in 2D graphics API

2010-01-13 Thread Matt Oakes
Hi, I'm looking for away to draw a dotted or dashed line using the android 2d drawing API. So far I have te following code: Paint gridLines = new Paint(); gridLines.setColor(getResources().getColor(R.color.grid_lines)); canvas.drawLine(boardOffsetLeft, boardOffsetTop, boardOffsetLeft, boardOffset

[android-developers] Re: OpenGL ES 1.1 question (one more time...)

2010-01-13 Thread Robert Green
Bart is totally right. It's not the float divide but is the JNI call and the OpenGL stack processing that's going to kill you. What are you calling glColor so much for anyway? I'm curious to know what you're doing with it. On Jan 13, 2:42 pm, a1 wrote: > I'm sure bunch of divisions has nothing

[android-developers] clicks on views inside scroll views

2010-01-13 Thread Jason Proctor
i have a scroll view which has lots of goodies in it, one of which is a map view. i'm noticing that if i enable clicks on the map view, then horizontal drags act like you'd expect, but vertical ones scroll the scroll view instead. is there a way of getting the scroll view to defer touch behavio

Re: [android-developers] Best way to launch Messaging app via intent

2010-01-13 Thread Mark Murphy
Dianne Hackborn wrote: > The stock SMS/MMS application handles the SENDTO action with an sms:, > smsto:, mms:, or mmsto: URI. I can't guarantee that devices shipping > with a custom MMS app will also handle these, though. Hey, thanks for the info! I've added an issue, requesting that this be add

[android-developers] Re: OpenGL ES 1.1 question (one more time...)

2010-01-13 Thread a1
I'm sure bunch of divisions has nothing to do with your performance problems. If you call glColor such frequently you are also calling draw functions frequently (possibly with different textures) pushing geometry in small chunks will kill you framerate (not to mention pushing a lot of textures) try

[android-developers] Re: Android code compatibility with GWT

2010-01-13 Thread Mark Wyszomierski
It depends on the class, but I would say in general, for what you're probably asking, no. For example, a class which references the android geo location API wouldn't be usable by a GWT project. A java class which just contains plain old data types could be used in either. Can you be more specific i

[android-developers] Re: Can't dispatch DDM chunk error

2010-01-13 Thread fadden
On Jan 13, 10:42 am, pzul wrote: > But the "FEAT" request is the result of typing "adb install -r > mumble.apk" - so it doesn't seem that there should be any unknown > feature requests. "adb install" pushes the APK and then essentially invokes "adb shell pm". If you do "adb shell pm" and watch l

[android-developers] Re: @Override tag error between dev environments

2010-01-13 Thread Mark Wyszomierski
Thanks all. On Jan 13, 3:11 pm, Jason Proctor wrote: > fabulous. always thought that was a bad situation in 1.5. > > thanks > > > > >@Override can be used on interface methods in Java 1.6 but not in 1.5. > >Just set your environment to use Java 1.6. > > >On Wed, Jan 13, 2010 at 12:06 PM, Mark Wys

[android-developers] Android code compatibility with GWT

2010-01-13 Thread S. Ghelani
Is Android code compatible with Google Web Toolkit? Since they support Java, is it possible to run the same class written for Android in GWT? -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-develo

Re: [android-developers] Nexus One - Stalled when downloading Apps from Market using Wi-Fi

2010-01-13 Thread Kent Loobey
On Tuesday 12 January 2010 19:21:22 48-New wrote: > Anybody experiences the same issue? Saw a post last March complaining > the same issue for G1. Did it get resolved but re-surface again on > Nexus One w/ 2.1? Please advise. > > P.S. If I have a data plan from T-Mobile, would it resolve the is

Re: [android-developers] Best way to launch Messaging app via intent

2010-01-13 Thread Dianne Hackborn
The stock SMS/MMS application handles the SENDTO action with an sms:, smsto:, mms:, or mmsto: URI. I can't guarantee that devices shipping with a custom MMS app will also handle these, though. On Wed, Jan 13, 2010 at 2:21 AM, Steve wrote: > Hi. What is the recommended way to launch the messagi

Re: [android-developers] Keys don't work with SurfaceView

2010-01-13 Thread Dianne Hackborn
Key input and focus handling occurs exactly the same as a regular view -- really all SurfaceView is, is just a regular view that draws a transparent area for itself, and creates and display a (non-input-receiving) window behind its own window. On Wed, Jan 13, 2010 at 11:41 AM, guiha...@gmail.com w

Re: [android-developers] How to determine when SCREEN_OFF_TIMEOUT has changed?

2010-01-13 Thread Dianne Hackborn
Sorry there is no notification for this. On Wed, Jan 13, 2010 at 12:02 PM, Mike Bautista wrote: > I'm trying to make my first widget that toggles the screen time out > settings. Is there a way for the widget to be notified when > Settings.System.SCREEN_OFF_TIMEOUT has been changed? I would lik

Re: [android-developers] @Override tag error between dev environments

2010-01-13 Thread Jason Proctor
fabulous. always thought that was a bad situation in 1.5. thanks @Override can be used on interface methods in Java 1.6 but not in 1.5. Just set your environment to use Java 1.6. On Wed, Jan 13, 2010 at 12:06 PM, Mark Wyszomierski wrote: Hi, I'm using eclipse 3.4/3.5 to compile a project.

[android-developers] Re: Please make NumberPicker a usable widget

2010-01-13 Thread jtoolsdev
Just a follow if anyone else is looking for an answer to this problem. Someone at Google did send me a private message that Attributes has startYear and endYear in it for setting the start and end end dates and you can set those in the XML for the DatePicker. I have confirmed it works. However i

Re: [android-developers] @Override tag error between dev environments

2010-01-13 Thread Jason Proctor
the @Override is optional, it's just a check to see whether you are actually overriding something as opposed to just implementing a similar method :-) what happens if you qualify that OnClickListener to View.OnClickListener? any difference? btw fwiw and maybe i am old-fashioned, but i hardly

Re: [android-developers] @Override tag error between dev environments

2010-01-13 Thread Romain Guy
@Override can be used on interface methods in Java 1.6 but not in 1.5. Just set your environment to use Java 1.6. On Wed, Jan 13, 2010 at 12:06 PM, Mark Wyszomierski wrote: > Hi, > > I'm using eclipse 3.4/3.5 to compile a project. On my machine I get > compile errors related to the @Override tag

[android-developers] @Override tag error between dev environments

2010-01-13 Thread Mark Wyszomierski
Hi, I'm using eclipse 3.4/3.5 to compile a project. On my machine I get compile errors related to the @Override tag when used with interfaces: Button btn = new Button(); btn.setOnClickListener(new OnClickListener() { @Override // Compile error public void onClick(View v) {

Re: [android-developers] Clearing browser Session history?

2010-01-13 Thread Temitope Akinwande
Hi, Do you want to delete session cookies? On Tue, Jan 12, 2010 at 11:54 PM, Archana wrote: > Hi, > > Can any one tell me how can we clear browse session history.We have > api called Browser.ClearHistory(),this will delete entire records but > i want to delete history of browsing session. > P

[android-developers] Re: Can't dispatch DDM chunk error

2010-01-13 Thread pzul
I also encountered this problem and can provide more information and a work-around. I type "adb install -r mumble.apk" I get: " * daemon not running. starting it now * * daemon started successfully * 308 KB/s (20130 bytes in 0.063s) Can't dispatch DDM chunk 46454154: no handler defined Can't disp

[android-developers] How to determine when SCREEN_OFF_TIMEOUT has changed?

2010-01-13 Thread Mike Bautista
I'm trying to make my first widget that toggles the screen time out settings. Is there a way for the widget to be notified when Settings.System.SCREEN_OFF_TIMEOUT has been changed? I would like to know this so I can update the widget graphic accordingly. -- You received this message because you

[android-developers] Keys don't work with SurfaceView

2010-01-13 Thread guiha...@gmail.com
Hi, I have this View: public class Launcher4A extends SurfaceView implements SurfaceHolder.Callback, OnKeyListener { public Launcher4A(Context context) { super(context); System.loadLibrary("tcvm"); instance = this; surfHolder = getHolder(); surfHolder.addCallba

[android-developers] Re: Best way to launch Messaging app via intent

2010-01-13 Thread Steve
Thanks guys. Is it possible to send an MMS myself (via SmsManager)? With the specific application I have in mind I have to send an MMS (SMS or email will not work), and I need to default the message body, attachment and address list (there could be multiple addressees). If I can do this programat

Re: [android-developers] Using ListView without ListActivity

2010-01-13 Thread Frank Weiss
Have you considered using AlertDialog? On Jan 13, 2010 10:34 AM, "Warren" wrote: I want to create a custom list view in my application. I want it to lay over the top of the application screen, with portions of the screen not filled by the listview showing the underlying application. I've been r

[android-developers] Using ListView without ListActivity

2010-01-13 Thread Warren
I want to create a custom list view in my application. I want it to lay over the top of the application screen, with portions of the screen not filled by the listview showing the underlying application. I've been reading about ListActivity, how it can be started to handle item selected callbacks.

[android-developers] Re: Activity library

2010-01-13 Thread Al
I did it the following way: - Create your Android project as normal - Right click the project in Eclipse, select Properties > Builders - Uncheck all the builders apart from Java Builder - Remove the unnecessary Android files (Manifest, res, gen, etc) - Export your project as a Jar file via right c

[android-developers] Re: Restlet on Android

2010-01-13 Thread skrat
You're right here of course, Restlet provides some nice stuff but I'm increasingly annoyed by fact that nothing actually works, I tried to use GWT edition, which worked sort of, but increased size of my compiled app by 30%, which is just not acceptable. While the idea of Restlet and it's editions i

Re: [android-developers] screen capture

2010-01-13 Thread dan raaka
!! stop cross posting !! and yes, there was a way to grab /dev/fb0 in android 1.0 and since then it been removed due to security concerns by Google. The READ_FRAME_BUFFER permissions are the remnants of that 1.0 feature -Dan On Tue, Jan 12, 2010 at 4:54 AM, yog wrote: > Hi all, > > 1) Is the

[android-developers] Setting up an ad-hoc WiFi network using HTC Hero devices ?

2010-01-13 Thread Emre A. Yavuz
Hi, We're trying to set up an ad-hoc WiFi network using our HTC Hero devices. We would like the phones to communicate peer-to-peer to exchange information without using an access point which may serve as a router. I was wondering whether anybody on the list has tried something similar and

[android-developers] Re: rooted phones, security, private storage.

2010-01-13 Thread strazzere
"Copy-protection" does not prevent rooted phones from seeing your application. You also might be forgetting, that if ANYONE gets a hold of the apk, regardless if they have a device (rooted or not), they could simply extract your encryption keys? -Tim On Jan 13, 12:18 pm, sdphil wrote: > hey mar

[android-developers] Re: Activity library

2010-01-13 Thread Brion Emde
Ah, thanks. I've had luck using the directory links in Eclipse. In project properties, under build path, you add a directory link to the other project's files. That has worked for me. Thanks for the clarification. Now I see it with the OP's reference to Library. On Jan 13, 10:28 am, Lance Nanek

[android-developers] Re: Full Android Example using Twitter OAuth with Signpost

2010-01-13 Thread Brion Emde
I made a little screencast showing this software working: http://www.youtube.com/watch?v=25o0b2aEw0E On Jan 2, 2:19 pm, Brion Emde wrote: > I have the complete source code for a small working application that > performs OAUTH authorization with Twitter, then turns into a micro > Twitter client,

[android-developers] Re: Comma inputted when pressing period key?

2010-01-13 Thread Chris McCurdy
I thought this was an issue at first, but all of the reported problems are coming from users with the US English locale with a period as the monetary separator unit. On Jan 13, 11:24 am, niko20 wrote: > Hi, > > This sounds like a language input problem. Some languages use the > comma for numeric

[android-developers] Re: Activity library

2010-01-13 Thread Lance Nanek
Your Activity subclass was probably in the same Eclipse project as it was used in, Brion. It sounds like the OP wants the subclass to be in a different project. In Eclipse you can have an Android project depend on other Java projects. The classes get packaged in. If you have an Android project de

[android-developers] Re: Invalidate and a card flip

2010-01-13 Thread Beth
Since you have exactly two images, face down and face up, you might try out an ImageSwitcher object. Toggle the image with show next and skip the validation business. On Jan 13, 7:00 am, Gregg Reno wrote: > I am working on a card game, and using a custom ImageView for the > cards.  I have an OnC

Re: [android-developers] Re: About Android SDK 2.1 Gallery.

2010-01-13 Thread dan raaka
3D in emulator is little flacky - the openGL 2.0 is expected to be in native support only (no java bindings), directly calling the functions in the 3D chipset vendor in the hardware. Assuming - we do get the gallery or newer homescreen - how useful it will be ? On the contrary - it will be helpfu

[android-developers] Re: rooted phones, security, private storage.

2010-01-13 Thread sdphil
hey mark - when you say "copy protect" on Android Market causes more problems than it solves, can you describe what you mean? On Jan 12, 2:08 pm, Mark Murphy wrote: > sdphil wrote: > > I want to hide some info (encryption keys) in a private area. > > The best answer: the private area is the user'

[android-developers] Re: How to call Web service in Andriod?

2010-01-13 Thread Brion Emde
I can't tell much about your web service. I deal with a RESTful web service that's got a database back-end. I encapsulated all interactions with the web service behind a ContentProvider. So calls to the ContentProvider are turned into http calls, using the org.apache.http httpClient() library. By

Re: [android-developers] Re: rooted phones, security, private storage.

2010-01-13 Thread Mark Murphy
sdphil wrote: > hey mark - when you say "copy protect" on Android Market causes more > problems than it solves, can you describe what you mean? There is plenty of evidence that the problem with new phone models not being able to see some apps on the Android Market is due to copy protection -- the

Re: [android-developers] Macro Recording

2010-01-13 Thread Mark Murphy
sanjay wrote: > Hi, > > I need an application for google android that record the sequence of > user actions as macro and playbacks when required. I searched on > google and found that this utility is available for window smart phone > but could not found for android. > > Let me know if this is f

[android-developers] Re: Activity library

2010-01-13 Thread Brion Emde
I've derived from standard Activity classes. Specifically, because I use a web service that gives me list data in a paged format, I wrote a PagedListActivity class that's derived from ListActivity. I then use that all over the place and derive further from it. So I guess I don't understand your qu

  1   2   >