[android-developers] Re: more problems with opengl in the new sdk

2008-11-11 Thread scott19_68
Try commenting out all the config attributes (except the 'none) and add them back one at a time if that fixes it. Nice sample code here: http://android-developers.blogspot.com/search/label/OpenGL%20ES On Nov 4, 8:54 am, petunio [EMAIL PROTECTED] wrote: Hi people I am trying to migrate

[android-developers] PacMan Game on Android

2008-11-11 Thread Salentinux
Is it possible to play namco pacman on the emulator? If yes, someone could send me a copy? I'm in italy..here there aren't physical devices!!! tnks --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers

[android-developers] Re: disable home button

2008-11-11 Thread hackbod
It didn't, it is a huge hack where it restarts itself when the user tries to leave it. It's a cute hack for the toddler lock, but far from something any normal application should do. (And seriously, the system -should- detect this and kill an app that is doing it. I would consider the fact

[android-developers] Re: Animation seems slow

2008-11-11 Thread Rohit Mordani
Is there a particular reason as to why it will be slow? I have a grid of only 6 images (each image (png) is about 40Kb). Rohit On Nov 11, 2:00 pm, Romain Guy [EMAIL PROTECTED] wrote: It depends on the rest of your UI. But if you're animating a fullscreen GridView, it's gonna be slow on the

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

2008-11-11 Thread hackbod
It does wake it up, but you are going to need to hold a wake lock to keep the device awake after your intent receiver returns. On Nov 10, 11:14 pm, g1bb [EMAIL PROTECTED] wrote: Hello, I've been trying to use AlarmManager.RTC_WAKEUP to wake up my device while it's sleeping, and then play

[android-developers] Getting the users google login information

2008-11-11 Thread CDavis8
Hi all, Is it possible to access the handset users google username and password? (with their permission of course) (OK I don't really expect to be able to access the password but the login name would be a start) I'm looking to make an app that requires access to their google email account and

[android-developers] RingtoneManager question

2008-11-11 Thread Selmi
hi i found what was problem with my application (thread differences between emulator (1.0rc1) and actual device (g1) ). problem is not with list of checkboxes, but somehow ringtone manager shows same id for two different ringtones! how its possible? both ringtones are created from music file

[android-developers] Re: Trouble with SoundPool

2008-11-11 Thread Robert Green
Awesome. I look forward to that. Is there any talk of exposing the audio buffer for direct input to the device? I'd like to get started on the G1 Virtual Kazoo but you know I need to synthesize that so without being able to fling my audio somewhere, I can't do it :) On Nov 11, 1:56 pm, Dave

[android-developers] How to send email programmatically?

2008-11-11 Thread Sunit Katkar
Suppose I have an Activity which has couple of text fields - one for the subject and one for body text. And there is a simple Button. When user clicks the button, I wish to send the text in the textfields via email to a predetermined email address. How can I achieve this? Sorry for being lazy and

[android-developers] InCallScreen is not public

2008-11-11 Thread j
I want to pass the intent to InCallScreen directly so that my intent won't be intercepted by another app: Intent newIntent = new Intent(Intent.ACTION_CALL, uri); newIntent.putExtra(Intent.EXTRA_PHONE_NUMBER, number); newIntent.setClass(this, InCallScreen.class);

[android-developers] Access logcat output programmatically

2008-11-11 Thread Peli
Is there a way to access logcat output programmatically? Would it be possible to write an application that can collect the current logcat output and email this (with consent of the user) to the developer of an application? Or is there a simple way for a (non-developer) end user to collect logcat

[android-developers] Re: Animation seems slow

2008-11-11 Thread Rohit Mordani
ok - thanks ! Rohit On Nov 11, 2:33 pm, Romain Guy [EMAIL PROTECTED] wrote: Because it's a lot of work to perform in software: you are compositing a fullscreen scaled and translucent bitmap. Android does not offer 2D hardware acceleration yet, so this kind of animation is expensive. On

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

2008-11-11 Thread Mark Murphy
dreamerBoy wrote: You could putter through the source code to see how the in-call application handles it. Again, whatever technique it uses is probably not for public consumption, your mileage may vary, do not taunt Happy Fun Android, etc. I thought that Android was supposed to be about

[android-developers] Re: progress dialog

2008-11-11 Thread Michael
The way I do this is how the market app does it - show a placeholder image that's in your resources directory, then have a thread load the real image and update when it's fetched that. Not too hard to do. You can also do this when the particular list row is in view, see the samples, in the API

[android-developers] Re: Trouble with SoundPool

2008-11-11 Thread Michael
I'm in the same boat - I've got an app idea that needs to be able to do realtime analysis of the sound being recorded - this doesn't seem to be possible yet either. I guess we can only hope for it in a later revision, or work on adding such things in ourselves. - michael

[android-developers] Re: Animation seems slow

2008-11-11 Thread Romain Guy
Because it's a lot of work to perform in software: you are compositing a fullscreen scaled and translucent bitmap. Android does not offer 2D hardware acceleration yet, so this kind of animation is expensive. On Tue, Nov 11, 2008 at 2:29 PM, Rohit Mordani [EMAIL PROTECTED] wrote: Is there a

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

2008-11-11 Thread Blake B.
Ok, I thought that may be the case. I need to create a sliding window effect in the recording, so that there is always 15 seconds of audio history recorded. I wanted to stair-step two 20-second recorders so that every 5 seconds I would delete one audio recording file when its history got too

[android-developers] Unique Emulator ID

2008-11-11 Thread Cadge
Is there a way to get a unique ID for different emulator instances running on the same machine? --~--~-~--~~~---~--~~ 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: InCallScreen is not public

2008-11-11 Thread hackbod
The in call screen is an implementation detail. You need to use Intent.ACTION_CALL and let the system find the proper activity to launch. (In fact the InCallScreen isn't even part of the frameworks, it is part of the implementation of the phone app, so it would be impossible to make public.)

[android-developers] Re: no callback to onItemClick() on clicking my ListView

2008-11-11 Thread Peli
You're right :-) Omitting it works just as fine. Peli On Nov 11, 10:59 pm, Romain Guy [EMAIL PROTECTED] wrote: The first line is useless :) On Tue, Nov 11, 2008 at 1:49 PM, Peli [EMAIL PROTECTED] wrote: Thanks for the pointer. The following worked in my case:        

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

2008-11-11 Thread Sunit Katkar
Any ideas? Any pointers to some examples? On Tue, Nov 11, 2008 at 9:42 AM, Sunit Katkar [EMAIL PROTECTED] wrote: Suppose I have an Activity which has couple of text fields - one for the subject and one for body text. And there is a simple Button. When user clicks the button, I wish to send

[android-developers] Re: EditTextPreference mask passwords

2008-11-11 Thread Brian Yarger
Thanks! I don't know why I didn't just try that, works great! Brian On Nov 11, 5:47 am, Christine [EMAIL PROTECTED] wrote: There's a password attribute you can use in the xml file. On Nov 11, 5:25 am, Brian Yarger [EMAIL PROTECTED] wrote: I've got a userpreferencethat is apassword.  Is

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

2008-11-11 Thread Andrew Burgess
If you don't want to direct the user to the typical send form, then you're going to have to either try and adapt an existing java based mailer to android or write an SMTP client from scratch. The SMTP standard isn't too hard to implement. On Tue, Nov 11, 2008 at 8:05 PM, Sunit Katkar [EMAIL

[android-developers] Re: MediaRecorder on G1

2008-11-11 Thread cirion
Hi g1ster - are you running on the G1 or the emulator? On the emulator, I've followed the steps people described above, but still run into the problem with constant AudioStreamInGeneric messages and an eventual RuntimeException that says start failed. I don't see anything in DDMS that indicates

[android-developers] Re: RingtoneManager question

2008-11-11 Thread Selmi
i guess i found solution. ID is not unique, ID with combination with URI is (one of items with same id was external and one internal) so i was wrong that both ringtones were created from music file - one of them was bultin On 11. Nov, 23:32 h., Selmi [EMAIL PROTECTED] wrote: hi i found what

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

2008-11-11 Thread hackbod
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 days; any current installs will continue to work. And anyway, if someone wants to continue to use your app, they can just take your

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

2008-11-11 Thread Sudha
Yes it seems to be the same.. same case with your sqlite also.. since teh data is getting saved in data/data folder and ur application in data/app folder when u r deleting from ur emulator ( as far as I know) we are deleting it from the data/app folder only so the data wont getting deleted..

[android-developers] Re: disable home button

2008-11-11 Thread zl25drexel
answering my own question again: to disable home button, make your activity a home activity (see samples/HOME in the SDK) then use pm = getPackageManager(); pm.addPackageToPreferred(getPackageName()); in your activity's oncreate() method to make your home activity the preferred home activity,

[android-developers] Re: disable home button

2008-11-11 Thread zl25drexel
answering my own question again: to disable home button, make your activity a home activity (see samples/HOME in the SDK) then use pm = getPackageManager(); pm.addPackageToPreferred(getPackageName()); in your activity's oncreate() method to make your home activity the preferred home activity,

[android-developers] Re: Games

2008-11-11 Thread dhuri natarajan
i am a developer in android. i want to develop some gaming projects in android. so, i want some ideas about games. On Tue, Nov 11, 2008 at 6:45 AM, Robert Green [EMAIL PROTECTED] wrote: Do you want ideas for games or how to develop games in general? On Nov 11, 3:35 am, [EMAIL PROTECTED]

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

2008-11-11 Thread yasmin afrose
Hi, Thanks Sudha. I've tried to find where that file was stored... U told about that.. Really I thank you lot. But I tried to open the file... but I can't .. Is it possible to view the data in the Shared file. Thanks for everything... Regards, Yasmin On Tue, Nov 11, 2008 at 5:42 PM, Sudha

[android-developers] Re: disable home button

2008-11-11 Thread Romain Guy
Please, do NOT do this. You are ruining the user experience. First of all, your application will be offered to the user every time the user really wants to go Home (for instance, after booting the phone) but your application is NOT a Home screen. Then you are preventing the user from always

[android-developers] Re: disable home button

2008-11-11 Thread hackbod
Oh good lord. I forgot that API was still there. This will be removed in a future version -- this was an old version of keeping track of preferred applications, and completely conflicts with the new better way of doing it per activity. On Nov 11, 7:11 pm, zl25drexel [EMAIL PROTECTED] wrote:

[android-developers] Re: disable home button

2008-11-11 Thread zl25drexel
well i am writting a screen lock app. so i need to lock all buttons. The toddler lock is one of the most popular apps in the market, and it does similar trick to disable the home button. so why cant i do the same? On Nov 11, 10:43 pm, hackbod [EMAIL PROTECTED] wrote: Oh good lord.  I forgot

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

2008-11-11 Thread Lei
Hi Mark Murphy Thanks for your replay. And the G1 (the real phone) may have a IP address. Am I right? Regards, Lei On Nov 11, 9:27 pm, Mark Murphy [EMAIL PROTECTED] wrote: Lei wrote: I want to program a server on android phone. I use socket. Is the android emulator's IP address the same

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

2008-11-11 Thread Jean-Baptiste Queru
As a general rule, you shouldn't expect that anyone will be able to connect to an Android phone directly - in most circumstances the IP addresses that those devices get either aren't routable or aren't reachable. JBQ On Tue, Nov 11, 2008 at 8:08 PM, Lei [EMAIL PROTECTED] wrote: Hi Mark Murphy

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

2008-11-11 Thread Lei
Hi Christine Thanks for your relay. I had added the permission. On Nov 11, 8:42 pm, Christine [EMAIL PROTECTED] wrote: Err, is this line in your manifest file?         uses-permission android:name=android.permission.INTERNET / just asking On Nov 11, 9:06 am, Lei [EMAIL PROTECTED]

[android-developers] Drawable doesn't load sometimes

2008-11-11 Thread Obormot
Hi, guys. I load Drawables (jpeg pictures) from URLs the following way: URL urlO = new URL(url); URLConnection urlC = urlO.openConnection(); InputStream is = urlC.getInputStream(); return Drawable.createFromStream(is, url); It's

[android-developers] Re: Problem with Service Permission

2008-11-11 Thread Raktim Das
Thanks a ton. It worked! On Nov 11, 3:42 pm, hackbod [EMAIL PROTECTED] wrote: Be sure you install the .apk providing the permission before the one using it.  You can see what permissions your app has been granted by digging through the output of adb shell dumpsys package. Also PLEASE DO NOT

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

2008-11-11 Thread Romain Guy
This is a known bug. Here is a workaround: in = new BufferedInputStream(new URL(getUrl(size)).openStream(), IO_BUFFER_SIZE); final ByteArrayOutputStream dataStream = new ByteArrayOutputStream(); out = new

[android-developers] Re: disable home button

2008-11-11 Thread Romain Guy
Dianne explained how Toddler Lock does it, and it's very different from what you do. You are disguising your application as a Home screen, which it is NOT. And both solutions (Toddler Lock and yours) are shortcomings of the system that need to be (and will be) fixed. It is perfectly normal to

[android-developers] Re: Sms with Intent

2008-11-11 Thread for android
Any help?? On Tue, Nov 11, 2008 at 11:50 AM, for android [EMAIL PROTECTED] wrote: I need to send an SMS with an Intent. whats the best way to test this.In the emulator I can only send an SMS,but not an SMS with an intent. Whats the best way to accomplish this testing? Thanks

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

2008-11-11 Thread Obormot
It did help! Thanks a lot! Of course, I now create a bunch of unnecessary objects, but hope it'll be fixed soon... On Nov 11, 10:30 pm, Romain Guy [EMAIL PROTECTED] wrote: This is a known bug. Here is a workaround:                     in = new BufferedInputStream(new

[android-developers] Re: Games

2008-11-11 Thread Obormot
Try Tower Defence (google it for more info). On Nov 11, 9:12 pm, dhuri natarajan [EMAIL PROTECTED] wrote: i am a developer in android. i want to develop some gaming projects in android. so, i want some ideas about games. On Tue, Nov 11, 2008 at 6:45 AM, Robert Green [EMAIL PROTECTED] wrote:

[android-developers] Sending HTML email with GMail installed on G1

2008-11-11 Thread thrusty
Hello, I'm trying to send HTML email using the GMail package installed on the T-Mobile G1. What I'm finding is that regardless of the content-type I specify, the message body is always translated into both text/plain and text/html ; however, the html is escaped (e.g. becomes lt;) so it does

[android-developers] Question on Service Choice

2008-11-11 Thread Alvin Yates
Main question: Is there a special reason why ServiceStartArguments uses a PendingIntent based on AlarmService.class instead of ServiceStartArgumentsController? For my own education: I'm trying to decide which example of the services I should be modeling my networking code after in order to

[android-developers] UI Update question

2008-11-11 Thread indiabolbol.com
Below is a snippet from google http://code.google.com/android/kb/commontasks.html#threading public class MyActivity extends Activity { [ . . . ] // Need handler for callbacks to the UI thread final Handler mHandler = new Handler(); // Create runnable for posting final

[android-developers] Re: UI Update question

2008-11-11 Thread indiabolbol.com
After reading the Handler documentation, I got the clarification: because mUpdateResults Thread will run on the thread to which this handler is attached whereas new Thread will run on another thread other than the UI thread. Is this correct? On Nov 12, 11:05 am, indiabolbol.com [EMAIL PROTECTED]

[android-developers] Popup Menu Over Dialogs

2008-11-11 Thread obi
So I asked this over in the beginner forum and no one seemed to have an answer for me. Does anyone know how to have a menu pop up over a dialog? The documentation seems to imply that it is possible, but, being new to all of this, I don't quite know what to do from their short description.

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

2008-11-11 Thread Ulrich Scheller
You could record one audio stream and copy the desired parts into two new streams later on. --~--~-~--~~~---~--~~ 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: Exchange Server Support

2008-11-11 Thread davin_thompson
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 few days, i'll have something working in java (so far I've made it to a basic http

[android-developers] Intent to open an email attachment

2008-11-11 Thread Jim Ancona
I'd like my activity to be able to open a file attached to an email. To open a file downloaded in the browser, I set up the following intent filter: intent-filter action android:name=android.intent.action.VIEW / category android:name=android.intent.category.DEFAULT /

[android-developers] Re: Games

2008-11-11 Thread Craig Peterson
On Tue, Nov 11, 2008 at 3:35 AM, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Can any one give some idea in developing some gaming projects in Android http://www.rbgrn.net/blog/2008/11/getting-started-in-android-game-development.html http://www.gamedev.net/reference/articles/article2570.asp

[android-developers] 64bit Windows Problems

2008-11-11 Thread melvin ram
I'm on a windows vista64 machine and i'm not able to run the emulator. Here's the output from the terminal: -- C:\android-sdk\toolsddms.bat 27:01 E/ddms: shutting down due to

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

2008-11-11 Thread CharlesA
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 webview to R Any help would be appreciated. thanks --~--~-~--~~~---~--~~ You received

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

2008-11-11 Thread Sunit Katkar
Ok how would I implement the 'send form'. Do you mean that I should launch a web browser and use some webmail type of application hosted on a server? I was thinking about the Email Outbox. How can I put a simple text message as an email in the Outbox? I know I could do this long long ago with Palm

[android-developers] Is there a way to put horizontal and scroll bar both together?

2008-11-11 Thread dilu
Hi i want to put horizontal and vertical scroll bar both on the same page .I am able to put the vertical scroll bar ,using scroll view,but i wanna to put horizontal scrol bar also.so please tell me how to do it? Thanks dilu --~--~-~--~~~---~--~~ You received this

<    1   2