[android-developers] Re: Where are the HTC dev phone 1 image package links?

2010-01-07 Thread Noah Tilton
Hi, On Dec 21 2009, 7:02 am, Andreas Lundgren andreas.lundgre...@gmail.com wrote: Hi! I've just got this answer from HTC office: Question: The links under Download the Image Packages on the pagehttp://developer.htc.com/adp.html#s3are still missing. When do HTC plan to support upgrate to

[android-developers] Re: I want to make a Toast to prompt again and again on screen after every 5minutes.

2010-01-07 Thread Nymann
Hi Maybe something like the following ... (i havent tried the code) Timer timer = new Timer( true); timer.scheduleAtFixedRate(new TimerTask() { @Override public void run() { Toast t = new Toast(context); t.makeText(context, Test

[android-developers] Re: Problems with the JavaBinder (!!! FAILED BINDER TRANSACTION!!!)

2010-01-07 Thread Moritzz
Looks like I finally solved it. It was linked to some variables I kept for the whole runtime of the service (context and stuff like that). Now that I'm not using them as class variables but local ones in the functions it works. Cheers Moritz On Jan 6, 11:14 am, Moritzz moritz...@googlemail.com

[android-developers] Re: I want to make a Toast to prompt again and again on screen after every 5minutes.

2010-01-07 Thread Nymann
I Just searched this, it would not work, u need to use a Handler to update the GUI. On Jan 7, 9:15 am, Nymann per.nymann.joergen...@gmail.com wrote: Hi Maybe something like the following ... (i havent tried the code) Timer timer = new Timer( true);         timer.scheduleAtFixedRate(new

[android-developers] Re: I want to make a Toast to prompt again and again on screen after every 5minutes.

2010-01-07 Thread Manoj
ya you are right but in my code in doServiceWork() method its not working public class TestService extends Service { public static FileScanner MAIN_ACTIVITY; private Timer timer=new Timer(); private static long UPDATE_INTERVAL = 1*60*10; //default private static long

Re: [android-developers] Re: Nine patch pre-scaling on Hdpi

2010-01-07 Thread Romain Guy
Both are scaled using the same techniques, it might be something in the original image. On Wed, Jan 6, 2010 at 11:41 PM, Pixie m...@labpixies.com wrote: Thanks for your responses. I know I can fix this by creating a high density image, but in the first place, the reason I didn’t do it is

Re: [android-developers] Using Nexus One as a development phone: Problem with USB driver under windows 7 64 bit

2010-01-07 Thread SoftwareForMe.com SoftwareForMe.com
Interesting. I downloaded rev 3 of the driver pack, but could not find the proper driver. I eventually downloaded it from a forum, here: http://forum.xda-developers.com/showthread.php?t=613054 SoftwareForMe.com Makers of PhoneMyPC Imagine Multi-touch On Wed, Jan 6, 2010 at 7:59 PM, Xavier

[android-developers] Re: I want to make a Toast to prompt again and again on screen after every 5minutes.

2010-01-07 Thread Nymann
Hi final Context context = getApplicationContext(); final Handler handler = new Handler(new Callback() { public boolean handleMessage(Message msg) { final Toast t = new Toast(context); Toast makeText = t.makeText(context, Test Toast,

[android-developers] Need Help : canvas.drawtext() for a lengthy string

2010-01-07 Thread Latha Shivanna
Hi All I am stuck in a very simple problem. I have one lengthy string I need to draw that on the device display. My code is as follows: void ShowText(String text) {                 canv = thread.mSurfaceHolder.lockCanvas();                        if (text!= null) {                          

[android-developers] Re: I want to make a Toast to prompt again and again on screen after every 5minutes.

2010-01-07 Thread MrChaz
If you want to notify the user of something from the service you'll want to use the NotificationManger to create and show a Notification On Jan 7, 6:28 am, Manoj linkex.ma...@gmail.com wrote: Hi, Please help me out on the issue as I want to make a Toast to promt again and again on screen by a

[android-developers] Reduce the Boot up time

2010-01-07 Thread Nilly
Hi All, I want to reduce the boot up time of android. I have tried removing some stuff such as not required .apk from the / system/apps folder. from init.rc file some services which is not required. my kernel uncompressing is taking 11 sec almost.how can reduce that.one thing is that i can

[android-developers] Re: Android 2.1 SDK

2010-01-07 Thread Rob Franz
Soo... no Android 2.1 SDK yet. That's cool. Let's hope everyone's app works with 2.1. Best of luck everybody! I'll remain a Google fanboy but come on guys, this isn't really that well planned... On Jan 7, 5:41 am, Carl Whalley carl.whal...@googlemail.com wrote: Fx: Waiting to exhale. The

Re: [android-developers] Re: I want to make a Toast to prompt again and again on screen after every 5minutes.

2010-01-07 Thread manoj k
can you send the code snippet to use notificationmanager On Thu, Jan 7, 2010 at 3:01 PM, MrChaz mrchazmob...@googlemail.com wrote: If you want to notify the user of something from the service you'll want to use the NotificationManger to create and show a Notification On Jan 7, 6:28 am, Manoj

[android-developers] Re: I want to make a Toast to prompt again and again on screen after every 5minutes.

2010-01-07 Thread Manoj
Thanks buddy i have got it done On Jan 7, 1:58 pm, Nymann per.nymann.joergen...@gmail.com wrote: Hi final Context context = getApplicationContext();         final Handler handler = new Handler(new Callback() {             public boolean handleMessage(Message msg) {                

[android-developers] Back ground of List View

2010-01-07 Thread Ali Murtaza
Hi I want to know how to change background color of List View using XML command... Thanks in advance please tell me in steps -- Ali Murtaza BCSF06M021 Research Assistant Data Virtulization Ware House PUCIT, Lahore, Pakistan ali.murt...@pucit.edu.pk -- You received this message because you

[android-developers] Re: Need Help : canvas.drawtext() for a lengthy string

2010-01-07 Thread skink
On Jan 7, 9:25 am, Latha Shivanna latha...@gmail.com wrote: Hi All I am stuck in a very simple problem. I have one lengthy string I need to draw that on the device display. My code is as follows: void ShowText(String text) {                 canv = thread.mSurfaceHolder.lockCanvas();

Re: [android-developers] Re: Using an image in a listview

2010-01-07 Thread Patrick Plaatje
Hi, i've tried the list13 implementation, but although scrolling seems smoother then it ever was, i'm kinda displeased with the time it takes to fill the rows with content. I think my main concern is related to the reuse of the rows, rather then how to fill them. I am wondering if there isn't a

[android-developers] Intent Call Action

2010-01-07 Thread Sasikumar.S
Hi,, How to invoke call in android using ntent?... -- Thanks Regards Sasikumar.S -- 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

Re: [android-developers] Re: Nine patch pre-scaling on Hdpi

2010-01-07 Thread Dianne Hackborn
You can build with a newer SDK and still be compatible with older devices; you just need to be careful about the APIs you use. For example with resources, suffix your new resources type dirs (such as drawable-hdpi) with -v4 so that older devices don't see them. On Wed, Jan 6, 2010 at 11:41 PM,

[android-developers] Re: Nexus 2.1 on sale, WHERE is the SDK!

2010-01-07 Thread String
On Jan 5, 10:25 pm, David Sauter del...@gmail.com wrote: Does it raise the hard coded heap limit? FYI, heap limit has had the potential to go beyond 16MB since 2.0. It's being set on a device basis, and the theory is that it's tied to screen/camera size: devices with more pixels on the screen

[android-developers] Re: Multitouch code examples?

2010-01-07 Thread niko20
I have to say the way Multitouch was implemented pretty much sucks big time. Pain in the ass, doesn't seem to work well on the DROID, and could have been done easier in my opinion. -niko On Dec 26 2009, 1:49 pm, rageman nene...@gmail.com wrote: Trying once more, all replies seems to end up in

Re: [android-developers] Reduce the Boot up time

2010-01-07 Thread David Turner
You should send this to android-porting. android-developers is for application developers. On Thu, Jan 7, 2010 at 1:33 AM, Nilly ni...@oriolesoftware.com wrote: Hi All, I want to reduce the boot up time of android. I have tried removing some stuff such as not required .apk from the /

[android-developers] Re: Multitouch support in Android 2.0

2010-01-07 Thread niko20
I can't seem to get any consistent results trying to use the multitouch on my droid. Even if i put both fingers down I don't get two pointers, If I put one down, then the other, it still says one pointer. Then if I lift the first one, and put it down again, then it says two. Multitouch API SUCKS

[android-developers] Reg: Not able to get address from Longitude and Latitude

2010-01-07 Thread sathya subbiah
Hi, I am trying to get address from Longitude and latitude using the following code Geocoder geoCoder = new Geocoder(mContext,Locale.getDefault()); ListAddress addresses = geoCoder.getFromLocation( mCurrentLatitude,

[android-developers] open all blocked sites in your country now

2010-01-07 Thread alagmy
open all blocked sites in your country now Browse the internet securely using Your Proxy You can unblock popular social networking sites such as myspace, bebo, facebook and many other sites. يمكنك الآن فتح المواقع المحجوبه فى بلدك من هذا الرابط http://alagmyproxy.zxq.net/proxy/index.php --

Re: [android-developers] Re: Multitouch support in Android 2.0

2010-01-07 Thread Dianne Hackborn
Run Pointer Location and make sure it works, and you can see the code here: http://android.git.kernel.org/?p=platform/development.git;a=blob;f=apps/Development/src/com/android/development/PointerLocation.java;h=38b4af2dcd97625e6fef2c1bddcb9362a127352e;hb=HEAD Note that ACTION_POINTER_DOWN

Re: [android-developers] Re: Multitouch code examples?

2010-01-07 Thread Dianne Hackborn
If the move event had the pointer index encoded in it, then we would need to deliver separate events for each pointer, which is a lot less efficient and I think ultimately a lot harder to deal with (vs. having all of the data available in one event). Anyway, this is really not an issue. Please

[android-developers] Re: No route to host issue, but Browser application works fine

2010-01-07 Thread g...@devicedriven
yup..you can refer to the localhost by this ip--10.0.2.2 This is because when you are specifying localhost to the device/ emulator it is a reference to the phone\emulator itself and not the local machine read this too--http://developer.android.com/guide/appendix/faq/

[android-developers] Re: Initiating a GPRS connection

2010-01-07 Thread Android Development
Hello, Any feedback on how to achieve this task? On 1/4/10, Android Development indodr...@gmail.com wrote: Hello, If I wish to initiate a GPRS data connection programatically through a configured access point on the device, how do I go about it ? Any ideas are appreciated. Thanks in

[android-developers] Re: Where to get a Samsung Moment for development

2010-01-07 Thread Don
Hello, I'm now having the exact same problem, a customer is reporting an issue with my application on their Samsung Moment, but I can't debug the issue as I don't have the device! I've tried the test services perfectomobile deviceanywhere, but neither has a Samsung Moment! I can see this

[android-developers] Re: Using Bouncycastle in Android

2010-01-07 Thread Pawel Kapala
I've sucessfully written an application using Bouncy Castle (AES256 + SHA1). AFAIK the Bouncy Castle provider is the default Android provider. So you can use it without importing any external libraries. Try initializing Cipher object with as described here:

[android-developers] Re: Reg: Not able to get address from Longitude and Latitude

2010-01-07 Thread Nithin
Check the latitude and longitude value, that you are passing to getFromLocation(). Then try, giving the number of results a bigger value than 1. Nithin On Jan 7, 3:58 pm, sathya subbiah sathya.subbia...@gmail.com wrote: Hi, I am trying to get address from Longitude and latitude using the

Re: [android-developers] Re: Nine patch pre-scaling on Hdpi

2010-01-07 Thread Mariano Kamp
Why is that? I didn't do that (drawable-hdpi sans -v4) and it seems it still works fine on an 1.5 device. On Thu, Jan 7, 2010 at 8:41 AM, Pixie m...@labpixies.com wrote: Thanks for your responses. I know I can fix this by creating a high density image, but in the first place, the reason I

[android-developers] Re: How To show Progress Bar in Tab Activity

2010-01-07 Thread NoraBora
Try TabHost.TabSpec.setIndicator(View view) and access the indicator view. On Jan 6, 2:29 pm, RamaMohan rama.mohan...@gmail.com wrote: Hi, I am having a tab Activity with 5 tabs with intents.the classes are used to load data from internet source.I need to show display progress bar while

[android-developers] TabActivity access

2010-01-07 Thread arnouf
Hi all, I've a tabactivity containing 4 activity. can I call method or attributes present in TabActivity from an activity displayed ? Thanks -- 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] Re: Reg: Not able to get address from Longitude and Latitude

2010-01-07 Thread sathya subbiah
Hi Nithin, Thanks for the reply. The Lat. and Long. values are not 0. I am checking with values like 37.422006 - Lat -122.084095 - Long But still the address read is 0. Can you pls let me know if some thing else is to be set. I am also providing permission like uses-permission

[android-developers] Shall we need to start from scratch

2010-01-07 Thread saikiran n
Hi I have informed that android supporting wap push But i didn't find any apis which we can use for sending wap push I want to write an application to send wap push instead of SMS Do i need to start from scratch if so Can anybody help me how to start or give me any relavent documents. I have seen

[android-developers] Fullscreen (no title no status bar) - UI bug in Android?

2010-01-07 Thread Marc Reichelt
Hi there! I am using the fullscreen mode in my application and noticed a small, but very annoying bug. After hours of testing I tracked it down to a very simple piece of code (see below). This is how the UI looks like after running it: http://i47.tinypic.com/2jfac6v.png The problem: As soon as

[android-developers] A problem of drawing on WVGA screen

2010-01-07 Thread chaozh
Hi all: I wrote a reading software. I implemented the page turning effect when user tap the screen to turn to next/pre page. The display is ok on G1 (320X200 size) but it can not works well on Droid(480*854 size), the font looks a litter fuzzy, not clear as G1. I explain my codes for page turning:

[android-developers] Chinese company offers translation for right to publish app on their market

2010-01-07 Thread Ilya Shinkarenko
hi all, recently i have got an offer from one chinese company to translate my app for tennis statistics tracking (www.tennis-math.com). they have already translated the strings.xml (though i can't be sure they havent put some porn it it :)) and the want a right to publish my (free) app on their

[android-developers] Re: Reg: Not able to get address from Longitude and Latitude

2010-01-07 Thread Nithin
In my application, I am doing like this and its working fine for me, // Geocoding Geocoder geoCoder = new Geocoder(getBaseContext(), Locale .getDefault()); try {

[android-developers] Re: Who wants Multi-touch in all Android versions?

2010-01-07 Thread Nathan
Have you published it? Nathan -- 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

Re: [android-developers] Re: Who wants Multi-touch in all Android versions?

2010-01-07 Thread Dianne Hackborn
Well I would really like to see this, given that prior to 2.0 there was no multitouch information propagated through the framework at all, and applications do not have permission to open the raw driver. On Thu, Nov 12, 2009 at 11:03 PM, SoftwareForMe.com SoftwareForMe.com

Re: [android-developers] Re: Nine patch pre-scaling on Hdpi

2010-01-07 Thread Dianne Hackborn
Just to be sure. :) 1.5 had some early implementation of the density scaling, so I'm not sure what it will do with the new resources. If it works, cool. You'll definitely need the version part for new things like long. On Thu, Jan 7, 2010 at 5:10 AM, Mariano Kamp mariano.k...@gmail.com wrote:

Re: [android-developers] Re: Nine patch pre-scaling on Hdpi

2010-01-07 Thread Dianne Hackborn
Btw, it may just be luck, that when your resources were build it did the generic ones first, so those are the ones 1.5 sees. I would add the -v4 on the directories just to be sure there are no future problems. (Really aapt should be doing this automatically for you.) On Thu, Jan 7, 2010 at 6:35

[android-developers] Re: scaling game images according display sizes

2010-01-07 Thread Andrea
Hi Jason, On 7 Gen, 05:11, Jason Arora jaso...@gmail.com wrote: Are you drawing in a separate thread (like the LunarLander example)? If not and your game is real-time, I seriously recommend switching to that model. I don't use a SurfaceView (like LunarLander) but a normal view because in my

[android-developers] Re: Using Nexus One as a development phone: Problem with USB driver under windows 7 64 bit

2010-01-07 Thread Streets Of Boston
I got them from that forum as well, after a bit of searching. I haven't tried the newly download rev 3 versions. On Jan 7, 3:53 am, SoftwareForMe.com SoftwareForMe.com softwareforme@gmail.com wrote: Interesting. I downloaded rev 3 of the driver pack, but could not find the proper driver.

[android-developers] Re: Nexus 2.1 on sale, WHERE is the SDK!

2010-01-07 Thread Streets Of Boston
I tried a whole bunch of apps on the Nexus One. So far, all of them worked fine! On Jan 7, 5:39 am, String sterling.ud...@googlemail.com wrote: On Jan 5, 10:25 pm, David Sauter del...@gmail.com wrote: Does it raise the hard coded heap limit? FYI, heap limit has had the potential to go

[android-developers] Android 2.0: Why does my transparent background turn white while scrolling??

2010-01-07 Thread Flying Coder
Hi, I'm using a ListView with a transparent background. It works fine in Android 1.5 1.6, but in Android 2.0 and later, the ListView background turns white while scrolling. I want it to stay transparent, just like in 1.5 1.6. Does anyone know what's going on, or better yet, how I can

[android-developers] Re: scaling game images according display sizes

2010-01-07 Thread tobias429
Hi Andrea, I also wanted to avoid compatibility mode. More for the reason of being able to actually use the higher resolution rather than out of performance concerns. For one of my games I applied a routine to scale the images myself upon start-up of the application just like you describe (I

[android-developers] market doesn't refresh downloads?

2010-01-07 Thread Éva Lovrencsics
Hello, My downloads and installs stopped two days ago, and I don't see any changes on the market (developer console). They never stay the same, so I think, market doesn't refresh them. Anybody recognized this? Evi -- You received this message because you are subscribed to the Google Groups

[android-developers] Re: Multitouch support in Android 2.0

2010-01-07 Thread Mirmathrax
I posted this in its own topic before I found this post and read it thouroughly. I am still having problems with Multi-touch not working as documented on the droid. Please read the post below for detail: I wanted to experiment with multi-touch, so I decided to add the controls for LunarLander to

[android-developers] Re: Android 2.0: Why does my transparent background turn white while scrolling??

2010-01-07 Thread Flying Coder
never mind, I found the answer: http://developer.android.com/resources/articles/listview-backgrounds.html On Jan 7, 10:08 am, Flying Coder av8r.st...@gmail.com wrote: Hi,     I'm using a ListView with a transparent background.  It works fine in Android 1.5 1.6, but in Android 2.0 and later,

Re: [android-developers] market doesn't refresh downloads?

2010-01-07 Thread Wayne Wenthin
I actually came to look if anyone else has seen this so yes. I am stuck on yesterday for market stats. Was hoping to break 5k on downloads but may never know now. Hopefully this means they are making the market stats better??? One can always hope. 2010/1/7 Éva Lovrencsics lovi...@gmail.com

[android-developers] Re: market doesn't refresh downloads?

2010-01-07 Thread jeffro
I see the same issue. Jeff ___ Trackaroo.com Trackmaster - Motorsports Lap Timer http://trackmaster.trackaroo.com Dynomaster - Performance Dyno http://dynomaster.trackaroo.com On Jan 7, 7:30 am, Éva Lovrencsics lovi...@gmail.com wrote: Hello, My downloads and

Re: [android-developers] Re: No route to host issue, but Browser application works fine

2010-01-07 Thread Wayne Wenthin
Mine is happening on Live devices so I guess I spoke too soon. On Thu, Jan 7, 2010 at 3:27 AM, g...@devicedriven ginokur...@gmail.comwrote: yup..you can refer to the localhost by this ip--10.0.2.2 This is because when you are specifying localhost to the device/ emulator it is a reference to

Re: [android-developers] Re: Multitouch support in Android 2.0

2010-01-07 Thread Dianne Hackborn
On Thu, Jan 7, 2010 at 7:37 AM, Mirmathrax mirmath...@gmail.com wrote: 4) Finger 1 goes back down at location X, Y X = X2 Y = Y2 action = ACTION_POINTER_DOWN ptrID = 0 ptrIndex = 0 numEvents = 2 ** Here is the first problem: The X and Y coordinates returned

Re: [android-developers] Re: scaling game images according display sizes

2010-01-07 Thread Dianne Hackborn
If you are loading your images as drawables, the framework will pre-scale the bitmap for you so it shouldn't need to be scaled at draw time. If you are using the lower-level APIs to load bitmaps, you will need to use these appropriately to have them scaled for you. You can look at the various

Re: [android-developers] A problem of drawing on WVGA screen

2010-01-07 Thread Dianne Hackborn
You need to update to support different densities. You are probably creating a bitmap in compatibility mode that would thus be the size of an HVGA screen, so when you draw it to your window it needs to be scaled up for the higher density screen. Once you use android:targetSdkVersion=4, the

[android-developers] Re: APK not visible in market for HTC Tattoo Android Phone ?

2010-01-07 Thread Mark Wyszomierski
Hi, I'm trying to verify this - my app has the following in its manifest: supports-screens android:smallScreens=true android:normalScreens=true android:largeScreens=true android:anyDensity=true / uses-sdk android:minSdkVersion=3 android:targetSdkVersion=5 / uses-feature

[android-developers] Re: Redirect in WebView

2010-01-07 Thread nikhil
Any clue guys? On Jan 5, 10:20 am, nikhil nik...@gmail.com wrote: I am trying to open a URL using a webview. This URL redirects itself to another page. For some reason theredirectdoesnot open up inside the webview. It just opens up into a new browser. Is there some setting in the webview

[android-developers] Re: market doesn't refresh downloads?

2010-01-07 Thread Maps.Huge.Info (Maps API Guru)
My guess is that a market upgrade is in progress. It would seem to be timed with the N1 release, however, it may be that the market people are slightly behind the curve and are still testing. I could be wrong of course, but it seems like the entire market is frozen, stats, movement of apps in the

[android-developers] Re: Performance issue: Dalvik VM is 20x slower than most modern Java VMs

2010-01-07 Thread Biosopher
The Dalvik JIT appears to result in a 1.7x improvement when run on an armv7. Here's the post from the Android team: http://groups.google.com/group/android-platform/browse_thread/thread/331d5f5636f5f532/dee6e0a81ae72264?#dee6e0a81ae72264 The Android team's independent benchmark results are here

[android-developers] Setting preferred home activity from application code

2010-01-07 Thread kristianlm
Hi folks! I'm trying to have my home-screen application register itself as the default home-screen so the user is not prompted with the IntentResolver's list of all the available home-activities. this is my code: private void makePreferred() { PackageManager pm =

[android-developers] Re: Image not dithering

2010-01-07 Thread abhi
Has anyone got dithering to work? On Jan 6, 3:42 pm, abhi rkabhi1...@gmail.com wrote: BTW  I am using a 320x640 device. On Jan 6, 3:03 pm, abhi rkabhi1...@gmail.com wrote: Hi, I am using this imagehttp://android.amberfog.com/wp-content/uploads/2009/11/001.png from this

[android-developers] Re: Performance issue: Dalvik VM is 20x slower than most modern Java VMs

2010-01-07 Thread Biosopher
Hi dm1973, Actually these tests are not useless. Of course good modern compilers should optimize away the code above. The reality is that the Android compiler is not a good compiler so it does not optimize the above code. This allows the simple example above to show the performance limitations

[android-developers] Re: Performance issue: Dalvik VM is 20x slower than most modern Java VMs

2010-01-07 Thread Biosopher
Just following up to my initial post, I have implemented the above look in native code using Android's SDK. The native code performs in a few milliseconds as hoped. This goes to confirm that for compute intensive tasks, Dalvik can be hundreds of times slower than native. -- You received this

[android-developers] Re: Android Market Ranking Error

2010-01-07 Thread polyclefsoftware
As of this writing, the market rankings are messed up again. At least viewing them on my Droid. Could someone else confirm that the listings for Top Paid in CardsCasino is double listing apps ranked 11-20 as 1-10 and 11-20, rather than showing the actual 1-10? Thanks. -- You received this

Re: [android-developers] Re: market doesn't refresh downloads?

2010-01-07 Thread Wayne Wenthin
I had something all typed out but it sounded too snarky. Sound like Google is getting so big that one department doesn't talk to the other. On Thu, Jan 7, 2010 at 8:36 AM, Maps.Huge.Info (Maps API Guru) cor...@gmail.com wrote: My guess is that a market upgrade is in progress. It would seem

Re: [android-developers] Re: Who wants Multi-touch in all Android versions?

2010-01-07 Thread Dan Sherman
I'd love to see this as well :) On Thu, Jan 7, 2010 at 9:30 AM, Dianne Hackborn hack...@android.com wrote: Well I would really like to see this, given that prior to 2.0 there was no multitouch information propagated through the framework at all, and applications do not have permission to

[android-developers] converting ycbcr 420 to rgb

2010-01-07 Thread tdom...@googlemail.com
Hi, I want to display the preview frames of an android smartphone on an opengl texture. As opengl es only support RGB and the preview frame is encoded with YCbCr 4:2:0. Therefor I have to convert from one to the other. Though I wasn't successful in doing so, so far. Maybe someone can help me with

[android-developers] Enhancement to Emulator

2010-01-07 Thread Thisara Rupasinghe
Hi all, Im trying to write an application using bluetooth. But using the android emulator, can i try that out. I mean is it emulated that feature(bluetooth). Or even the camera feature. And also if i would like to enhance the capabilities of this emulator can i contribute? Where can i find the

[android-developers] Re: Android 2.1 SDK

2010-01-07 Thread Dinesh Harjani
Have faith, guys; I'm sure it's coming. -- 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: Enhancement to Emulator

2010-01-07 Thread David Turner
On Thu, Jan 7, 2010 at 10:36 AM, Thisara Rupasinghe thisara...@gmail.comwrote: Hi all, Im trying to write an application using bluetooth. But using the android emulator, can i try that out. I mean is it emulated that feature(bluetooth). Or even the camera feature. And also if i would like to

[android-developers] Re: Who wants Multi-touch in all Android versions?

2010-01-07 Thread theSmith
Scott, Please publish your code, I would love to take a look at it :-) -theSmith On Jan 7, 12:48 pm, Dan Sherman impact...@gmail.com wrote: I'd love to see this as well :) On Thu, Jan 7, 2010 at 9:30 AM, Dianne Hackborn hack...@android.com wrote: Well I would really like to see this, given

[android-developers] Re: Enhancement to Emulator

2010-01-07 Thread theSmith
Noting what David said, you are better off using a development device like the google dev phone 1. -theSmith On Jan 7, 1:49 pm, David Turner di...@android.com wrote: On Thu, Jan 7, 2010 at 10:36 AM, Thisara Rupasinghe thisara...@gmail.comwrote: Hi all, Im trying to write an application

[android-developers] Re: How to use the Object android.widget.AdapterView.getItemAtPosition(int position)

2010-01-07 Thread theSmith
If the CheckBox is inside an AdapterViewCheckBox then you can cast the Object returned by getItemAtPosition() to a CheckBox, other wise if it is a view then you really should be using view holders to cut down on execution times. I am NOT here to read the android docs to you. Go do it yourself.

Re: [android-developers] Re: Enhancement to Emulator

2010-01-07 Thread Disconnect
Dev phone 2 - dev phone 1 firmware is still hidden/removed. Also, for the planned for 2010 features, where can we see a list of such items? On Thu, Jan 7, 2010 at 1:58 PM, theSmith chris.smith...@gmail.com wrote: Noting what David said, you are better off using a development device like the

Re: [android-developers] Re: Android 2.1 SDK

2010-01-07 Thread Greg Donald
On Thu, Jan 7, 2010 at 12:38 PM, Dinesh Harjani goldrunner192...@gmail.com wrote: Have faith, guys; I'm sure it's coming. Of course it's coming, faith is not required to believe that. It's the time offset that is the problem. Phones are being sold with software we developers haven't had a

Re: [android-developers] Re: Enhancement to Emulator

2010-01-07 Thread David Turner
On Thu, Jan 7, 2010 at 11:12 AM, Disconnect dc.disconn...@gmail.com wrote: Dev phone 2 - dev phone 1 firmware is still hidden/removed. Also, for the planned for 2010 features, where can we see a list of such items? You can't, it's in my head :-) On Thu, Jan 7, 2010 at 1:58 PM, theSmith

[android-developers] Re: Multitouch support in Android 2.0

2010-01-07 Thread Mirmathrax
Thank you Dianne, From the following code: if(numevents 1) ptrId = (action MotionEvent.ACTION_POINTER_ID_MASK) MotionEvent.ACTION_POINTER_ID_SHIFT; action = action MotionEvent.ACTION_MASK; int ptrIndex = event.findPointerIndex(ptrId);

Re: [android-developers] Re: Enhancement to Emulator

2010-01-07 Thread Disconnect
I do have a can opener.. :P On Thu, Jan 7, 2010 at 2:25 PM, David Turner di...@android.com wrote: On Thu, Jan 7, 2010 at 11:12 AM, Disconnect dc.disconn...@gmail.comwrote: Dev phone 2 - dev phone 1 firmware is still hidden/removed. Also, for the planned for 2010 features, where can we see

[android-developers] Re: Redirect in WebView

2010-01-07 Thread nikhil
Ok I got itNeed to add webviewclient to the webview so that the redirect works.. On Jan 7, 10:28 am, nikhil nik...@gmail.com wrote: Any clue guys? On Jan 5, 10:20 am, nikhil nik...@gmail.com wrote: I am trying to open a URL using a webview. This URL redirects itself to another page.

[android-developers] Re: How to make any service running automatically when the phone is turned on.

2010-01-07 Thread Nymann
Hi My best shot will be, U make a receiver and get the following intent. receiver android:name=.StartupReceiver intent-filter action android:name=android.intent.action.BOOT_COMPLETED / category android:name=android.intent.category.HOME /

[android-developers] Re: Anyone noticing more uninstalls of their app than usual over last weekend/today?

2010-01-07 Thread dadical
Did anyone else see this get fixed? I saw a 10pt drop from about 45 percent installed to under 35 in less than a day. Things are slowly climbing back up, but I haven't seen any fix yet. On Dec 22 2009, 8:52 pm, Justin Giles jtgi...@gmail.com wrote: Here's an official answer:

[android-developers] Charting in Android?

2010-01-07 Thread to...@webpro.com
Hey, I was wondering how charting works with android. Can I use the google chart api or would I have to use something like aiCharts http://www.artfulbits.com/Android/aiCharts.aspx -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to

Re: [android-developers] Re: Anyone noticing more uninstalls of their app than usual over last weekend/today?

2010-01-07 Thread Greg Donald
On Thu, Jan 7, 2010 at 2:00 PM, dadical keyes...@gmail.com wrote: Did anyone else see this get fixed?  I saw a 10pt drop from about 45 percent installed to under 35 in less than a day.  Things are slowly climbing back up, but I haven't seen any fix yet. There's been no fix from Google, just

[android-developers] Android Monkey Testing.

2010-01-07 Thread satish
Hi All, I am executing Monkey testing on a Android device. The command i am using is adb shell monkey -p com.android.calculator2 -v 5000 monkey-calculator.txt When we execute this command i suppose it should send 5000 events to the device.In my case after sending event #150900 it

[android-developers] Re: How to access an item form ListView

2010-01-07 Thread zv
I think the easiest way is to keep track of the checked state in a member array/list. Something like this. boolean[] selectedItems = new boolean[10]; void handleItemClick(View view, long rowId) { CompoundButton checkBox = (CompoundButton)

[android-developers] XMl Verification Failed while installing Android SDK

2010-01-07 Thread Lord
Hi I am getting this error while trying to install the available packages.I have used the Force Https to Http setting. I am a windoz user. XML verification failed for http://dl-ssl.google.com/android/repository/repository.xml. Error: Content is not allowed in prolog. Any pointers??? -- You

[android-developers] Re: Reliable GPS location

2010-01-07 Thread nr1
thx! On 5 Jan., 00:48, Daan daan_v...@hotmail.com wrote: You can use Location.getTime() this returns the UTC time of this fix, in milliseconds since January 1, 1970. Then you could get the current time and compare it to see if you find it accurate enough. On Jan 4, 10:14 pm, Lance Nanek

[android-developers] trouble with OpenGL ES extension

2010-01-07 Thread mhorse
Our team is developing a 3D game engine based on Android NDK 1.6. The target hardware is HTC G1. However, I had a trouble with using OpenGL ES extension. Although HTC G1 supporting GL_ARB_vertex_buffer_object extension, I can not find any obvious improving performance after I uesd it in my

[android-developers] Removing the stack of Activity

2010-01-07 Thread Beena
Hi All, I have problem of removing activity. I have 5 Activities in sequence Activity1, Activity2, Activity3, Activity4, Activity5. When I am at Activity5 there is a button through I can go to Activity2. Means jump from 5 to 2 with removing the Activity3 4. How can I do that? Please help

[android-developers] Reccomendation for phone with Bluetooth SPP?

2010-01-07 Thread silverfox
I am just beginning my first Android project and it involves using Bluetooth SPP. Since the emulator does not support Bluetooth, I decided I need to bite the bullet and buy a phone. Should I get an ADP2 or a Droid or just be patient and wait for a Nexus One? Advantages or disadvantages of one

[android-developers] how to use speech recongintion java classes for launching music player app

2010-01-07 Thread techietone
hi all, there are some java classes exposed for speech recognition . How can they be used for launching a music player app. or maybe control the music player using voice commands. regards techietone -- You received this message because you are subscribed to the Google Groups Android Developers

[android-developers] locales supported for voice dialer app

2010-01-07 Thread techietone
hi all, I have seen in the recognizer.java file that the default locale used for voice recognition is Locale.US . Which are the other locales supported ? regards pritesh -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group,

[android-developers] How to evaluate a javascript function

2010-01-07 Thread sathish chandra
hi, How to evaluate a javascript function loaded in a webview and get the return value Regards Sathish -- 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

[android-developers] User preference for background service

2010-01-07 Thread usml
Hi, I have a background service which get started on power up, works fine. Now I want to add preferences, and bring up the preferences editor ONLY when user clicks the application icon from launch pad.Here's what I have in manifest: application android:icon=@drawable/icon android:label=@string/

[android-developers] Android applications using the Android framework

2010-01-07 Thread periyasamy mathes
bigchurch.com -- 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: PVMFFailure when using MediaPlayer for radio streams

2010-01-07 Thread HC
But if non-streamable video? On 2009年12月14日, 下午5�r13分, YaushiIizuka vse5...@gmail.com wrote: Hi. String url = http://your.url;; MediaPlayer mp = new MediaPlayer(); mp.setDataSource(url); mp.setAudioStreamType(AudioManager.STREAM_MUSIC); mp.prepare(); mp.start(); On 10月23日, 午後3:28, dede

  1   2   >