[android-developers] Re: how does notepad_list and notes_row joined in Notepadv1

2008-12-09 Thread super
Thank you very much!!! I get it! Thank you ! --~--~-~--~~~---~--~~ 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

[android-developers] Crop Image Problem

2008-12-09 Thread Gil
Hi, I am using the code below to start the crop image activity. The photoUri is obtained by picking a photo. The crop activity is displayed as expected. When the activity terminates due to the user clicking 'Save' onActivityResult gets called, there are no errors in LogCat yet the output file is

[android-developers] Re: java.util.Timer NOT make sense in Activity?

2008-12-09 Thread cindy
I used timer.schedule(timerTask,0,1000); then use timer.cancel() to stop the job. It works fine. But after I call timer.schedule(timerTask, 0,1000) again to start the same task, android crashed. Following is my timerTask code. So I guess Timer is not work in android: class updateTime extends Tim

[android-developers] Re: java.util.Timer NOT make sense in Activity?

2008-12-09 Thread Xiongzh
RunOnUiThread had been removed since Android SDK m5, so I gave up reimplementing my 'hello world' by it. http://code.google.com/android/migrating/m5-0.9/changes-overview.html --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Gr

[android-developers] Re: scrollbar using apis

2008-12-09 Thread Shubham
Hi, Many Views provide for scrollbar automatically (if the right properties are enabled). See the concerned View's docs for details. If you have a question specific to any view, post your query here. --Shubham On Dec 9, 10:04 am, "diya blore" <[EMAIL PROTECTED]> wrote: > Hi All.i m new to andro

[android-developers] Re: java.util.Timer NOT make sense in Activity?

2008-12-09 Thread Xiongzh
My reimplementation using view.postDelay(Runnable action, long milliseconds); package com.example.android.helloactivity; import android.app.Activity; import android.os.Bundle; import android.widget.EditText; /** * A minimal "Hello, World!" application. */ public class HelloActivity extends Ac

[android-developers] Re: java.util.Timer NOT make sense in Activity?

2008-12-09 Thread Shubham
Hi, Checkout http://androidomeda.blogspot.com/2008/12/mychrono-simple-ticker.html for a class that provides Ticks at specified interval. It uses Handlers to post a runnable. I had written because i was also facing the same issue, updating UI from a timer thread. --Shubham On Dec 10, 10:55 am, a

[android-developers] Re: java.util.Timer NOT make sense in Activity?

2008-12-09 Thread Xiongzh
Thank you! I also benefited from http://android-developers.blogspot.com/2007/11/stitch-in-time.html My re-implementation using handler is: /* * Copyright (C) 2007 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance

[android-developers] Re:MenuBuilder

2008-12-09 Thread diya blore
Hi All,Do we have MenuBuilder object in android api's? -- 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 to android-developers@go

[android-developers] Re: how does notepad_list and notes_row joined in Notepadv1

2008-12-09 Thread Shubham
Hi, notes_row specifies an element that is used to display an individual row in the ListView. In essence the ListView needs a View on how to display each row. This is specified when you do: SimpleCursorAdapter notes = new SimpleCursorAdapter(this, R.layout.notes_row, c, from, to);

[android-developers] Re: java.util.Timer NOT make sense in Activity?

2008-12-09 Thread april
Could you please give us a sample code? Thanks! Cindy On Dec 9, 2:38 pm, "Dianne Hackborn" <[EMAIL PROTECTED]> wrote: > Don't use the alarm manager for this kind of thing. The best thing is to > use Handler with delayed messages. > > And Timer works fine, the problem is that a Timer runs in a

[android-developers] Re: need help for MediaRecorder

2008-12-09 Thread Lei
Thanks a lot! On Dec 10, 1:20 pm, mnj <[EMAIL PROTECTED]> wrote: > Hi, > > Check the link  http://code.google.com/android/devel/security.html > andhttp://code.google.com/android/reference/android/Manifest.permission > > "A central design point of the Android security architecture is that > no

[android-developers] MapActivity Problem --Debugs but won't launch from signed apk.

2008-12-09 Thread joshbeck
Problem: -I have the simplest MapActivity known to Android. (Code Below) -In Eclipse I run as->Android Application (G1 connected in debug mode.) -Works fine. Gray Grid is displayed. -Once I export, sign, and download it to my phone as an apk it says: -Install Successful!

[android-developers] Re: Error generating final archive: null

2008-12-09 Thread Birds
Hi all. Env:Linux Fedoral Jdk 1.6 Eclipse 3.4 I use Android Eclipse Plugin. 1. First , I create Simple Android Project , HelloWorld Project, 2. When I start run this project and found this error: generating final archive:nu

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

2008-12-09 Thread yasmin afrose
Hi Andrew, Thanks a lot for your kind information. Surely I'll go through the site. I hope I'm able to fix my issue. Thanks for your time!!! Yasmin On Sat, Dec 6, 2008 at 7:23 AM, Andrew Stadler <[EMAIL PROTECTED]> wrote: > > Yasmin, if you're not sure where the sample apps are, you may want

[android-developers] problem answering a call

2008-12-09 Thread dreamerBoy
code: try { // answer the phone Intent myIntent = new Intent(Intent.ACTION_ANSWER); myIntent.setFlags(Intent.FLAG_ACTIVITY_SINGLE_TOP // | Intent.FLAG_DEBUG_LOG_RESOLUTION // | Intent.FLAG_FROM_BACKGROUND // | Int

[android-developers] Exception is raised when remove the last item in ExpandedListView

2008-12-09 Thread Stanley.lei
Hi all, I'm developing an application like management system, and I used the widget ExpandedListView as the display view. Instead of connecting it to sqlite database directly, I created two list as the dataset. The detailed code is as following list: private List>mGroupType = new ArrayList>(

[android-developers] HessianProxyFactory Problem

2008-12-09 Thread Stephen
While importing external hessian to replace webservice, I have application crashes if I use the library from anyone encountered error if code below wrote com.caucho.hessian.client.HessianProxyFactory HessianProxyFactory factor = new HessianFactoryProxy(); WARN/dalvikvm(196): Link of class 'Lc

[android-developers] how does notepad_list and notes_row joined in Notepadv1

2008-12-09 Thread super
Hi , I can't understand how notepas_list and notes_row joined in Notepadv1! can anybody help me ? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to androi

[android-developers] Re: need help for MediaRecorder

2008-12-09 Thread mnj
Hi, Check the link http://code.google.com/android/devel/security.html and http://code.google.com/android/reference/android/Manifest.permission.html "A central design point of the Android security architecture is that no application, by default, has permission to perform any operations that woul

[android-developers] Re: Seek Bar Problem

2008-12-09 Thread for android
Thanks..It works. On Tue, Dec 9, 2008 at 8:50 PM, Shubham <[EMAIL PROTECTED]> wrote: > > Hi, > > mSeekBar.setProgressDrawable(drawable); > /*This should do the Job, It works for me > Without this i see the same behavior seen by You*/ > mSeekBar.setThumbOffset(0); //Addthis > mSeekBar.setProgres

[android-developers] Re: need help for MediaRecorder

2008-12-09 Thread Lei
wow! Thank you, mnj. It works well now. And one more question, how can I know that where it needs a permission? Regards, Lei. On Dec 10, 12:36 pm, mnj <[EMAIL PROTECTED]> wrote: > Hi, > > Did you set the below permission in AndroidManifest.xml > > > > Regards, > Manoj > > On Dec 10, 9:30 am,

[android-developers] Re: need help for MediaRecorder

2008-12-09 Thread mnj
Hi, Did you set the below permission in AndroidManifest.xml Regards, Manoj On Dec 10, 9:30 am, Lei <[EMAIL PROTECTED]> wrote: > Hi all, > I want to record the audio from the micphone. But I failed. > I reference the document. And the link > is:http://code.google.com/android/toolbox/apis/medi

[android-developers] need help for MediaRecorder

2008-12-09 Thread Lei
Hi all, I want to record the audio from the micphone. But I failed. I reference the document. And the link is: http://code.google.com/android/toolbox/apis/media.html I got the file. Its size is always 1666B. I played it but hear nothing. Thanks in advance. Regards, Lei The code is : public cla

[android-developers] Re: Utterly confounded trying to create horizontal scrolling

2008-12-09 Thread Urakagi
I also has this problem. I call setHorizontalScrollBarEnabled(true) for a TextView, but the horizontal scroll bar does not appear at all. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To p

[android-developers] Re: Keeping a Service Alive

2008-12-09 Thread John Spurlock
Would you mind clarifying this a bit? What are some techniques a "legitimate" background service hosting a running mediaplayer can employ to ensure that it does not get killed by the os? We are running into this right now - our app (hosting a running mediaplayer) is hosted in a service, and we a

[android-developers] Re: Using Linkify on a TextView and event bubbling

2008-12-09 Thread Nik Bhattacharya
Note the the line: copyTo.setClickable(false) was something I had inserted while testing. Taking it out still makes the code exhibit the same behavior. Nik On Dec 9, 8:57 pm, Nik Bhattacharya <[EMAIL PROTECTED]> wrote: > Hello, > > I have the following situation.  I have a LinearLayout that h

[android-developers] Using Linkify on a TextView and event bubbling

2008-12-09 Thread Nik Bhattacharya
Hello, I have the following situation. I have a LinearLayout that has an onclick listener on it. In the linear layout, I have a TextView that has some text in it. I use Linkify on the TextView with the following intention: If there is a linkable item (I used Linkify.ALL) on the TextView, I wo

[android-developers] Re: AndroidManifest.xml file missing!

2008-12-09 Thread billt....@gmail.com
Hi Ralf, If I create it as Android Project and Select "Create project from existing source", it won't proceed further because the AndroidManifest.xml doesn't exist in the top path of the source (The "Finish" button keeps disabled). Where can I copy it from? Thanks, Bill On Dec 9, 12:05 am, Ra

[android-developers] Re: Changing Google image server

2008-12-09 Thread nknize
More specifically, can we point the MapActivity to a company owned Enterprise Earth Server that contains our own fused image layers? Currently the MapActivity pulls the Satellite and Map layers from http://google.com:80. Let's say we are disconnected from the public net but have a GEE Server on t

[android-developers] Re: Weird Map Problem (Controlling same map)

2008-12-09 Thread mscwd01
Hi Justin, I too have spent a great deal of time debugging this - with little luck. Thanks for taking the time to explain your findings, it does help to understand what was going on. In the end I chose to redesign my application and use just the one MapView - mainly due to the memory issues. Th

[android-developers] Re: Deleteing from IMAP with built-in Email application.

2008-12-09 Thread Bradley Young
Don, It is indeed open source: the K-9 project is making enhancements to the mainline email client. This is basically a stop-gap until android is able to accept patches, but we've already made several significant changes to the email client (allow self-signed certificates, exchange support is com

[android-developers] Re: http ?? how can i download the file from web??

2008-12-09 Thread 心蓝
Thx! Now my software about txt reader will be released, and the code will opened, i hope more people join us!!! more information: http://51gphone.cn/redirect.php?tid=464&goto=lastpost#lastpost 2008/12/9 loty <[EMAIL PROTECTED]> > > Dude - there is a ton of code on the net and in this forum tha

[android-developers] Re: dalvik is not getting implementation of open()

2008-12-09 Thread fadden
On Dec 9, 5:30 am, "suchita bhardwaj" <[EMAIL PROTECTED]> wrote: >             I am trying to use *com.sun.cldc.io.j2me.socket.protocol* class > in android for converting code from j2me to android. >  But dalvik vm is not getting native implementation of * protected static > native int open0(byte

[android-developers] Re: Android Project: read a txt file, speed is so slow

2008-12-09 Thread 心蓝
Now i hava a txt reader, this program can read more than 5M file! The software will be released ! U can get more information from this : http://51gphone.cn/thread-464-1-1.html and the software will open source , we hope more people join us 2008/12/10 Mark Murphy <[EMAIL PROTECTED]> > > yake

[android-developers] Re: How to force screen backlight brightness change immediately?

2008-12-09 Thread junker37
Does anybody have an answer for this? I am looking to change the brightness level as well. On Oct 30, 9:44 am, Peli <[EMAIL PROTECTED]> wrote: > It seems changing the backlight through the following code does not > affect the lightbrightnessimmediately: > > Settings.System.putInt(getContentResol

[android-developers] Re: Weird Map Problem (Controlling same map)

2008-12-09 Thread Justin (Google Employee)
Once upon a time I spent a lot of time debugging this issue, so here is what I found. ***WARNING: This information was valid on an internal version of the SDK between M5-RC15 and 0.9 beta, it may no longer be valid, test thoroughly and proceed with caution.*** First, some information about MapV

[android-developers] Re: Android Project: read a txt file, speed is so slow

2008-12-09 Thread Mark Murphy
yakebao wrote: > I have a txt file named "codecs", size is 3M, under the directory "res/ > raw/". > > This file has been splited to 25 files by the first character of each > line, such as "codecs_a, codecs_b, codecs_c, .., codecs_y". > And,each of the files contents are sorted by the first co

[android-developers] Re: changing string resources

2008-12-09 Thread Mark Murphy
Mark wrote: > However, we are trying to build an app that allows the user to > dynamically change the language the UI and content is presented in. Urk. > I > realize I could roll-my-own implementation but I was hoping there was > a standard way to support changing the locale. There might be,

[android-developers] Re: java.util.Timer NOT make sense in Activity?

2008-12-09 Thread Mark Murphy
Xiongzh wrote: > private void sayHelloWorld() { > EditText helloEditText = (EditText)findViewById(R.id.text); > helloEditText.setText("Hello world " + (++seq)); > helloEditText.invalidate(); > } sayHelloWorld() is being called from a backgroun

[android-developers] new activity from PhoneStateListener callback method

2008-12-09 Thread sthustfo
Hi, I would like to know how I can start a new activity from within the PhoneStateListener method, say onCallStateChanged(). I do understand that notifications must be used in general but since my test app deals with voice call, I was thinking of starting an activity. public class MyPhoneStateLi

[android-developers] How to scan for WiFi networks?

2008-12-09 Thread Ian
Hi everyone, I want to write an app that scans for WiFi networks and displays their signal strengths, continually updating. It seems like a no-brainer to use android.net.wifi.WifiManager.startScan() and get the results; but how? startScan() says: "The availability of the results is made known la

[android-developers] Re: java.util.Timer NOT make sense in Activity?

2008-12-09 Thread Dianne Hackborn
Don't use the alarm manager for this kind of thing. The best thing is to use Handler with delayed messages. And Timer works fine, the problem is that a Timer runs in a separate thread, and so you are trying to modify a view owned by another thread (the main thread that originally created it). On

[android-developers] Re: precision of alarms using RTC_WAKEUP

2008-12-09 Thread Dianne Hackborn
On Mon, Dec 8, 2008 at 6:43 AM, Dorn Hetzel <[EMAIL PROTECTED]> wrote: > Is there a recommended method for setting alarms that will survive a > power cycle ? No, it is very intentional in the design that they do not. -- Dianne Hackborn Android framework engineer [EMAIL PROTECTED] Note: please

[android-developers] Re: precision of alarms using RTC_WAKEUP

2008-12-09 Thread alex
Thanks Diane, it looks likely that the issue was indeed with my wake lock. Seems to be working better. On Dec 8, 12:21 am, "Dianne Hackborn" <[EMAIL PROTECTED]> wrote: > On Mon, Dec 8, 2008 at 12:18 AM, alex <[EMAIL PROTECTED]> wrote: > > My problem is that some alarms (maybe 20% of them) fire l

[android-developers] Re: How can I specify message body part in SMS intent?

2008-12-09 Thread devile...@gmail.com
Intent sendIntent = new Intent(Intent.ACTION_VIEW); sendIntent.putExtra("sms_body", "The SMS text"); sendIntent.setType("vnd.android-dir/mms-sms"); startActivity(sendIntent); Source: http://jtribe.blogspot.com/2008/12/sending-sms-using-android-intents.html On Oct 28, 12:12 am, sori <[EMAIL PROTE

[android-developers] Re: How to create bitmap directly from byte array?

2008-12-09 Thread Mike Reed
Sorry, there is no API for creating bitmaps from anything but int[] at the moment. For future reference, how should the system interpret the bytes you want to send it? Are the indices into a colortable? 332 packed? mike On Dec 9, 2008, at 2:51 AM, shuoshuo wrote: Hi, Anyone' help is ap

[android-developers] Re: why cannot stop my thread?

2008-12-09 Thread Mark K
Though android supports the j2se thread model, it may not produce the results you expect at run time. Try using thr Looper and Handler objects instead of raw threads in gui applications. Mark On Dec 9, 8:29 am, Shubham <[EMAIL PROTECTED]> wrote: > Can you pas

[android-developers] Re: Ouch the dev 1 is too expensive!!! (outside of the US)

2008-12-09 Thread Matt
Its still too expensive, around £250 all inclusive to developers would entice me. At $578, approx £392, that is more expensive than normal unlocked phones you can buy, not too tempting as a developer. On Dec 9, 3:34 pm, Al Sutton <[EMAIL PROTECTED]> wrote: > The $179 includes import taxes. >

[android-developers] Re: Why do getWidth() and related functions always return 0?

2008-12-09 Thread Keith Wiley
Thanks, very helpful info. I'll take it under advisement. Cheers! On Dec 9, 11:54 am, Ian <[EMAIL PROTECTED]> wrote: > Hi Keith, > > Yes, it's a little tricky.  And I certainly don't consider the docs to > be thorough more of a work in progress. > > Anyhow, the deal is that layout of the co

[android-developers] Re: my custom Parcelable jams on cross-process read

2008-12-09 Thread DulcetTone
Thanks, Dianne. I will continue to poke at this. The CREATOR is simply as shown below. public static final Parcelable.Creator CREATOR = new Parcelable.Creator() { public MyParcelable createFromParcel(Parcel in) { return new MyP

[android-developers] Re: How to create bitmap directly from byte array?

2008-12-09 Thread Mark K
try something like this: byte[] data = getData(); Bitmap bm=null; ByteArrayInputStream bytes = new ByteArrayInputStream(data); BitmapDrawable bmd = new BitmapDrawable(bytes); bm = bmd.getBitmap(); On Dec 8, 11:51 pm, shuoshuo <[EMAIL PROTECTED]> wrote: > Hi, >    Anyone' help is appreciated. >

[android-developers] Re: java.util.Timer NOT make sense in Activity?

2008-12-09 Thread Mark K
Try using the alarm service or use a hanlder with postDelayed (). J2SE things may be supported in Android, but you don't always get the same result, particularly with issues involving threads. M On Dec 8, 7:45 pm, Xiongzh <[EMAIL PROTECTED]> wrote: > Hi, > > I was going to

[android-developers] Re: my custom Parcelable jams on cross-process read

2008-12-09 Thread Dianne Hackborn
I don't see a problem off-hand, though you didn't include your CREATOR object. We do this kind of thing extensively in the system. On Tue, Dec 9, 2008 at 9:42 AM, DulcetTone <[EMAIL PROTECTED]> wrote: > > using SDK r1 > > I have a Parcelable I am passing successfully in an AIDL call from a > Ser

[android-developers] Re: Event when shortcut is dragged to Trash?

2008-12-09 Thread Dianne Hackborn
Sorry, there isn't really such a thing. On Tue, Dec 9, 2008 at 10:31 AM, Blake B. <[EMAIL PROTECTED]> wrote: > > Is there any kind of event or hook available for determining when a > shortcut (and which one) is dragged to the Trash button on the Home > screen? > > > -- Dianne Hackborn Android

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

2008-12-09 Thread Dianne Hackborn
On Tue, Dec 9, 2008 at 10:47 AM, Brad Gies <[EMAIL PROTECTED]> wrote: > Does android have a standardized email settings dialog box we can invoke? > Or > do we have to roll our own? There is no standard settings dialog, we already have to e-mail apps that are very different: gmail and email. I d

[android-developers] Re: How to prevent one program to be overlaped by another

2008-12-09 Thread Dianne Hackborn
Well I should qualify that -- you can always show a toast, which will temporarily overall all application windows and can't receive any input. On Tue, Dec 9, 2008 at 12:44 PM, Dianne Hackborn <[EMAIL PROTECTED]>wrote: > No, sorry. > > > On Tue, Dec 9, 2008 at 10:51 AM, [EMAIL PROTECTED] < > [EMAI

[android-developers] Re: How to prevent one program to be overlaped by another

2008-12-09 Thread Dianne Hackborn
No, sorry. On Tue, Dec 9, 2008 at 10:51 AM, [EMAIL PROTECTED] < [EMAIL PROTECTED]> wrote: > > Ok, then from another side - is it possible to overlap InCallScreen? ;) > > > -- Dianne Hackborn Android framework engineer [EMAIL PROTECTED] Note: please don't send private questions to me, as I don

[android-developers] How To Start a RTSP connection

2008-12-09 Thread Jona
Could someone help me figure out how to initialize the MediaPlayer to play an RTSP link? The link is only audio there is no video... would this matter? Thanksin Advance!!! Jona --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Goog

[android-developers] Re: changing string resources

2008-12-09 Thread Dianne Hackborn
The localization stuff is really intended to be driven by an overall language selected by the user for the device (which will appear in a future release). If you want to force a language, you could probably force the Configuration for your resources to be set to the desired language, but you'll ne

[android-developers] Re: Building on Ant

2008-12-09 Thread Fred Grott(shareme)
Just install JDK in directory without spaces and than set JAVA HOME to that and the problem will go away On Dec 9, 2:34 pm, "Fred Grott(shareme)" <[EMAIL PROTECTED]> wrote: > Tharun install JDK in directory without spaces and tell ant to find > the tools.jar from that install..ie Ant should be la

[android-developers] Re: Building on Ant

2008-12-09 Thread Fred Grott(shareme)
Tharun install JDK in directory without spaces and tell ant to find the tools.jar from that install..ie Ant should be launched from your jdk install.. Its only a headache on windows :) On Dec 9, 6:49 am, "Tharun Kumar" <[EMAIL PROTECTED]> wrote: > Hi, > > I'm trying to build on Ant. But I'm stuc

[android-developers] Secvuirty WebView-Webkit

2008-12-09 Thread Fred Grott(shareme)
Hello, I am developing an app using webkit embedded webview and thus want to secure user info and passwords. My thinking was to use a native java class to encrypt such info and stick in app preferences. Does Google have any guidelines on this? Mobile is different in that most 'stolen' handset

[android-developers] Re: Deleteing from IMAP with built-in Email application.

2008-12-09 Thread Don Pellegrino
Is the code for the built-in Email application open-source? If so, could I checkout the patched copy from the repository and do my own build? If not, has a date been set for the update and how would I receive the update? --~--~-~--~~~---~--~~ You received this mes

[android-developers] Re: Building on Ant

2008-12-09 Thread Pierre Bonnefoy
You'd rather keep the build.xml file where it currently is.You'd rather indicate ant how to find the buildfile using an option. Should be --build or --buildfile (???). ant --help should help you find out the correct option to use. 2008/12/9 Tharun Kumar <[EMAIL PROTECTED]> > > Hi, > > I'm trying

[android-developers] Re: Why do getWidth() and related functions always return 0?

2008-12-09 Thread Ian
Hi Keith, Yes, it's a little tricky. And I certainly don't consider the docs to be thorough more of a work in progress. Anyhow, the deal is that layout of the contents of a window happens *after* all the elements are constructed and added to their parent views. It has to be this way, becau

[android-developers] Re: MapActivity / MapView causes application to crash at startup

2008-12-09 Thread Aldo Neto
Never mind. I was adding the LIB in the wrong place of the Manifest.XML file. Thanks anyway. On Tue, Dec 9, 2008 at 3:43 PM, Alemao <[EMAIL PROTECTED]> wrote: > > I'm also having the same issue. I even tried a very simple example > from Android's documentation (http://code.google.com/android/sam

[android-developers] Re: Android Dev Phone 1 Specification

2008-12-09 Thread camurphy
I was wondering if the Gmail and Calendar applications will be included in the system image? They are not included in the emulator. Also when do the devices start shipping? On Dec 9, 4:50 am, szeldon <[EMAIL PROTECTED]> wrote: > What a relief... I thought so, but it's great to be sure. I think th

[android-developers] Android Dev Phone 1

2008-12-09 Thread Joel
Thought this would be the best place to post this, as the Dev Phone is clearly not for typical users. However, on any of the pages with information about the Dev Phone 1, I don't see whether it supports the Android Market. Seems like it should be a simple question, so I'll post it as a yes/no.

[android-developers] Re: Android Dev Phone 1™

2008-12-09 Thread Roy M
Hello, On Dec 9, 10:42 pm, Malefico <[EMAIL PROTECTED]> wrote: >  $399 + $179 shipping ( including TAX ) 1. Is $399 tax included (in US) 2. Is the phone ready in US right now? How long does shipping take? (I havn't had the andrioid market account to see the detail) Thanks --~--~-~-

[android-developers] java.util.Timer NOT make sense in Activity?

2008-12-09 Thread Xiongzh
Hi, I was going to update the 'hello world' message in a edit text box by java.util.Timer. But it did not work as in a simple Java application. Maybe the way in Android is to put the timer in a service. But I'll like to know the reason: why does java.util.Timer not make sense in Activity? Thank

[android-developers] android.provider.Settings.System

2008-12-09 Thread Kah-Neth
I am trying to use android.provider.Settings.System.getInt and putInt to enable and disable bluetooth and enable/disable wifi as follows android.provider.Settings.System.putInt(getContentResolver(), android.provider.Settings.System.BLUETOOTH_ON, enable);android.provider.Settings.System.putInt(getC

[android-developers] Eclipse cannot find MediaMetadataRetriever class

2008-12-09 Thread Shubham
Hi, I am using Eclipse Ganymede with Android SDK 1.0 r1 on a WinXP. I am trying to import android.media.MediaMetadataRetriever but it seems that this class is not part of the SDK, even though other classes such as MediaPlayer are there. Any idea how do i fix it? Thanks, Shubham --~--~

[android-developers] changing string resources

2008-12-09 Thread Mark
I have read the following from the online doc: You can supply different resources for your product according to the UI language or hardware configuration on the device. Note that although you can include different string, layout, and other resources, the SDK does not expose methods to let you spe

[android-developers] com.google.android.AbstractGDataSyncAdapter

2008-12-09 Thread nongmin
Does anybody know where is this class defined in the source tree? - Search turns up nothing. Is it not released in java source? - Wen --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To pos

[android-developers] Re: Receiving SMS Messages in 1.0?

2008-12-09 Thread [EMAIL PROTECTED]
Cristina, First off, thanks for the code, I have been looking everywhere for this and was annoyed to only find references to code from the outdated SDK's. Just a couple of questions for you. I'm trying to implement your code above and was wondering what permissions need to be added to the manifes

[android-developers] Re: Kalman Filters for the GPS data

2008-12-09 Thread wellwatch
I've done some work with GPS and INS systems, and essentially what an extended Kalman filter (GPS/INS data is not linear so you can't use a linear function to represent it, and this is what the EKF was invented for correcting) is a way of correcting a measured value with an estimate. I can estima

[android-developers] Re: How to open the keyboard in emulator?

2008-12-09 Thread duan...@gmail.com
Thank you! On 11月8日, 下午10时03分, Android Shadow <[EMAIL PROTECTED]> wrote: > Hi firewallbreak, > > I think I find the answer. > > the emulator can only support sms input when the phone lying down. > you can use "CTRL + F11" or num pad 7 to do it. > > B.R. > Shadow > > On Nov 8, 12:39 pm, "[EMAIL PR

[android-developers] Android Project: read a txt file, speed is so slow

2008-12-09 Thread yakebao
I have a txt file named "codecs", size is 3M, under the directory "res/ raw/". This file has been splited to 25 files by the first character of each line, such as "codecs_a, codecs_b, codecs_c, .., codecs_y". And,each of the files contents are sorted by the first colum (ASC). Now, I use the

[android-developers] Building on Ant

2008-12-09 Thread Tharun Kumar
Hi, I'm trying to build on Ant. But I'm stuck with a thing. When I try to run ant, I'm getting following error note on command prompt. I've copied the build.xml inside java folder. D:\Tharun\DM_LJ\Android\apache-ant-1.7.1-bin\apache-ant-1.7.1\bin>ant Unable to locate tools.jar. Expected to find

[android-developers] Re: Android Dev Phone 1™

2008-12-09 Thread howa
On 12月9日, 下午10時42分, Malefico <[EMAIL PROTECTED]> wrote: > $399 + $179 shipping ( including TAX ) > Is the phone ready now? If I order in US today, how long I can receive the phone? --~--~-~--~~~---~--~~ You received this message because you are subscribed to t

[android-developers] Re: MapActivity / MapView causes application to crash at startup

2008-12-09 Thread Alemao
I'm also having the same issue. I even tried a very simple example from Android's documentation (http://code.google.com/android/samples/ ApiDemos/src/com/example/android/apis/view/MapViewDemo.html) but the result is the same: "Application has stopped unexpectedly". I added all the permissions (ht

[android-developers] Android Dev Phone detail?

2008-12-09 Thread howa
Hello, I havn't joined Android Market but I want to know more detail about Android Dev Phone, such as deliverly time, condition etc. For guy who has Android Market account, can you post the detail here? Thank you very much. --~--~-~--~~~---~--~~ You received t

[android-developers] How can I add a jar file to android app?

2008-12-09 Thread Hydrian
Hello :) I'm developing a application which runs on android. and I want to use a jar library file. so I add the file in ./lib folder and I set buildpath. However in emulator, ClassNotFoundException is thrown.. and I tried to make an external jar .. I got VerifyError but even these trying... al

[android-developers] Re: developer needed to write a theme application

2008-12-09 Thread Kenny Yu
I've been working on Motorola MING's and V8 Skinning, studying Android. Let me know your expectation and requirements. Kenny On Dec 9, 3:07 am, androidinsider <[EMAIL PROTECTED]> wrote: > Greetings, > > Android Insider is looking for a developer to create a theme > application that switches betw

[android-developers] Re: Seek Bar Problem

2008-12-09 Thread Shubham
Hi, mSeekBar.setProgressDrawable(drawable); /*This should do the Job, It works for me Without this i see the same behavior seen by You*/ mSeekBar.setThumbOffset(0); //Addthis mSeekBar.setProgress(0); Thanks, Shubham On Dec 1, 6:07 pm, "for android" <[EMAIL PROTECTED]> wrote: > I have seek ba

[android-developers] Google G1 for developers Shipping cost $170!? is this a joke?

2008-12-09 Thread sparklehedge...@hotmail.com
Hello I was trying to purchase the G1 unlocked for developers this morning for $399 and when i got to the shipping charge it said $170+ which i think to the UK is outrageous! Is this a misprint or is it really that stupid a price!? Please help as this is stopping me getting the unlocked G1. Reg

[android-developers] RE:scrollbar using apis

2008-12-09 Thread diya blore
Hi All.i m new to android any one help me.. how to implement scrollbar using api's. Thanks 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 to

[android-developers] Draw primitives and Video

2008-12-09 Thread chabfive
Hi everyone, I have some problems to draw primitives on a SurfaceView's canvas and to display a video on another SurfaceView in the same time. When I start the video, this one works but primitives which are previously displayed are no more displayed. Because SurfaceHolder.lockCanvas() return nul

[android-developers] How to make an application run at boot-up?

2008-12-09 Thread VVPrasad
Hi, Can some one please help us know how to make an application run at boot-up? Thanks in advance --VVPrasad --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send em

[android-developers] Re: why cannot stop my thread?

2008-12-09 Thread Shubham
Can you paste your code: Ideally to stop your thread you have to call yourThread.stop() also if you can have a while loop like this: public void run() { while(yourThread.isAlive() ) { /*Code*/ } } --Shubham On Dec 9, 6:20 pm, Linker <[EMAIL PROTECTED]> wrote: > 12-09 21:18:28.633:

[android-developers] Documents for Opencore

2008-12-09 Thread scs
Did PV released the opencore document for any additional media porting activity? I would like to integrate some new parsers and codec into Android. But there is no clear data and control flow document available to integrate the new support to android system. Any body have the details? --~--~

[android-developers] How to create bitmap directly from byte array?

2008-12-09 Thread shuoshuo
Hi, Anyone' help is appreciated. I now want to create bitmap using a byte array which contains the pixels data, one byte correspond one pixel. But I found that the no api of bitmap accept bytearray, only int [] , 4 bytes correspond one pixel. If I convert my bytearray to int[], it will co

[android-developers] AbstractGDataSyncAdapter

2008-12-09 Thread nongmin
Greetings. Need to help to find where the AbstractGDataSyncAdapter class is defined. The class is referenced by ContactsSyncAdapter.java but no file named AbstractGDataSyncAdapter.java turned up in a 'find'. I was successful compiling the Android source but surely entered problem that ContactsSync

[android-developers] Re: How to run application at boot up

2008-12-09 Thread Ludwig
I wrote this a while ago on starting a service at boot time: http://androidgps.blogspot.com/2008/09/starting-android-service-at-boot-time.html HTH Ludwig 2008/12/9 Chandrakar Aravind-rqj386 <[EMAIL PROTECTED]> > Hi, > how we can make application run at boot up ? > Thank you > Arvind > > > > -

[android-developers] Re: How to prevent one program to be overlaped by another

2008-12-09 Thread rob...@diprotector.com
Ok, then from another side - is it possible to overlap InCallScreen? ;) --~--~-~--~~~---~--~~ 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.c

[android-developers] Re: Why do getWidth() and related functions always return 0?

2008-12-09 Thread Keith Wiley
I'm sorry, I really don't know what you're trying to point me to. I have thoroughly read the docs for the class android.view.View. Is that what you're referring to when you say "View docs on layout" or do you mean a different document? I am afraid that while that documentation is clearly thorou

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

2008-12-09 Thread Brad Gies
I don't think having the user enter their email information one time for each app that needs it a big deal. Does android have a standardized email settings dialog box we can invoke? Or do we have to roll our own? If there isn't one already that would be a great little project for someone that

[android-developers] Event when shortcut is dragged to Trash?

2008-12-09 Thread Blake B.
Is there any kind of event or hook available for determining when a shortcut (and which one) is dragged to the Trash button on the Home screen? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group

[android-developers] Re: my custom Parcelable jams on cross-process read

2008-12-09 Thread DulcetTone
Further information: I am able to call functions across this same boundary that merely pass a String and cause it to print on the remote side. Still puzzling on it. :/ tone --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Goog

  1   2   >