[android-developers] Market, Paid Apps and DRM

2009-02-09 Thread Mattaku Betsujin
Will there be a way for a paid app to be forward-locked, so that it cannot be installed on other people's phones? Thanks --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this

[android-developers] Re: Multimedia buffering

2009-02-09 Thread dillirao malipeddi
Based on the API the video should be progressive download and the video quality should be low On Mon, Feb 9, 2009 at 4:38 PM, AliBaba kanul1...@gmail.com wrote: Hi All, I am trying to run the media player from API Demo by specifying the http based url of the video. In specific I want to

[android-developers] Repeating alarms with AlarmManager and daylight saving / leap years

2009-02-09 Thread lorenz
Hey I'm looking for a way to trigger repeated actions. I'd like the user to be able to choose the intervals at which these actions will be executed. One should be able to choose from intervals like Every Day, Every Month, and Every Year. The setRepeating(int, long, long, PendingIntent) method of

[android-developers] Will the addPreferredActivity method available in the future?

2009-02-09 Thread Sei
All, Per this thread, http://groups.google.com/group/android-developers/msg/79752885135cc87b, I know that addPackageToPreferred is going away in the future. Can the Googlers comment on the addPreferredActivity under the android.content.pm.PackageManager package? If both methods are going

[android-developers] android.telephony

2009-02-09 Thread run99ner_ff
I understand that android.telephony.PhoneStateIntentReceiver has been retired. How can I get the 3 neighbor's cell id and signal strength? Thanks! run99ner_ff --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups

[android-developers] Re: ImageView.setColorFilter and/or LightingColorFilter- how to use them?

2009-02-09 Thread myIP
It looks like the int values can range from -255 to 255. I was mislead, the docs has a range of values of 0 to 255. On Feb 9, 5:06 pm, myIP marckas...@gmail.com wrote: How would I be able to adjust a channel (R,G or B) using ImageView.setColorFilter by passing an instance of

[android-developers] Re: Android SDK v1.1 - changes / bug fixes or lack of

2009-02-09 Thread thesquib
Right! I missed that, thank you for the clarification. The bug mentioned has been raised source.android.com. On Feb 10, 11:36 am, Justin (Google Employee) j...@google.com wrote: If you find *new* bugs the right thing to do is file them,http://source.android.com/report-bugs. Remember to search

[android-developers] Re: How ACTION_CHOOSER picks choices for ACTION_SET_WALLPAPER

2009-02-09 Thread Rohit
I have the same question. What intent/action is used to show the Wallpaper chooser after the initial ACTION_CHOOSER to show the possible choices for setting the wallpaper from? Thanks Rohit On Feb 2, 3:23 pm, Layeeq nlah...@gmail.com wrote: In Launcher application,  ACTION_CHOOSER intent is

[android-developers] Re: How ACTION_CHOOSER picks choices for ACTION_SET_WALLPAPER

2009-02-09 Thread Dianne Hackborn
I'm not sure I understand your question. When you use ACTION_CHOOSER, you are bringing up a dialog showing all of the activities that have an intent-filter matching the Intent you have supplied. When the user selects one of those, it simply launches the Intent you originally specified with the

[android-developers] Re: Will the addPreferredActivity method available in the future?

2009-02-09 Thread Dianne Hackborn
You don't get to do that. The user gets to decide which activities they prefer. This is the last time I am answering this question. On Mon, Feb 9, 2009 at 9:35 AM, Sei sei.y...@gmail.com wrote: All, Per this thread, http://groups.google.com/group/android-developers/msg/79752885135cc87b,

[android-developers] Re: Repeating alarms with AlarmManager and daylight saving / leap years

2009-02-09 Thread Dianne Hackborn
Yes, just schedule a new alarm each time with the exact time you want if it is critical for you. On Mon, Feb 9, 2009 at 2:25 PM, lorenz lorenz.fisc...@gmail.com wrote: Hey I'm looking for a way to trigger repeated actions. I'd like the user to be able to choose the intervals at which these

[android-developers] openGL normal mapping

2009-02-09 Thread Patrick
Is it possible at this time to get normal mapping to work on android? I'm asking because it would involve the use of GL_DOT3_RGB, which is in the GL11 specs, not GL10. But GL11 is indicated as not completely supported... Is there an official list of GL11 features that do not work, or is it

[android-developers] Re: Sub Activities in Tabs?

2009-02-09 Thread Dianne Hackborn
Sorry, this really isn't supported. Activities inside of tabs is currently a really special-cased thing, with very limited features. On Mon, Feb 9, 2009 at 8:10 AM, kilobike u...@kuessner.org wrote: Hi All, I have a tabbed applicationen setup. I like to keep the tabs visible at all times

[android-developers] Re: DEFAULT_ALL crashes app

2009-02-09 Thread 3D
Has anyone else experienced this? It crashes both on the emulator and my G1. On Feb 9, 1:13 am, 3D ernestgfre...@gmail.com wrote: I've been using: Notification.DEFAULT_SOUND for quite some time with great success.  When I replace that with: Notification.DEFAULT_ALL the program crashes

[android-developers] Re: DEFAULT_ALL crashes app

2009-02-09 Thread Dianne Hackborn
At the very least you should post a stack crawl. On Mon, Feb 9, 2009 at 4:01 PM, 3D ernestgfre...@gmail.com wrote: Has anyone else experienced this? It crashes both on the emulator and my G1. On Feb 9, 1:13 am, 3D ernestgfre...@gmail.com wrote: I've been using:

[android-developers] Where is a system-image for DP1?

2009-02-09 Thread Keiji Ariyama
Hi folks, I downloaded new Android SDK 1.1 release 1. But I cannot find new system image for Dev Phone 1. I thought that new system-image will be included in new SDK. Where is a system-image for DP1? -- Keiji, ml_andr...@c-lis.co.jp --~--~-~--~~~---~--~~ You

[android-developers] Re: Where is a system-image for DP1?

2009-02-09 Thread Jean-Baptiste Queru
We're working on it. JBQ On Mon, Feb 9, 2009 at 4:48 PM, Keiji Ariyama ml_andr...@c-lis.co.jp wrote: Hi folks, I downloaded new Android SDK 1.1 release 1. But I cannot find new system image for Dev Phone 1. I thought that new system-image will be included in new SDK. Where is a

[android-developers] Question about Preference Screen

2009-02-09 Thread robert
Hi All: When I see the doc of Preference Screen, there is one paragraph about the sub-preference screen related to dialog, the doc is as follow: --- When it appears inside another preference hierarchy, it is shown and serves as the gateway to another screen of preferences (either

[android-developers] Re: access to class not allowed

2009-02-09 Thread johnny
I am sure that is the problem. I hacked the dalvik and uncommented the line to check if the class is public. And then the application can be launched. So thank you very much for the hints. On Feb 10, 5:34 am, fadden fad...@android.com wrote: On Feb 7, 1:09 am, johnny johnny...@gmail.com wrote:

[android-developers] Re: DEFAULT_ALL crashes app

2009-02-09 Thread 3D
Ok, I found the problem and it is simple... I needed vibrate permission in the manifest! Am I really the only noob making this mistake though... Anyway, just add: uses-permission android:name=android.permission.VIBRATE / inside the manifest tag (same level as application) and you are

[android-developers] Re: MMS message length

2009-02-09 Thread 배범석
You can simply change it from String.xml file :-) string name=pref_default_mms_max_size50/string It is 500KB for now :-) However, some MMSCs do not accept a MMS bigger than 300KB~ So, you have to be careful to chnage it~ 2009/2/7 Ajith ajith.manhach...@gmail.com Is there an API to

[android-developers] Communicating with a Looper thread

2009-02-09 Thread JS
I need a message queue in my background thread, so I created a looper thread. // Example 1: class LooperThread extends Thread { public Handler mHandler; public void run() { Looper.prepare(); mHandler = new Handler() { public void handleMessage(Message msg) {

[android-developers] Re: MMS message length

2009-02-09 Thread TheEric
You can simply change it from String.xml file :-) string name=pref_default_mms_max_size50/string It is 500KB for now :-) However, some MMSCs do not accept a MMS bigger than 300KB~ So, you have to be careful to chnage it~ 2009/2/7 Ajith ajith.manhach...@gmail.com Is there an API to

[android-developers] Re: Question about Preference Screen

2009-02-09 Thread Christoph Studer
When the PreferenceActivity encounters nested PreferenceScreens in the hierarchy, it will add the inner PreferenceScreen as a list entry (similar appearance as e.g. for a EditTextPreference) to the outer PreferenceScreen. When the user clicks on this list entry, the contents of the inner

[android-developers] Re: Voice Recognition like in Voice Search? (STT)

2009-02-09 Thread Christoph Studer
You can find the doc for 1.1 on the new homepage: http://developer.android.com/reference/packages.html AFAIK voice recognition is not part of the SDK, at least it's not mentioned in the changes: http://developer.android.com/sdk/android-1.1.html#api-changes Christoph On Mon, Feb 9, 2009 at

[android-developers] Re: Possible Bug in Dialog-Persistence (onCreateDialog / onPrepareDialog)

2009-02-09 Thread Soonil Nagarkar
I just discovered the same issue, that when the screen orientation is changed, and the owner is recreated, any dialogs are recreated with onCreateDialog but onPrepareDialog does not appear to be called. The relevant sections of code can be found in Activity.java and Dialog.java. When the dialogs

[android-developers] Re: Where is a system-image for DP1?

2009-02-09 Thread Keiji Ariyama
Jean, Thank you for your response. I'm looking forward install new system image to my phone. Regards, keiji Jean-Baptiste Queru wrote: We're working on it. JBQ On Mon, Feb 9, 2009 at 4:48 PM, Keiji Ariyama ml_andr...@c-lis.co.jp wrote: Hi folks, I downloaded new Android SDK 1.1

[android-developers] Re: Question about Preference Screen

2009-02-09 Thread robert
Dear Christoph Thanks for ur reply:) I've tried as you said and I got the concept of the structure.But there is still a problem when I use the getDialog() method. I found that the return of this method is null when using it in my program but not null when I use ddms to debug and check the

[android-developers] Re: Communicating with a Looper thread

2009-02-09 Thread Dianne Hackborn
You don't need to know, as long as you can get the Handler you can post messages to it and the thread will process them in order once it is running. On Mon, Feb 9, 2009 at 5:35 PM, JS yevm...@gmail.com wrote: I need a message queue in my background thread, so I created a looper thread. //

[android-developers] Re: Touch screen response delay

2009-02-09 Thread Tom Gibara
I've finally nailed a semi-reproducible test case for this and have raised an issue: http://code.google.com/p/android/issues/detail?id=1956 This is a nasty bug - I think it's a showstopper for me in this application: I have too much state associated with touch events to avoid synchronization and

[android-developers] Re: Question about Preference Screen

2009-02-09 Thread Christoph Studer
From the code here: http://android.git.kernel.org/?p=platform/frameworks/base.git;a=blob;f=core/java/android/preference/PreferenceScreen.java;h=9929b963755e03609c37822b01fe101f3ce575a2;hb=HEAD it looks like mDialog is only valid when that particular (inner) PreferenceScreen is shown, i.e. when

[android-developers] openGL : Render to texture

2009-02-09 Thread Patrick
Is it possible on Android to use the result of a render as a texture for the next render? To render, I need to call eglMakeCurrent and specify the surface to render to. No problem. I create the main user display surface using eglCreateWindowSurface, and create an additional render targets by

[android-developers] Re: Communicating with a Looper thread

2009-02-09 Thread JS
Dianne, But how do I get the handle? My handle is created in run(). From the main thread of control, how do I know when run() finished creating my handle? Thanks On Feb 9, 6:18 pm, Dianne Hackborn hack...@android.com wrote: You don't need to know, as long as you can get the Handler you can

[android-developers] Views

2009-02-09 Thread Bobbie
I have a couple different questions: 1) Does Google think there will only be one screen size on Android phones? The reason I ask is because I haven't been able to find anything on variable layouts in Android? I would like to create a layout with 2 webviews, one 80% of screen height and the

[android-developers] Re: Communicating with a Looper thread

2009-02-09 Thread Dianne Hackborn
Oh I missed that you are writing your own special Thread. You probably shouldn't use Thread unless you know how to do regular Java synchronization, which is what you need to do here. The framework has a HandlerThread class that does all of this for you. On Mon, Feb 9, 2009 at 6:30 PM, JS

[android-developers] Re: Failed to execute the Launcher built by myself

2009-02-09 Thread Gerald
Attach log from logcat: - pid 403 at 2009-02-10 02:40:11 - Cmd line: com.android.mylauncher DALVIK THREADS: main prio=5 tid=3 NATIVE | group=main sCount=1 dsCount=0 s=0 obj=0x40018dd8 | sysTid=403 nice=0 sched=0/0 handle=-1096160100 at android.os.BinderProxy.transact(Native Method)

[android-developers] Re: Failed to execute the Launcher built by myself

2009-02-09 Thread Gerald
Attach exception message: Unable to start activity ComponentInfo{com.android.mylauncher/ com.android.mylauncher.Launcher}: android.view.InflateException: Binary XML file line #40: Error inflating class java.lang.reflect.Constructor The 40 line of my launcher.xml is the start tag of

[android-developers] Re: Question about Preference Screen

2009-02-09 Thread robert
I just try to invoke the method and make sure their functions, so it's weird when I got null when invoked getDialog() I'll try as you said in inner screen later and post the result here. Thanks for your help! On Feb 10, 10:27 am, Christoph Studer chstu...@gmail.com wrote: From the code

[android-developers] Re: Question about Preference Screen

2009-02-09 Thread robert
Dear Christoph I got the non-null return from inner screen, just like you said, thanks a lot for your help! On Feb 10, 10:27 am, Christoph Studer chstu...@gmail.com wrote: From the code here:http://android.git.kernel.org/?p=platform/frameworks/base.git;a=blob;... it looks like mDialog is

[android-developers] Problem in going back activity

2009-02-09 Thread Komal
Hi, I am developing simple application. I have one activity which displays list of name of employees. I m fetching the employees name from database. when i click on any of the name ,i will display the next page showing details of that employee. also fetching details of employee from the database.

[android-developers] Re: Communicating with a Looper thread

2009-02-09 Thread JS
Ahh yes, I was confused there for a sec cause I had no way of figuring out whether the thread was started or not. I think this should do the trick. Thanks again! On Feb 9, 6:51 pm, Dianne Hackborn hack...@android.com wrote: Oh I missed that you are writing your own special Thread.  You

[android-developers] Re: Views

2009-02-09 Thread Romain Guy
1) Does Google think there will only be one screen size on Android phones? No. The reason I ask is because I haven't been able to find anything on variable layouts in Android? All layouts are variable. I would like to create a layout with 2 webviews, one 80% of screen height and the

[android-developers] Problem in going in back/previous activity

2009-02-09 Thread Komal
Hi, I am developing simple application. I have one activity which displays list of name of employees. I m fetching the employees name from database. when i click on any of the name ,i will display the next page showing details of that employee. also fetching details of employee from the database.

[android-developers] Re: Hi

2009-02-09 Thread Gulfam
Welcome On Feb 9, 10:10 am, Dilli dilliraomca...@gmail.com wrote: New join --~--~-~--~~~---~--~~ 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] Market numbers are weird the last few days

2009-02-09 Thread Jay-andro
Starting this past weekend, all of a sudden the Android Market numbers for new Active Users has dropped VERY sharply for my app while the new downloads are higher than usual. (This is usually a symptom of large numbers of existing users re-downloading and re-installing the app) The user comments

[android-developers] G1 device is slow

2009-02-09 Thread Rockingteam
applications on my G1 device are very slow when GPS is ON. is there any solution for this. all the applications responds with force close messsage. Regards, RockingTeam --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups

[android-developers] How to know the mac address of the device?

2009-02-09 Thread manoj
Hello frnds, I would like to the mac address of the device programmatically. Can any one please help me how to get it programmatically? thanks, Manoj. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android

[android-developers] Customization on SearchDialog

2009-02-09 Thread Marty Wang
Hi Android folks, We currently want to customize the default Android search dialog UI to have our own lookfeel. After looking into Android source code, we found out that two things of Android preventing us from doing it. 1. SearchManager declares an instance of SearchDialog as one of its

[android-developers] What's in raw data from PictureCallback of camera?

2009-02-09 Thread Xster
Hi, Our university is intending to use the Android as a platform for mobile image analysis. We're wondering what kind of information is returned in the raw format when android.hardware.Camera.takePicture() is called with a raw Camera.PictureCallback. I can't seem to find more information about it

[android-developers] Detecting Ad Hoc Wifi access points

2009-02-09 Thread Susahosh Rahman
Hi, I am developing an application on the android platform. The app performs continues WiFi scan and sends information about the list of visible access points to server. However, I need to remove all the Ad Hoc points. The android.net.wifi.ScanResult api does not seem to have any information on

[android-developers] Playing 3gpp content

2009-02-09 Thread KC
Hi, I wonder if the Windows Emulator working under Eclipse can play 3gpp content file. My program tried to play it and got the error below. [2009-02-09 18:06:36 - DeviceMonitor]Error reading jdwp list: EOF [2009-02-09 18:06:36 - DeviceMonitor]Connection Failure when starting to monitor device

[android-developers] service permissions problem

2009-02-09 Thread flatmax
Hello, I have a service which uses the RECORD_AUDIO permission. I have set up my androidmanifest.xml file as I would expect to enable that permissions (it is included below) For some reason when I start the service - from the service controller - I get the following problem :

[android-developers] 3gpp files

2009-02-09 Thread KC
I have a video file in 3gpp format and I can use QuickTime to play it. But when tried with the SDK Windows emulator, I got the error msg: [2009-02-09 14:46:23 - DeviceMonitor]Error reading jdwp list: EOF [2009-02-09 14:46:23 - DeviceMonitor]Connection Failure when starting to monitor device

[android-developers] Re: Voice Recognition like in Voice Search? (STT)

2009-02-09 Thread sscalp...@gmail.com
The package android.speech.srec is in the master SDK. It's documented as a simple, synchronous SREC speech recognition API. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this

[android-developers] regarding running jni over android

2009-02-09 Thread guruuraja joshi
hi ,i have some doubts about android.we have a mpeg 4 player in linux which is completly written in c. i want toport it into android, but android supports java applications.can we write ashared library in linux(.so)which include all api's and use them from java frontend.if it is possiblehow to

[android-developers] Re: Android SDK v1.1 - changes / bug fixes or lack of

2009-02-09 Thread Joel Stanley
On Tue, Feb 10, 2009 at 08:00, Mark Murphy mmur...@commonsware.com wrote: http://developer.android.com/sdk/1.1_r1/index.html The new website doesn't display correctly on the Android browser - it doesn't allow vertical scrolling. Joel --~--~-~--~~~---~--~~ You

[android-developers] Re: service permissions problem

2009-02-09 Thread Matt Flax
Solution found ... On Tue, Feb 10, 2009 at 12:13 PM, flatmax flat...@gmail.com wrote: Hello, I have a service which uses the RECORD_AUDIO permission. I have set up my androidmanifest.xml file as I would expect to enable that permissions (it is included below) For some reason when I start

[android-developers] How to add the superscript affect to the string?

2009-02-09 Thread manoj
Hi frnds, I would like to write m2 (m to the power of 2, 2 should be on top of m in lower case). Can any one please tell me how to do this? Thanks, Manoj. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android

[android-developers] some question about Pictures

2009-02-09 Thread birdy
Hi all: I have some questions about AP-Pictures. 1.Android support jpg, png and gif file formate. Can Pictures show *.gif file? I put some gif file in /sdcard, but those files do not in the list. 2.Pictures will auto list still images(jpg , png) in /sdcard, can it show still image from

[android-developers] Re: How can I launch the built-in picture viewer app from my app?

2009-02-09 Thread Freddy
ok, thanks, I got the picture viewer to spawn but it doesn't display any new pictures since the viewer was run the first time. If I reset the phone (i.e. the picture viewer is forced to restart and rescan pictures) and launch the viewer again then the new pictures are displayed as expected (so

[android-developers] Font height

2009-02-09 Thread Muthu Kumar K.
Hi All, I have the TextView in my code, here i want to get the height of the text. So any one tell me how can i get it. Thanks in Advance, Muthu Kumar K. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android

[android-developers] Re: Android SDK v1.1 due soon?

2009-02-09 Thread Robert Green
Is 1.1 SDK running the exact same codebase as RC33 or does RC33 have more? I'm just confused as to where the cupcake branch lies in all of this. I thought it went into RC33 and then I figured we'd have an SDK which matched that, but this doesn't appear to be it. Anyone? On Feb 9, 4:28 pm,

[android-developers] Re: openGL normal mapping

2009-02-09 Thread suhas gavas
Hi Patrik, It can be possible . like i have used some of GL11 apis like VBO . so give it a try . Just type cast it and use Regards, sUHAS On Tue, Feb 10, 2009 at 5:13 AM, Patrick bpatm...@gmail.com wrote: Is it possible at this time to get normal mapping to work on

[android-developers] Re: Reg playing youtube video in android

2009-02-09 Thread Harishkumar V
Michael, using browser running in the android in emulator mode, i launched http://m.youtube.com. it opened up a page contaning list of video files. when i click any one of them, it starts to load video, but finally it fails with the message, Sorry, this video cannot be played. using adb logcat,

[android-developers] Re: Multimedia buffering

2009-02-09 Thread AliBaba
How to set darwin streaming server on windows ? from where i can download it for windows ? -AliBaba --~--~-~--~~~---~--~~ 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: Android SDK v1.1 due soon?

2009-02-09 Thread Romain Guy
Cupcake is not RC33, it's a future version of Android. RC33 is something between 1.0 and Cupcake. On Mon, Feb 9, 2009 at 10:32 PM, Robert Green rbgrn@gmail.com wrote: Is 1.1 SDK running the exact same codebase as RC33 or does RC33 have more? I'm just confused as to where the cupcake

[android-developers] Re: Changing foreground or background color of title text of a Dialog

2009-02-09 Thread Inderjeet Singh
That did it. Thank you very much! On Mon, Feb 9, 2009 at 2:56 AM, Chander Pechetty cspeche...@gmail.com wrote: You can also set the theme, in your style.xml style name=myCoolDialog parent=android:Theme.Dialog item name=android:windowBackground@drawable/blue/item item

[android-developers] Re: access to internal telephony

2009-02-09 Thread shimo...@gmail.com
Hi, Can you share the code snippet you use to call, for example - 212333,4;444 ? (the comma should yield a timed pause, the ';' - a hard pause - waiting for the user to acknowledge before dialing) Thanks ! On Feb 9, 1:19 pm, legerb drim...@gmail.com wrote: I had problems with the

[android-developers] Re: Radio Off

2009-02-09 Thread Nick Pelly
On Mon, Feb 9, 2009 at 4:44 AM, Stanley.lei xiaofeng.lei...@gmail.comwrote: I also met this issue. I have tried to use the System.putInt (RadioSetting.this.getContentResolver(), System.AIRPLANE_MODE_ON, state) to set the state of the AIRPLANE_MODE, but it has no effect. Does anyone have

[android-developers] hi cant download

2009-02-09 Thread msmsmukesh
Hi all,I cant download the android books. Please help me. Thanks Mukesh. --~--~-~--~~~---~--~~ 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] Dose anyone know if there is new firmware for ADP1?

2009-02-09 Thread monkeypipi
I searched the web and only found the latest firmware version for ADP1 should be the 1.1. But it's not the rc33 and lack some new features as Latitude. As a dev phone, ADP1 should have more advanced features than normal G1 firmware, isn't it? Or can I check out the latest source and build the

[android-developers] Re: Reg playing youtube video in android

2009-02-09 Thread Dave Sparks
I'm pretty sure this is due to the way the emulator handles UDP packets. There is an outstanding bug about this, but no one has had time to work on it. On Feb 9, 10:59 pm, Harishkumar V harishpres...@gmail.com wrote: Michael, using browser running in the android in emulator mode, i

<    1   2