[android-developers] Re: virtual keyboard problem

2010-04-04 Thread Nithin
This is the default behaviour of Android. If user click on the EditText, virtual keyboard will appear.. Nithin On Apr 5, 11:52 am, rajesh chandrasekaran wrote: > Hi All, > > I am new in android, i am having problem in Virtual Keyboard. > > I am having text field. if user click the text field th

[android-developers] virtual keyboard problem

2010-04-04 Thread rajesh chandrasekaran
Hi All, I am new in android, i am having problem in Virtual Keyboard. I am having text field. if user click the text field then virtual keyboard need to appear. how to do this. please help me Thanks C.Rajesh -- You received this message because you are subscribed to the Google Groups "And

[android-developers] Re: AudioTrack in streaming mode

2010-04-04 Thread ani
You can use audiomanager apis to do what you are trying to do... -- 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 android-

[android-developers] Re: Sqlite and SimpleCursorAdapter

2010-04-04 Thread elham
Thank you for your help . On Apr 1, 4:54 pm, Mark Murphy wrote: > elham wrote: > >  Hello , I want to create a table whose primary key will  be some > > other field and not _id . The below table gets created but the value > > of _id remains null  : > > > "create table accounts ("+BaseColumns._ID+

[android-developers] Re: Reusable Android library packaging: interest?

2010-04-04 Thread Pieter
Hello Mark, You are absolutely right: support for reusable components other than pure Java code (and Java resources) is sorely missed. I personally think Google should step up and add this kind of support to the Android eclipse plugin. In my opinion, the problem of lack of tool support is minor w

[android-developers] how to add a local language to my android application

2010-04-04 Thread santha
Hi Guys, I am new bee to android.Im trying to add local language to my android application.. But i don't know how to do that.. I tried with the default languages in android, those are working fine.. Could any one please help me.. Thanks in advance Cheers Uday Kiran Pichika -- You received thi

[android-developers] Android Class Issue

2010-04-04 Thread Maxood
I have updated software and ADT in my Eclipse a number of times. I am unable to run projects above than 1.5.I have the following errors showing up in my console window after i create a HelloWorld project with API Level 4 (1.6): [2010-04-04 22:21:53 - Framework Resource Parser] Collect resource IDs

Re: [android-developers] Re: Splash Screen Appears only once

2010-04-04 Thread kavitha
Hi even i have same problem,,splash screen appears only once,,,and doesnt show up when application is restarted on device. How to solve it?Please tell me. I hope Dror520 has solved the problem. Thanks Kavitha On Mon, Apr 5, 2010 at 6:43 AM, Dror520 wrote: > thanks for your answer! i figured

[android-developers] Multiple Listviews in single Activity?

2010-04-04 Thread javame_android
Hi, I want to have multiple listviews in single activity. But only one listview should be displayed at one time. The listviews will be loaded dynamically. So, how can I fill all the four listviews at the same time and display only one. If anyone knows the solution then please share it over here.

[android-developers] App released but only tested using the emulator. Could you please test it to me?

2010-04-04 Thread Gabriel Simões
Hi all, After spending some time learning about Android´s SDK I´ve finally "finished" a first version of my first app: a metronome. It´s a simple app but I´ve faced some problems with AudioTrack, most trying to syncronize the audio with changes on the UI. In the end I did all my tests using the An

Re: [android-developers] Re: how to DEBUG build an APK?

2010-04-04 Thread ~ TreKing
On Sun, Apr 4, 2010 at 9:38 PM, HeHe wrote: > my apk stills gets a *false* Config.DEBUG value. Are you being serious? Which part of Xavier's post did you not understand? So once again: On Sun, Apr 4, 2010 at 3:35 PM, Xavier Ducrohet wrote: > If you are talking about > http://d.android.com/r

Re: [android-developers] Behavior of "Just In" in Market

2010-04-04 Thread ~ TreKing
On Sun, Apr 4, 2010 at 8:04 PM, Siva G wrote: > When I publish update to my app, sometimes, the app does not feature in the > "Just In". But sometimes it does too. Have anyone faced this issue? > Your app will only show up in the Just In list if there's been some time since the last update (like

[android-developers] Re: need someone to try my app on htc hero

2010-04-04 Thread kanatacrude
Thank you so much folks. I appreciate the help. Garnet On Mar 31, 3:05 am, Dan Sherman wrote: > Downloads, installs, and runs on USA's Sprint HTC Hero as well. > > - Dan > > On Wed, Mar 31, 2010 at 12:58 AM, ko5tik wrote: > > German HTC Hero also works > > (downloads and installs,  I do not ha

Re: [android-developers] I want to get Listview click event

2010-04-04 Thread dillirao malipeddi
implement onScrollListeners public abstract void onScroll (AbsListView view, int firstVisibleItem, int visibleItemCount, int totalItemCount) Since: API Level 1 Callback method to be invoked when the list or grid has been scrolled. This will be called after the scroll has completed ParametersviewT

[android-developers] Web Browser die when request cached geolocation position.

2010-04-04 Thread oslim
Does anyone know about this problem? When I run Browser and create new windows by press button menu key to menu->windows->press + New window from time to time Browser die. I have try to solve this problem but it doesn't works. If anyone know the solution please tell me. Andro

[android-developers] Re: how to DEBUG build an APK?

2010-04-04 Thread HeHe
it does not work. here is the setting in my manifest.xml: my apk stills gets a *false* Config.DEBUG value. On Apr 4, 6:40 pm, "~ TreKing" wrote: > On Sun, Apr 4, 2010 at 6:20 PM, HeHe wrote: > > how can i make a "debug build" in Eclipse IDE? > > Use the "debuggable" flag in your manifest

[android-developers] Re: Can´t set the emulator´s dns servers on windows

2010-04-04 Thread Gabriel Simões
Actualy 8.8.8.8 is google´s open DNS The second should be 8.8.4.4 On 4 abr, 22:54, Brion Emde wrote: > That's a funny looking DNS that you're entering. How are you finding > your DNS? > > I'm not saying those are not right, but I suspect that if they were > right, I your emulator would work. > >

[android-developers] Re: Reusable Android library packaging: interest?

2010-04-04 Thread lordjoe
I am interested - I have the same issues even sharing with my own libraries - In some ways the an approach might be to simply import both the code and the resources into the project if that were possible - The biggest issue I run across is resources which don't seem to get imported properly when I

[android-developers] Re: Can´t set the emulator´s dns servers on windows

2010-04-04 Thread Brion Emde
That's a funny looking DNS that you're entering. How are you finding your DNS? I'm not saying those are not right, but I suspect that if they were right, I your emulator would work. On Apr 4, 7:37 pm, Gabriel Simões wrote: > Hello, > > Right now my app needs to use the device´s (emulator´s) int

Re: [android-developers] Re: how to DEBUG build an APK?

2010-04-04 Thread ~ TreKing
On Sun, Apr 4, 2010 at 6:20 PM, HeHe wrote: > how can i make a "debug build" in Eclipse IDE? > Use the "debuggable" flag in your manifest. > right now, no matter if i use "Run>Run As" or "Run>Debug As" menu > commands, i always see Config.DEBUG == false. > Didn't Xavier just answer this for

[android-developers] Can´t set the emulator´s dns servers on windows

2010-04-04 Thread Gabriel Simões
Hello, Right now my app needs to use the device´s (emulator´s) internet connection. I´ve read before that since my computer has internet the emulator should be able to access it. On linux everything works but on windows the emulator can´t find the DNS I´m using, event if I add -dns-server 8.8.8.8,

[android-developers] Motorola Droid - white balance issues

2010-04-04 Thread Sheado
Howdy all, I've developed a camera-based app, but am experiencing apparent white balance (over balance?) issues on Motorola Droid. I'm using previews and auto-focus before taking the picture - with takePicture() being called from a thread within onAutoFocus(). If I pass the camera in front of a b

[android-developers] Re: Splash Screen Appears only once

2010-04-04 Thread Dror520
thanks for your answer! i figured it out it was actually my fault ... lol now i'm having a hard time figuring out how to start the mydeals activity but keep the splashscreen activity showing on the screen and when the mydeals activity is done move to that activity ... thanks! On Apr 3, 7:34 am, Ku

[android-developers] Behavior of "Just In" in Market

2010-04-04 Thread Siva G
Hi, When I publish update to my app, sometimes, the app does not feature in the "Just In". But sometimes it does too. Have anyone faced this issue? What might be going wrong? Thanks in advance for your answer. -- You received this message because you are subscribed to the Google Groups "Androi

Re: [android-developers] Reusable Android library packaging: interest?

2010-04-04 Thread Mark Murphy
> Sounds like intents could solve some of the problems if apps and widgets > are > developed with reusability in mind. Widgets, as subclasses of View, do not usually interoperate with Intents. -- Mark Murphy (a Commons Guy) http://commonsware.com Android App Developer Books: http://commonsware.c

[android-developers] I want to get Listview click event

2010-04-04 Thread syuta
hello. I use ListView.(Adapter is a Custom Adapter) *extends BaseAdapter I wanto to get selected item, when I click the item in the list. now, I use OnItemClickListener, OnItemSelectedListener. but, This program doesn't do the operation for which I hope. not click. I want to get a selected Item i

Re: [android-developers] MediaStore.ACTION_VIDEO_CAPTURE

2010-04-04 Thread Carmen Delessio
Set up the Intent to do video capture and then call StartActivityForResult. The example has a hard-coded 2 as the identifier. Intent i = new Intent("android.media.action.VIDEO_CAPTURE"); startActivityForResult(i, 2); Add an onActivityResult Method protected void

[android-developers] MediaStore.ACTION_VIDEO_CAPTURE

2010-04-04 Thread bmalicoat
I'm trying to use the built in camera to capture a video but when I specify the URI I want the file saved to (using videoCaptureIntent.putExtra (MediaStore.EXTRA_OUTPUT, Uri.fromFile (fileLocation)); ) the 'Retake' and 'Play' buttons crash my app. I am trying to switch and let the Intent store the

[android-developers] Re: Android Dev for Military Applications

2010-04-04 Thread schwiz
Droid does kill people. On Mar 31, 2:59 pm, Nate wrote: > There are a few opportunities out there for Android development in the > military. We'd really like to pull in a developer to help our efforts > out on some of these projects - the bulk of the work would go to you. > If you're interested,

[android-developers] Re: how to DEBUG build an APK?

2010-04-04 Thread HeHe
yes, i was talking about Config.DEBUG constant. how can i make a "debug build" in Eclipse IDE? right now, no matter if i use "Run>Run As" or "Run>Debug As" menu commands, i always see Config.DEBUG == false. i am using Eclipse v3.4.1 and Android SDK 1.6. thanks in advance for further answer!! O

[android-developers] How integrate mobclix on Android

2010-04-04 Thread Gabriel Simões
Hello, After some weeks learning about Android I´m about to publish my first app. Since it´s going to be ad-supported and I decided to go with mobclix (based on reviews) I´ve finaly signed up for it and then tried to download it´s android SDK. Well, the sdk comes with only one extensionless file a

[android-developers] Re: Moving a graphic on different screen sizes with the right ratio?

2010-04-04 Thread Lance Nanek
That field is documented as being a bit mask: http://developer.android.com/intl/fr/reference/android/content/res/Configuration.html#screenLayout That means that it is one number, but different bits within the number are being used to indicate different things. To check any particular thing about i

[android-developers] Re: Auto-centering and auto-clipping TextView background?

2010-04-04 Thread Kumar Bibek
If your image is a texture, use 9-patch images. This is the recommended way to manage your images on Android. There's a slight learning curve, but once you get a hold of it, it will be a breeze. Thanks and Regards, Kumar Bibek On Apr 5, 1:30 am, HippoMan wrote: > Is there a way to tell Android t

[android-developers] Re: intensive writing to internal memory

2010-04-04 Thread Bob Kerns
If Jason's suggestion of pushing it to a server is inadequate, you can buffer events, and only write them out once a minute or 10 minutes or something. This will put an upper bound on the number of writes performed. You can combine the approaches, and push to the server, and only write to the file

Re: [android-developers] Re: how to DEBUG build an APK?

2010-04-04 Thread Xavier Ducrohet
If you are talking about http://d.android.com/reference/android/util/Config.html#DEBUG then it's based on whether the device build is a debug build. It has nothing to do with your app. BTW, if Config.DEBUG is true, (for example in the emulator), then putting debuggable=true in your manifest is not

[android-developers] Auto-centering and auto-clipping TextView background?

2010-04-04 Thread HippoMan
Is there a way to tell Android to do the following when setting the background image for a TextView? 1. Scale the image so that it's just large enough to fill the the entire viewing area without any black borders, while still maintaining its aspect ratio. This might require clipping once the image

[android-developers] Re: Fastest and most reliable Location provider

2010-04-04 Thread Bob Kerns
I should have said to opt for the simplest thing that actually works! Or, to put it another way, "as simple as possible, but no simpler". (Neither phrase is mine, but I can't recall the correct attributions.) For the fastest result, I'd start off with both listeners. The network will nearly alway

[android-developers] Re: Android GData (Calendar)

2010-04-04 Thread Johan
Thanks! Have tried to use the GData Java std. Now saw that they had an Alpha of GData v2 where they included a part of Android. Link: http://code.google.com/p/gdata-java-client/downloads/list On 3 Apr, 16:11, Kumar Bibek wrote: > You can use the official gdata libraries from google. Whats stoppi

[android-developers] Re: Displays on emulator, not on phone

2010-04-04 Thread Bob Kerns
In addition to this fine reason, using the provided symbol will allow the compiler to catch any typos, while simultaneously making it clear that you are using a standard value, and allowing you to see the documentation for that value with the mouse. It's a big win all around. On Apr 4, 5:09 am, M

Re: [android-developers] Re: intensive writing to internal memory

2010-04-04 Thread Jason LeBlanc
Why not push the data up to a server? J On Apr 4, 2010 2:53 PM, "Nadav" wrote: Thanks Bob and Dianne, The issue is that I have no choice but do a lot of writing since this is a research app that constantly logs phone and user activity over many months... We are dealing ok with battery and proc

[android-developers] Re: 2-D Graphics Performance after Motorola Droid 2.1 Update

2010-04-04 Thread patbenatar
Phil- Meant to send this directly to you not post on the public group [sorry about going off-topic on your public discussion]! Whoa.. Had no idea about the official 2.1 update. I rooted and installed CM after the little snafoo a few weeks back with Motorola pushing off the update again.. Glad to

[android-developers] Forcing the Symbols Soft Keyboard

2010-04-04 Thread Nmix
I have an EditText that specifies android:digits where all the specified characters are on the standard symbols soft keyboard. Unfortunately it seems that just using android:digits is enough to always cause the qwerty keyboard to pop up. Always having to press the 123? key for that one EditText is

[android-developers] AudioTrack in streaming mode

2010-04-04 Thread Simone
Hi everyone, I need to modify the volume of an AudioTrack, while it is playing a sound in streaming mode. I have something like this: minBufSize=AudioTrack.getMinBufferSize(11025, AudioFormat.CHANNEL_OUT_STEREO, AudioFormat.ENCODING_PCM_16BIT); fSound=new AudioTrack(

[android-developers] Re: intensive writing to internal memory

2010-04-04 Thread Nadav
Thanks Bob and Dianne, The issue is that I have no choice but do a lot of writing since this is a research app that constantly logs phone and user activity over many months... We are dealing ok with battery and processing power (we only write every several minutes), and the main concern remains t

[android-developers] Re: Need Help in File Functions

2010-04-04 Thread AJ
There is one file which is present in following mentioned path. File: FileUtils.java (\frameworks\base\core\java\android\os) Functon: public static native int setPermissions(String file, int mode, int uid, int gid); // Native Function But you can not use in eclipse as it is *not*

[android-developers] Re: Need Help in File Functions

2010-04-04 Thread Kumar Bibek
Not all files will have the permission to edit/delete. You should first check for the permission before doing an operation on a file. Thanks and Regards, Kumar Bibek On Apr 4, 8:42 pm, brijesh masrani wrote: > Hello Everyone > > I want to modify a text file using Android program . > I searched a

[android-developers] Re: error while calling an activity from another activity

2010-04-04 Thread AJ
> Code is:- > public class Pwaclient extends Activity { > public void onCreate(final Bundle savedInstanceState) { > super.onCreate(savedInstanceState); > Intent i=new Intent(v.getContext(),Album.class); > What is this v in [(v.getContext()] ? Try "this" Thanks, AJ -- You received this messag

[android-developers] Re: error while calling an activity from another activity

2010-04-04 Thread Kumar Bibek
This log doesn't have enough info on the error. Please post the whole log so that people can get the actual error here. Thanks and Regards, Kumar Bibek On Apr 4, 11:56 pm, anushree wrote: > me and my partners are working on developing a pwa client for android > Am gettin an error while callin an

[android-developers] crash in Android SMS code

2010-04-04 Thread NTDYLF
Hi, I'm sending data SMS messages with no trouble until one (otherwise unremarkable) message in particular makes it crash: E/AndroidRuntime(29764): Caused by: java.lang.NullPointerException E/AndroidRuntime(29764):at android.telephony.SmsMessage $SubmitPdu.(SmsMessage.java:100) E/AndroidRu

Re: [android-developers] Where do the resources from android.R come from?

2010-04-04 Thread Dianne Hackborn
Not all resources in the framework are available to applications. There is a public.xml file that lists the ones that are in the public SDK. On Sun, Apr 4, 2010 at 10:46 AM, rnstewart wrote: > I'm trying to understand the whole android.R structure, and it would > be nice if I knew where the so

[android-developers] error while calling an activity from another activity

2010-04-04 Thread anushree
me and my partners are working on developing a pwa client for android Am gettin an error while callin an activity from another activity.the error is as follows: WARN/InputManagerService(59): Window already focused, ignoring focus gain of: com.android.internal.view.IInputMethodClient$Stub $pr...@43

[android-developers] Where do the resources from android.R come from?

2010-04-04 Thread rnstewart
I'm trying to understand the whole android.R structure, and it would be nice if I knew where the source of those resources is. I assume that, like the R object in my own project, it is built from a resources directory somewhere on my system. That directory should contain the drawables, layouts, va

[android-developers] Re: plotting Market sales - determining if your android work is profitable

2010-04-04 Thread Lance Nanek
Neat. I wonder if the market API could be used to do graphs for free apps as well: http://code.google.com/p/android-market-api/ On Apr 4, 1:54 am, kostmo wrote: > I thought I'd share a script that I've been working > on:http://www.anddev.org/viewtopic.php?p=30732 > > It lets you generate paramet

[android-developers] Re: ListView row floats out of place, scrolls different speed?

2010-04-04 Thread Jeffrey Blattman
to answer my own question (sort of), there were two objects in the list that were equal according to my equals / hashcode. as this is a list i am not sure why this would be a problem, but removing the unnecessary equals / hashcode made it go away. On Sun, Apr 4, 2010 at 9:55 AM, Jeffrey Blattman

[android-developers] Moving a graphic on different screen sizes with the right ratio?

2010-04-04 Thread Bevor
Hello, I tracked the behaviour of the different screen sizes when I increased the position of a graphic by 10 pixel. Unfortunately happened what I already thought. When the display is bigger, I'm able move a graphic a lot of times more to get to the bottom of the screen. So the ratio between the gr

[android-developers] Re: Fastest and most reliable Location provider

2010-04-04 Thread Maps.Huge.Info (Maps API Guru)
There are competing parameters in a location fix: Availability, Speed and accuracy. You'll have to determine what level of accuracy is acceptable before you can decide which fix you want to use. I've seen network location fixes with 10,000 meter accuracy, is that good enough for your application?

Re: [android-developers] drawText and drawBitmap start location is different?

2010-04-04 Thread Stanley Li
Thanks a lot. You are right. The x,y for text is lower left. On Sun, Apr 4, 2010 at 12:14 AM, SoftwareForMe.com SoftwareForMe.com < softwareforme@gmail.com> wrote: > I don't recall the exact details in Android, but in almost all graphics > APIs the Y position for text is either the [baseline]

[android-developers] IllegalArgument Exception: Service is not registered: when unbindservice is called.

2010-04-04 Thread praj
Hi, I am getting IllegalArgumentException: Service is not registered when i try to stop my service by initially calling unbindservice and then stopService. Before calling unbindService i first check if my service is still bound by checking (mBoundService - obtained from the ServiceConnection) I

[android-developers] ListView question

2010-04-04 Thread DonFrench
Is there any way to programmatically select a ListView item such that when using a simple_list_item_single_choice layout, it lights up the radio button? Because setSelection(position) does not seem to have this effect. -- You received this message because you are subscribed to the Google Groups

[android-developers] Re: Activating Bluetooth

2010-04-04 Thread DulcetTone
Ok... it's ugly. Indeed, this was one of the things I found difficult to do in the same manner in Android 1.x and Android 2.x I actually found it difficult to have one app exercise both these interfaces, one of the several reasons I wish I had a separate app for 1.x vs 2.x -- if you've not yet m

[android-developers] Re: Contacts from 1.5 and 1.6 ... filtering out trash

2010-04-04 Thread DulcetTone
Dmitri, thanks for this. You might be right-- the user indicated an HTC app (not Android, per se) did this sync for him. I think I may offer an option for including ALL contacts with a simple textual filter on their display name in an effort to weed out the filth. This alternative mode would sup

Re: [android-developers] Reusable Android library packaging: interest?

2010-04-04 Thread Ning Shi
On Mon, Mar 29, 2010 at 10:19 AM, Mark Murphy wrote: > Creating Android JARs is fairly easy...so long as all you want to do is > ship Java code. If your Java code needs resources or assets, or offers > up activities or services, then you have to ship a JAR plus a whole > bunch of other stuff. And

[android-developers] [Urgent] Need Help in File Functions

2010-04-04 Thread brijesh masrani
Hello Everyone I want to modify a text file using Android program . I searched about that and i found that I have to copy whole content of file and than Modify it and save it to other file and than Delete Original file and rename the Modified one. I tried file.delete() method But i am getting err

[android-developers] Re: plotting Market sales - determining if your android work is profitable

2010-04-04 Thread JP
Hey thanks - I'll give it a test run one of these days. I like Kevin's idea to run it as web app On Apr 4, 12:57 am, Karl Ostmo wrote: > The script grabs the cookie from an authenticated session with Google > Checkout before downloading the purchase records, which requires that the > user enter

[android-developers] Re: Complains of shrinking font sizes

2010-04-04 Thread polyclefsoftware
Yep, I'm experiencing the same thing, both personally after upgrading my Droid to 2.1 and from users who have just upgraded. I'm assuming there's an easy fix, but does anyone else know why the update had this effect? On Feb 10, 2:54 pm, Timothy DeWees wrote: > Hello, > > I have an application on

Re: [android-developers] Re: Progress dialog question/problem (API Demos example)

2010-04-04 Thread Evgeny V
Thanks! Please check the attached file from android-2.1\samples\ApiDemos\src\com\example\android\apis\app folder /* Display a custom progress bar */ Button progressButton = (Button) findViewById(R.id.progress_button); progressButton.setOnClickListener(new OnClickListener()

[android-developers] Re: Changing AlertDialog font size

2010-04-04 Thread Yahel
Thank you Mark, Worked not like a charm at all, but work non the less :D I found it awfully complicated and not very well documented just to set a font size, or a layout. The setAdapter seems to be pretty powerful although I'm not sure I understood everything. For future reference, in the onCre

[android-developers] Re: Service Object Availability between Activities

2010-04-04 Thread Tunneling
I have a Connection object that is instantiated by the ConnectionService. I bind to the service in order to access the Connection object and get information from a controller over TCP/IP. Again, I launch the service from a splash screen with success. I bind to the service in my main activity and c

[android-developers] Re: How to Launch Contact application displaying multiple phone numbers?

2010-04-04 Thread AJ
Any clue please regarding my 2 problem Thanks AJ On Apr 3, 7:00 pm, AJ wrote: > Hi group > > Now I am able to insert 3 phone numbers. > > But There does not looks a way that How can I enter other phone > numbers like :- Work Fax, Home Fax, Pager etc. > > Any clue please. > > Here is the code wh

Re: [android-developers] Re: Displays on emulator, not on phone

2010-04-04 Thread Mark Murphy
RMD wrote: > I had tried LocationManager.GPS_PROVIDER but for some reason I didn't > work. I can't remember now if I tried it before or after I realized > the GPS was off :) > > LocationManager.GPS_PROVIDER is supposed to use whatever location > source is available right? No, LocationManager.GPS

[android-developers] Re: Displays on emulator, not on phone

2010-04-04 Thread RMD
I had tried LocationManager.GPS_PROVIDER but for some reason I didn't work. I can't remember now if I tried it before or after I realized the GPS was off :) LocationManager.GPS_PROVIDER is supposed to use whatever location source is available right? Thanks, RMD On Apr 3, 8:05 am, Mark Murphy

Re: [android-developers] Finish activity

2010-04-04 Thread Mark Murphy
ReyLith wrote: > Hi! > > I have a problem with my application. During the execution of it, I > have some buttons which execute other activities when I click on them. > The way I am realising it is: > > private OnClickListener scaleImage = new OnClickListener() > { >public void onClick(Vie

[android-developers] Finish activity

2010-04-04 Thread ReyLith
Hi! I have a problem with my application. During the execution of it, I have some buttons which execute other activities when I click on them. The way I am realising it is: private OnClickListener scaleImage = new OnClickListener() { public void onClick(View v) { Intent i

Re: [android-developers] Re: How to refer an attribute value to the other attribute in the same element of layout

2010-04-04 Thread Mark Murphy
adag wrote: > Thanks Mark for your reply, > > But my requirement is little different. basically I am changing > listview android:background Color dynamically. As you know that while > list gets prepared every time, first it refers to the > android:cacheColorHint from the cache to draw the list oth

[android-developers] Re: Creating Multiple Instances of a Class

2010-04-04 Thread patbenatar
Excellent idea TreKing! On Apr 3, 12:10 pm, "~ TreKing" wrote: > On Fri, Apr 2, 2010 at 5:58 PM, Matthew Patience < > > matthewj.patie...@gmail.com> wrote: > >  What I want to do is while the user is > > holding down the fire button to have it keep creating instances of the > > Laser class like

[android-developers] Re: 2-D Graphics Performance after Motorola Droid 2.1 Update

2010-04-04 Thread patbenatar
Whoa.. Had no idea about the official 2.1 update. I rooted and installed CM after the little snafoo a few weeks back with Motorola pushing off the update again.. Glad to hear 2.1 is now officially on the Droid!! Is it the complete Nexus One version? What features does it have/lack? -Nick On Apr

[android-developers] Re: Announcing RoboGuice 1.0

2010-04-04 Thread Matthias
I was thinking about using Guice myself before, but hesitated fearing to make the overall sluggishness of the platform even worse. How much of an overhead are talking about in terms of memory footprint and size of bundled libraries? Any noticeable impacts on speed or battery life? How often does G

[android-developers] Re: Fastest and most reliable Location provider

2010-04-04 Thread patbenatar
Bob- You're absolutely right. The phone will continue to be a phone, so the Network listener really isn't an energy consumer as its always connected to towers. Great analysis, thanks! You say simplicity is probably the best approach here--my main goal is to get a location as fast as possible, wheth

[android-developers] Re: 2-D Graphics Performance after Motorola Droid 2.1 Update

2010-04-04 Thread Michele Scorcia
Hi, I modified the Phil's LagTest to run in parallel a busy thread that just forces the cpu to run at full speed. With this test on my Nexus One and my G1 the fps is constantly at 60fps. A waste of cpu but just for testing. It's interesting to see, using the profiler, the scheduling of the drawing

Re: [android-developers] plotting Market sales - determining if your android work is profitable

2010-04-04 Thread Karl Ostmo
The script grabs the cookie from an authenticated session with Google Checkout before downloading the purchase records, which requires that the user enter their password. It's probably better that the passwords are not transmitted to my system. To run the script yourself, you just need an Ubuntu

[android-developers] help needed in integration of facebook api with android [plz answe my confusion in the sample code given]

2010-04-04 Thread wahib.t...@gmail.com
Hello experts ! I am trying hard for many days to implement authentication facility in my app by facebuk login id. I tried with fbconnect api but it wasnt working. I got this code and tried . It works fine on version 1.6 and connects to my facebook application. But i just need to ensure if login is

[android-developers] SMS number

2010-04-04 Thread perumal316
Hi, Is there any record in Android which keep track of all the numbers to which SMSes are send? Because for the application I am writing I want to display the record if possible. Is there any way I can access and display the numbers SMSes has been send to? Thanks In Advance, Perumal -- You rec

Re: [android-developers] drawText and drawBitmap start location is different?

2010-04-04 Thread SoftwareForMe.com SoftwareForMe.com
I don't recall the exact details in Android, but in almost all graphics APIs the Y position for text is either the [baseline] (bottom of a letter 'o' or 'n') or [baseline + descent] (bottom of the letter 'g' or 'y'). In other words, (x,y) for bitmaps is top-left, (x,y) for text is lower left. A q

[android-developers] Re: Device Seeding Program for Top Android Market Developers

2010-04-04 Thread Jeremy Logan
Nevermind... it turns Verizon has just never heard of the phone and, thus, doesn't have the free 30-day info. On Apr 3, 3:07 pm, Jeremy Logan wrote: > Where are you guys entering *228? I'm stuck on the "activate" screen. > > On Apr 1, 8:17 am, Wicked96SS <45gl...@gmail.com> wrote: > > > On Mar 3

[android-developers] Re: Reusable Android library packaging: interest?

2010-04-04 Thread Manfred Moser
I like the idea and as far as I know this is already possible to some extend by using the Maven Android Plugin. However this is really a suboptimal way in terms of component reuse on the device. Ideally it would even go further and get to a stage where a app could declare a dependency to a widget,