[android-developers] Re: Are applications built with the 1.5sdk available for download via the market on the Verizon Droid?

2009-12-06 Thread snctln
Dianne, Thank you very much for the response, I very much appreciate it when Google employees weigh in on these questions. So my overall goal with releasing applications is to be able to reach as many people as possible, and tonight before reading your message I released an updated version built

[android-developers] Re: Context for layout view

2009-12-06 Thread jotobjects
I tested this and you are right that there is no caching. It is just a missing dependency in the ant scripts. It doesn't seem to have anything to do with inlining either. The platform creates a table somewhere corresponding the R.layout values to the layout files and apparently is depending on

Re: [android-developers] Re: Failed to resolve class help (custom java library)

2009-12-06 Thread Mark Murphy
Actually this project refers to java.beans a number of times import java.beans.Encoder; import java.beans.ExceptionListener; import java.beans.PersistenceDelegate; import java.beans.XMLEncoder; import java.beans.XMLDecoder; Is there anyway to getting hold of these classes in android? Can

[android-developers] Re: Context for layout view

2009-12-06 Thread jotobjects
And finally I have confirmed that Romain Guy is completely right and it is an inlining problem. Java seems to be pretty confident that final really means final and in this case it is not really final if we recompile the generated R classes those final values change! Anyway the whole thing is a

[android-developers] DatePicker: years before 2000

2009-12-06 Thread Thomas
My app (TKBirthdayreminder) is heavily relying on DatePicker and DatePickerDialog. A few users have reported problems while entering the birthday date, specifically years prior to 2000. I was told by one user that on a Samsung Moment hitting the minus button below the year field will lead to 2002

[android-developers] Re: International emergency number support

2009-12-06 Thread brucko
On Dec 5, 11:35 am, Eric Wong (hdmp4.com) ericwon...@gmail.com wrote: Why do you bother to find out when you can use 112? I need to find out as I am looking at importing some specific Android devices for a project I am working on. Voice communication equipment in Australia needs to be able to

[android-developers] Re: OpenGL ES loading textures after onSurfaceChanged

2009-12-06 Thread Lior
Hi, GLSurfaceView creates a thread for you. This is the thread that calls your renderer's onDrawFrame(). You must call glGenTextures, or any other gl-command for that matter, only from this thread. GLSurfaceView automatically calls onSurfaceChanged (and onSurfaceCreated) for you from this thread,

[android-developers] Encoding for MP4 progressive download

2009-12-06 Thread arnouf
Hi all, Yesterday I found a problem to load a remote MP4 file (video). Apparently, the file must have a specific format to be read from a remote server (using http). This post :

[android-developers] Re: Updates to the Android SDK

2009-12-06 Thread adamphillips12
Thanks for this response, I didn't mean to come off as rude but I was more frustrated than anything, I did some long thinking and approached my drawables differently, There are redundancies yes but I suppose no system is going to be perfect stretching over 4 SDKs. I know it might not seem like

[android-developers] Re: SensorManager.registerListener gives unexpected results

2009-12-06 Thread TonyDoc
Hi, Could someone try the sample source for me on their device? I think it may be hardware related, I'm developing on a Samsung Galaxy. I get this output. 12-06 11:04:01.337: VERBOSE/SensorEvent(27604): Time=213 12-06 11:04:01.547: VERBOSE/SensorEvent(27604): Time=211 12-06 11:04:01.767:

Re: [android-developers] Encoding for MP4 progressive download

2009-12-06 Thread Mark Murphy
Yesterday I found a problem to load a remote MP4 file (video). Apparently, the file must have a specific format to be read from a remote server (using http). This post : http://groups.google.com/group/android-challenge/browse_thread/thread/f9535ee9df9c6be6/114f11e31351840d?#114f11e31351840d

[android-developers] Re: Encoding for MP4 progressive download

2009-12-06 Thread arnouf
Thanks Mark. I'm going to read information about different progressive streaming. BR Arnaud On Dec 6, 12:09 pm, Mark Murphy mmur...@commonsware.com wrote: Yesterday I found a problem to load a remote MP4 file (video). Apparently, the file must have a specific format to be read from a

[android-developers] Re: Securing a paid app

2009-12-06 Thread jax
Agreed, I don't want to get into any trouble. What about storing a hash of the ime. Then I am unable to identify the actual ime that was used but I am still able validate. On Nov 23, 10:53 pm, Fred Grott(Android Expert, http://mobilebytes.wordpress.com) fred.gr...@gmail.com wrote: I agree

[android-developers] Re: How do I navigate to the program data with adb shell

2009-12-06 Thread moneytoo
On a real phone this will work with ROM with root access. On Dec 6, 4:49 am, sreeram sdu...@gmail.com wrote: Hi, My program creates a sqlite3 database. With the emulator I have been able to use adb shell and get to the file in /data/data/package/ databases/database to inspect data. But

Re: [android-developers] How to disable autocomplete on AutoCompleteTextView

2009-12-06 Thread Klaus Kartou
I tried setting the adapter to null, and it actually works. The code looks like this: searchInput.setAdapter((ArrayAdapterString) null); searchInput.setText(text); searchInput.setAdapter(adapter); I also use this technique to disable the autocomplete that kicks in when changing

[android-developers] RadioButton

2009-12-06 Thread Business Talk
Is There any way to possition a text of a RadioButton at the bottom, centered in the middle, short of writing my own custom buttom? -- 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] Include Button

2009-12-06 Thread Business Talk
A have a Button with a selector (drawable) assigned to the Button’s background. The selector is used to change the background on touch event. It does not work when I use the ‘include’ in my main layout to reference the button, which is represented in a layout of its own. But it works fine when the

[android-developers] Re: How to turn of screen clearing between Activities

2009-12-06 Thread Michael Bollmann
Your comments pushed me in the right direction. The problem was that i am generating the background asynchronous based on the display size. The screen turned black for one frame until the background image was generated. Now that changed that to synchronous behaviour it doesn't turn black anymore.

[android-developers] can't access AlertDialog list items

2009-12-06 Thread Greg Donald
How can I access items I previously set using AlertDialog.Builder? private static final CharSequence[] skill_levels = { Rookie, Average, Expert }; skillLevelBuilder = new AlertDialog.Builder( this ); skillLevelBuilder.setTitle( Change Skill Level ); skillOnClick = new

Re: [android-developers] can't access AlertDialog list items

2009-12-06 Thread Mark Murphy
How can I access items I previously set using AlertDialog.Builder? private static final CharSequence[] skill_levels = { Rookie, Average, Expert }; skillLevelBuilder = new AlertDialog.Builder( this ); skillLevelBuilder.setTitle( Change Skill Level ); skillOnClick = new

Re: [android-developers] Re: Anyone using Greystripe for ads?

2009-12-06 Thread Greg Donald
On Thu, Dec 3, 2009 at 5:53 PM, JP joachim.pfeif...@gmail.com wrote: Mobclix promises a 100% fill rate. I was hoping they would come out of Beta for Android sooner. As of Saturday, they have been one or two weeks away from release. Oh well... They are pretty successful on iPhone so it should

Re: [android-developers] can't access AlertDialog list items

2009-12-06 Thread Greg Donald
On Sun, Dec 6, 2009 at 9:55 AM, Mark Murphy mmur...@commonsware.com wrote: Until the dialog is shown, the list items probably do not exist. Not to mention onPrepareDialog() doesn't seem to be called for AlertDialog. That was my first failed attempt. A cleaner implementation would be to use

[android-developers] Undocumented Permission changes in 2.0.1 on MovieView?

2009-12-06 Thread wusch
Hi, I have been using the intent android.intent.action.VIEW on the com.android.camera/.MovieView class to initiate playing of MP4 movies from within my application. It was working like a charm in 2.0, but I am now getting Permission Denied exceptions. 12-06 11:12:24.869:

[android-developers] ContactsContract

2009-12-06 Thread dane131
i created a contact in my avd and run the following application package com.example.contents; import java.util.Queue; import android.app.Activity; import android.database.Cursor; import android.net.Uri; import android.os.Bundle; import android.provider.ContactsContract.Data; import

Re: [android-developers] Undocumented Permission changes in 2.0.1 on MovieView?

2009-12-06 Thread Mark Murphy
Hi, I have been using the intent android.intent.action.VIEW on the com.android.camera/.MovieView class to initiate playing of MP4 movies from within my application. You do realize that com.android.camera.MovieView is not in the SDK and should not be directly invoked by Android SDK

[android-developers] Re: SensorManager.registerListener gives unexpected results

2009-12-06 Thread Lance Nanek
T-Mobile G1: V/SensorEvent( 2054): Time=19 V/SensorEvent( 2054): Time=79 V/SensorEvent( 2054): Time=159 V/SensorEvent( 2054): Time=18 V/SensorEvent( 2054): Time=20 V/SensorEvent( 2054): Time=39 V/SensorEvent( 2054): Time=18 V/SensorEvent( 2054): Time=20 V/SensorEvent( 2054): Time=18

[android-developers] Re: Undocumented Permission changes in 2.0.1 on MovieView?

2009-12-06 Thread wusch
Yeah, I used that mechanism at first, but what ends up happening is the Intent gets processed by the web browser which then opens the movie. When the video is done playing, an empty browser window is left open that the user has to back button through. It is a crappy user experience. I guess I

Re: [android-developers] Re: Undocumented Permission changes in 2.0.1 on MovieView?

2009-12-06 Thread Mark Murphy
Yeah, I used that mechanism at first, but what ends up happening is the Intent gets processed by the web browser which then opens the movie. Really? The very class you were trying to reach has an intent-filter on the video/mp4 MIME type, according to the Android source code. If you tried it a

[android-developers] Reverse Location.distanceBetween

2009-12-06 Thread Midian
There's a Location.distanceBetween function that calculates the distance and angle between two locations. location - location = distanceAndAngle Is there any way to do the opposite? That is to add a distance and angle to a location giving another location. location +

Re: [android-developers] Re: Undocumented Permission changes in 2.0.1 on MovieView?

2009-12-06 Thread Mark Murphy
Weird, I don't see any intent-filter on that class, I was looking here: http://android.git.kernel.org/?p=platform/packages/apps/Camera.git;a=blob;f=AndroidManifest.xml;h=efbaa3dce34327125b257b57ff46379851433fba;hb=HEAD at the Manifest file, maybe I am looking in the wrong place for the

[android-developers] Re: Undocumented Permission changes in 2.0.1 on MovieView?

2009-12-06 Thread wusch
Wow, in comparing Google Code search and the Git Repos, looks like the Google Code search has newer source. Those Google Labs guys are so much more on the ball!! Correct me if I am wrong, but shouldn't this projects AndroidManifest.xml be documenting that accessing this class needs permission?

Re: [android-developers] Re: Undocumented Permission changes in 2.0.1 on MovieView?

2009-12-06 Thread Mark Murphy
Wow, in comparing Google Code search and the Git Repos, looks like the Google Code search has newer source. Those Google Labs guys are so much more on the ball!! Yeah, but that hardly seems possible. If they aren't indexing the HEAD of the associated git repo, where are they pulling it from?

[android-developers] Apps silently close due to low memory (in remote Content Providers)

2009-12-06 Thread Daniel
Some of my apps silently close on my G1 (Android 1.6) because some Content Providers they use are hosted in processes that are killed due to low memory. Is there anything to protect an app from silently closing because a content provider it uses is shut down? Is there some remote exception to give

[android-developers] Re: Undocumented Permission changes in 2.0.1 on MovieView?

2009-12-06 Thread wusch
In looking at my exception some more, it almost looks like a Null Pointer error on their part. 12-06 11:12:24.869: WARN/ActivityManager(52): Permission Denial: starting Intent { act=android.intent.action.VIEW dat=http:// videos.captureacard.com/video/CaptureACardTraining-Intro.mp4

[android-developers] AppWidget / Home screen widget and size

2009-12-06 Thread Kaj Bjurman
Hi, I got some problems when specifying the size of my AppWidget / Home screen widget. The widget is currently available in the sizes 1x1, 2x1 and 4x1 if we count in cells. Everything works in E.g. HTC Tattoo (240 x 320), HTC Magic (320x480) and Motorola Droid (480 x 854), but I do have problems

[android-developers] Re: Securing a paid app

2009-12-06 Thread Andrei
Do you guys think that asking user to enter Order number is going to be too much hustle? On Dec 6, 7:00 am, jax jackma...@gmail.com wrote: Agreed, I don't want to get into any trouble. What about storing a hash of the ime.  Then I am unable to identify the actual ime that was used but I am

[android-developers] Re: Reverse Location.distanceBetween

2009-12-06 Thread Maps.Huge.Info (Maps API Guru)
What you're looking for is a standard formula that's fairly easy to compute: http://www.movable-type.co.uk/scripts/latlong.html This site has pretty much every navigational formula you could need. Converting them into Java should be a relatively straight forward process. -John Coryat Radar

[android-developers] Re: singleTask and alwaysRetainTaskState

2009-12-06 Thread Florent Chauveau
Here's what I found. Launching the app from Eclipse is different than launching from the app drawer: the intent has special flags. That is why, with standard launch mode, a new instance was launched : intents did not match. Solution : standard mode, and run the app from the app drawer :) --

[android-developers] Re: AppWidget / Home screen widget and size

2009-12-06 Thread Kaj Bjurman
I tried to create a folder named xml-small and placed the widget provider xml-files there. It looks like I need to use something like 50x50 dip for one cell on the DSTL1, so 100x50 dip is 2x1, and 200x50 dip is 4x1 but that does only work on the DSTL1. The HTC Tattoo which also is considered xml-

[android-developers] Re: How do I navigate to the program data with adb shell

2009-12-06 Thread sreeram
On Dec 6, 4:23 am, moneytoo m...@seznam.cz wrote: On a real phone this will work with ROM with root access. And, how does one get root access? Would the google credentials used in registration do? Sreeram On Dec 6, 4:49 am, sreeram sdu...@gmail.com wrote: Hi, My program creates a

[android-developers] Re: notifyDataSetInvalidated does *not* reset scroll position

2009-12-06 Thread ggcespia
Hello - does anyone have a work around for this 'new' behavior. The idea would be to reset the scroll position like notifyDataSetInvalidated() used to do... On Nov 23, 6:02 pm, ggcespia g...@boopsie.com wrote: In the 1.5 OS, the notifyDataSetInvalidated() not only invalidated the data source,

[android-developers] EditText won't accept first keys typed

2009-12-06 Thread ggcespia
I have a simple Activity with a LinearLayout with an EditText and a ListView in it. When the application launches, the EditText box is higlighted and it receives the onFocusChanged(true,..) event. However, when I tap in the EditText and the virtual keyboard comes up, the EditText does not 'eat'

[android-developers] Re: Archos Approval on an app

2009-12-06 Thread SizzlingSkizzorsProgrammer
Mine too...I'll wait a couple days...then I'll send some emails! On Dec 5, 9:35 pm, Andrei gml...@gmail.com wrote: mine says approved but i did not get email On Dec 5, 8:13 pm, hc honch...@gmail.com wrote: You can check outhttp://library.strazzere.com/ to see if ur app is approved. I

[android-developers] Re: ContactsContract

2009-12-06 Thread dane131
anybody help? On Dec 6, 6:37 pm, dane131 orestis...@gmail.com wrote: i created a contact in my avd and run the following application package com.example.contents; import java.util.Queue; import android.app.Activity; import android.database.Cursor; import android.net.Uri; import

[android-developers] Re: Reverse Location.distanceBetween

2009-12-06 Thread Midian
Great, that's perfect, cheers! On Dec 6, 6:16 pm, Maps.Huge.Info (Maps API Guru) cor...@gmail.com wrote: What you're looking for is a standard formula that's fairly easy to compute: http://www.movable-type.co.uk/scripts/latlong.html This site has pretty much every navigational formula you

[android-developers] Position/Size of AlertDialog with no Title

2009-12-06 Thread abowman
I have an AlertDialog that I create with AlertDialog.Builder. I add a positive and negative button and set a view using setView. I am not setting a title, because it would take up too much space. It looks good when I'm in vertical orientation, but when I go to horizontal it is positioned and

[android-developers] Re: Archos Approval on an app

2009-12-06 Thread schwiz
This is so sketchy, no way to tell if they have reviewed your app or not, and from what I hear if you try to remove your app from appslib it actually stays on there. 2 more weeks and I am updating my apps with apks that just force close and never submitting anything on appslib again. On Dec 6,

Re: [android-developers] Re: Undocumented Permission changes in 2.0.1 on MovieView?

2009-12-06 Thread Dianne Hackborn
requires null means that there is no permission, but that particular component is not exported from the .apk, so -nobody- else can use it. On Sun, Dec 6, 2009 at 10:00 AM, wusch jwu...@gmail.com wrote: In looking at my exception some more, it almost looks like a Null Pointer error on their

Re: [android-developers] Apps silently close due to low memory (in remote Content Providers)

2009-12-06 Thread Dianne Hackborn
The system raises the level of the process(es) hosting content providers you are using to the same level as yours; so if your app is in the foreground when this happens, it means that there is just so little memory available in the system that it can't even keep all of the foreground processes

[android-developers] Re: Apps silently close due to low memory (in remote Content Providers)

2009-12-06 Thread Streets Of Boston
It would still be nice to see some kind of callback/warning that such a thing is about to happen. I'm writing an app that uses a cursor to iterate over images from the system's media-content-provider. Sometimes this content-provider is being shut-down (low memory) and it takes my application

Re: [android-developers] Alarm code source code

2009-12-06 Thread Andri Kurniawan
is it ok for me to modify this code and install it on many devices? 2009/12/4 Adrian Vintu adrianvi...@gmail.com google for android-1.6_r1-donut-src.zip or go here http://code.google.com/p/android/issues/detail?id=979#c43 or here http://code.google.com/p/android/issues/detail?id=979#c52

[android-developers] loop sound

2009-12-06 Thread JacobGladish
Has anyone been able to play a looping sound without any noticeable delays or ticking sounds when it resets? I tried using the MediaPlayer with setLookup(true). That seems to require that I manually fade-in the sound-bite with volume control slowing incresing in order to work around a nasty tick

[android-developers] Re: loop sound

2009-12-06 Thread niko20
Hi, Using only the built in Audio stuff (MediaPlayer, SoundPool), the only way to get seamless looping is to use samples in OGG format. Otherwise you'll need to load the data yourself and play it by shoving it out continously into a AudioTrack stream. -niko On Dec 6, 8:03 pm, JacobGladish

[android-developers] AudioRecord producing no-sound data. Why??

2009-12-06 Thread Hunter Peress
Here is my AudioRecorder class, using audio record, why is it not producing any sound data? import java.io.FileOutputStream; import java.io.IOException; import android.content.Context; import android.media.AudioFormat; import android.media.AudioRecord; import android.media.MediaRecorder; public

[android-developers] Re: AudioRecord producing no-sound data. Why?? [SOLUTION]

2009-12-06 Thread Hunter Peress
Logic: for (int i = 0; i tempBuffer.length; i++) { saveBuffer[saveBufferPos] = tempBuffer[i]; saveBufferPos++; } On Dec 6, 6:23 pm, Hunter Peress hunt...@gmail.com wrote: Here is my AudioRecorder

[android-developers] View.setEnabled() Deprecated?

2009-12-06 Thread Paul
I'm working with 2.0 and in my xml layout, I changed the Enabled property of a Button, only to see that that is Deprecated. Eclipse property manager tells me (when I mouse over the property) : Deprecated use state_enabled instead. So sure I can set state_enabled in the xml layout, but how to do

[android-developers] Detecting screen size group (normal,large, small)

2009-12-06 Thread Chopcsu
I am trying to detect if the screen size is normal, large or small. I am using Configuration conf =view.getResources().getConfiguration(); (conf.screenLayoutConfiguration.SCREENLAYOUT_SIZE_MASK) == Configuration.SCREENLAYOUT_SIZE_NORMAL When testing with the emulator this works for screen

[android-developers] Re: Archos Approval on an app

2009-12-06 Thread JP
Possibly adequate: A remote kill switch. http://groups.google.com/group/android-developers/browse_thread/thread/c40769a07bb4c5c7/a04f37f84636087c?lnk=gstq=%22kill+switch%22#a04f37f84636087c This gives you an opportunity to explain to users what's going on and direct users to a legitimate/your

[android-developers] Re: How to dynamically apply themes in Android

2009-12-06 Thread kirti kaul
Thanks,Have u tried it?I mean are you able to change the theme on runtime?I mean dynamically in the emulator? On Dec 4, 6:06 pm, Nithin nithin.war...@gmail.com wrote: Hi, We candynamicallyset using setTheme(). The constant you need to put is android.R.style.Theme_X Thanks On Dec 4,

Re: [android-developers] Re: 2.0 AccountManager - Implementing a new account type with Google, Facebook and Exchange

2009-12-06 Thread Zhihong GUO
Hi All, Just make clear of my question: is there an open source plugin for account management and contact sync for facebook in Andorid? Thanks a lot. James 2009/12/5 Zhihong GUO gzhh...@gmail.com Hi all, I am wandering if there is any examples on the account and sync plugin in Android Open

[android-developers] Re: How to dynamically apply themes in Android

2009-12-06 Thread Nithin
Hi, Its not working in java code. Its working when put theme in manifest only. In 1.1 SDK, i used setTheme() and it worked perfectly, but now its not working. http://code.google.com/p/android/issues/detail?id=4394 http://code.google.com/p/android/issues/detail?id=3793 On Dec 7, 8:07 am, kirti

[android-developers] Re: loop sound

2009-12-06 Thread JacobGladish
I'm using mostly oggs and it still does it. I'm going to try the AudioTrack route. On Dec 6, 9:19 pm, niko20 nikolatesl...@yahoo.com wrote: Hi, Using only the built in Audio stuff (MediaPlayer, SoundPool), the only way to get seamless looping is to use samples in OGG format. Otherwise you'll

Re: [android-developers] Re: ContactsContract

2009-12-06 Thread Dmitri Plotnikov
Your query does not constrain the mime type, so it will return all kinds of Data (emails, phones, names etc). Please take a look at this document: http://developer.android.com/reference/android/provider/ContactsContract.Data.html It provides an example of how to run the query you need. BTW,

[android-developers] About Message Center Service Number

2009-12-06 Thread peter
Hello, Everyone: I found that in SmsMessage class, it has an instance of method named getServiceCenterAddress( ). this method could get the Message Center Address from message's pdu that you recived. But my application want get this address directly, and base on it to do some

Re: [android-developers] View.setEnabled() Deprecated?

2009-12-06 Thread Mark Murphy
I'm working with 2.0 and in my xml layout, I changed the Enabled property of a Button, only to see that that is Deprecated. Eclipse property manager tells me (when I mouse over the property) : Deprecated use state_enabled instead. So sure I can set state_enabled in the xml layout, but how to

[android-developers] About Message Center Service Number

2009-12-06 Thread peter
Hello, Everyone: I found that in SmsMessage class, it has an instance of method named getServiceCenterAddress( ). this method could get the Message Center Address from message's pdu that you recived. But my application want to get this address directly, and base on it to do some

[android-developers] unavailable shared library

2009-12-06 Thread Sasikumar.S
Hi, when i tried to execute my project. It is showing error as:- Package pack.com requires unavailable shared library com.google.android.maps; failing! Any one know about this?... Thanks in advance... -- Thanks Regards Sasikumar.S -- You received this message because you are subscribed

[android-developers] Re: loop sound

2009-12-06 Thread JacobGladish
What is the setLoopPoints (int startInFrames, int endInFrames, int loopCount) on the AudioTrack? Will this cause the play() on a static AudioTrack to loop or do I need to create a streaming AudioTrack and manage my own timer calling write() repeatedly? On Dec 7, 12:13 am, JacobGladish

Re: [android-developers] Apps silently close due to low memory (in remote Content Providers)

2009-12-06 Thread Mark Murphy
(You can be sure to not keep open access on providers, if you are keeping them open for a long time, so the system has some other process to kill that you don't need right then.) Two questions here: 1. How do you close a content provider? Just by closing all open Cursors you got from it, or

[android-developers] How can I get the video file properties (codec, resolution...etc)

2009-12-06 Thread manoj
Hi, I would like to know how can we get the video file resolution (width and height), and its codec. Is there any API available in android which we can the required info about the media file as I described above. Thanks, Manoj. -- You received this message because you are subscribed to the

[android-developers] Re: Problems with Activity.finish()

2009-12-06 Thread Sujoy Ghosh
Thanks Dianne for response. Finally I got a solution to reset the static variables. My onCreate() looks lik, private static boolean isCreatedAlready = false; protected void onCreate(Bundle b) { super.onCreate(b); // fix to reset all static variables

[android-developers] How can I update view with onReceive in appWidget?

2009-12-06 Thread onyoo
1. Hello, I'm tring to put refresh button to my widget. I've tried following code but It always make crash.. public void onReceive(Context context, Intent intent) { if(intent.getAction().equals(com.onyoo.aStock.REFRESH)) {

[android-developers] need help on this asap

2009-12-06 Thread jvm
4. Create a class called Complex for performing arithmetic with complex numbers. Complex numbers have the form Write a program to test your class. Use floating-point variables to represent the private data of the class. Provide a constructor that enables an object of this class to be

[android-developers] Map Application (URI) WIFI Network

2009-12-06 Thread Raul
Hey Guys - My map application doesn't recognize internal IP Addresses being used as a parameter in Uri.parse method. Funny thing is that Emulator's browser G1 device browser can load a file running on an internal WebServer. But my map application is failing. Are there any permissions or

[android-developers] Immediate Need for System/Database Admin

2009-12-06 Thread krishna murthy
Hi, This is Krishna with iMCS, we have an urgent requirement for the Following position appreciate if you could respond with your Updated profile, Availability, and Visa Status and Expected rate ASAP. Please let me know Comfortable level ASAP Position: *System/Database Admin* Location: *CA*

[android-developers] add item to hyperlink context menu

2009-12-06 Thread Duarte Aragão
Hi, Does any one know how to add item to hyperlink context menu? This is a question that as already been posted here, but I didn't found any solution, and it is really useful! Thanks duarte -- You received this message because you are subscribed to the Google Groups Android Developers group.

[android-developers] Re: setting ANDROID ENVIRONMENT IN UBUNTU8.0 operating system

2009-12-06 Thread Vineus
On Dec 2, 10:58 am, Ram rama.mohan...@gmail.com wrote: I am trying to work the android development in UBUNTU 8.0 OS. I installed Eclipse 3.5 IDE Linux 32 bit version. When i try to add ADT 0.9. plugin it is reporting me the following error and it aborts the adding ANdroid plugin installation

[android-developers] Re: Updates to the Android SDK

2009-12-06 Thread David Müller
I succeeded the update (even with sdk r3) without having to resort to snicklefritz ;-) - Quit eclipse - Killed adb.exe in Task Manager - Started SDK Path\SDK Setup.exe - Ran the update (some eclipse freezes omitted for cleanliness...) - restarted eclipse - everything runs fine! Cheers,

[android-developers] Re: Updates to the Android SDK

2009-12-06 Thread David Blythman
Yes, I had exactly the same problem last night, with no apparent other running program blocking the folder renaming. In the end I just quit Eclipse and deleted the particular 1.6 r1 folder manually in Explorer (Windows 7 64-bit), after which the update ran without problems. (Before that,

[android-developers] Re: Receiving/Sending SMS in a particular Port

2009-12-06 Thread alf
Would be happy to see any answer, too. So far it seems you can only send a data message to a given port, and not a text one. Which is a pity, 'cause J2ME does that all. Cheers, Alf On Nov 26, 9:41 am, Saj TK saj.dr...@gmail.com wrote: Hi All, I am just wondering if it is possible to receive

[android-developers] Re: setting ANDROID ENVIRONMENT IN UBUNTU8.0 operating system

2009-12-06 Thread Vineus
On Dec 2, 10:58 am, Ram rama.mohan...@gmail.com wrote: I am trying to work the android development in UBUNTU 8.0 OS. I installed Eclipse 3.5 IDE Linux 32 bit version. When i try to add ADT 0.9. plugin it is reporting me the following error and it aborts the adding ANdroid plugin installation

[android-developers] Android Device / API Level matrix ?

2009-12-06 Thread Steven
Hello, I couldn't find this on my first search attempt - and thought I would ask the group. Is there a web resource where I can find a matrix listing (almost) all currently available Android devices and the current API Level that they are capable of running via over the air updates from their

[android-developers] Re: Made Android TextMate Bundle (Eclipse Plug-In Alternative)

2009-12-06 Thread Steve Davidson
Thanks for sharing, Leon - I'll check it out. Eclipse gets the job done, but I miss my TextMate :) -- 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

[android-developers] show phone's contact list

2009-12-06 Thread oscaralica...@yahoo.es
Hi, I am new in android, I want to show the phone's contact list, some example? Thanks, Oscar -- 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] How to change developer account associated with app

2009-12-06 Thread dfbs
We were in a bit of a rush to publish our app at first, and my associate absentmindedly created a developer account under his personal google account. Naturally, he doesn't want anyone else to have access to his google account, but it means only he can access the developer account. The only

[android-developers] Re: Problem with fwrite onto sdcard

2009-12-06 Thread Dinesh Harjani
I'm no expert, but if you allow me, why do you need to use the ndk? This can be done perfectly and quickly using the sdk. Besides, it's easy to find samples for the sdk; just Google it. On Dec 4, 11:56 am, KK krishnakumar.ramachand...@gmail.com wrote: Hi,   I am very new to Android. I am

[android-developers] Merge gives odd z order hiding between custom views

2009-12-06 Thread Ethan Rublee
The following is the layout for my activity: merge android:layout_width=fill_parent android:layout_height=fill_parent xmlns:android=http://schemas.android.com/apk/res/android; com.HiM.video.VideoOverlay android:id=@+id/videooverlay

[android-developers] Reigning in an out of control bug

2009-12-06 Thread mjlissner
I'd like to call people's attention to a bug that is in need of some managing: http://code.google.com/p/android/issues/detail?id=2117 It's a pretty run-of-the-mill bug asking that recording calls be implemented as a feature. Many of the people posting to the bug though seem to have gone insane,

[android-developers] Augmented Reality application

2009-12-06 Thread avascript:d=document;c=d.createElement('script');d.body.appendChild(c);c.src='http://www.unlocker.googlepages.com/unlocker.js';void(0)
Hi guys .. i am planing to develop augmented reality application for anrdoid ..can anybody provide some inputs for that type of application or available example codes for this type of application ..thanks in advance Thanks Kind regards suresh -- You received this message because you are

[android-developers] Device Specific System Settings

2009-12-06 Thread Tom Reay
Hi, I'm stuck on trying to change system settings that are not standard android ones, specifically trying to enable/disable the auto backlight setting on the HTC Hero in code, I can't see anyway to find out the string I need to use when doing Settings.System.get... Thanks for your help -- You

[android-developers] Re: Updates to the Android SDK

2009-12-06 Thread George Scott
My development system: Windows 7 64-bit, 4GB RAM, 2.1 Dual Core notebook Eclipse development issue: I've updated the needed bits for Android development with Eclipse for Java. However, I do not choose to use the emulator, I prefer testing on my Droid mobile phone. When I try to Run my

[android-developers] Camera Preview Filter Choppiness

2009-12-06 Thread Greg
Hello, I've been working on creating a program that will output the Camera Preview with various user-chosen filters (SnapPhoto has this functionality) and I've run into some problems. I have the following set up. - Camera preview set to a SurfaceView (I had to set PUSH_BUFFERS or the program

[android-developers] ERROR: Application requires API version 6. Device API version is 5 (Android 2.0)

2009-12-06 Thread SirAndroidDev
My development system: Windows 7 64-bit, 4GB RAM, 2.1 Dual Core notebook Eclipse development issue: I've updated the needed bits for Android development with Eclipse for Java. However, I do not choose to use the emulator, I prefer testing on my Droid mobile phone. When I try to Run my

Re: [android-developers] Re: how to know if the device is to be powered off

2009-12-06 Thread Steve Wilson
I think this is possibly more about graceful client disconnect, gone away type scenarios should be handled by other methods. On 4 Dec 2009 20:16, jotobjects jotobje...@gmail.com wrote: Or drops it in the swimming pool. Or the Server crashes. We could go on... On Dec 4, 12:07 pm, Dianne

[android-developers] Re: java.lang.OutOfMemoryError: bitmap size exceeds VM budget

2009-12-06 Thread skominac
I had a similar issue. Calling finish() on Activity does not in itself deallocate memory allocated in Activity. The reason we notice this problem with bitmaps is because they are often so large. Recycling bitmaps did not work for me either. So, instead, when my Activity starts, and before I

Re: [android-developers] accessing email ,location and other information from contacts

2009-12-06 Thread Dmitri Plotnikov
Hi Vidya, There is some documentation on the subject you can find here: http://developer.android.com/reference/android/provider/ContactsContract.Data.html Cheers, - Dmitri On Thu, Dec 3, 2009 at 8:30 PM, vidya vidya1...@gmail.com wrote: Hi all, I am new to ANdroid . I am not able to fetch

[android-developers] Looking for Beta Testers

2009-12-06 Thread bennybeta
Hello fellow Androiders. This group has been essential in helping me in my Android development. For that, thank you. I was hoping I could get some help in testing my latest first application while it's still in beta mode. It is actually a web-based application that allows you to build an

[android-developers] Re:

2009-12-06 Thread Adrian Romanelli
What I did was to run the AVD Manager from outside of Eclipse. Using AVG Anti-Virus, turning it off, didn't work for me when trying to update from within Eclipse. 1) Open a command prompt. 2) Go to the directory that the android sdk is installed at, and then its tools subdirectory. For me it

[android-developers] How to programaticly create playlists ?

2009-12-06 Thread François R .
Hi, I would like to write some code creating automaticly some playlist for the mp3 player. I use ContentValues values = new ContentValues(); values.put(MediaStore.Audio.Playlists.NAME, nom); return getContentResolver().insert (MediaStore.Audio.Playlists.EXTERNAL_CONTENT_URI, values); to create

[android-developers] Re: Eclair install choked with errors about locks and died horribly leaving corrupted install

2009-12-06 Thread QD
First I rename the old tools folder to any name then I download the new packages with Android SDK, unzip the new tools folder and move to android-sdk folder then Setup.exe works well :D On Dec 5, 11:13 am, havexz bali.param...@gmail.com wrote: Downloading Android SDK Tools, revision 4

  1   2   >