[android-developers] Re: Phone?DIY

2008-12-20 Thread cer...@gmail.com
phone's hardware DIY like the earlier IBM's Compatible Is this possible? --~--~-~--~~~---~--~~ 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

[android-developers] Re: Camera Preview is rotated 90. (auto rotates unless keyboard is out)

2008-12-20 Thread chrispix
Ok, Cool, i tried that, and it appeared to work fine.. Now my issue is that I need to move my camera preview to it's own activity b/c I am displaying it on a tab :/ Chris. n Dec 21, 12:17 am, blindfold wrote: > It is a known G1 bug. See > alsohttp://groups.google.com/group/android-developers/

[android-developers] Re: Camera Preview is rotated 90. (auto rotates unless keyboard is out)

2008-12-20 Thread chrispix
Thank you very much for the info. I will read up on that. I thought I had seen something as a G1 bug. I guess zxing forced landscape mode? I guess that would explain their text rotated vs the surface.. Thanks again! Chris. On Dec 21, 12:17 am, blindfold wrote: > It is a known G1 bug. See > al

[android-developers] Re: fitness or workout program

2008-12-20 Thread android_soft
Nike mp3 Run and there is an ipod version as well which connect to a sensor on your shoe via bluetooth and measure the distance of your workout. Bluetooth API is still in works I thinkanyone ? --~--~-~--~~~---~--~~ You received this message because you are subsc

[android-developers] Re: Camera Preview is rotated 90. (auto rotates unless keyboard is out)

2008-12-20 Thread blindfold
Actually I am baffled to find that when I tried the built-in camera app again this morning, it's preview had the *correct* orientation, no matter whether the keyboard was slid out or not and indiscriminate of in what physical orientation I started the camera app. I'm absolutely certain that I have

[android-developers] Re: Market Limitation

2008-12-20 Thread Justin Collum
Is there a South Korea? On Sat, Dec 20, 2008 at 2:03 AM, freeanderson wrote: > > Hi, > > I'm an android developer living in South Korea and interesting at > Android Market. > Sometimes ago I have tried billing in the market to join. > But there is no 'Korea' in the country list on billing page. >

[android-developers] Re: Camera Preview is rotated 90. (auto rotates unless keyboard is out)

2008-12-20 Thread blindfold
It is a known G1 bug. See also http://groups.google.com/group/android-developers/browse_thread/thread/601862b9f379e944/ A workaround is to design your app for landscape mode and force it to always run in that mode, for instance by using android:screenOrientation="landscape" in the manifest. It is

[android-developers] Re: Phone?DIY

2008-12-20 Thread David Turner
what are you talking about ? On Sun, Dec 21, 2008 at 4:34 AM, cer...@gmail.com wrote: > > Can the phone DIY? > > > --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, s

[android-developers] Re: certificate ssl webservice keystore

2008-12-20 Thread Bradley Young
Al and Michael, Thanks for the ego boost. I certainly would appreciate eyes on my code. The one thing that I will add: while there are standard libraries for crypto, they are also some of the worst documented (my opinion) in the entire java suite. Nicholas, Feel free to contact me if you have q

[android-developers] Phone?DIY

2008-12-20 Thread cer...@gmail.com
Can the phone DIY? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to andr

[android-developers] Camera Preview is rotated 90. (auto rotates unless keyboard is out)

2008-12-20 Thread chrispix
Hopefully this makes sense. I have a camerapreview on a surface, the issue is that it rotated 90degrees. If I rotate the phone the camera preview is still rotated 90 degrees, so it must be using the accelerometer to determine upright. If I slide the keyboard out, it fixes it and the image is then

[android-developers] Re: Locking Down Root Access - Same Sh.., Different Vendor

2008-12-20 Thread mashpl...@gmail.com
Hi Thanks for responding, sorry for posting in the wrong place but this is the group that's impacted. I think the open community can respond possibly using a open source license that does not allow "TIVO" style hardware lock-down. In addition Google can provide certification programs that requir

[android-developers] Contacts.ContactMethods. for Email

2008-12-20 Thread jphdsn
hi, I code an app and want to retrieve email from Contacts app of android. If somebody knows how to retrieve the mails of a contact... it will be cool or if someone could tell me why the code below doesn't work and how it could be work... String selection = Contacts.ContactMethods.KIND +"="+Cont

[android-developers] Re: Locking Down Root Access - Same Sh.., Different Vendor

2008-12-20 Thread Mark Murphy
First, this sort of topic belongs on [android-discuss], since this list is for assistance on application development. mashpl...@gmail.com wrote: > Please do not allow the carriers to lock the phones down. Android is licensed under the Apache License 2.0. Hardware manufacturers and carriers ca

[android-developers] Locking Down Root Access - Same Sh.., Different Vendor

2008-12-20 Thread mashpl...@gmail.com
Please do not allow the carriers to lock the phones down. If a users purchases a phone, it is their computer NOT the carriers. Please model the phone as a general purpose computer that happens to have a gsm modem and some cool application software installed. Users should be able to install any

[android-developers] How to disable Cancelable of activity

2008-12-20 Thread barbapapaz
Hello I want disable effect of cancel button on activity. Do you have idea to do this? Thanks --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-

[android-developers] Re: Get the value from database

2008-12-20 Thread moazzamk
You might find this helpful: http://moazzam-khan.com/blog/?p=58 On Dec 20, 2:18 am, koushi wrote: > Hi guys, > >                     i have some problem to getting url from database > so any one help me.. > i have listview in my rssReader i want to when i click the list view > then go to the

[android-developers] Re: WebView failing on G1

2008-12-20 Thread Keith Crozier
Great! Thanks On Sat, Dec 20, 2008 at 3:14 PM, Mark Murphy wrote: > > > I ran (from your example on Page 160, modified for my application): > > You're trying to use the browser object before you set it. > > -- > Mark Murphy (a Commons Guy) > http://commonsware.com > _The Busy Coder's Guide to An

[android-developers] Re: WebView failing on G1

2008-12-20 Thread Mark Murphy
> I ran (from your example on Page 160, modified for my application): You're trying to use the browser object before you set it. -- Mark Murphy (a Commons Guy) http://commonsware.com _The Busy Coder's Guide to Android Development_ Version 1.9 Available! --~--~-~--~~~--

[android-developers] Re: WebView failing on G1

2008-12-20 Thread Keith Crozier
I ran (from your example on Page 160, modified for my application): package com.GIMealPlanner; import android.app.Activity; import android.os.Bundle; import android.webkit.WebView; public class GIMealPlanner extends Activity { WebView browser; @Override public void onCreate(Bundle icicle

[android-developers] Re: Purchase multiple unlocked G-1s

2008-12-20 Thread Eric
How many Android phones you are after? And when do you need them? And what course are you teaching? Undergraduate/postgraduate? to write Android apk? develop Android OS itself? Sorry, don't see how you can purchase more than one developer G1 using one developer account. Assuming you can wait for

[android-developers] What are the MediaPlayer Class upcoming fixes?

2008-12-20 Thread Moto
I'm currently trying to plan ahead of time building my code. So in order to design it properly I need to know the following... 1. Will upcoming release of the SDK have support for an input stream on the MediaPlayer class? 2. Will http streaming finally be fixed? Thanks, Moto --~--~-~--~-

[android-developers] Re: Issue reagrding check out from SVN

2008-12-20 Thread DSmith
No point trying to run until you can compile. Kinda like trying to do origami with a tree - technically you've got the right ingredients, but they aren't in the right form yet. Why can't you compile? --~--~-~--~~~---~--~~ You received this message because you are

[android-developers] Re: WebView failing on G1

2008-12-20 Thread Mark Murphy
> Have you enabled Javascript in your WebView? > *NO - I just looked in your book & it says to"Control Javascript > via setJavaScriptEnabled() > (to disable it outright)" on page 167 - where does one do that? - our app > has tons of Javascript! - I want to enable it, not disable it outright I

[android-developers] Re: WebView failing on G1

2008-12-20 Thread Keith Crozier
Do you have the INTERNET permission in your AndroidManifest.xml file? *YES Have you enabled Javascript in your WebView? *NO - I just looked in your book & it says to"Control Javascript via setJavaScriptEnabled() (to disable it outright)" on page 167 - where does one do that? - our app has t

[android-developers] Notification and PendingIntent

2008-12-20 Thread Al
I'm trying to make a notification so when I click it, it jumps to a specific view inside my app. The problem I'm having is when I try to retrieve 'extra' data, it all shows up as null. I'm constructing the notification like this (from inside a Handler): Notification notif = new Notification(R.dra

[android-developers] Re: html parsing and libraries

2008-12-20 Thread Jamie
> If you are building with Eclipse, AFAIK, follow the standard Eclipse > procedures for incorporating a JAR. I tried importing the JAR from the htmlparser open source project. Eclipse gives an error and doesnt import the library. > If the project is open source, though, consider downloading the

[android-developers] Re: Where, exactly, are Context data files?

2008-12-20 Thread Keith Wiley
Mark Murphy wrote: > Keith Wiley wrote: > > ...so how do I transfer data saved by my app off the phone? > > adb pull works, if you have the full path to the file in question. But that requires anyone using my app to download the sdk and use cmd- line tools to move data from the phone to their com

[android-developers] Re: Where, exactly, are Context data files?

2008-12-20 Thread Keith Wiley
Yeah, but that's exactly how I do it. :-) n-only mode is 5GHz (if I recall). Higher frequency means higher bandwidth, albeit lower range, all other factors being equal. Plus, whenever a 'g' device is online the entire network drops to g speed, as is my understanding. If I just wanted to run a g

[android-developers] Re: how can I select text from a webpage using webview?

2008-12-20 Thread Jean-Baptiste Queru
I don't know, sorry. JBQ On Sat, Dec 20, 2008 at 10:22 AM, redmapleleaf wrote: > > No problem, we can always wait. Mean while, do you know if it is > possible to retrieve all the text in the view? If that is possible > then may be I could devise a way to display portion of it in a > selection w

[android-developers] Re: Problem setting up SDK

2008-12-20 Thread Ralf
For Eclipse you also need to install the ADT plugin. I'd recommend getting it from the official download site rather than trying to build it yourself unless you really plan to modify it. R/ On Tue, Dec 16, 2008 at 4:37 AM, Gary Thomas wrote: > > I've downloaded and built the entire SDK, to the

[android-developers] Re: how can I select text from a webpage using webview?

2008-12-20 Thread redmapleleaf
No problem, we can always wait. Mean while, do you know if it is possible to retrieve all the text in the view? If that is possible then may be I could devise a way to display portion of it in a selection window where the user may signal whether he want to save it or not. Thank you for your help.

[android-developers] Re: k850i

2008-12-20 Thread Al Sutton
At the moment you can not just install Android on your phone. It is not possible. Al. taher atashbar wrote: > hello for my best friends > thanks your answers > i no have any operating system on my mobile > and i want to install android on my phone > my mobile hasn't operating system and that is

[android-developers] ● SSL/TLS timeout issue ●●● PLS HELP ●●●

2008-12-20 Thread Nickname
Hi folks. Did anyone ever suceeded in setting timeout period of client SSL connection??? I am using the following snippet to initiate a SSL/TLS client connection, but found that the timeout is static at 190 seconds which is tooo.. LONG!!! SSLContext sctx=SSLContext.getInstance("TLS"); sctx.

[android-developers] Re: k850i

2008-12-20 Thread taher atashbar
hello for my best friends thanks your answers i no have any operating system on my mobile and i want to install android on my phone my mobile hasn't operating system and that is java platform please help me more to install android on my phone On 12/20/08, Mark Murphy wrote: > > taher atashbar wr

[android-developers] Re: Can I use string begin with '@' in XML

2008-12-20 Thread Al
Have you tried escaping it with a \? So in your case value="\...@home"/> On Dec 19, 3:07 pm, Oxygen wrote: > Hello All, > > In android resource, prefix '@' is used to reference another resource. > But I want to set an attribute with a string begin with '@', instead > of reference resource. > For

[android-developers] Re: Textview Scrolling

2008-12-20 Thread Al
This worked for me, wrapping it in a ScrollView: and then call scrollView.smoothScrollTo() to scroll down. On Dec 19, 10:41 pm, Dan wrote: > I have seen several posts in here about this discussion but haven't > come across one dealing with

[android-developers] Re: Where, exactly, are Context data files?

2008-12-20 Thread Bill Napier
You can also have write access to the SD card directly, so you could save your stuff for your app there, if you're willing to handle the case when the SD card may be not be plugged in. Also, 802.11n is backwards compatible with 802.11g. Just make sure you're not running your router in 802.11n on

[android-developers] Re: Thought's On Android CupCake?

2008-12-20 Thread Disconnect
There is such an option. Its called "ADP1" .. the Android -Developer- Phone 1. I'm terribly sorry if you bought a phone from a whole different company and are now unhappy with it, but you should take that up with the company in question (T-mobile). Technically it is a very simple change (ro.secure

[android-developers] Re: how can I select text from a webpage using webview?

2008-12-20 Thread Jean-Baptiste Queru
I don't want to make any commitment. Even though some code has been written in that direction, there's always a risk that a last-minute issue might cause the feature to be disabled right before a release (in case the cost of delaying a release outweighs the value of having the feature in that rele

[android-developers] Re: How can we change image after a specific interval of time.

2008-12-20 Thread Mark Murphy
Mahesh Vaghela wrote: > Hi all. > > In my application I want to display a large image in the center of the > screen. > I then want to change this image with some animation after a specific > interval of time. > > for example, I have total 5 images. > > 1st image is displayed just with the start

[android-developers] Re: Issue reagrding check out from SVN

2008-12-20 Thread nithin warier
Hi Mark, But i cant compile, i am using eclipse ganymede, when i tried to run, using "Run as" Android application, showing .apk is missing what to do.. Nithin On Sat, Dec 20, 2008 at 7:08 PM, Mark Murphy wrote: > > Nithin wrote: > > i checked out a project from google repositry, svn, and when

[android-developers] Re: Issue reagrding check out from SVN

2008-12-20 Thread Mark Murphy
Nithin wrote: > i checked out a project from google repositry, svn, and when tried to > run, showing .apk is missing.. also R.java is missing That is to be expected, though I sometimes forget and add R.java to version control. > Any idea, why this porblem occurs.. This is not a problem. Just r

[android-developers] Re: WebView failing on G1

2008-12-20 Thread Mark Murphy
Keith Crozier wrote: > My application is an Android application which launches a web 2.0 > application for the Android Market using WebView. The web 2.0 > application works perfectly on my G1 when run with the G1 browser. > When I run my Android application, it loads the initial screen and > then

[android-developers] Re: html parsing and libraries

2008-12-20 Thread Mark Murphy
Jamie wrote: > How do libraries work with android? If you are building with Ant, just put the JAR in your project's libs/ folder and use it. If you are building with Eclipse, AFAIK, follow the standard Eclipse procedures for incorporating a JAR. If the project is open source, though, consider

[android-developers] Issue reagrding check out from SVN

2008-12-20 Thread Nithin
i checked out a project from google repositry, svn, and when tried to run, showing .apk is missing.. also R.java is missing Any idea, why this porblem occurs.. Nithin --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Grou

[android-developers] Re: Where, exactly, are Context data files?

2008-12-20 Thread Mark Murphy
Keith Wiley wrote: > ...so how do I transfer data saved by my app off the phone? adb pull works, if you have the full path to the file in question. -- Mark Murphy (a Commons Guy) http://commonsware.com _The Busy Coder's Guide to Android Development_ Version 1.9 Published! --~--~-~--~--

[android-developers] Re: k850i

2008-12-20 Thread Mark Murphy
taher atashbar wrote: > i want install android on my k850i Most likely, you will need to recruit other engineers and begin a porting effort, or possibly connect with a team already at work on such a port. > can i do this? I have no idea. How many mobile device operating systems have you porte

[android-developers] Re: How To Start a RTSP connection

2008-12-20 Thread kamil
Hi, maybe someone could post here URL of some RTSP stream which is known to work with G1? It would really help a lot in finding out why SDP answer is being rejected. I believe there must be at least one person which has been testing Android's RTSP stack ;) Or maybe I'm the only one who leaves tes

[android-developers] How to get default applications intent

2008-12-20 Thread Raj
I want to make a log of default application. How I get the intent of default application. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-develop

[android-developers] Re: how can I select text from a webpage using webview?

2008-12-20 Thread redmapleleaf
Hi Jean, Thank you very much for your response. Could you please give me an idea of how soon this future release may be :) Thanks! On Dec 19, 2:19 pm, Jean-Baptiste Queru wrote: > This is not supported in Android 1.0. It is expected to be available > in a future release. > > JBQ > > On Fri, Dec

[android-developers] Re: k850i

2008-12-20 Thread taher atashbar
i want install android on my k850i can i do this? where can i download android and install android on my k850i please help me more On 12/20/08, Justin Collum wrote: > Did you google that? > > On Dec 19, 2008 6:52 PM, "tah.206...@gmail.com" > wrote: > > > hello > i have 1 question about my sonye

[android-developers] Re: brightstar?

2008-12-20 Thread onlythoughtwo...@googlemail.com
I did not have any Problems with Brightstar, iam located in Germany and ordered my device on Dec 14th and received it on Dec 19th! That´s 5 days for oversea shipping. You can use the UPS Tracking to see if your phone already shipped,use Track by Reference on ups.com and type your order number and

[android-developers] How to get all list of running applications onto the emulator.

2008-12-20 Thread Raj
Hi, I want make a list of applications. How many applications installed on to the emulator and among that how many are in running mode at the background. How to get the applications list ? Please reply us.. Raj --~--~-~--~~~---~--~~ You received this message bec

[android-developers] Re: Camera preview to an invisible SurfaceView

2008-12-20 Thread blindfold
> The problem possibly caused by using GLSurfaceView (from the API > Demos) as a preview surface. Is it possible to avoid that? Don't know, I use a SurfaceView but no OpenGL, so maybe the hardware acceleration and buffers on the G1 make the difference when using OpenGL. I have no experience with

[android-developers] Market Limitation

2008-12-20 Thread freeanderson
Hi, I'm an android developer living in South Korea and interesting at Android Market. Sometimes ago I have tried billing in the market to join. But there is no 'Korea' in the country list on billing page. How can I join and billing it? Isn't Korean Android developer accepted to join to Android Ma

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

2008-12-20 Thread Al Sutton
Please see http://groups.google.com/group/android-discuss/browse_thread/thread/eeed73dc9bd52a27/663946f33ed8bf1f?lnk=gst&q=G2#663946f33ed8bf1f Al. JBQ wrote: > Does anybody know it? > > > --~--~-~--~~~---~--~~ You received this message because you are subscr

[android-developers] Re: camera crash

2008-12-20 Thread blindfold
Maybe you can add a comment at http://code.google.com/p/android/issues/detail?id=1578 such that it becomes apparent that it is not an exemplary fault. On Dec 20, 10:40 am, Boshik wrote: > > I have the same symptoms on G1 with my app using camera preview to > opengl surface. --~--~-~--~

[android-developers] Re: camera crash

2008-12-20 Thread Boshik
>However, in my case the G1 camera just hangs (is non-responsive, giving a black view) but does not crash. I have the same symptoms on G1 with my app using camera preview to opengl surface. On Dec 20, 11:28 am, blindfold wrote: > Have you tried to power off your phone and then power up? I have

[android-developers] Re: Camera preview to an invisible SurfaceView

2008-12-20 Thread Boshik
Thank you very much! Now it works! in the emulator BUT on my G1 it shows only black screen. The problem possibly caused by using GLSurfaceView (from the API Demos) as a preview surface. Is it possible to avoid that? On Dec 19, 10:54 pm, blindfold wrote: > > Is it possible to capture camera snaps

[android-developers] Re: simple g1 text editor questions

2008-12-20 Thread Protocol-X
There are a ton of apps on the market to this extent already. If you would like a good example, go to the notepad tutorial to see how to create/edit text files and from their u can build a more specific app as you are looking --~--~-~--~~~---~--~~ You received this

[android-developers] Re: camera crash

2008-12-20 Thread blindfold
Have you tried to power off your phone and then power up? I have found that occasionally the G1 camera locks up and is then unusable until one goes through a power cycle. However, in my case the G1 camera just hangs (is non-responsive, giving a black view) but does not crash. On Dec 19, 9:33 pm,

[android-developers] Re: Where, exactly, are Context data files?

2008-12-20 Thread Keith Wiley
Well, okay. Besides which, it looks like I was wrong about getting files off the phone from the computer. It only mounts the sd card and the app data isn't on that card in the first place. ...so how do I transfer data saved by my app off the phone? Do I have to actually send the data by email