[android-developers] Re: 64bit Windows Problems

2008-11-12 Thread 心蓝
I think u can install the XP system 2008/11/12 melvin ram [EMAIL PROTECTED] I'm on a windows vista64 machine and i'm not able to run the emulator. Here's the output from the terminal:

[android-developers] Re: Any way to have two MediaRecorders recording at once?

2008-11-12 Thread Dave
I don't see a way to do that with the current API. We will be enhancing the audio API's in a future release of the SDK. On Nov 11, 3:14 pm, Blake B. [EMAIL PROTECTED] wrote: Ok, I thought that may be the case. I need to create a sliding window effect in the recording, so that there is always

[android-developers] linker lv wants to chat

2008-11-12 Thread linker lv
I've been using Google Talk and thought you might like to try it out. We can use it to call each other for free over the internet. Here's an invitation to download Google Talk. Give it a try! --- linker lv wants to stay in

[android-developers] Re: Get a webpage and display it to webview

2008-11-12 Thread 心蓝
i'm also newbee in android , i want to konw the answer about this question! 2008/11/12 CharlesA [EMAIL PROTECTED] i'm newbee in android, i want to get the page and display it to webview, i'm able to get the page content, but i'm not sure how to set the content to the web view. How do i add

[android-developers] how to transport between the java application on handset with PC?

2008-11-12 Thread Linker
a java application in G1 phone(real phone) now it must pass data to PC i don't know how to do it? can anyone tell me? you'd better provide a sample to me. thank you very much! --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google

[android-developers] Re: How to send email programmatically?

2008-11-12 Thread Peli
You can find a code snippet here: http://www.openintents.org/en/node/121 There is also a related SENDTO action which you can look up in the documentation. Peli www.openintents.org On Nov 12, 8:52 am, Sunit Katkar [EMAIL PROTECTED] wrote: Ok how would I implement the 'send form'. Do you mean

[android-developers] Re: Exchange Server Support

2008-11-12 Thread Timbobsteve
Thats good news davin_. I look forward to seeing your results. davin_thompson wrote: Unfortunatly... Im not very good with with java... but I'm working on it. However, prepairing for this project, I have written an exchange webdav client in php, so I solidly have the concept. Hopefully, in a

[android-developers] Re: Shares Preferences are not getting deleted

2008-11-12 Thread Sudha
I dont know anything about the viewing that file. I didnt try..will try soon and tell u as far as no one tried to help me out I thot of makinganother apk which will uninstall ur apks.. that should search in every folder and find out is tehre any traces of it left ..etc etc but I dont think thats

[android-developers] peer not authenticated while executing DefaultHttpClient httpclient

2008-11-12 Thread AnuR
Hi, I want to submit a web page through my application. for that I am using DefaultHttpClient httpclient = new DefaultHttpClient(); HttpPost Postmethod = new HttpPost(url to post);// but on executing the httpclient, that is httpclient.execute (Postmethod), I am getting an error

[android-developers] Re: Can bind service in a tabspec view activity?

2008-11-12 Thread Anthony
I get the same issue :( On 9月27日, 下午1时49分, TuanTuan [EMAIL PROTECTED] wrote: Any google engineer has notice this problem? How to get it work? On 9月24日, 下午10时13分, Guillaume Perrot [EMAIL PROTECTED] wrote: I still have the problem in v1.0. On 12 sep, 11:54, Guillaume Perrot [EMAIL

[android-developers] Re: Cannot finish download. There is not enough space.

2008-11-12 Thread GasBot
Hey Guys, I figured out the problem I was having with this before. I had switched over to the 4GB MicroSD card that I was using in my Kaiser so I could manually update to RC29. For some reason, the Android OS thought that card was set to read only (even though I copied the file on there while

[android-developers] Re: Where to find Jarsigner

2008-11-12 Thread atrus123
If you are still having a tough time finding it, and it isn't easily accessible from the command line, maybe do something like this: find / -name jarsigner Then navigate to that directory, and run it like this ./jarsigner - args (won't work in Windows) On Nov 11, 5:20 am, CM [EMAIL PROTECTED]

[android-developers] Re: Need help using hat to track down memory usage

2008-11-12 Thread miguelo
Hi Luthien, See your log in DDM perspective, but I think your problem is about permissions, try to change it on that folder: adb shell chmod 777 /data/misc Regards, Miguel. On Nov 12, 10:50 am, Luthien [EMAIL PROTECTED] wrote: Hi I have some question - Run the following command from a

[android-developers] Re: disable home button

2008-11-12 Thread zl25drexel
please, put that API to replace the lock screen, i will be more than happy to use that instead of my little hack. I am pretty sure toddler is also disguising as HOME screen because i tried restarting the app in the onstop method, the desktop will show up for half of a second before the app is

[android-developers] where's the youtubeviewer's source code?

2008-11-12 Thread [EMAIL PROTECTED]
why cannt i find it in the android's source code? Is it not opensourced? Did anyone know how to play flv in android? thanks. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this

[android-developers] Re: where's the youtubeviewer's source code?

2008-11-12 Thread Jean-Baptiste Queru
Google's Youtube application isn't part of the Android platform and hasn't been open-sourced. JBQ On Wed, Nov 12, 2008 at 6:48 AM, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: why cannt i find it in the android's source code? Is it not opensourced? Did anyone know how to play flv in android?

[android-developers] Re: Text to Speech lib from Android Market

2008-11-12 Thread plusminus
Any new information on a working TTS solution? On Nov 12, 8:01 am, Nanard [EMAIL PROTECTED] wrote: I needTTSlib also. Once this lib is available the Android Market could have another killer-application, and Google another reason to get $$. So, Google team : please provide such API/lib  

[android-developers] Re: Relative view size or fixed aspect ratio

2008-11-12 Thread Mark Murphy
brs wrote: Is there a simple way for a view to have a fixed aspect ratio - E.g. android:width=FILL_PARENT android:height=always same as width... Or is there a way to specify for a view to take up some fixed size, relative to the available screen size, e.g. width = 50% of screen width,

[android-developers] Re: peer not authenticated while executing DefaultHttpClient httpclient

2008-11-12 Thread Sunit Katkar
Please refer to following examples http://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk/module-client/src/examples/org/apache/http/examples/client/ClientFormLogin.java http://hc.apache.org/httpcomponents-client/examples.html Also ensure that your Android manifest xml file has the

[android-developers] Re: How to send email programmatically?

2008-11-12 Thread Sunit Katkar
Thank you. I will try this. On Wed, Nov 12, 2008 at 12:44 AM, Peli [EMAIL PROTECTED] wrote: You can find a code snippet here: http://www.openintents.org/en/node/121 There is also a related SENDTO action which you can look up in the documentation. Peli www.openintents.org On Nov 12,

[android-developers] Re: Does SoundPool work or has anyone successfully used it?

2008-11-12 Thread plusminus
HI Dave, I was using (Note: inside runOnUIThread(...)): ### final MediaPlayer mp = MediaPlayer.create(MyActivity.this, R.raw.some_sound); mp.setVolume(10, 10); mp.setAudioStreamType(AudioManager.STREAM_MUSIC); ### Is it that what you meant? Using that I can't hear

[android-developers] Re: Drawing a circle outline? (not a filled circle)

2008-11-12 Thread Peli
Have you tried paint.setStyle(Paint.Style.STROKE) ? Peli On Nov 12, 3:56 pm, Mark Wyszomierski [EMAIL PROTECTED] wrote: Hi, How can we draw a circle outline in an Overlay? I keep getting a filled circle with the following code:     Path outline = new Path();     outline.addCircle(150,

[android-developers] Re: Popup Menu Over Dialogs

2008-11-12 Thread Timbobsteve
Hi Obi, The Popup over a dialog is just a theme that you apply to a new activity. Most of the Google apps on Android use new activities (e.g. hold down on an e-mail to bring up the reply / delete options menu). The pop-up dialogue is still implemented as an activity. Hope that helps.

[android-developers] Re: Best approach to fullscreen video?

2008-11-12 Thread jean-guys
Thanks for the reply! This is good info. It may be that the b-frames are causing the problem, I'll make sure the H264 video is baseline (I didn't do the encoding myself so not sure at this point) and try using a MP4 container. Regarding the video size, would a 320x480 resolution video be

[android-developers] Re: bug number ?

2008-11-12 Thread Al Sutton
According to C-Net it's been classed as a security bug and therefore isn't publicly visible; http://news.cnet.com/8301-1009_3-10094102-83.html?tag=newsLeadStoriesArea.0 After the report http://code.google.com/p/android/issues/detail?id=1207 of the root-console bug that would cause a G1 phone

[android-developers] Re: Shares Preferences are not getting deleted

2008-11-12 Thread Michael
If you're talking about the /data/ directory on the handset, that is correct, you cannot look in that directory when connected via the adb shell. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers

[android-developers] Re: how to transport between the java application on handset with PC?

2008-11-12 Thread Michael
Via what type of connection? You could easily make a HTTP connection... We really need more detail about what you are trying to do. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post

[android-developers] Re: Where to find Jarsigner

2008-11-12 Thread Nickname
Hi all, Neither can I find jarsigner in my hard drive. I am using Win/XP. What is it for? Is the use mandatory? Thanks. On Nov 12, 6:27 am, atrus123 [EMAIL PROTECTED] wrote: If you are still having a tough time finding it, and it isn't easily accessible from the command line, maybe do

[android-developers] Re: Does SoundPool work or has anyone successfully used it?

2008-11-12 Thread Dave
The volumes should range from 0 to 1.0, where 1.0 is maximum volume, i.e. zero attenuation. A value of 10 should be returning an error, but maybe it's not being passed up properly through the framework. On Nov 12, 7:57 am, plusminus [EMAIL PROTECTED] wrote: HI Dave, I was using (Note: inside

[android-developers] Re: Where to find Jarsigner

2008-11-12 Thread Sunit Katkar
You have to download it if you dont have it.. Look at this tutorial too http://www.owasp.org/index.php/Signing_jar_files_with_jarsigner then refer this too http://code.google.com/android/intro/develop-and-debug.html#developingondevicehardware - Sunit On Wed, Nov 12, 2008 at 8:24 AM, Nickname

[android-developers] Re: Drawable doesn't load sometimes

2008-11-12 Thread blindfold
Interesting. In case this Android bug/feature not only applies to input streams, this might also explain why I no longer had memory related crashes on the G1 after recently switching to using BitmapFactory.decodeResource(getResources() instead of getResources ().getDrawable() to retrieve

[android-developers] Re: Any way to have two MediaRecorders recording at once?

2008-11-12 Thread Blake B.
Thanks Dave. I'll try to get it done with concatenating .amr files. Also, is there any way to detect when the record channel is ready to use again? Right now I have to put a manual 100ms delay before doing back-to-back recordings. Is there an event or state I can check instead? On Nov 12,

[android-developers] Re: Text to Speech lib from Android Market

2008-11-12 Thread Nanard
I need TTS lib also. Once this lib is available the Android Market could have another killer-application, and Google another reason to get $$. So, Google team : please provide such API/lib :-) --~--~-~--~~~---~--~~ You received this message because you are

[android-developers] Re: Signing Apps for a external testing group

2008-11-12 Thread WampBier
OK thanks for your answer ... I will send it with the development cert. On Nov 12, 3:22 am, hackbod [EMAIL PROTECTED] wrote: The certificate is only checked at install time, so if you create a certificate that expires in 60 days that only prevents that .apk from being installed after 60

[android-developers] TextView Changing Text Color

2008-11-12 Thread Peter
I'm using LinearLayout and TextView to output some text. The problem I'm having is that I need half the text on one line to be the default color and on the other side I want it to be green for example. Is this possible? Again I need the text on the same line using Linearlayout. Right now I have:

[android-developers] Re: Best approach to fullscreen video?

2008-11-12 Thread Dave
I've never tried 320x480 but it should work. The constraining factors are the memory size (dictated by the frame size and bit rate) and the complexity of the encoded material (typically expressed in macroblocks). When you say full screen video, do you mean that you want the video stretched to

[android-developers] Terminal Services Client?

2008-11-12 Thread Anders Rundgren
It seems that it might be useful to not always try to replicate the fat-client but rather use terminal services for certain not so often used applications. Is there such a thing available for Android? BR AR --~--~-~--~~~---~--~~ You received this message because

[android-developers] Re: Relative view size or fixed aspect ratio

2008-11-12 Thread Peli
For the latter case you could put two views, one with layout_weight=1 and one with layout_weight=3 to have the first fill 25% and the second fill 75%. Peli On Nov 12, 3:51 pm, brs [EMAIL PROTECTED] wrote: Is there a simple way for a view to have a fixed aspect ratio - E.g.

[android-developers] Re: Drawing a circle outline? (not a filled circle)

2008-11-12 Thread Greg
You need the style set to STROKE as Peli mentions. You can also use canvas.drawCircle() directly instead of creating a path and adding a circle to the path. Not sure which is more efficient, but you can at least drop 2 lines of code from your chunk there. Greg

[android-developers] Drawing a circle outline? (not a filled circle)

2008-11-12 Thread Mark Wyszomierski
Hi, How can we draw a circle outline in an Overlay? I keep getting a filled circle with the following code: Path outline = new Path(); outline.addCircle(150, 150, 100, Path.Direction.CW); Paint paint = new Paint(); paint.setColor(0xFF); paint.setAlpha(255);

[android-developers] Re: Any way to have two MediaRecorders recording at once?

2008-11-12 Thread Dave
No, there's a thread that in the media server that has to exit before the record path can be opened again. The time for this is indeterminate, probably around 40-50 msecs nominally, but could take longer depending on CPU load. On Nov 12, 8:58 am, Blake B. [EMAIL PROTECTED] wrote: Thanks Dave.

[android-developers] bug number ?

2008-11-12 Thread Badri Narayanan Sugavanam
Can some body point me to the bug number from google bug repo for the below bug.I was not able to track it on the bug repo http://www.intomobile.com/2008/11/09/crazy-android-bug-interprets-text-entries-as-system-commands.html -- Thanks -Badri

[android-developers] Re: does android phone have a IP address?

2008-11-12 Thread george_c
Possibly by use of STUN : http://tools.ietf.org/html/rfc5389 George On Wed, Nov 12, 2008 at 3:35 PM, Mark Murphy [EMAIL PROTECTED] wrote: Lei wrote: And the G1 (the real phone) may have a IP address. Am I right? If it can access the Internet, it has an IP address. However, that IP address

[android-developers] Re: Error while connecting to ms sql server 2005 database

2008-11-12 Thread Anders Rundgren
Have you put the msft jdbc driver in libs? Anyway, I wouldn't go this route at all, it is better to put databases behind web-servers and use http/SOAP for database access. If you goal is an admin utility I would consider terminal-server solutions so that you can use existing admin tools rather

[android-developers] XMas presents

2008-11-12 Thread Declan Shanaghy
The camera arrived! :-D wahoo. I was thinking it might be easier if myself and mick go in on this camera for the aul one, then ye can split a present for the aul lad. Does that work for ye? P.S. What is you IM, its easier quicker than emial sometimes. Here are mine, pick whatever one u want

[android-developers] Re: AlarmManager.RTC_WAKEUP Not Waking Device?

2008-11-12 Thread g1bb
Thanks hackbod, that worked great. One more question though: I'm acquiring my wakelock in an activity, as well as attempting to release it in the OnDestroy() function of the activity itself. Is there a good way to destroy the activity programmatically? It doesn't appear to be done automatically

[android-developers] Re: AlarmManager.RTC_WAKEUP Not Waking Device?

2008-11-12 Thread Mark Murphy
g1bb wrote: Is there a good way to destroy the activity programmatically? Call finish(). Once you return control back to Android (e.g., leave the on...() callback you're in), your activity should be gracefully shut down, including having onDestroy() called. -- Mark Murphy (a Commons Guy)

[android-developers] Re: Drawing a circle outline? (not a filled circle)

2008-11-12 Thread Mike Reed
The latter (canvas.drawCircle) his definitely more efficient, both from a garbage-collection p.o.v., and it gives the renderer the chance to take whatever shortcuts it can, since it knows what you're trying to draw (as opposed to an arbitrary path). On Nov 12, 2008, at 12:34 PM, Greg

[android-developers] G1 camera preview issues uncovered

2008-11-12 Thread blindfold
FYI. Two new T-Mobile G1 camera preview related issue reports have been submitted as issue 1270 http://code.google.com/p/android/issues/detail?id=1270 and issue 1271 http://code.google.com/p/android/issues/detail?id=1271 One is about the observation that setPreviewSize() gets asynchronously

[android-developers] how to start the default music application from my own application

2008-11-12 Thread Payal Amin
Hi All, I want to start the default Music application which is there when you run the emulator from my own application say hello world. Can anybody tell me how can i do so? Thanks, Payal --~--~-~--~~~---~--~~ You received this message because you are

[android-developers] Jump 'n Run Game

2008-11-12 Thread Martin Schreiber
Hi, I am in the unlucky situation not to have a G1 phone in my hands ('m from Europe :-( ) and so I want to ask the community if you think that it's possible to have a Jump and Run Game on Android playing in landscape mode, meaning that the screen is slided out and you control the game with some

[android-developers] Re: Simulate KeyEvent

2008-11-12 Thread Andhravaala
hi, Im using Android SDK 1.0 can you help me in how to catch key press events in my application. I want to simulate Up,Down scroll key presses in my application. Regards, On Sep 22, 3:54 am, Tigers [EMAIL PROTECTED] wrote: How do I simulate a keyevent in the home screen? I can simulate a

[android-developers] Add Dynamic Views on to Relative Layout

2008-11-12 Thread [EMAIL PROTECTED]
Hi, I need an advice of a good practice for the following situation. I have defined my Relative Layout in an XML file. What I'd like to do is to obtain a reference from that file in Java code, perform some I/O operations, and based on the data I get to add a few views on to the layout

[android-developers] Sliding text

2008-11-12 Thread ogawa
Please can I help me? sorry, my English is baddly. So I asked this over in the beginner forum and no one seemed to have an answer for me in jp. Does anyone know how to have a Ticker massege? I wanna get effect that is sliding text massage from the right to leftlike a ticker or xml marquee.

[android-developers] 802.1x, PEAP, Campus Domain tester

2008-11-12 Thread Jolopicus
Developers! I am leading a group of students on my campus to use the G1 to it's fullest potential. The issue now is that there is no support/options for PEAP authentication on our campus environment. We have some of the best wifi coverage of most campus's i've been to but it defeats the $200 bill

[android-developers] Re: Android compilation error with Sun SDK 1.6.0 Update 10

2008-11-12 Thread George
That didn't work for me. Solution was to get sun 1.5 jdk and use javadoc from that with update-alternative --config javadoc. On Oct 30, 6:17 pm, mowgli [EMAIL PROTECTED] wrote: You need to uninstall gjdoc in package manager On Oct 30, 9:21 pm, Max [EMAIL PROTECTED] wrote: I am also

[android-developers] Know about Android Developers

2008-11-12 Thread Catherine
... ... Android Developers Interviewed, Showcased | Android Phone Fans. It appears the Android Developers Blog has a new feature where

[android-developers] How to get change the SD card permissions

2008-11-12 Thread Al bundy
I've been trying to write files to the emulated sd card from the DDMS through the Push file to device command but I keep getting the same error: Failed to push picture1.jpg on emulator-5554: Read-only file system Does anybody know how I can change the permissions of the sd card? I'm using

[android-developers] Free killer app idea

2008-11-12 Thread [EMAIL PROTECTED]
I can't program worth a crap, so I submit this idea to programmers of all skill levels. A program which uses the internal camera of the Android phone, it scans for text or characters within the camera view and automatically translates the characters into another language and displays it on

[android-developers] Re: How to debug the real phone G1?

2008-11-12 Thread jeka
I've enabled USB debugging, plugged the phone in, but still don't see it as one of the devices. Am I missing a step? Thank you. On Oct 17, 12:53 pm, Romain Guy [EMAIL PROTECTED] wrote: You can just plug the phone in. But first you need to enable USB debugging in Home Menu Settings

[android-developers] :: problem with TextSwitcher

2008-11-12 Thread Imran
Hi All This is my code... i am using TextSwitcher i think every thing is fine but it is still throwing ClassCastException switcher1 = (TextSwitcher) findViewById(R.id.switcher1); switcher2 = (TextSwitcher) findViewById(R.id.switcher2);

[android-developers] G1 Firmware Builds only For Developers? my Demand to Google / HTC / TMobile

2008-11-12 Thread Hetal Patel
I think being a Open Source Code and Openness in Architecture, API Google Should Ship Different Firmware for Developers, Software Builders, Codec Programmer etc. Better for Google / T-Mobile / HTC 1. They can restrict Developer Device to get Back Normal Shipped Firmware. 2. Developer

[android-developers] Android and openssl.

2008-11-12 Thread oZiX
Hi, I want to write a program that will have a private user certificate and use it to encrypt a message. whether it is to do this on android?? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers

[android-developers] Support? Market installs not working

2008-11-12 Thread Richard III
Every time I try to install an app, it will show up in the notification area as install unsuccessful. Its seemed to start happening after I got the update. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android

[android-developers] android porting with nfs shut dowb VM err

2008-11-12 Thread verdure
I use pxa310 ,2.6.21 kernel, use USB ether net NFS now the logcat is below,I do not know what should do now please help me to start the Launcher APP,thanks W/ActivityManager( 505): ShortMsg:Main thread not allowed to quit W/ActivityManager( 505): LongMsg:java.lang.RuntimeException: Main thread

[android-developers] Re: How to get change the SD card permissions

2008-11-12 Thread Justin (Google Employee)
Have you supplied an SD card image? By default the emulator does not have an SD card. You need to use the mksdcard tool to make a card image and the emulator's '-sdcard' option to specify what image the emulator should use. Cheers, Justin Android Team @ Google On Nov 12, 7:10 am, Al bundy

[android-developers] Re: Add Dynamic Views on to Relative Layout

2008-11-12 Thread Mark Murphy
[EMAIL PROTECTED] wrote: At the moment I get a NullPointerException from my Activity when I do the following: RelativeLayout layout = (RelativeLayout) findViewById(R.layout.l1); setContent(layout); Is that a wrong way of obtaining a reference of my Layout? Try:

[android-developers] Re: Sliding text

2008-11-12 Thread Mark Murphy
ogawa wrote: So I asked this over in the beginner forum and no one seemed to have an answer for me in jp. Does anyone know how to have a Ticker massege? I wanna get effect that is sliding text massage from the right to leftlike a ticker or xml marquee. Use a TranslateAnimation. --

[android-developers] Re: Head-scratcher: NullPointerException from startActivity(ACTION_CALL)

2008-11-12 Thread dreamerBoy
New Approach ... I have a Hello, World-type program. Basically all I do is say Hello, World, install a useless button with a button-handler (to forestall ANR a little), and then I attempt to make a call with the ACTION_CALL Intent. I am no longer attempting to start the ACTION_CALL Activity

[android-developers] Re: AlarmManager.RTC_WAKEUP Not Waking Device?

2008-11-12 Thread Mark Murphy
g1bb wrote: Hi Mark, Sorry, I forgot to mention that I would like to destroy the activity from a different class not associated with the activity. Is that possible? Provide that class with a reference to your Activity when you create it. E.g.: class ActivityKiller {

[android-developers] Re: Problem with ContentResolver

2008-11-12 Thread Ernesto
Hello Dave, I haven't found the solution yet, so I store the mp3s as video, using the MediaStore.Video URI. As I see the only difference, that the mp3s stored as 3gp, but works perfectly. Br, Ernest On Nov 11, 12:29 pm, Thustle [EMAIL PROTECTED] wrote: I am getting exactly the same problem.

[android-developers] Re: Head-scratcher: NullPointerException from startActivity(ACTION_CALL)

2008-11-12 Thread Mark Murphy
dreamerBoy wrote: Uri parsedPhoneNumber = Uri.parse(tel:1234567); Intent myIntent = new Intent(Intent.ACTION_CALL, parsedPhoneNumber); Activity myPhoneTestActivity = new Activity(); Don't do that third line. I'm surprised it even works -- I guess Activity isn't an abstract superclass like I

[android-developers] Re: Support? Market installs not working

2008-11-12 Thread Michael
Is this an app you wrote? I have seen this with apps when I changed the signature on the new one... perhaps uninstall the old app first? I had one case where I had to reinstall an old version signed with the original certificate, then uninstall, then install the new one with my new certificate.

[android-developers] Simulating a key event

2008-11-12 Thread sudheer
Do you know the key code for generating a mouse event. I can see the codes for most of the stuff but not for a mouse click. any pointers? Sudheer --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers

[android-developers] Convert a HTML in a Image

2008-11-12 Thread Jose Cortes
I was wondering if is it possible to do this in Android: Convert a HTML file to a Image. Thanks --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to

[android-developers] Re: Downloading File

2008-11-12 Thread Thustle
Faisal, You should be able to save the data retrieved from the URL connection to a FileOutputStream. e.g: FileOutputStream out = null; InputStream stream = null; File temp = null; try { long prod = 0l; URL url = new

[android-developers] Re: 802.1x, PEAP, Campus Domain tester

2008-11-12 Thread Michael
I'd love to have PEAP support. --~--~-~--~~~---~--~~ 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

[android-developers] Re: Support? Market installs not working

2008-11-12 Thread Richard III
No. This is me trying to download aps on to my G1 from the market. On Nov 12, 1:04 pm, Michael [EMAIL PROTECTED] wrote: Is this an app you wrote?  I have seen this with apps when I changed the signature on the new one... perhaps uninstall the old app first? I had one case where I had to

[android-developers] Re: How to debug the real phone G1?

2008-11-12 Thread Alvin Yates
On Windows, you need to install the G1 debugger drivers. If you are using Eclipse, adb should pick it up when it detects the phone. On Nov 12, 6:32 am, jeka [EMAIL PROTECTED] wrote: I've enabled USB debugging, plugged the phone in, but still don't see it as one of the devices. Am I missing a

[android-developers] Re: How to debug the real phone G1?

2008-11-12 Thread Blake B.
Here are the complete steps: http://code.google.com/android/intro/develop-and-debug.html#developingondevicehardware I don't know if the adb installs the USB Windows drivers automatically or not, but I installed them myself. After following these steps, I was able to run the Eclipse debugger on

[android-developers] Re: G1 Firmware Builds only For Developers? my Demand to Google / HTC / TMobile

2008-11-12 Thread Eric
Better for Developers    1. Rather then Fighting for root this could be Straight Access to Device    2. No More Hacking and Exploits needed. I've been developing my application just fine without any fighting for root or exploits.    3. Building Firmware, API, Services, Codes which need

[android-developers] SMS with SSL (or other type of encryption).

2008-11-12 Thread szeldon
Hi, Is it possible to use some kind of encryption of SMS? This encryption should be used on normal SMSes, not on messages send over Internet. Thanks in advance. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups

[android-developers] Re: 64bit Windows Problems

2008-11-12 Thread Robert Green
I run the emulator on Vista 64 just fine. My only issue is that there is no device driver for Vista 64 for the G1 so I can't debug on the device itself. On Nov 12, 2:11 am, 心蓝 [EMAIL PROTECTED] wrote: I think u can install the XP system 2008/11/12 melvin ram [EMAIL PROTECTED] I'm on a

[android-developers] unable to import android.provider.Contacts.Presence

2008-11-12 Thread Sean Sullivan
I am using Android SDK 1.0 R1 and I want to use the android.provider.Contacts.Presence class It appears that the android.jar in Android SDK 1.0 R1 does not have the Presence class file. Can somebody explain why this class is missing from the SDK? $ pwd /usr/local/android-sdk-mac_x86-1.0_r1 $

[android-developers] Need help

2008-11-12 Thread Ernest Jojart
Hello, I made an application for Android, but I have no real phone to try it. Can anybody help me? Please write to me ([EMAIL PROTECTED]) if You are a T-mobile G1 owner and You have a little time to try my application! Thank You in advanced! BR. Ernest

[android-developers] Re: Service to Activity communication

2008-11-12 Thread hackbod
1. If you know the two components are running in the same process, just follow the LocalService sample code to directly call between the two. 2. You can create a PendingIntent to deliver a result to an activity. That PendingIntent can be given to the service either as one of the extras in the

[android-developers] Error executing apkbuilder.bat

2008-11-12 Thread Mr Chaloo
Hi, Executing the apkbuilder.bat form the sdk's tool folder gives the following error: duplicate entry: about.html. Please let me know what is the cause behind it. Thanks --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google

[android-developers] Re: unable to import android.provider.Contacts.Presence

2008-11-12 Thread hackbod
Generally things are hidden from the SDK because they are not yet ready to be maintained as a public API. For example, the people doing the presence features may not be ready to write that schema in stone. On Nov 12, 1:07 pm, Sean Sullivan [EMAIL PROTECTED] wrote: I am using Android SDK 1.0 R1

[android-developers] Re: TextView Changing Text Color

2008-11-12 Thread Yogini Pimpalgaonkar
This could help you, Spannable text = (Spannable) textView.getText() text.setSpan(new ForegroundColorSpan(Color.BLACK), start, end, Spannable.SPAN_EXCLUSIVE_EXCLUSIVE); On Wed, Nov 12, 2008 at 4:57 PM, Peter [EMAIL PROTECTED] wrote: I'm using LinearLayout and TextView

[android-developers] Re: AlarmManager.RTC_WAKEUP Not Waking Device?

2008-11-12 Thread g1bb
Hi Mark, Sorry, I forgot to mention that I would like to destroy the activity from a different class not associated with the activity. Is that possible? Thanks again. On Nov 12, 11:32 am, Mark Murphy [EMAIL PROTECTED] wrote: g1bb wrote: Is there a good way to destroy the activity

[android-developers] Service to Activity communication

2008-11-12 Thread Alvin Yates
Simple question: Is there a means of communicating a complete message from a Service to an Activity without using AIDL? Ideally I'd like to trigger something like onActivityResult, but if I have to change my app behavior, it isn't too much of a big deal.

[android-developers] Notification on uninstall

2008-11-12 Thread denismo
Hi, my application modifies some user settings and also installs some files on SD card. Is it possible to get notified before application is uninstalled so that I can remove those files and restore settings? Thanks. Denis --~--~-~--~~~---~--~~ You received this

[android-developers] Re: T-mobile G1 for testing purposes

2008-11-12 Thread Ariosto
Hi all, as far as I know, the WCDMA bands usable by G1 are 1700 MHz and 2100 MHz, so an unlocked G1 can operate in UMTS mode on every countries where the 3G service is allocated on one of those bands. This is the case of european countries, where the UMTS system is allocated on the 2100 MHz

[android-developers] Exception in eclipse console

2008-11-12 Thread [EMAIL PROTECTED]
Hi, I am running android HelloAndriod example under eclipse 3.4 on ubuntu. But I see these exceptions: [2008-11-12 10:56:37 - HelloAndroid] Failed to create debug key: Cannot run program keytool: java.io.IOException: error=2, No such file or directory [2008-11-12 10:56:37 - HelloAndroid]

[android-developers] Re: Exception in eclipse console

2008-11-12 Thread Xavier Ducrohet
The Eclipse plugin (and the Ant build system) requires access to keytool to create a debug key. Keytool is provided with the JDK. In order for Eclipse to access keytool, it looks for the JAVA_HOME environment variable. Setting it to the root folder of the JDK will make Eclipse find it. Xav On

[android-developers] java.awt.Graphics2D on Android

2008-11-12 Thread Sean Sullivan
I examined android.jar and noticed that the java.awt.Graphics2D class is not part of the Android platform. http://java.sun.com/j2se/1.5.0/docs/api/java/awt/Graphics2D.html Are there any plans to support the Java2D API's in a future release?

[android-developers] Re: how to transport between the java application on handset with PC?

2008-11-12 Thread linker lv
Hi, Thank you for your reply. whatever type. http,tcp,udp. can you give me some point? or a sample example. thank you very much. 2008/11/13 Michael [EMAIL PROTECTED] Via what type of connection? You could easily make a HTTP connection... We really need more detail about what you are

[android-developers] Re: java.awt.Graphics2D on Android

2008-11-12 Thread Sean Sullivan
I just inspected the Android platform source code. In platform/ frameworks/base.git I found: com/android/internal/awt/AndroidGraphics2D.java com/android/internal/awt/AndroidGraphicsFactory.java com/android/internal/awt/AWTFactory.java The AWTFactory class provides this method: /**

[android-developers] Re: T-mobile G1 for testing purposes

2008-11-12 Thread Steve Oldmeadow
On Nov 13, 8:38 am, Ariosto [EMAIL PROTECTED] wrote: Hi all, as far as I know, the WCDMA bands usable by G1 are 1700 MHz and 2100 MHz, so an unlocked G1 can operate in UMTS mode on every countries where the 3G service is allocated on one of those bands. What are you basing your info on?

[android-developers] Android Market Developers need phones

2008-11-12 Thread tberthel
Basically I have several games and more to come, but I don't have Android phones to do game play testing. What are poor developers (Registered with the Android Market) supposed to do that can't afford to have a 2 year contract for each Android phone? Which could end up being 100+ phones over

  1   2   >