[android-developers] Re: About WebView setOnClickListener

2008-10-30 Thread Dikers
WidgetAbsoluteLayout contentView = null; WebView mWebView = null; contentView = new AbsoluteLayout (this); setContentView(contentView); mWebView = new WebView(this); mWebView.setWebViewClient(new SingleWebViewClient());

[android-developers] Help me.... To play dynamic media(.mp4) file based on user input

2008-10-30 Thread AndroidKid
Hi All, I've executed one android application to display the static video(.mp4) file. That was working fine. Now, I would like to play the media (video) based on the language that the user chooses. Meaning, this software will send the user preferences to a server. Server will stream the

[android-developers] Re: How to put apk to G1 Phone

2008-10-30 Thread yasmin afrose
Hi armandalea, Thanks for your detailes guidance. But I'm unable to follow it :( . Since In my HTC p3400, Menu Settings Personal tab, System Tab and Connection Tab is there. Each tab has no of operation except Development(What you mentioned). My Mobile OS is Windows Mobile 5.0 Packet PC

[android-developers] Re: Does Android 1.0 support progressive download of music and video files?

2008-10-30 Thread AndroidKid
Hi, What is MP4Box ? Can you please post sample code here ? I've executed the application for displaying static video file .mp4. Now I would like to display the dynamic video file based on user chooses. ie, 1. User selects the language of video file. 2. Then they will pick the video

[android-developers] Re: Android embedded hardware

2008-10-30 Thread Eric
Hi, We are building a Android based PMP that may suit your needs. It will have 4.3 touch screen, wifi, bluetooth, etc. However, it is not available for sale yet. We are working hard to deliver it in the next few months. Feel free to contact me for information, collaboration, etc. Cheers Eric

[android-developers] Re: The same activity run in different process?

2008-10-30 Thread hackbod
Use android:process. Also be sure to read: http://code.google.com/android/intro/appmodel.html On Oct 29, 8:18 pm, Dikers [EMAIL PROTECTED] wrote: I am trying to run a activity in different process.  Use the tag android:multiprocess Specify whether a component is allowed to have multiple

[android-developers] Re: Android embedded hardware

2008-10-30 Thread Anil Sasidharan
Hi, We have Android running on the Mistral's OMAP3530 based hardware with display, touch, keypad, SD/MMC, Ethernet supported. Would you like to get more details? Warm Regards, Anil On Wed, Oct 29, 2008 at 12:07 PM, whitehexagon [EMAIL PROTECTED] wrote: I'm looking for some

[android-developers] Re: Power Manager Wake Locks

2008-10-30 Thread Akshay Sumant
On Fri, Oct 24, 2008 at 3:24 PM, Akshay Sumant [EMAIL PROTECTED]wrote: Hi all, AFAIK, wake locks ensure a constant device state (for CPU,LCD backlight, Keypad backlight) in between acquire() and release() of a wake lock. What if there are two or more apps acquiring (rather trying to

[android-developers] Re: Power Manager Wake Locks

2008-10-30 Thread Wiktor
I suppose acquire() just increases some hidden counter and the device is turned on until all of the locks are released. On Oct 30, 9:31 am, Akshay Sumant [EMAIL PROTECTED] wrote: On Fri, Oct 24, 2008 at 3:24 PM, Akshay Sumant [EMAIL PROTECTED]wrote: Hi all,     AFAIK, wake locks ensure a

[android-developers] Re: Installing the SDK

2008-10-30 Thread Logical
Ahh, many thanks! For some reason when I tried to do it before, it would give me some crazy error. Then, I thought to run it from cmd prompt as ADMINISTRATOR when you mentioned it. Lol, gave me a data write error. Manually created the directory it mention, and WHAPOW! I'm ready to develop.

[android-developers] Image buttons

2008-10-30 Thread Arun Mankad
Can somebody tell me how o create buttons with images that have different image for focused and clicked state -- Arun Mankad --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this

[android-developers] Re: Need Help..... To install android package (.apk) on HTC Touch Mobile

2008-10-30 Thread Azatoth
Android is a Mobile OS... You need a Mobile device with android inside...! At this time only T-Mobile G1 have android on board! I don't know how you can porting Android on your device... this is an Hacker skill! You can buy a G1... :) On 30 Ott, 05:10, yasmin afrose [EMAIL PROTECTED] wrote:

[android-developers] MapView Problem

2008-10-30 Thread samina
I have the problem The application has stopped unexpectedly still while running mapview. i have given my map api key and correct map package also .plz help me in this. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google

[android-developers] Map View Problem

2008-10-30 Thread samina
Hi , i have the problem with mapview and its showing the following errors in the logcat.plz help me for finding solution .. 10-30 13:18:19.005: DEBUG/AndroidRuntime(729): Shutting down VM 10-30 13:18:19.015: WARN/dalvikvm(729): threadid=3: thread exiting with uncaught exception

[android-developers] Re: hanging up/terminating a call in an automated fashion

2008-10-30 Thread legerb
Oh sorry, I should've been more clear. I was talking about the ACTION_NEW_OUTGOING_CALL. Hanging up incoming call programmaticaly is currently impossible. As for the outgoing call - it can be terminated only when initiated, because only then we can catch the Intent. After that there seems to be

[android-developers] About Email

2008-10-30 Thread ena
Hi All, How to get email Log?how to send email to emulator and from emulator.Anyone please give me ur suggestions. Thanks in advance --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post

[android-developers] How to design a layout

2008-10-30 Thread Breno
Hey every one, i want to to a layout like this * *# Text here text here * *# Text here small icon here * *# *

[android-developers] Re: AMR Codec List

2008-10-30 Thread Breno
Thanks g, this is exactly what i was looking for Breno On Oct 29, 2:40 am, gs_cmans [EMAIL PROTECTED] wrote: i think default configured to 5.15; looks the api to set mode is left out; see other threads for my post on the same -g On Oct 7, 1:29 pm, BrenoT. Minzon [EMAIL PROTECTED] wrote:

[android-developers] How to do JUnit testing for database access?

2008-10-30 Thread Iroid
Hello Everyone, I have to test a class which is heavily accessing database. Now to access database I needed context this was done by passing current activity reference. In JUnit I couldn't find any way to create activity and pass in to those methods. I found ActivityUnitTestCase T in android

[android-developers] Re: SDCard and SQLiteOpenHelper problem

2008-10-30 Thread Peter Stevenson
peter wrote Read this book The Busy Coder's Guide to Android Development By Mark L. Murphy Chapter 25 Building a Content Provider File sdcard = new File(/sdcard/application/mydb.sqlite ); wescorp wrote: Hello, I need to be able to work with databases on the sdcard. I've

[android-developers] Re: SDCard and SQLiteOpenHelper problem

2008-10-30 Thread Mark Murphy
Peter Stevenson wrote: peter wrote Read this book The Busy Coder's Guide to Android Development By Mark L. Murphy Chapter 25 Building a Content Provider File sdcard = new File(/sdcard/application/mydb.sqlite ); That line is from an earlier edition of my book -- it is

[android-developers] Re: Need Help..... To install android package (.apk) on HTC Touch Mobile

2008-10-30 Thread Mark Murphy
yasmin afrose wrote: So, what I'll do? Can you tell the way? Shall upgrade my OS or What I need to done to view android output in my mobile? The simplest solution is to replace your phone with a T-Mobile G1, if you can get your hands on one. Lacking that, your only option is to work

[android-developers] Re: Getting user's phone number

2008-10-30 Thread Spencer Riddering
Hi SR, Concerning your comment: I'd have to be pretty dumb to confuse my phone with the emulator, wouldn't I? Not really. I remember hearing a Google employee (I forget who) describe how he did exactly that for about a week before he realized what was going on. Spencer On Oct 30, 9:38 am,

[android-developers] Re: how to listen callee hangup call event?

2008-10-30 Thread legerb
Could you also add that it would be most usefull to have events indicating that call was established, active call, dialing... On Oct 30, 2:04 am, Justin (Google Employee) [EMAIL PROTECTED] wrote: There's no way to do this. It seems like something others would be interested in, so I've passed

[android-developers] Re: My application doesn't work...

2008-10-30 Thread Yoshiyuki
I could find the cause of this problem somehow. In an Activity, I think, there are some elements which is requisite to execute in v1.0 emulator. The experiment I've done was 1) Execute and make sure a project works safely.(Any program is OK. Google's samples may be good.) 2) Copy an activity (

[android-developers] Does anyone know Puppet Master?

2008-10-30 Thread Marcus
Hi All, Is there any Python Test Suite for testing in Android? Thanks in advance, --Marcus --~--~-~--~~~---~--~~ 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 embedded hardware

2008-10-30 Thread heavyseatree
Hi, Anil, I am very interested in your android runing based on the OMAP hardware. could you give me more details? Regards, seatree On 10月30日, 下午5时20分, Anil Sasidharan [EMAIL PROTECTED] wrote: Hi, We have Android running on the Mistral's OMAP3530 based hardware with display,

[android-developers] : How to stops the activity from getting restarted when mode changes from LandScape to Portrait or vice-versa

2008-10-30 Thread Imran
H Al Is there any way to stop the activity from getting restarted when the mode changes from LandScape to Portrait or vice-versa Please help me Out Guysss... Thanks in Advance for any Replays.. Cheers Imran --~--~-~--~~~---~--~~

[android-developers] Re: Attaching the Eclipse debugger to actual device

2008-10-30 Thread Travis
Just a reminder to everyone in case some here are not aware - the G1 won't advertise its 0c02 product id unless you first do the following on the device: Settings - Applications - Development - USB debugging = ON if lsusb returns 0bb4:0c01, not 0bb4:0c02, then this is likely your problem.

[android-developers] Re: Tips for Orientation

2008-10-30 Thread Imran
Haii Al... The activity gets restarted when the mode changes form landscape to portrait or vice-versa is there any way to stop the activity getting restarted. help me out guys Thanks in advance for any Replays..!! Cheers Imran On Oct 25, 1:21 am, Peli [EMAIL

[android-developers] Re: apkbuilder.bat faulty?

2008-10-30 Thread khoaanh
Hi Jakob, Try this, It's work for me. Note that the setlocal EnableDelayedExpansion is important @echo off setlocal EnableDelayedExpansion set prog=%~f0 cd %~dp0 set jarfile=apkbuilder.jar set frameworkdir=C:\android-sdk-windows-1.0_r1\tools\lib set

[android-developers] dalvik bug?

2008-10-30 Thread Bradley Kite
Hi all, I am running this bit of code within the emulator (SDK 1.0r) Log.d(TAG, I am here - 1); Location currentLocation = lm.getLastKnownLocation(LocationManager.GPS_PROVIDER); Log.d(TAG, I am here - 2); The logcat output never shows the second

[android-developers] Re: Android embedded hardware

2008-10-30 Thread Anil Sasidharan
Hi, The details are as follows: Board:OMAP3EVM (Mistral) Processor: OMAP3530 (ARM Cortex A8 core and C64+ DSP core) RAM: 128MB FLASH: 256MB Android-support: Android version 1.0 is up Peripherals: - 1. LCD panel (VGA

[android-developers] Re: Image buttons

2008-10-30 Thread Mark Hansen
I ended up using ImageViews and making multiple images, I'd be curious if there was a better way as well. On Oct 30, 5:48 am, Arun Mankad [EMAIL PROTECTED] wrote: Can somebody tell me how o create buttons with images that have different image for focused and clicked state -- Arun Mankad

[android-developers] Re: Tips for Orientation

2008-10-30 Thread Mark Hansen
You need to store whatever information determines the state of your application, use the following overrides: @Override public void onSaveInstanceState(Bundle savedInstanceState) { // example savedInstanceState.putString(someKey, someString); } then on the load: @Override public void

[android-developers] Re: Getting user's phone number

2008-10-30 Thread Hong
when u go to the about phone section in ur G1, what number does it show up there? real number or the wrong one? this is the same system call as the getLine1Number()... On Wed, Oct 29, 2008 at 9:38 PM, SR [EMAIL PROTECTED] wrote: I'd have to be pretty dumb to confuse my phone with the emulator,

[android-developers] Re: Image buttons

2008-10-30 Thread Arun Mankad
Hi Mark, Can you plz explain How did u do that, I am a novice in Android, please help On Thu, Oct 30, 2008 at 6:33 PM, Mark Hansen [EMAIL PROTECTED] wrote: I ended up using ImageViews and making multiple images, I'd be curious if there was a better way as well. On Oct 30, 5:48 am, Arun

[android-developers] Re: Image buttons

2008-10-30 Thread for android
http://blog.pocketjourney.com/2008/04/30/android-tutorial-image-text-only-buttons/ On Thu, Oct 30, 2008 at 6:55 PM, Arun Mankad [EMAIL PROTECTED] wrote: Hi Mark, Can you plz explain How did u do that, I am a novice in Android, please help On Thu, Oct 30, 2008 at 6:33 PM, Mark Hansen

[android-developers] login to a web site from android application.

2008-10-30 Thread AnuR
Hi frnds, my application needs to login to a web site thru the application. How can i do it? for that I need to post the username ,password and some other data to the url. the code is as follows. I am using SDK 1.0 DefaultHttpClient httpclient = new DefaultHttpClient(); HttpPost httpost = new

[android-developers] Re: The UK Release and Internationalization

2008-10-30 Thread qvark
I don't think the API is ready yet according to their roadmap: http://source.android.com/roadmap Q4 2008 Localization The UI and Application Framework for the Android 1.0 platform primarily targets English-speaking regions. To enable handset manufacturers to deploy devices in

[android-developers] Re: dalvik bug?

2008-10-30 Thread fadden
On Oct 30, 5:44 am, Bradley Kite [EMAIL PROTECTED] wrote: I am running this bit of code within the emulator (SDK 1.0r)                 Log.d(TAG, I am here - 1);                 Location currentLocation = lm.getLastKnownLocation(LocationManager.GPS_PROVIDER);                 Log.d(TAG, I am

[android-developers] Re: Manual Verify of jar files?

2008-10-30 Thread fadden
On Oct 29, 7:26 pm, jv [EMAIL PROTECTED] wrote: Hi, I was wondering if a tool exists to manually verify whether or not a certain library, possibly in the jar format is compatible with Android. I always end up getting Verify Errors in the middle of development while using certain libraries and

[android-developers] Re: dalvik bug?

2008-10-30 Thread Bradley Kite
On 30/10/2008, fadden [EMAIL PROTECTED] wrote: On Oct 30, 5:44 am, Bradley Kite [EMAIL PROTECTED] wrote: I am running this bit of code within the emulator (SDK 1.0r) Log.d(TAG, I am here - 1); Location currentLocation =

[android-developers] Re: PathClassLoader failed in SDK 1.0, worked in 0.9

2008-10-30 Thread Daniel Janev
On Oct 22, 9:48 am, Wesley [EMAIL PROTECTED] wrote: hi, sound bad... if this is the case means my app/idea is not going to work wesley. On Wed, Oct 22, 2008 at 2:45 PM, MoggoDude [EMAIL PROTECTED] wrote: Hi Guys,        Just sending this update on the PathClassLoader problem. I

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

2008-10-30 Thread Peli
It seems changing the backlight through the following code does not affect the light brightness immediately: Settings.System.putInt(getContentResolver(), Settings.System.SCREEN_BRIGHTNESS, 255); but the change is only visible after a while (e.g. after screen dims and gets bright

[android-developers] Google maps API key and Android emulator...

2008-10-30 Thread vmohar98
I have a Google maps API key that I use in my pages for getting the maps controls and other goodies. To test out how this would in Android - I am trying http://10.0.2.2/mysample.html - but I get the error message that the key is registered to a different server and asks me to get another key.

[android-developers] Re: chmod unexpected permission error when logged into an actual device

2008-10-30 Thread hyc
Since it's already known that there's an Over-the-air firmware update available for the G1, it's obvious that the flash is reprogrammable. If the question is whether there are other avenues, besides OTA, I would expect that the source code should answer that... On Oct 29, 11:32 am, Mark Murphy

[android-developers] Re: ArrayAdapter

2008-10-30 Thread Biosopher
I used notifyDataSetChanged() and it works fine for me. Here's my complete code with the notifyDataSetChanged() at the bottom in the selection listener: package com.pocketjourney.location.map; import java.util.List; import android.content.Context; import android.view.LayoutInflater; import

[android-developers] Video playback problem, video not show on surface, only sound is ok

2008-10-30 Thread fluke.l
my code: mSV = (SurfaceView) findViewById(R.id.surface); MediaPlayer mp = new MediaPlayer(); mp.setDataSource(/sdcard/x.mp4); mSV.setVisibility(SurfaceView.VISIBLE); mp.setDisplay(mSV.getHolder()); mp.start(); Video just dont show. But I can hear the sound. Any thing wrong?

[android-developers] Trackball button highlighting?

2008-10-30 Thread Sundog
Hello all, I'm the author of Nitoware Mahjongg Solitaire. The game uses many small ImageButtons, and I expected the trackball to just work as an alternative to touching them, but although it SEEMS to be working, the user can't see any feedback that lets them know where the trackball is so they

[android-developers] Sending email

2008-10-30 Thread john
Hello! Thanks in advance for trying to help me out. It doesn't seem like anyone has found a solution to this problem yet, so hopefully we can figure this out and help a lot of people. I'm trying to get my application to send an email, but i can't seem to find any solutions. Here's what I'm

[android-developers] repo init

2008-10-30 Thread dan
I have been unable to download the android source using the instructions found at http://source.android.com/download. Running the command: repo init -u git://android.git.kernel.org/platform/manifest.git results in: android.kernel.org[0: 204.152.191.13]: errno=Connection refused

[android-developers] Re: Image buttons

2008-10-30 Thread [EMAIL PROTECTED]
You can extend View Class and Override Ondraw() method and put some code which performs what you want!! --~--~-~--~~~---~--~~ 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: Monitoring Browser activities

2008-10-30 Thread tim todd
that would be a terrible thing to do t. On Oct 29, 5:39 am, Piyush [EMAIL PROTECTED] wrote: Hi, I would like to know if its possible to sit between Android browser and the network layer so that I can monitor the activities of user through browser.  It could be something similar to

[android-developers] Re: Image buttons

2008-10-30 Thread Sundog
There is an alternative if you just want to highlight the image; use setAlpha to ghost it. See Mahjongg Solitaire for how this looks. On Oct 30, 7:38 am, for android [EMAIL PROTECTED] wrote: http://blog.pocketjourney.com/2008/04/30/android-tutorial-image-text-... On Thu, Oct 30, 2008 at

[android-developers] Re: Parcelable Types in external projects.

2008-10-30 Thread Casey Link
Just for posterity here's a link to a solution of the problem. http://code.google.com/p/android/issues/detail?id=1121 Casey On Sun, Oct 26, 2008 at 9:56 PM, Casey Link [EMAIL PROTECTED] wrote: Hello, In my service interface I am trying to pass several custom types via the Parcelable api.

[android-developers] Re: chmod unexpected permission error when logged into an actual device

2008-10-30 Thread Jean-Baptiste Queru
Yes, there are other ways. You can drop a signed update image in /sdcard/update.zip and have the recovery system flash it for you. The code is here: http://git.source.android.com/?p=platform/recovery.git;a=blob;f=recovery.c (line 267). JBQ On Thu, Oct 30, 2008 at 9:26 AM, hyc [EMAIL PROTECTED]

[android-developers] Re: OpenGL light strange behaviour

2008-10-30 Thread Steff
Hi I found out myself that I needed to give normal-vectors to the OpenGL engine. I went back to this question to explain what my solution was, just to see that someone already had explained what the problem was. Thanks anyway. Regards Per Steffensen

[android-developers] GTalk (XMPP) service, ADC, android market and wasted months

2008-10-30 Thread r a f t
hello, we had developed an application (BabelFish) and had entered the ADC 1. we were very hopeful, got very positive responses from friends and forum users. in short BabelFish is a translated voice and text IM (Instant Messaging) service. it enables translated conversations among two or more

[android-developers] Re: How to put apk to G1 Phone

2008-10-30 Thread Kipling Inscore
On Wed, Oct 29, 2008 at 11:36 PM, yasmin afrose [EMAIL PROTECTED] wrote: But I'm unable to follow it :( . Since In my HTC p3400, Menu Settings Personal tab, System Tab and Connection Tab is there. Each tab has no of operation except Development(What you mentioned). My Mobile OS is Windows

[android-developers] Re: GTalk (XMPP) service, ADC, android market and wasted months

2008-10-30 Thread blindfold
All I heard is that GTalkService was (supposedly temporarily) removed for security reasons, already with SDK 0.9 beta: http://android-developers.blogspot.com/2008/08/some-information-on-apis-removed-in.html Of course that is still bad luck for your app. On Oct 30, 5:55 pm, r a f t [EMAIL

[android-developers] store image with alpha values

2008-10-30 Thread kingkung
Hey all, How do I store images in a content provider WITH the alpha values in tact? I'm storing a semi-transparent image, but when I retrieve it, the background is all black (it should be transparent). Any help would be appreciated. Thank you, James

[android-developers] Re: The UK Release and Internationalization

2008-10-30 Thread cyntacks
Hi qvark, Thanks for the link, I hadn't seen the Roadmap yet. That's a bummer for us, but it does say q4, so hopefully the change will be right around the corner. Thanks again, Kevin On Oct 30, 10:15 am, qvark [EMAIL PROTECTED] wrote: I don't think the API is ready yet according to their

[android-developers] Re: Problems playing back Video

2008-10-30 Thread [EMAIL PROTECTED]
I'm fairly sure that you can't play video files from APK resources. Video files are generally too large to distribute in APK's anyway. Try putting your video on the sdcard and pass a pathname instead. On Oct 29, 10:33 pm, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: I didn't setup the audio

[android-developers] Re: if I include the classes.zip of J2Me ??

2008-10-30 Thread Dana Li
No, You cannot include J2ME classes inside android because android is not compatible with J2me platform and its working mechanism is not the same as midlet. Dana On Fri, Oct 24, 2008 at 4:00 AM, nkijak [EMAIL PROTECTED] wrote: Did you try in the emulator? Probably be quicker than waiting for

[android-developers] Re: store image with alpha values

2008-10-30 Thread zl25drexel
are you using drawable? i think drawable will handle transparent background if your images are in formats that support transparency (.gif, .png, etc) On Oct 30, 1:19 pm, kingkung [EMAIL PROTECTED] wrote: Hey all, How do I store images in a content provider WITH the alpha values in tact?  I'm

[android-developers] Re: Running an activity w/o external communications

2008-10-30 Thread Declan Shanaghy
There is a broadcast intent to indicate the user activated airplane mode. http://code.google.com/android/reference/android/content/Intent.html#ACTION_ AIRPLANE_MODE_CHANGED As for activating it yourself or monitoring radio states, I haven't delved deep enough to provide info on that.

[android-developers] Re: Image buttons

2008-10-30 Thread mathiastck
Simplest way to do this is to create a custom drawable xml describe what image to use for what state, described in this thread: http://groups.google.com/group/android-developers/tree/browse_frm/thread/1906f24707594f67/17322a04f7af1a5b On Oct 30, 2:48 am, Arun Mankad [EMAIL PROTECTED] wrote:

[android-developers] Re: GTalk (XMPP) service, ADC, android market and wasted months

2008-10-30 Thread r a f t
well, they have got definitely a point there. but i can't stop thinking that plan of that removal had effected ADC results.. anyway, yes that is definetely a bad luck for BabelFish :/ On Oct 30, 7:11 pm, blindfold [EMAIL PROTECTED] wrote: All I heard is that GTalkService was (supposedly

[android-developers] problem with Notification (PendingIntent)

2008-10-30 Thread Sgom
Hello guys! I have a problem with notifications (SDK 1.0) I have wrote an application that, when an event occurs, prepare a notification and puts it on the status bar. Each of these notifications should start different instances of the same Activity (a simple activity that shows some

[android-developers] Re: ArrayAdapter

2008-10-30 Thread Emery
You're doing it onItemClick, so it's probably invalidated for redraw anyway. In my case the items are coming in on a separate thread. If I was to click an item it would update then. But of course that's a very weird interaction to touch the screen and suddenly all of the updates show up at once.

[android-developers] Re: repo init

2008-10-30 Thread David Turner
Hmmm, the servers appear to be up and running. Could it be that you are behind some sort of firewall ? On Thu, Oct 30, 2008 at 5:15 PM, dan [EMAIL PROTECTED] wrote: I have been unable to download the android source using the instructions found at http://source.android.com/download. Running

[android-developers] Re: The UK Release and Internationalization

2008-10-30 Thread Al Sutton
Kevin, After doing some poking around the Android browser on the UK phone identifies itself with an en-gb localisation, so maybe you can already use Locale.getDefault() to see whats what. Al. cyntacks wrote: Hi qvark, Thanks for the link, I hadn't seen the Roadmap yet. That's a bummer

[android-developers] Android Camera

2008-10-30 Thread Spanish Android
Can someone tell me how use the Camera.takePicture(ShutterCallback shutter, PictureCallback raw, PictureCallback jpeg) method. All examples I find are with the CameraDevice class, not with android.hardware.Camera. Thanks a lot! --~--~-~--~~~---~--~~ You received

[android-developers] Application tries to overwrite Android System on G1

2008-10-30 Thread deadscenekid
I just recently tried to install my latest application on my G1 and for some reason it tries to over write the Android SystemI have signed the apk with my own personal keystore and it still tries to do it, any help? --~--~-~--~~~---~--~~ You received this

[android-developers] Re: GTalk (XMPP) service, ADC, android market and wasted months

2008-10-30 Thread Wiktor
That's bad luck not only for BabelFish, but for many applications and developers (including me): http://code.google.com/p/android/issues/detail?id=201 On 30 Paź, 19:39, r a f t [EMAIL PROTECTED] wrote: well, they have got definitely a point there. but i can't stop thinking that plan of that

[android-developers] Re: About WebView setOnClickListener

2008-10-30 Thread Justin (Google Employee)
Actually, thinking about this more, you probably want to set an OnTouchListener. Buttons and other widgets produce click events, but the WebView doesn't. A click is an abstract event, typically consisting of a screen touch and then removal of the finger without a drag. Cheers, Justin Android

[android-developers] Re: differences between emulator (1.0rc1) and actual device (g1)

2008-10-30 Thread David Turner
the system images in the SDK 1.0 and the phone should be equivalent. However, the issue is probably that the touch area on thephone is rather large and overlaps other checkboxes, depending on the size of your finger. How tightly packed are your checkboxes ? On Thu, Oct 30, 2008 at 12:34 AM,

[android-developers] Re: Application tries to overwrite Android System on G1

2008-10-30 Thread Shawn Burkit
Are u downloading it? That fits in with the issue I have discovered with apache servers if u download on gsm instead of wifi the item downloaded is missing about 5k and tries to install over the android system and fails u need to use non apache or wifi when u download it On Oct 30, 2008 2:57

[android-developers] adb devices command sees multiple offline devices attached - but it's the same device

2008-10-30 Thread Rob Franz
Hi all Is there a way to clear the list of devices? What I'm seeing: $ adb devices List of devices attached HT842GZ47827offline HT842GZ47827offline HT842GZ47827offline HT842GZ47827offline HT842GZ47827offline HT842GZ47827offline HT842GZ47827offline HT842GZ47827

[android-developers] Re: Android Camera

2008-10-30 Thread blindfold
See http://groups.google.com/group/android-developers/attach/96ae47051a087fc1/CameraApiTest.zip but note that this code for an older SDK and takePicture() now takes three arguments, as in your own posting. On Oct 30, 7:04 pm, Spanish Android [EMAIL PROTECTED] wrote: Can someone tell me how use

[android-developers] Re: Sending email

2008-10-30 Thread Justin
John, Take a look at http://code.google.com/android/reference/android/content/Intent.html , there are several e-mail related fields you probably want to set. For a mime type try 'message/rfc822' or 'message/rfc2822'. I haven't tried this myself, so let me know how it works. Cheers, Justin

[android-developers] Re: Wiring emulator services to PC's

2008-10-30 Thread David Turner
Moreover, the emulator is just a normal application and doesn't have specific administrative priviledges to access low-level wireless protocol packets (which would be needed to do anything that ressemble what's described here) On Fri, Oct 24, 2008 at 7:17 PM, Justin (Google Employee) [EMAIL

[android-developers] Re: Android Camera

2008-10-30 Thread blindfold
Sorry, bad link - should have been http://groups.google.com/group/android-developers/attach/96ae47051a087fc1/CameraApiTest.zip?part=4 On Oct 30, 8:32 pm, blindfold [EMAIL PROTECTED] wrote: Seehttp://groups.google.com/group/android-developers/attach/96ae47051a08... but note that this code for

[android-developers] rejecting opcode 0x6e - Android 1.0 R1 SDK

2008-10-30 Thread Sean Sullivan
Environment: Android 1.0 R1 SDK + Eclipse 3.4 My application uses some third party libraries. The libraries are: openxri-client-1.0.1.jar openxri-syntax-1.0.1.jar openid4java 0.9.5 jar When I run my application in the emulator, I observe this error: W/dalvikvm( 173): VFY: unable

[android-developers] Verify Error with HTTPMIME / MIME4J

2008-10-30 Thread Alvin Yates
So, in following this post http://groups.google.com/group/android-developers/browse_thread/thread/e4230ed22c196772?tvc=2 ...I started implementing a test multipart message in a short-lived Activity using only StringBody classes, and ran into the Dalvik VM Verify error against my class. It

[android-developers] Re: : How to stops the activity from getting restarted when mode changes from LandScape to Portrait or vice-versa

2008-10-30 Thread Alvin Yates
Given that the screen probably has to rerender the layout as a result of the change in orientation, I really doubt that's the case. I'm also not sure why it would be a pressing issue, since the functions it uses to do so are things you have to write anyway for normal app operation. If you want

[android-developers] Re: How to design a layout

2008-10-30 Thread Alvin Yates
If you only use one layout, you're telling Android to render 4 objects in a single row. For your design (Using LinearLayout at least) you either need: LinearLayout ...horizontal LinearLayout ...vertical / LinearLayout ...vertical / / ... or... LinearLayout ...vertical LinearLayout

[android-developers] Re: How to add a ImageButton from layout(xml)

2008-10-30 Thread Alvin Yates
If what you're describing went from white rectangle around the image with an orange border to the button is solid white even while clicking on it than what you need to do is edit the image file itself to remove the background color. If you have Photoshop/GIMP, you should be able to do it,

[android-developers] Re: differences between emulator (1.0rc1) and actual device (g1)

2008-10-30 Thread Selmi
checkboxes have default dimensions and spacve between them is about 50% of checkbox height could be that scrolled with finger its possible to touch more lines at once On 30. Okt, 20:01 h., David Turner [EMAIL PROTECTED] wrote: the system images in the SDK 1.0 and the phone should be equivalent.

[android-developers] my post is not appearing

2008-10-30 Thread Ernest Freund
Hi, my recent post to the Android 'Developer' group is not appearing. I posted it about 45 minutes ago. my login is: [EMAIL PROTECTED] Please help. Thanks. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups

[android-developers] Re: SDCard and SQLiteOpenHelper problem

2008-10-30 Thread mickrobk
I dont think you can use the SQLiteOpenHelper for anything but db's in your data directory, but you can open them given any path (including one to the sd card) with this:

[android-developers] Re: Notification manager problem

2008-10-30 Thread akurni
nevermind I solve the problem On Oct 29, 8:05 pm, akurni [EMAIL PROTECTED] wrote: Hi, I'm trying to set a notification from my application and when a user click the notification it will open my application with the data. the notification works fine, but the my application also get launch

[android-developers] Re: adb devices command sees multiple offline devices attached - but it's the same device

2008-10-30 Thread Mark Murphy
Rob Franz wrote: Hi all Is there a way to clear the list of devices? What I'm seeing: $ adb devices List of devices attached HT842GZ47827offline HT842GZ47827offline HT842GZ47827offline HT842GZ47827offline HT842GZ47827offline HT842GZ47827offline HT842GZ47827

[android-developers] Re: Mouse Gesture for Navigation?

2008-10-30 Thread Rohit Mordani
I THINK the problem is that in the emulator, pressing the left mouse button is more like a tap and that sets the MotionEvent.Action to be ACTION_DOWN. As a result the onDown() method of the OnGestureListener is called instead of onFling(). There might be a way to emulate the fling in the emulator

[android-developers] Re: Gesture detection

2008-10-30 Thread Rohit Mordani
I am facing the same problem. The onFling() method is never called. I THINK the problem is that in the emulator, pressing the left mouse button is more like a tap and that sets the MotionEvent.Action to be ACTION_DOWN. As a result the onDown() method of the OnGestureListener is called instead of

[android-developers] Windows ADB Driver?

2008-10-30 Thread strazzere
For some reason I'm not able to connect to my G1 android device using windows xp. I can connect fine with linux (ubuntu), however when connecting to a windows machine I receive USB Device not recognized. I've looked at the documentation here;

[android-developers] Context from which to initiate Service via Alarm Manager; Application Model Questions

2008-10-30 Thread 3D
I've created a simple app. to help me better understand a few key components in the real app I'm making. A snippet of what I've done: - an Activity is launched (lets call it the Home Activity) - from here I schedule an alarm - the alarm sets off a Pending Intent that starts a Service. - the

[android-developers] Re: Problem with the onUpdate method of an SQLiteOpenHelper

2008-10-30 Thread Alistair.
Okay I fixed it. Not sure if the solution will apply to you. In my 'onUpgrade' function the table name value was incorrect. Basically it looks like you are not dropping the table you subsequently then attempt to recreate. Check your defns. Al. On Oct 29, 8:16 pm, Frew [EMAIL PROTECTED]

[android-developers] Unlocked access to wifi app store? Reflashing the firmware?

2008-10-30 Thread David Erickson
Hi everyone, a couple questions relating to the G1. I am a PhD student and am interested in picking up a G1, however I am wondering if you can buy the phone unlocked, and still get access to all of its features over wifi (eg the app store, etc), but without a voice/data/ 3g contract? Secondly, I

  1   2   >