[android-developers] Re: how to remove certain SMS notifications

2008-11-25 Thread G
I would like to be able to do this as well, but I think the folks at google deemed it a security risk (which is sad because SMS-intercept capabilities could allow almost any app to support some kind of push notification in a very simple way) On Nov 24, 1:13 pm, Tughi <[EMAIL PROTECTED]> wrote: >

[android-developers] Intent variable required for onStart function

2008-11-25 Thread steve_macleod
Hi, Quick question, I am running a service (code below). I have a problem with the super.onStart(intent, startId) line. The onStart call expects and Intent as paremeter. How can I get this from the context below? Thanks package com.stevemacleod.prankapp; import java.io.IOException; import andr

[android-developers] Re: Intent variable required for onStart function

2008-11-25 Thread Dianne Hackborn
Er... the onStart() method takes Intent as a parameter, so that is what your onStart() method should be taking. This code looks like it was from a pre-1.0 version of the platform (and whoever wrote it didn't use @Override, naughty naughty!). On Tue, Nov 25, 2008 at 3:09 PM, steve_macleod <[EMAIL

[android-developers] Re: Android Camera Preview Filter Using Camera.PreviewCallback.onPreviewFrame

2008-11-25 Thread dmanpearl
Peter and Jeff, Thanks for each of your fantastic help, I am very close to achieving a filtered preview display as required for my project - Modification of the Android Camera Display from onPreviewFrame. Here is my current stumbling block: I can't seem to make coexist: SurfaceHolder for the cam

[android-developers] Re: Intent variable required for onStart function

2008-11-25 Thread steve_macleod
Hi Dianne, OK Im new with this, but how do I get the initiating Intent object from the onStart function? thanks, On Nov 25, 11:43 pm, "Dianne Hackborn" <[EMAIL PROTECTED]> wrote: > Er...  the onStart() method takes Intent as a parameter, so that is what > your onStart() method should be taking.

[android-developers] Re: Intent variable required for onStart function

2008-11-25 Thread steve_macleod
Oh yeah should also say the example code im working from is in the Android Essentials book, and its quite outdated now... On Nov 25, 11:43 pm, "Dianne Hackborn" <[EMAIL PROTECTED]> wrote: > Er...  the onStart() method takes Intent as a parameter, so that is what > your onStart() method should be

[android-developers] Re: Intent variable required for onStart function

2008-11-25 Thread Mark Murphy
steve_macleod wrote: > Hi Dianne, > OK Im new with this, but how do I get the initiating Intent object > from the onStart function? She's saying your onStart() callback should look like this: @Override public void onStart(Intent intent, int startId) { super.onStart(intent, startId);

[android-developers] Two questions about Toast

2008-11-25 Thread Jamie L
In the code below, I added a button to the toast, but I am facing two problems. 1. The button is not clickable! onClick is not called when I click on the button. 2. If I replace Toast.LENGTH_LONG with a number 1, the toast does not stay for 10 seconds. Is it by design that you can't add an

[android-developers] Re: Can't retrieve page with HttpClient

2008-11-25 Thread Mark Murphy
loty wrote: > Have a weird problem - I'm trying to read a page from my web site but > for some reason it just can't find it. I can navigate to my page in a > browser no problem but if I use the same URL in HttpClient I get the > 404 (File not found) from my host service. Any clues? > > Here is t

[android-developers] Re: Querys involving more than one table of Contatcs Content Provider

2008-11-25 Thread Mark Murphy
jarkman wrote: > I'd love to make a cursor which also included the name of the person, > but as far as I know there is no way to do that with a single query. That's probably true. > That is, as far as I can tell, there's no way to do a join via the > content provider interface, and permissions p

[android-developers] Re: Two questions about Toast

2008-11-25 Thread Romain Guy
> 1. The button is not clickable! onClick is not called when I click on the > button. Toasts are meant only to display information, they are not meant for user interaction. Use a dialog to do this. > 2. If I replace Toast.LENGTH_LONG with a number 1, the toast does not > stay for 10 secon

[android-developers] Re: Two questions about Toast

2008-11-25 Thread Jamie L
My application listens to certain event from another app. As soon as the event is received, I want to displays a dialog or a toast to notify the user and give users a few action choices with buttons. We can't display a dialog because it doesn't pop up in the foreground over the other app. Toast

[android-developers] Re: Two questions about Toast

2008-11-25 Thread Romain Guy
You can use notifications :) (If it makes sense, that is) On Tue, Nov 25, 2008 at 4:52 PM, Jamie L <[EMAIL PROTECTED]> wrote: > My application listens to certain event from another app. As soon as the > event is received, I want to displays a dialog or a toast to notify the user > and give users

[android-developers] Re: Two questions about Toast

2008-11-25 Thread Jamie L
you can put buttons on notification? On Tue, Nov 25, 2008 at 4:55 PM, Romain Guy <[EMAIL PROTECTED]> wrote: > > You can use notifications :) (If it makes sense, that is) > > On Tue, Nov 25, 2008 at 4:52 PM, Jamie L <[EMAIL PROTECTED]> wrote: > > My application listens to certain event from anothe

[android-developers] Re: Android, A Programmer's Guide by Jerome (J.F.) DiMarzio

2008-11-25 Thread dmanpearl
Lots of Android Development book choices on Amazon: Available now: Professional Android Application Development by Reto Meier (Paperback - Nov 24, 2008) $29.69 The Busy Coder's Guide to Android Development by Mark L. Murphy (Paperback - Jun 25, 2008) $27.93 ANDROID A PROGRAMMERS GUIDE by Jerome

[android-developers] Re: Calling youtube from Android

2008-11-25 Thread Dave Sparks
I think you are looking for the following method in android.content.pm.PackageManager: public abstract Drawable getActivityIcon(Intent intent) On Nov 24, 9:03 pm, "cse.tlin" <[EMAIL PROTECTED]> wrote: > Hi davidsparks, > Can I get the drawable icon ofyoutubeapp from another app? > I want to offe

[android-developers] Re: Two questions about Toast

2008-11-25 Thread Dianne Hackborn
You can let the user tapping on the notification go to a UI with buttons or whatever you want. On Tue, Nov 25, 2008 at 4:56 PM, Jamie L <[EMAIL PROTECTED]> wrote: > you can put buttons on notification? > > > On Tue, Nov 25, 2008 at 4:55 PM, Romain Guy <[EMAIL PROTECTED]> wrote: > >> >> You can us

[android-developers] Re: Querys involving more than one table of Contatcs Content Provider

2008-11-25 Thread Dianne Hackborn
Correct, you can't directly do joins on the database. This is intentional, as the exact schema of the database can change over time, and a ContentProvider is intended to provide a more abstract mechanism for accessing it that can remain compatible as those changes occur. On Tue, Nov 25, 2008 at 7

[android-developers] Re: Intent variable required for onStart function

2008-11-25 Thread Andrew Stadler
On Tue, Nov 25, 2008 at 3:51 PM, steve_macleod <[EMAIL PROTECTED]> wrote: > > Oh yeah should also say the example code im working from is in the > Android Essentials book, and its quite outdated now... Maybe you should use that book for a monitor stand instead of letting it give you bad advice.

[android-developers] Re: How can I get the Contact Pointer of Google(Android) blow Issue

2008-11-25 Thread Andrew Stadler
Dianne is absolutely right, Android is an Open Source platform and you or your partner companies are free to begin working on it immediately. If you are interested in a more formal relationship with some of the companies involved in Android, you may also wish to look at

[android-developers] SSLSocket working sample code

2008-11-25 Thread Nickname
Does anyone have SSLSocket (client) sample code working on Android that can be shared with me? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-de

[android-developers] Why is my application suspended?

2008-11-25 Thread he...@gamevil.com
I uploaded a game on the Android market 2 days ago called Path of a Warrior. It had a 1 time trail and after that users were asked to buy the game to keep playing. I used Mogees as the payment module, and I think that might have been the problem. Google just send me an email saying that the appli

[android-developers] Lost ACKs on HTTP requests

2008-11-25 Thread andrej
We have a web server that serves mobile clients, among them G1 running Android. There's a communication problem at the TCP level. Using tcpdump I've been able to capture the traffic between Android and the web server (actually haproxy load balancer). Then loading it into Wireshark for analysis.

[android-developers] Scrolling stops DOM from updating in chrome/webkit browser

2008-11-25 Thread Marcus
I'm coming across an issue developing an Android-specific website where I'd like to have a footer fixed on the bottom of the browser page. I'm using some basic CSS to do this (below) that works fine in other Webkit based browsers (Safari, desktop Chrome), and initially it works fine in the Android

[android-developers] Amazon MP3 Intent URI

2008-11-25 Thread joe.monti
How would one link to the Amazon MP3 store? What is the Intent URI syntax? Can anyone provide any examples or hints where to find it? Thanks! - Joe --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers

[android-developers] unsubscribe

2008-11-25 Thread Beaudet, Robert
Bob Beaudet Enterprise Supply Chain and Program Management Systems Architecture cell: 206-300-5383 virtual: 8am-4:30pm, Monday thru Thursday M/C 7R-48 --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android De

[android-developers] Re: Notepadv3 Issue - NullPointerException in onSaveInstanceState()

2008-11-25 Thread henry
Same issue here. Since the return value needs to be checked against null for Bundle.getLong(), I guess putLong() should do the same thing. It seems to be an application logic issue, and the sample code has not gone this far, or it may be out of scope. On Sep 26, 10:27 pm, "[EMAIL PROTECTED]" <[EM

[android-developers] Re: Integration with other applications

2008-11-25 Thread joe.monti
>From what I can tell, it is done via an Intent. Details are here: http://code.google.com/android/reference/android/content/Intent.html So it looks like you need a URI to the Amazon MP3 app, but I don't know what it would be. I'm looking for the same thing, does anybody have any details on this

[android-developers] Re: Why is my application suspended?

2008-11-25 Thread Dianne Hackborn
This is probably the relevant part: 3.3 You may also choose to distribute Products for free. If the Product is free, you will not be charged a Transaction Fee. You may not collect future charges from users for copies of the Products that those users were initially allowed to download for free. Thi

[android-developers] Re: How to insure the singed file is correct?

2008-11-25 Thread Tyler Ernst
We just updated our application on the market place and are getting the same problem you are "Package file was not signed correctly." when attempting to install over the the previous market version. [EMAIL PROTECTED] wrote: > I test is ok on emulator, but many user still report me the singed > er

[android-developers] Re: How to insure the singed file is correct?

2008-11-25 Thread Dianne Hackborn
The certificate you use to sign your package is your identity as a developer; if you change it, you have turned this into another application that has no trust with the original application, and thus can not be used to update the original. The previous one must be uninstalled and re-installed. As

[android-developers] Send message

2008-11-25 Thread andrex
Hi all, can anyone help me, I want to send an auto message or an alert to the phone. I've trying this SmsManager sm = SmsManager.getDefault(); sm.sendTextMessage("5554",null, "My text Message", null, null); I put 5554 because is the emulator direcction. No errors, but the emulato

[android-developers] Possibility to access the Own Content Provider

2008-11-25 Thread AndroidKid
Hi All, I've accessed existing Content Provider. ie, I've retrieved data from Contacts Application by including the Permission within my application Android Manifest file. I've created new Content Provider by extending my class from Content Provider. I've overridded the method query(), delete()

[android-developers] How to test PVPlayer engine and PVAuthor engine ?

2008-11-25 Thread Girish H T
Dear friends, I want to test PVś test frame work which is supplied along with the android source code. After building the entire android source code how can test PVPlayer engine and PVAuthor engines ? There is a document that is supplied along with the source code (pvplayer_engine_unit_test_guide

[android-developers] how to use self-signed Certificate Authority

2008-11-25 Thread Nickname
Can anyone teach me how to use self-signed CA with URL class so that I can have code like URL url = new URL("https://my-own-server.com";); urlconn = url.openConnection(); work on Android to access my own secure server which is loaded only with self-signed CA? --~--~-~--~~

[android-developers] Re: Plz help me getting solution for the below problem

2008-11-25 Thread suhail ahmed
Hi Micheal, Thanks for your concern, #1 chunk data here indicates some unit of bytes (may be 512, 1024 etc) . it would be better if you could point me to some example of such an application written in java which works on android #2 browser doesnot connect to internet by default, i am getting "n

[android-developers] how to access file system

2008-11-25 Thread front999
Hi, Dose anybody know how to access file system? What the meaning of the permission to access the cache file system? Is the cache file system a file system of virtual machine? BW, DK 2008.11.26 --- 新浪空间——与朋友开心分享网络新生活!(http://space.

[android-developers] Enabling taps in ListView

2008-11-25 Thread David Orme
I got no answer to this query on Android-Beginner so I'm reposting it here: I have a ListView where I've supplied a custom row object. I can both tap and long-tap using the hardware track ball (or the Enter key in the emulator), but these same gestures do not work on the screen when I tap over th

[android-developers] Re: Plz help me getting solution for the below problem

2008-11-25 Thread Anonymous Anonymous
http://groups.google.com/group/android-beginners/browse_thread/thread/0ababd5e40398e49/fbdd321643bf48e1?pli=1 On Wed, Nov 26, 2008 at 11:08 AM, suhail ahmed <[EMAIL PROTECTED]> wrote: > Hi Micheal, > > Thanks for your concern, > > #1 chunk data here indicates some unit of bytes (may be 512, 1024

[android-developers] ActivityNotFoundException..

2008-11-25 Thread sylvek
Hi, I want to launch a new Activity from my current Activity.. so i do: and in my code .. Intent intent = new Intent(Intent.ACTION_EDIT); intent.putExtra(Device.DEVICE, getItem(position).toString()); ((Activity) getContext()).startActivityForResult(intent, Device.FROM_LIST);

[android-developers] Re: native audio interface / AudioRecord.h

2008-11-25 Thread GnuHash
hi I tried writing a java wrapper class that interfaces the native library using JNI. But i am getting RECORD_AUDIO permission denial from the emulator. I have added RECORD _AUDIO permission in the Android manifest. My application doesnt use mediarecorder to record but talks to the native i

[android-developers] Re: Why is my application suspended?

2008-11-25 Thread Al Sutton
As I read it that clause has two effects; 1) It is against the Marketplace T&Cs to provide users with a fully functional time limited trial version. So users have to buy the "upsell" option without being able to test the pay-for features. 2) All app payments are locked into Googles payment sys

<    1   2