[android-developers] Re: No stats? 0 total; 0 active installs while 5000 AdMob impressions??

2010-01-08 Thread greg1x
Thank you for mentioning flurry. I will implement it. Also, the stats started to work for me on the market. Thanks for all replies! On Jan 8, 11:52 am, Abdul Mateen wrote: > Well! I beleive that impression cpm(cost per thousand impression ) is not > added in revenue until the end of payment pro

Re: [android-developers] Re: Create Nexus One live wallpaper

2010-01-08 Thread Romain Guy
We are certainly not trying to piss off developers. The SDK is coming *very soon* and we understand your frustration. Trust me that if we could release it right now we would. On Fri, Jan 8, 2010 at 10:58 PM, String wrote: > On Jan 8, 7:22 pm, Romain Guy wrote: > >> With the SDK 2.1, yes you will

[android-developers] dynamic receiver enable/disable?

2010-01-08 Thread Adam Brookman
I have an AppWidget that has multiple AppWidgetProviders defined in Manifest.xml corresponding to different sized widgets. How can I disable/enable these providers in code, so that the user can choose what sizes are displayed to them in the widget picker menu? I've tried creating a ComponentName

[android-developers] Re: Create Nexus One live wallpaper

2010-01-08 Thread String
On Jan 8, 7:22 pm, Romain Guy wrote: > With the SDK 2.1, yes you will be able to create live wallpapers. No offense, Romain - I'm sure release dates aren't under your control - but talk is cheap. The N1 has been shipping to live customers for the better part of a week now, documented reports of

[android-developers] Re: How to make any service running automatically when the phone is turned on.

2010-01-08 Thread Niraj
Please refer this: http://www.androidsoftwaredeveloper.com/2009/03/20/how-to-start-on-boot/ You only need broadcast receiver to receive "BOOT_COMPLETED" message from android after that just start your service. On Jan 9, 9:28 am, Manoj wrote: > hi > Please let me know how i can make the service

[android-developers] Re: Marketplace

2010-01-08 Thread theSmith
Do you mean like 'how/when does the market place check for app updates?' And my best guess is that it might happen during a sync (since the market place requires background data to be turned on) I don't really know much about the backend frame work stuff though. -theSmith On Jan 8, 11:16 pm, Bus

[android-developers] Running a service on Bootup of android

2010-01-08 Thread Manoj
Please tell me how i can run the service automatically on bootup in 1.1 version of android where there is no IntentRecevier. -- 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@googlegrou

[android-developers] How to make any service running automatically when the phone is turned on.

2010-01-08 Thread Manoj
hi Please let me know how i can make the service running automatically when the phone is turned on without any user interaction after start. -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-develop

[android-developers] Marketplace

2010-01-08 Thread Business Talk
Any thought on how the Marketplace handles the information related to the marketplace applications? I wonder if the request is posted to the marketplace every time client is started or if some of the available applications data is stored locally and refreshed by the background service. -- You rec

[android-developers] Re: EditText.getText() not working

2010-01-08 Thread Sasikumar S
http://www.androidpeople.com/category/edittext/ see this... On Jan 8, 10:08 pm, zosq wrote: > I am simple sudoku app. My main.xml has 81 EditText and 2 buttons as > shown below. > > > >         xmlns:android="http://schemas.android.com/apk/res/android"; >         android:layout_width="fill_par

[android-developers] HTC Hero (and others) and 100% Awake Time

2010-01-08 Thread Doug
Hello, I have an app that works on any version of Android from 1.5 up - this makes it compatible with the HTC Hero. Problem is, the Hero stays "awake" 100% of the time when its running. For some strange reason (and this has only been reported to me by Hero users, although other devices could be

[android-developers] how to get an attachment from MMS Programmatically?

2010-01-08 Thread Yang Zhou
Hi guys, If i have a mms with an attachment, how can i get the attachment in my code? Thanks in advance! -- 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

Re: [android-developers] Re: Carnegie Mellon University seeks Android developers opinion

2010-01-08 Thread Greg Donald
On Fri, Jan 8, 2010 at 7:30 PM, Matt Kanninen wrote: > This seems like an insightful survey.  I like the idea of academic > interest in this hard problem. It made a number of assumptions I failed to contend with. Research/academia were not job options for example, and my "company" doesn't do And

Re: [android-developers] How do I control when to open the context menu myself?

2010-01-08 Thread Greg Donald
On Fri, Jan 8, 2010 at 7:17 PM, Mark Gjøl wrote: > What is the correct way of manually opening the context menu? private OnClickListener optionsClickListener = new OnClickListener() { public void onClick( View v ) { registerForContextMenu( v ); openContextMenu( v ); } }; -- Gr

[android-developers] How to exclude R class from emma coverage report

2010-01-08 Thread James Wang
Hi We do junit test with emma coverage report successfully but with only one annoying problem. R file was included in coverage report and make the report statics less than our expected. I find out that emmrun of emma seems be the solution but do not know how to be used with Android. So can anybody

[android-developers] Nexus and notification light

2010-01-08 Thread nexbug
Anyone ever been observing that the usual flashing lights which used to work on the Droid when you set a notification does not work anymore on the nexus, or is it just me ? the pulsing light is cool, but does not honor colors. -g -- You received this message because you are subscribed to the Googl

[android-developers] Re: Carnegie Mellon University seeks Android developers opinion

2010-01-08 Thread Matt Kanninen
This seems like an insightful survey. I like the idea of academic interest in this hard problem. On Jan 7, 9:26 pm, Mobile Survey CMU wrote: > We are conducting a survey of mobile application developers aimed at > improving our understanding of mobile application development, focused > on develo

[android-developers] How do I control when to open the context menu myself?

2010-01-08 Thread Mark Gjøl
I'm writing a program where the user's finger will often linger on the screen for more than the couple of seconds it takes for the context menu to activate. I have a class that controls when this should happen, but I seem to be unable to launch the context menu manually. As a last resort I decided

[android-developers] Re: How to write ContentProvider for content not stored in a file nor DB?

2010-01-08 Thread gnugu
The one that will ask my content provider is a camera app's image viewer. >From what I have found in git it only calls ContentResolver.openInputStream(). I doesn't use cursor. Am I mistaken? On Jan 8, 4:55 pm, John Seghers wrote: > The only time you need to implement openAssetFile() is when you

[android-developers] Re: How to write ContentProvider for content not stored in a file nor DB?

2010-01-08 Thread John Seghers
The only time you need to implement openAssetFile() is when you have files that you want the user of ContentProvider to open. For example, if you were writing a picture ContentProvider, you may pass description information in response to a query along with a URL that can be used for ContentResolve

[android-developers] Re: Multiple versions of app with different package names

2010-01-08 Thread Lance Nanek
I managed to do it without updating the imports, but it is pretty nasty besides that. I have two projects, lets call them A and B. All the directories in project B are actually just SVN externals that reference the directories of project A: http://svnbook.red-bean.com/en/1.0/ch07s03.html Therefor

Re: [android-developers] Nexus bug

2010-01-08 Thread Jason Proctor
Could you tell us what is in your Camera.Parameters? it would be really nice if the piece of code that got annoyed said *what* had annoyed it! otherwise it's "can you guess the number Android is thinking of" all over again. #bettererrormessagesplease #soapbox -- jason.vp.engineering.parti

[android-developers] Re: Android Bug: Time.parse3339 crashes BEFORE it throws a TimeFormatException!

2010-01-08 Thread ClarkBattle
I just confirmed that this is fixed in 2.0.1! -- 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-developers+unsubscr

Re: [android-developers] Nexus bug

2010-01-08 Thread Mark Murphy
Matt Kanninen wrote: > I've found that you have to write firmware and or hardware specific > camera code. As such I didn't touch the code inherited that worked on > every Android handset. > > But it doesn't work on the Nexus. Mind you I saw similar > "setParameters failed" errors on other handse

Re: [android-developers] Android Bug: Time.parse3339 crashes BEFORE it throws a TimeFormatException!

2010-01-08 Thread Mark Murphy
ClarkBattle wrote: > (I'd post it here > but you cant copy-paste from LogCat). Either use adb logcat and dump it to the console, or highlight the lines in the LogCat pane in DDMS, save them to a file, open up the file, and copy/paste them to wherever. -- Mark Murphy (a Commons Guy) http://common

[android-developers] Nexus bug

2010-01-08 Thread Matt Kanninen
I've found that you have to write firmware and or hardware specific camera code. As such I didn't touch the code inherited that worked on every Android handset. But it doesn't work on the Nexus. Mind you I saw similar "setParameters failed" errors on other handsets in the logs, but it just seeme

[android-developers] Android Bug: Time.parse3339 crashes BEFORE it throws a TimeFormatException!

2010-01-08 Thread ClarkBattle
Here is some code I write to parse a 3339 time that I get back from Google's gData: try { Log.d("setUpdated", newTime ); Time time = new Time(); if( time

[android-developers] Re: Multitouch support in Android 2.0

2010-01-08 Thread Mirmathrax
OK, there is definitely a bug in here somewhere. I took the code for PointerLocation and run it on my droid with NO modifications whatsoever. When I perform the following pattern: 1) start drawing with finger 1 2) start drawing with finger 2 3) lift finger 1 4) start drawing with finger 1 again

Re: [android-developers] Re: intents

2010-01-08 Thread Mark Murphy
dane131 wrote: > ok i will check it out..is there an easier way than that?? Uh, well, you wrote: > I want to call this method from application A and > send an SMS without opening the activity(the GUI) of application B but > just send an SMS in the background by calling just the method of the > ac

[android-developers] Re: intents

2010-01-08 Thread dane131
ok i will check it out..is there an easier way than that?? On 9 Ιαν, 01:06, Mark Murphy wrote: > dane131 wrote: > > how can i do that?can you give link/s ? > > Here are sample projects demonstrating an AIDL API in a service and a > separate project accessing that API: > > http://github.com/common

[android-developers] Re: Virtual Camera + Accelerometer + 3ds max

2010-01-08 Thread Robert Green
Find an accelerometer tutorial on getting data from the sensors. The data will be in meters per second squared because they measure acceleration. You'll have an x, y and z acceleration value. That's your vector. Processing it to do something useful is up to you. On Jan 8, 2:40 pm, Guilherme Vi

Re: [android-developers] Re: intents

2010-01-08 Thread Mark Murphy
dane131 wrote: > how can i do that?can you give link/s ? Here are sample projects demonstrating an AIDL API in a service and a separate project accessing that API: http://github.com/commonsguy/cw-advandroid/tree/master/AdvServices/RemoteService/ http://github.com/commonsguy/cw-advandroid/tree/mas

Re: [android-developers] Common Component Externalization

2010-01-08 Thread Mark Murphy
mcgowen007 wrote: > Hey Guys, > > I am a game developer and have developed a nice global high scores > module. The source code is in two different games of mine and anytime > I make changes I carefully copy and paste the java files from one > project to the other. As I increase the sophisticatio

Re: [android-developers] Multiple versions of app with different package names

2010-01-08 Thread Mark Murphy
BrianS wrote: > Hi-- > > I need to be able to easily create different "flavors" on an app, each > with a unique package name so that they can coexist on the same > device. Is there a simple way this can be done, which doesn't require > manually updating all the imports and other references to the

[android-developers] Multiple versions of app with different package names

2010-01-08 Thread BrianS
Hi-- I need to be able to easily create different "flavors" on an app, each with a unique package name so that they can coexist on the same device. Is there a simple way this can be done, which doesn't require manually updating all the imports and other references to the package name each time I c

[android-developers] Re: intents

2010-01-08 Thread dane131
how can i do that?can you give link/s ? On 9 Ιαν, 00:52, Mark Murphy wrote: > dane131 wrote: > > well i want the GUI as well..in order to function as a proper sms > > application but i also want to use its functionality without raising > > the GUI > > Then split it into a Service (with an AIDL-ex

Re: [android-developers] Re: intents

2010-01-08 Thread Mark Murphy
dane131 wrote: > well i want the GUI as well..in order to function as a proper sms > application but i also want to use its functionality without raising > the GUI Then split it into a Service (with an AIDL-exposed API) and your current set of activities. -- Mark Murphy (a Commons Guy) http://co

[android-developers] Re: intents

2010-01-08 Thread dane131
well i want the GUI as well..in order to function as a proper sms application but i also want to use its functionality without raising the GUI On 9 Ιαν, 00:46, Jason Proctor wrote: > if app B needs to be called via an intent, but has no UI, consider > making it a Service? > > > > > > >i have two

Re: [android-developers] intents

2010-01-08 Thread Jason Proctor
if app B needs to be called via an intent, but has no UI, consider making it a Service? i have two applications A and B (in different packages,but it doesn't matter).Application B is an sms application that i have made and contains one activity.This activity has a method called sendSMS(Strin

[android-developers] intents

2010-01-08 Thread dane131
i have two applications A and B (in different packages,but it doesn't matter).Application B is an sms application that i have made and contains one activity.This activity has a method called sendSMS(String number,String text).I want to call this method from application A and send an SMS without ope

[android-developers] Re: Android Coverflow widget

2010-01-08 Thread Flying Coder
Wow - looks great! I'll definitely play around with it and will let you know if I have any feedback. Cheers, Steve On Jan 8, 3:45 am, Taf wrote: > Hi, > > I've had a go at creating a coverflow like widget. My results can be > found here: > > http://www.inter-fuser.com/2010/01/android-coverflow

[android-developers] Re: AudioRecord works with short but static with byte

2010-01-08 Thread Jason Proctor
ok, but why must you address the samples as bytes? why not just deal with them in their native format? at a guess, the hardware doesn't support 8 bit recording. you could scale the 16 bit samples down to 8 bit, but watch out for the fact that 16 bit samples are signed, and 8 bit samples are no

[android-developers] Re: How to change widget layout background or hide it dynamically?

2010-01-08 Thread Rahul Vij
Even I have the same problem. I tried to be smart and added an ImageView to fill my parent layout and tried to set the source of the Imageview using setImageViewResource (int viewId, int srcId)... but did not the desired results. as my background drawable was a NinePatch PNG and setting the source

[android-developers] Re: addToMyContactsGroup does not seem to work on HTC Hero

2010-01-08 Thread fry
ok, I have solved this - that was column "extra_group" in people table -- 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 and

[android-developers] Andrometer crash info

2010-01-08 Thread Jason Proctor
as suspected, it's the camera -- java.lang.RuntimeException: setParameters failed at android.hardware.Camera.native_setParameters(Native Method) at android.hardware.Camera.setParameters(Camera.java:611) at com.highwaynorth.andrometer.CameraPreviewSurfaceView.surfaceChanged(CameraPrev

[android-developers] Re: AudioRecord works with short but static with byte

2010-01-08 Thread Biosopher
I agree Jason. It seems requesting the 16 bit format results in a short array being returned: AudioFormat.ENCODING_PCM_16BIT. For byte[], I would need to use this format: int audioEncodingFormat = AudioFormat.ENCODING_PCM_8BIT; Curiously it seems that AudioFormat.ENCODING_PCM_8BIT doesn't seem t

[android-developers] Re: Chinese company offers translation for right to publish app on their market

2010-01-08 Thread Vladimir
I think everyone is contacted at some point, I got e-mails from at least 4 different companies from China. Replied to one of them and got as far as signing a sort of license agreement and sending the strings for translation. They were probably put off by 170+ lines of text, and I haven't heard from

[android-developers] Re: GridView.getSelectedItemPosition() always returns -1

2010-01-08 Thread sdphil
ah... very good - thanks. fyi - for anyone else reading this and wants to know - here's what i did -- @Override public void onCreateContextMenu(ContextMenu menu, View v, ContextMenu.ContextMenuInfo menuInfo) { super.onCreateContextMenu(menu, v, menuInfo); AdapterContextM

[android-developers] Re: OpenGL fixed point vs. floating point

2010-01-08 Thread WoodManEXP
Peter, To your original question about is OpenGL on Android internally float or fixed: See this document http://glprogramming.com/red/chapter02.html. It says "OpenGL works in the homogeneous coordinates of three-dimensional projective geometry, so for internal calculations, all vertices are repre

[android-developers] Re: What does targetSdkVersion do?

2010-01-08 Thread Matt Kanninen
Diane, I try hard not test on the emulator, and have access to the Android phones users are using. This bug happened only on the Droid, and our application depends on the Camera and Mic to function. More details on the bug here: http://groups.google.com/group/android-developers/browse_frm/thread

[android-developers] Re: App crashes on Droid, works fine on G1

2010-01-08 Thread Jason Proctor
there's a Droid user sitting right here, i will try to get him to install the app and log the crash to my ddms. then i'll send it on. At 1:34 PM -0800 1/8/10, Matt Kanninen wrote: Do you specify a target SDK in your manifest? Do you use any Droid specific layouts? What firmwares do you supp

[android-developers] Re: App crashes on Droid, works fine on G1

2010-01-08 Thread Matt Kanninen
Do you specify a target SDK in your manifest? Do you use any Droid specific layouts? What firmwares do you support? You can throw giant try catches around problematic code, log the exception to local file, and upload them to your servers. Although you might want to warn users you do this in you

Re: [android-developers] Re: GridView.getSelectedItemPosition() always returns -1

2010-01-08 Thread Romain Guy
You get that position as part of the long press callback. On Fri, Jan 8, 2010 at 1:23 PM, sdphil wrote: > so how do I get the position of the item that was long pressed? > > On Jan 8, 1:20 pm, Romain Guy wrote: >> There's no selection in touch mode, that's why you get these results. >> >> >> >>

[android-developers] Re: GridView.getSelectedItemPosition() always returns -1

2010-01-08 Thread sdphil
so how do I get the position of the item that was long pressed? On Jan 8, 1:20 pm, Romain Guy wrote: > There's no selection in touch mode, that's why you get these results. > > > > On Fri, Jan 8, 2010 at 12:07 PM, sdphil wrote: > > I have googled around and I saw some posts about being in "touch

Re: [android-developers] GridView.getSelectedItemPosition() always returns -1

2010-01-08 Thread Romain Guy
There's no selection in touch mode, that's why you get these results. On Fri, Jan 8, 2010 at 12:07 PM, sdphil wrote: > I have googled around and I saw some posts about being in "touch > screen mode" -- I don't fully understand what that means. > > However, I cannot seem to get this call to work -

[android-developers] Re: addToMyContactsGroup does not seem to work on HTC Hero

2010-01-08 Thread fry
I was wrong about this "type" column value - it comes from the joined phones table when query people from content provider. The original question about "google"/"phone" labels is still open -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To

[android-developers] Re: App crashes on Droid, works fine on G1

2010-01-08 Thread blindfold
The best bet for developers who cannot afford to buy all popular/ latest phones is to upload the stacktrace from the user's phone when a crash occurs. See http://stackoverflow.com/questions/601503/how-do-i-obtain-crash-data-from-my-android-application for a lead. I develop on ADP1 and had many cr

[android-developers] Re: AudioRecord works with short but static with byte

2010-01-08 Thread Jason Proctor
AudioRecorder is copying each *sample* into the buffer you provide, element by element. if you don't give it enough space for the sample, you get truncation. and static. the read(byte[]) method is there for the situation where you set up AudioRecorder to give you 8-bit samples. i'd confirm t

[android-developers] Re: AudioRecord works with short but static with byte

2010-01-08 Thread Biosopher
Interesting point, Jason. However I'm reading a byte at a time so each short is read (just one byte at a time). There shouldn't be anything leftover to be missed. More important though, I'm reading the byte[] using a method provided by Android's AudioRecord. read(byte[] audioData, int offsetInB

Re: [android-developers] Re: Virtual Camera + Accelerometer + 3ds max

2010-01-08 Thread Guilherme Vieira
Ok. Nice to "hear" that. Now I would like some directions. Using Android's SDK, how can I get that force vector? And the movement vector? By the way, I got Samsung Galaxy. Thanks!!! On Fri, Jan 8, 2010 at 18:33, Robert Green wrote: > This is totally achievable. The accelerometer gives you

[android-developers] Re: How to disable Home and End Call Key

2010-01-08 Thread Vladimir
override onKey* methods, return true if keyCode == home (back), otherwise return super.onKey*(keyCode, keyEvent) On Jan 8, 12:46 pm, "Abhi..." wrote: > Hi, > I am going to develop one application for android (As per client > request). Which starts after booting of device. When device get booted >

[android-developers] Re: Removing the stack of Activity

2010-01-08 Thread Jason Proctor
depending on the class of these activities, it might be possible to achieve this flow with the intent flags FLAG_ACTIVITY_CLEAR_TOP and FLAG_ACTIVITY_SINGLE_TOP. works for me :-) Have you tried simply calling finish() for every activity you want to remove from stack? On Jan 7, 8:54 am, Beena

[android-developers] Re: Removing the stack of Activity

2010-01-08 Thread Vladimir
Have you tried simply calling finish() for every activity you want to remove from stack? On Jan 7, 8:54 am, Beena wrote: > Hi All, > I have problem of removing activity. > I have 5 Activities in sequence Activity1,  Activity2, Activity3, > Activity4, Activity5. > When I am at Activity5 there is a

[android-developers] Re: Virtual Camera + Accelerometer + 3ds max

2010-01-08 Thread Robert Green
This is totally achievable. The accelerometer gives you a force vector. All you have to do is sample that vector and you can convert it into whatever rotational system you'd like (euler, quats or otherwise). You could easily write a file exporter that exports the movement sequence. If you want

[android-developers] Re: create app that comes with a widget and the program

2010-01-08 Thread Albert
Thanks kirti for your reply, I have done all that and i have my widget running and working well, the matter is that i want to be able to let the user choose whether to add the widget to the screen or not. I want them to be able to press the icon of the app and use it without having to add the widge

[android-developers] GridView.getSelectedItemPosition() always returns -1

2010-01-08 Thread sdphil
I have googled around and I saw some posts about being in "touch screen mode" -- I don't fully understand what that means. However, I cannot seem to get this call to work - it always returns -1. I am doing a "long press" on an item in a grid view, and I've registered for the long press for the en

[android-developers] Re: App crashes on Droid, works fine on G1

2010-01-08 Thread MJB
Hi Dianne, That's the difficulty, only end-users see the crash so I can't see the stack trace. If I had my own Droid to try it on, it should be relatively easy to work through the bug. Unfortunately, I don't have a Droid and even if I wanted one, they are not available in my country. The app I'

Re: [android-developers] AudioRecord works with short but static with byte

2010-01-08 Thread Jason Proctor
knee-jerk answer: because the individual samples are 16 bits wide, and by reading just a byte each time, you're only getting half the sample. Any idea why reading bytes from AudioRecord would cause an error while reading shorts would not? The sound comes through great with short but I get o

[android-developers] Re: Android Submission Guideline

2010-01-08 Thread Kumar Bibek
Hi Amit, There is no submission guideline in place by Google, which you should follow before uploading your application. However, I guess, perhaps you would need to check the License Agreement of Android Market. Other than that, you can submit any application, with as many number of bugs. No body

[android-developers] AudioRecord works with short but static with byte

2010-01-08 Thread Biosopher
Any idea why reading bytes from AudioRecord would cause an error while reading shorts would not? The sound comes through great with short but I get only static with bytes. Working code with short[]: int minBufferSize = AudioRecord.getMinBufferSize(this.getSampleRate(),

[android-developers] Virtual Camera + Accelerometer + 3ds max

2010-01-08 Thread guira...@gmail.com
Good afternoon. Here is my idea shortly: I want to make a virtual camera to 3ds max. I mean, I want to be able to move my phone in space and then export the transformations to my 3ds camera. So I have to consider basic points: how can I recover the accelerometer values and turn then into quatern

Re: [android-developers] Re: what is a suitable upper limit for application size?

2010-01-08 Thread Dan Sherman
Correct, they have 192mb RAM. However, a good chunk of that is partitioned away as OS space, etc. The data partition is 76mb (I incorrectly said 64mb). Here's a breakdown of those partitions: http://androidandme.com/2009/08/news/the-g1-storage-problem-in-charts-and-numbers/ - Dan On Fri, Jan 8

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

2010-01-08 Thread bklik
I'm having the same issue. I'm behind an authenticated proxy so I can't install the SDK. I've tried everything. On Dec 31 2009, 9:13 am, teryz wrote: > I have a problem using AndroidSDKUpdater (revision 4). For the > record I'm under win xp 32-bits, jdk 1.6. > I set up the "Force https://... so

[android-developers] Common Component Externalization

2010-01-08 Thread mcgowen007
Hey Guys, I am a game developer and have developed a nice global high scores module. The source code is in two different games of mine and anytime I make changes I carefully copy and paste the java files from one project to the other. As I increase the sophistication of this module, the copying

[android-developers] WebView cannot resolve URL by name after loading a few webpages in emulator

2010-01-08 Thread Kenn Min Chong
Hey there! OK, so, I have a WebView object that is programatically loading up sites every minute or so. After a while, the WebView object in my emulator errors out saying the web page cannot be found. I load up the built-in Browser app instead and it couldn't even load up google.com. However, if

Re: [android-developers] EditText.getText() not working

2010-01-08 Thread TreKing
> > Now when I try to do a simple getText() method on textArray[][], it gives me a runtime error but setText() method works fine on textArray[] [] What's the error? Are you checking for null? Also, are you seriously defining 81 objects in your layout and then finding each one by ID? Why don't

[android-developers] Re: what is a suitable upper limit for application size?

2010-01-08 Thread jotobjects
On Jan 7, 6:59 pm, Dan Sherman wrote: > > Considering G1's only have 64mb, you're in a rough spot.  We've had a ton of > user complaints with our apps that are around 5.5mb. > This link says G1 has 192 MB RAM an 256 ROM (ROM used for what?). Seems like it is not easy to find that memory statis

[android-developers] Re: Strange WebView "Web Page Not Available" behavior after application runs for a long time

2010-01-08 Thread Kenn Min Chong
Alright, I think I narrowed down the issue. Once my WebView gets stuck in an "unresolveable" state, I tried to use the Browser app instead in the emulator, and it no longer is able to resolve and URL I give. HOWEVER, if I give it the IP address of the site instead, it works just fine! So, I think t

[android-developers] Re: Problem with Password Reset Captcha

2010-01-08 Thread Doug
My previous message is not an Android message. I thought I was sending my previous message to the group moderator, not to the whole group. Sorry for any confusion. Doug Wong On Jan 8, 11:09 am, "Wong, Douglas" wrote: > I was trying to post a response to a message, but I had forgotten my > pas

[android-developers] what is the best practices to keep data between activities deathes/restarts for the whole application session?

2010-01-08 Thread Arhimed
We're designing an app that has several activities which are working in a wizard like way - user should pass from the activity #1 to activity #5 to get to the final activity (#6). Since we know an activity can be suddenly terminated by OS on low memory we used Application class as a static storage

[android-developers] Moto Milestone

2010-01-08 Thread pperotti
Hi Everyone, Does anybody know how to identify consistently when a device is a motorola milestone ? None of the parameters in the Build class seems to report consistently among the devices that are currently in the market. I have seen that some devices identifies as A853 and other as Milestone. A

Re: [android-developers] Android docs in an offline format

2010-01-08 Thread Romain Guy
The offline docs are available in the SDK. On Thu, Jan 7, 2010 at 3:07 PM, oregonduckman wrote: > I am looking for a source for all of the Android docs that can be read > offline. It would be great if Google would publish their docs in a > linked PDF or Kindle format or even the HTML in a zip fil

Re: [android-developers] Create Nexus One live wallpaper

2010-01-08 Thread Romain Guy
With the SDK 2.1, yes you will be able to create live wallpapers. On Thu, Jan 7, 2010 at 8:45 PM, bayeeblue wrote: > Hi, > > May I know are we able to create our own live wallpaper ? > > Thanks. > > Best Wishes > Bayee > > -- > You received this message because you are subscribed to the Google >

[android-developers] Re: market doesn't refresh downloads?

2010-01-08 Thread Kumar Bibek
Now it's fine :) On Jan 8, 1:41 am, Greg Donald wrote: > 2010/1/7 Éva Lovrencsics : > > > My downloads and installs stopped two days ago, and I don't see any > > changes on the market (developer console). They never stay the same, > > so I think, market doesn't refresh them. > > Anybody reco

[android-developers] Re: How to best maintain two different versions of the same app?

2010-01-08 Thread fry
I have spent some time trying to solve the same task in different ways and at the 1st end came to 2 mostly identical projects variant and at the 2nd end came to even more simple solution as suggested above - I have 1 project for both basic and pro versions, and basic version can become pro version

[android-developers] Bouncycastle encryption algorithms and android

2010-01-08 Thread Reado
I'm trying to use BouncyCastle with android to implement ECDH and EL Gamal. I've added the bouncycastle jar file (bcprov-jdk16-144.jar) and written some code that works with my computers jvm however when I try and port it to my android application it throws: java.security.NoSuchAlgorithmException

[android-developers] Re: How to transfer data with a successful bluetooth connection.?

2010-01-08 Thread Bastos
Seems that the Bluetooth API only allows p2p apps that both client and server has the same UUID: "The string is an identifiable name of your service, which the system will automatically write to a new Service Discovery Protocol (SDP) database entry on the device (the name is arbitrary and can simp

[android-developers] EditText.getText() not working

2010-01-08 Thread zosq
I am simple sudoku app. My main.xml has 81 EditText and 2 buttons as shown below. http://schemas.android.com/apk/res/android"; android:layout_width="fill_parent" android:layout_height="wrap_content" android:background="@color/activity_background">

[android-developers] Edinburgh design agency looking for local Android Developers

2010-01-08 Thread Phillip Lockwood-Holmes
Are you based in Scotland (or Edinburgh)? If so we are a design agency based in the West End of Edinburgh looking for a junior developer to prototype, develop and experiment with us on some pilot apps for our clients. For more info and to arrange a chat please send a CV with email outlining your i

[android-developers] Offline SDK installation

2010-01-08 Thread Martins
Hello. I want to use Android SDK on Windows PC. Due to company policy regarding security, development machines are not connected to internet. Only different computer, running MacOSX, is connected to internet. How do I install Android SDK on Windows machine? When I run Android SDK on MacOSX, it all

[android-developers] Re: Intent Call Action

2010-01-08 Thread prachi
Hi as per my understanding of the question intent can be used to launch any activity,service,brodcast receiver. The methods used for launching any activity component are: 1.startActivity(myIntent):-myintent is the Intent object containing descriptions about the activity to belaunched ad the op

Re: [android-developers] Re: Enhancement to Emulator

2010-01-08 Thread Matt Oakes
I'll hold him still, you go for the head ;-) On Thu, Jan 7, 2010 at 7:29 PM, Disconnect wrote: > I do have a can opener.. :P > > On Thu, Jan 7, 2010 at 2:25 PM, David Turner wrote: >> >> >> On Thu, Jan 7, 2010 at 11:12 AM, Disconnect >> wrote: >>> >>> Dev phone 2 - dev phone 1 firmware is still

[android-developers] Re: Removing the stack of Activity

2010-01-08 Thread dharma
hi, one of the possible answers may be, you can launch the Activity2 on onClick event of the button in Activity5. and we dont have any options of removing any activities from .apk file. On Jan 7, 11:54 am, Beena wrote: > Hi All, > I have problem of removing activity. > I have 5 Activities in se

[android-developers] Android icon sometimes open new app sometimes brings up old

2010-01-08 Thread rackham
Hello, I have an android app which i have written, which exhibits some strange behaviour. When i have an app open, say with three acitivties in the stack A - B - C where a is the entry point and C is the currently viewed activity, if i press the home button and reselect the icon for my app somet

[android-developers] Re: Back ground of List View

2010-01-08 Thread risha
Hi, This is the command: android:background="#00" within a list view. Regards, Risha On Jan 7, 2:54 pm, Ali Murtaza wrote: > Hi > > I want to know how to change background color of List View using XML > command... Thanks in advance > > please tell me in steps > > -- > Ali Murtaza > >

[android-developers] Icons revisited

2010-01-08 Thread Petroleum Nasby
This is from an old thread, but I think a lot of people still have this problem, so new thread. On Nov 19, 11:59 pm, Dianne Hackborn (at Google) wrote: > We don't recommend using the built-in icons. This has already been > discussed fairly in-depth here, but the basic answer is: unless there is

[android-developers] Android SDK emulator problem

2010-01-08 Thread ShadowReaper
Hello, When I start the emulator I get the following error: " emulator: ERROR: no search paths found in this AVD's configuration. Weird, the AVD's config.ini file is malformed. Try re-creating it. " Do you have any idea why this happens? I tried using several Target Names, downloading sdk again

[android-developers] How to disable Home and End Call Key

2010-01-08 Thread Abhi...
Hi, I am going to develop one application for android (As per client request). Which starts after booting of device. When device get booted then only this application will be there on screen. No key press will minimise that application. The solution i found on this site is able to block all keys in

[android-developers] Audio Source for Speech Recognition

2010-01-08 Thread ScottH
When the RecognizerIntent is used with ACTION_RECOGNIZE_SPEECH, or ACTION_WEB_SEARCH for that matter, at what point does the invoked SR Activity capture the voice? To clarify, is the voice data right from the MIC (raw) or post-processed (VOICE_UPLINK)? I ask because with the new Nexus One makes u

[android-developers] Create Nexus One live wallpaper

2010-01-08 Thread bayeeblue
Hi, May I know are we able to create our own live wallpaper ? Thanks. Best Wishes Bayee -- 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 grou

  1   2   >