[android-developers] Send Intent Email PNG attachment woes

2008-12-23 Thread Keith Wiley
Trying to send a png as an email attachment. I found the following, which works except that the image is automatically converted to a very lossy jpeg by the time it reaches the email program (it even has a .jpg extension). I'm quite perplexed by that: Bitmap image =

[android-developers] Re: Phone?DIY

2008-12-23 Thread cer...@gmail.com
I means is there is phone have main board,CPU,harddisk,RAM,and so on,then it can be assembly by any people,like a computer! --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this

[android-developers] Re: Phone?DIY

2008-12-23 Thread Al Sutton
Android is a software platform, it does not dictate any hardware it must run on. You can write any additional software you need to support the hardware of your choice. Al. cer...@gmail.com wrote: I means is there is phone have main board,CPU,harddisk,RAM,and so on,then it can be assembly by

[android-developers] want service start

2008-12-23 Thread ena
Hi All, Please help me...i want service start when i install application...i have done on Boot Completed..but how to do start with install application Crying or Very sad --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google

[android-developers] Re: Problems running telnetd on adp1

2008-12-23 Thread David Turner
don't forget to enable USB debugging in the Settings to be able to see your device through ADB On Tue, Dec 23, 2008 at 12:57 AM, Mark Murphy mmur...@commonsware.comwrote: onlythoughtwo...@googlemail.com wrote: Thanks, is there another way then telnet to access the phones console from my

[android-developers] Re: Testing a Android Activity..

2008-12-23 Thread Manjunatha M (ಮಂಜುನಾಥ ಎಂ)
Can i get examples for this please? On Tue, Dec 23, 2008 at 10:50 AM, Manjunatha M (ಮಂಜುನಾಥ ಎಂ) man...@gmail.com wrote: Can I get any examples??? On Mon, Dec 22, 2008 at 11:36 PM, Ralf ralfo...@gmail.com wrote: It's called Instrumentation under Android:

[android-developers] Android Dev Phone - Failed to upload app using Eclipse (timeout)

2008-12-23 Thread Rafael Fernandes
Hey guys, I've got my Android Dev Phone 2 weeks ago and I'm trying to put/debug my app there since then... I can put my app there using adb shell but not from eclipse... there is a tricky though, I have to open a shell and then issue su - then I have access to /data/data folders

[android-developers] Re: Problems running telnetd on adp1

2008-12-23 Thread onlythoughtwo...@googlemail.com
Thanks. But I´m currently running Vista 64-Bit Version, but i think i can forward usb ports in virtual box and use adb shell from a virtual linux installation. Or is there any driver for win 64 bit system out yet? Anyway i´ll try VB and let you know if it works... On Dec 23, 12:57 am, Mark

[android-developers] Re: How to config the emulator to browser www?

2008-12-23 Thread Fred Grott(shareme)
I assume you mean use browser to got an URL , correct? while having the browser run click on menu and you should see an item to make tat happen on the pop up dialogue. The emulator is already set to browser www network wise unless you are behind a proxy if behind a proxy see the emulator

[android-developers] Re: How to config the emulator to browser www?

2008-12-23 Thread JBQ
where is the emulator instal lnotes? Thanks. On 12月23日, 下午7时11分, Fred Grott(shareme) fred.gr...@gmail.com wrote: I assume you mean use browser to got an URL , correct? while having the browser run click on menu and you should see an item to make tat happen on the pop up dialogue. The

[android-developers] onscreen keyboard on emulator

2008-12-23 Thread Rajesh S
Hi, I tried the latest both the cupcake and typical android branches. Could somebody tell me how to use the onscreen keyboard (which is allegedly available) through the emulator. Thanks, Rajesh.S --~--~-~--~~~---~--~~ You received this message because you are

[android-developers] WebView Demo

2008-12-23 Thread Fred Grott(shareme)
The web view demo at apps-fr-android is very nice. I thought I would show somewhat a preview of what can be done.. http://www.youtube.com/watch?v=N7Amsr-_cDo As we head into the new year I should in Jan have PhoneGap lib s working, GPS and etc, and than have some integration with Google APis

[android-developers] Problems w/starting explicit intent

2008-12-23 Thread JS
So I'm trying to execute an explicit intent via: Intent i = new Intent(); i.setClassName(com.compareeverywhere, com.compareeverywhere.ScanActivity); startActivity(i); That's the activity fired up when the app wants to read a barcode. The error I get: I/ActivityManager( 58): Starting

[android-developers] new cupcake features???

2008-12-23 Thread Rajesh S
Hi, Where are the new features? I see the code and assumed it should show up on emulator if i run it from the new cupcake directory. Am unable to see any new stuff through the emulator. Steps I tried: repo sync # tried exclusive cupcake repo and android separately . ./build/envsetup.sh

[android-developers] MediaPlayer streaming WAV audio

2008-12-23 Thread Aldo Neto
Hi, I developed a quite simple code for audio streaming with MediaPlayer (please see code below). I tested it with an MP3 file and it worked perfectly. However, when I tested the same code with a WAV audio, the MediaPlayer was unable to stream the audio properly. I had to build a

[android-developers] Tab Issue:

2008-12-23 Thread diya blore
Hi. I want to implement tabs without using xml.. Please can any one guide me. -- Thank's in adv. Diya :) --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email

[android-developers] How to retrieve scheduled alarms?

2008-12-23 Thread cezar augustus signori
Hi! I am wondering if there is a way to retrieve a list of my app's scheduled alarms. Thanks, -- Cezar Augustus Signori http://www.linkedin.com/in/cezarsignori -- http://www.android-br.mobi --~--~-~--~~~---~--~~ You received this message because you are

[android-developers] two tables and sqlite

2008-12-23 Thread gsk
Helo Everyone I created two tables in sqlite. I want to insert records into two tables. but i only insert into first table .I cant insert anything into second table I followed the NotePad3 application for insert the records into first table , but I cant follow the same thing for my

[android-developers] Cupcake Anyone in Google that Could Shed Some Light! :) Thanks!

2008-12-23 Thread Jona
//Notable changes introduced in cupcake:// # Music - New features Music playback fades in after suspending for phone call. # Framework - Streaming audio I/O for applications. Questions: 1). Fade Music playback, will we have to lessen to an onCall event? and handle the fades or will

[android-developers] Work out which activity is on top

2008-12-23 Thread Adam K
Hi all, Is there a way for a receiver or service to know which activity is currently visible to the user so that you can change behavior? Similarly, is there a way to know if the screen is off (perhaps this should be a function of the wakelock service)? Thanks, Adam

[android-developers] Re: Android Dev Phone - Failed to upload app using Eclipse (timeout)

2008-12-23 Thread Michael
Yes, this is expected behavior, it's to prevent one application from accessing the data of another. But this does not get in the way of using adb to install/remove applications. You are using adb install and adb uninstall yes? --~--~-~--~~~---~--~~ You received

[android-developers] Re: How to config the emulator to browser www?

2008-12-23 Thread David Turner
I assume he meant this: http://code.google.com/android/reference/emulator.html On Tue, Dec 23, 2008 at 12:39 PM, JBQ jb...@huawei.com wrote: where is the emulator instal lnotes? Thanks. On 12月23日, 下午7时11分, Fred Grott(shareme) fred.gr...@gmail.com wrote: I assume you mean use browser to

[android-developers] Re: ListView

2008-12-23 Thread Brad Gies
Thanks Romain.. it seems that all I really needed was the name of the OnScrollListener to find everything I needed... and embarrass myself a little. I have the apiDemos in my workspace so when I need examples I usually just search the entire workspace for the Class name I'm interested in, and

[android-developers] Freeing Bitmaps

2008-12-23 Thread Brad Gies
I've seen many discussions on freeing Bitmaps, but I don't think I have ever seen a definitive answer on the proper method of doing it. I have an activity which creates a custom class, and the custom class has a clear method, which I call before freeing the class. Below is the code

[android-developers] Re: Cupcake Anyone in Google that Could Shed Some Light! :) Thanks!

2008-12-23 Thread Dave Sparks
1. The Music Player stops playing when a call comes in and resumes after the call is complete. With Cupcake, the music player will slowly ramp up the volume after the call is completed. 2. The streaming audio interface is more flexible than InputStream. You can build an InputStream interface on

[android-developers] Re: MediaPlayer streaming WAV audio

2008-12-23 Thread Dave Sparks
The MediaPlayer doesn't support streaming at all. You can get away with a pseudo-streamed MP3 because the MP3 format was intended to be broadcast and the MP3 parser is a bit more forgiving about it than the other parsers. On Dec 23, 4:21 am, Aldo Neto tumo...@gmail.com wrote: Hi, I developed

[android-developers] Re: MediaPlayer streaming WAV audio

2008-12-23 Thread Aldo Neto
Thanks! I believe that Android team will add support for streaming sometime in the future, is that right? On Tue, Dec 23, 2008 at 4:37 PM, Dave Sparks davidspa...@android.comwrote: The MediaPlayer doesn't support streaming at all. You can get away with a pseudo-streamed MP3 because the MP3

[android-developers] Re: :: using System.gc();

2008-12-23 Thread JP
Depends where it's placed at. I calls to the GC scattered all over, but with discretion. I made a concious design decision to avoid allocating memory in the presentation layer which is handling user interactions. I rely on a separate thread to handle all back end activities such as capturing and

[android-developers] Re: How to bind to a Service only if it was already running?

2008-12-23 Thread JP
I have no experience with this particular need; if you cannot find a call in Context that would offer this capability you need to actively manage this somehow. On Dec 22, 8:14 pm, Moto medicalsou...@gmail.com wrote: Hey JP thanks for your reply! So I'm looking at what your saying but

[android-developers] Re: Freeing Bitmaps

2008-12-23 Thread Mike Reed
That looks fine. The only issue/trick for bitmaps that I'm aware of is the option to call bitmap.recycle(), which forces the bitmap to free its pixel memory immediately, rather than waiting for the GC. This is optional, since the GC will trigger this too. Calling recycle() is tricky,

[android-developers] Re: MediaPlayer streaming WAV audio

2008-12-23 Thread Dave Sparks
The Cupcake branch has provisions for streaming linear PCM audio in and out of Java. But before everyone gets too excited, please remember that it takes time for code in a stabilization branch to be deployed on a device. There are a series of release candidates, terminal acceptance cycles on

[android-developers] Re: Cupcake Anyone in Google that Could Shed Some Light! :) Thanks!

2008-12-23 Thread Jona
Thanks Dave! --~--~-~--~~~---~--~~ 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: Android Dev Phone - Failed to upload app using Eclipse (timeout)

2008-12-23 Thread Rafael Fernandes
well, I'm actually using Eclipse as I did on the emulator... and this is how I wanna use once I also want to debug on the real device... Rafael Fernandes On Dec 23, 4:55 pm, Michael michael573...@gmail.com wrote: Yes, this is expected behavior, it's to prevent one application from accessing

[android-developers] Re: Send Intent Email PNG attachment woes

2008-12-23 Thread Keith Wiley
Does anyone know what happened in the two cases I demonstrated in the previous post? 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: Testing the OrientationListener

2008-12-23 Thread jtaylor
This should have showed up in your Google searching. http://code.google.com/p/openintents/wiki/SensorSimulator - Juan T. On Dec 17, 12:44 am, Hopper mehijun...@gmail.com wrote: Hey all, I'd like to know what options (if any) I have to test theOrientationListener-- and other sensors --

[android-developers] Re: Phone?DIY

2008-12-23 Thread Eric
If there is one, the size of that thing would be like the 1st generation cell phone or size of a desktop computer = HUGE. The components used in the typical cell phone is way too tiny for DIY. Cheers Eric Portable Electronics Ltd www.hdmp4.com On Dec 23, 7:45 pm, cer...@gmail.com

[android-developers] Re: Phone?DIY

2008-12-23 Thread Nickname
Yes, there would have been Android DIY parts everywhere if Google had poured $100M on AHDC (Android Hardware Developer Challenges)!!! Google, pour $100M to pop up a MTK for Android and i'm sure that you will be henceforth invincible in mobile industry!! a hungry AD :) On Dec 20, 7:34 pm,

[android-developers] Synchronizing Maps and Map Overlays - ConcurrentModificationException

2008-12-23 Thread mscwd01
I am getting the following exception: 12-24 00:29:25.922: ERROR/AndroidRuntime(267): Uncaught handler: thread main exiting due to uncaught exception 12-24 00:29:25.960: ERROR/AndroidRuntime(267): java.util.ConcurrentModificationException 12-24 00:29:25.960: ERROR/AndroidRuntime(267): at

[android-developers] Re: :: using System.gc();

2008-12-23 Thread freepine
I was thinking that Dalvik GC was the stop-the-world GC. Does it matter to call gc manually in a seperate thread or UI thread itself? -freepine On Wed, Dec 24, 2008 at 2:49 AM, JP joachim.pfeif...@gmail.com wrote: Depends where it's placed at. I calls to the GC scattered all over, but with

[android-developers] The adb tool of emulator

2008-12-23 Thread Ashrotronics
Hi everyone: after adb shell,i send the getevent command,but the screen tells me could not get driver version for /dev/input/mouse0,not a typewriter,I'm just wondering why shoule this happen and what it means , Tks in advance! -- Bgs Ashrotronics

[android-developers] Re: HTC G2's home effection is very well,I saw it on www,Is it real or just a flash?

2008-12-23 Thread yukinoba
I m not going to offense ur dream... However, these pictures are provided and designed by Android fans only. The actual T-Mobile G2 pictures are not going to be published yet. All we know til now is G2 will have a virtual keyboard and be published during March in the next year. On 12月22日,

[android-developers] Re: Changing the system Wallpaper --Intent Broadcast ?--

2008-12-23 Thread DavidLanz
Here is my code, but still crush my android, and get an Error package irdc.ex03_18; import java.io.IOException; import java.io.InputStream; import android.app.Activity; import android.content.res.Resources; import android.os.Bundle; public class EX03_18 extends Activity { protected static

[android-developers] Re: Extracting Apk Files

2008-12-23 Thread Kingorcus
Bump anyone have an idea??? On Dec 22, 8:06 pm, Kingorcus rbasso...@gmail.com wrote: I need google's response on this one please I noticed that Astro's App can extract the apk files for installed apps on the phone. 2 things this

[android-developers] Re: Testing a Android Activity..

2008-12-23 Thread Ralf
I think samples/ApiDemoes has examples of intrumentation. Stuff has been posted on the forum in the past too so search for it! R/ On Tue, Dec 23, 2008 at 1:24 AM, Manjunatha M (ಮಂಜುನಾಥ ಎಂ) man...@gmail.com wrote: Can i get examples for this please? On Tue, Dec 23, 2008 at 10:50 AM, Manjunatha

[android-developers] Re: Problems running telnetd on adp1

2008-12-23 Thread Ralf
There will be an official Android driver for Vista 64 bit later. In the meantime there's an unofficial hacked one at xda. R/ On Tue, Dec 23, 2008 at 2:51 AM, onlythoughtwo...@googlemail.com onlythoughtwo...@googlemail.com wrote: Thanks. But I´m currently running Vista 64-Bit Version, but i

[android-developers] Re: :: using System.gc();

2008-12-23 Thread JP
My approach is to relief the main thread from any heavy lifting; calling web servers, processing data and preparing data structures. Calls to web servers should also not be made directly from the main thread. All that helps a great deal to keep the app responsive. Correction: Is essential to keep

[android-developers] Re: The adb tool of emulator

2008-12-23 Thread Ashrotronics
First,Thank u for ur info, when i click an icon on the screen,I got the following: /dev/input/event0: 0003 00b7 /dev/input/event0: 0003 0001 004a /dev/input/event0: 0001 014a 0001 /dev/input/event0: /dev/input/event0: 0001 014a /dev/input/event0:

[android-developers] SQLite data type

2008-12-23 Thread Muthu Kumar K.
Hi, I am trying to insert byte data in my application DataBase(SQLite). So which data type will fit in to that. Pleaser help me... Thanks, Muthu --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers

[android-developers] Re: nsftools

2008-12-23 Thread tonyant
Hi, when I use Jakarta CommonsFTP, In the code ftpClient.listFiles(files) or ftpClient.storeFile(); get the error: org.apache.commons.net.ftp.FTPConnectionClosedException: Connection closed without indication. Did you meet such thing? On Nov 3, 9:01 am, petunio

[android-developers] Re: The adb tool of emulator

2008-12-23 Thread Ashrotronics
Yeah,It worked fine now ..The best gift ever for my christmas, Thanks again and May everyone happy too ! On 12月24日, 下午1时45分, Ashrotronics 030440...@163.com wrote: First,Thank u for ur info, when i click an icon on the screen,I got the following: /dev/input/event0: 0003 00b7

[android-developers] question of apache commons ftp

2008-12-23 Thread tonyant
Hi ,all when I run those code, FTPClient ftpClient = new FTPClient(); ftpClient.connect(InetAddress.getByName(server)); ftpClient.login(username, password); Log.d(FTP,ftpClient.getReplyString()); ftpClient.changeWorkingDirectory(serverRoad);

[android-developers] Re: nsftools

2008-12-23 Thread tonyant
Hi, I also work on the ftp uploading, and Use Jakarta commons FTP. but I always meet exception the code is: FTPClient ftpClient = new FTPClient(); ftpClient.connect(InetAddress.getByName(server)); ftpClient.login(user, password); Log.d(FTP,ftpClient.getReplyString());

[android-developers] ImageButton response time is slow

2008-12-23 Thread cindy
I have an application using ImageButton. When I touch it, sometimes it doesn't response. Sometimes it response. The response time is slow. But using the G1 phone's dial function, when I touch the number, the response time is very fast. Does anyone know why? Thanks! Cindy

[android-developers] Re: how to evoke pv logger

2008-12-23 Thread develop code
Hi, i tried the above modifications, i am not getting the logs from libraries (pv player). PV logger enabling method has changed? Any other methods to enable. I am trying it on the emulator. On Fri, Nov 7, 2008 at 8:21 AM, Dave davidlspa...@gmail.com wrote: To turn on PV logging, change

[android-developers] Manipulating the keyguard lock screen

2008-12-23 Thread bparker
Is it possible to add items to the lock screen? I noticed that when setting an alarm using AlarmClock, it adds another view to the layout that has a bell icon and tells the day/time of the next alarm... I was wondering if it was possible to extend this functionality to my own activity? Thanks