[android-developers] No focused widget at Activity creation

2009-08-24 Thread Hazam
Hi all, I was wondering If there is a way for an Activity to be started and, even if the View contains one or more focusable widgets, no focus is assigned initially; i.e. the activity view contains two edittext fields, but when the Activity is started and view inflated, none of them should have fo

[android-developers] Re: How to use the RotationMatrix, actually how to get it

2009-08-24 Thread Rud
Hi Mike I am not sure what you are asking. The code combines magnetic and acceleration information to obtain the phone orientation. Are you trying to determine if the phone is being accelerated toward the North pole, for example? I don't think there are routines for doing that. (Except by using

[android-developers] Re: out of memory error & getWallpaper

2009-08-24 Thread freeanderson
I guess nobody reported my case. I've solved like below. See my case. ... Bitmap dummy = Bitmap.createBitma(1, 1, Config.RGB_565); Bitmap a = Bitmap.createBitma(100, 100, Config.RGB_565); Canvas c = new Canvas(a); ...c.draw(..) ... a.recycle(); c.setBitmap(dummy); // This is key point. Ve

[android-developers] Re: SingleTask...

2009-08-24 Thread Dianne Hackborn
The simple fact that it is non-null tells you. And you can have placed anything else you want in there in onSaveInstanceState() for whatever other data you want to retain. See here: http://developer.android.com/guide/topics/fundamentals.html#actlife and here: http://developer.android.com/refer

[android-developers] Re: How to use the RotationMatrix, actually how to get it

2009-08-24 Thread Rud
Hi, The code is originally from my Blog. The reason for the clone is explained there. I admit to not having worked with Java enough to have the deep understanding of how containers deal with objects. In my application I ran into a problem trying to make a copy of an array and had to write my own

[android-developers] Re: Simple Java Question

2009-08-24 Thread Rud
I changed the code to use the StringBuilder and then made the StringBuilder and Formatter "static final private" fields, instead of local variables. My garbage collection went from once every 6 seconds to once every 27 seconds. That is what I thought might happen and why I considered the code I

[android-developers] Launch native app by mentioning URL with a scheme in browser

2009-08-24 Thread Venkatesh D
Hi, I am an Android app developer since a year. I am looking for a way to launch a native app through a URL with a scheme for an activity as the intent filter with in my app. However I don't want to launch through startActivity() with an intent feed programmatically. It should be a plain URL put

[android-developers] Re: SingleTask...

2009-08-24 Thread sdphil
"You can use the state passed in to onCreate() to determine whether you are starting for the first time or not." How do I do that? I'm looking at onCreate -- public void onCreate(Bundle savedInstanceState) { and I look at savedInstanceState, nothing jumps out at me... On Aug 24, 10:39 pm,

[android-developers] Re: how can close other activity?

2009-08-24 Thread Ethan
I think I have the same question. we use startActivity() or startActivityForResult() to start Activity, but the two functions return void, how can I get something to control(e.g close) the started Activity from the original Activity ? --~--~-~--~~~---~--~~ You recei

[android-developers] Re: email application

2009-08-24 Thread SrilankanKK
On Aug 18, 9:25 am, "Balwinder Kaur (T-Mobile USA)" wrote: > Intent sendIntent = new Intent(Intent.ACTION_SEND); >        sendIntent.setType("image/jpg"); >        sendIntent.putExtra(android.content.Intent.EXTRA_EMAIL, new > String[]{"m...@mine.com"}); >        sendIntent.putExtra(Intent.EXTRA

[android-developers] SingleTask...

2009-08-24 Thread sdphil
I want my application to work like this: 1. When the user launches the application, it starts up. 2. When the user hits back, or home, the application is still running (although not visible). 3. If the user hits "menu->quit" the application exits cleanly. 4. If the user starts the application, hi

[android-developers] MyTouch Lag Problems

2009-08-24 Thread Mike
Hi, I am the creator of WordUp! This game has done well, and I have had next to no complaints related to performance on the G1. Around July of this year, which, coincidentally, is when the MyTouch hit the market, I noticed people leaving feedback mentioning that my game was "laggy". One of my u

[android-developers] Accessing default "Messaging" settings

2009-08-24 Thread yves...@gmail.com
I am trying to access the default "Messaging" app's settings from my app, and i would like to be able to modify those settings as well. But I can't find any examples on how to do this. Any ideas? Thanks. --~--~-~--~~~---~--~~ You received this message because you a

[android-developers] Re: ADC 2 Submission Site -- Now live

2009-08-24 Thread Dan Morrill
This is correct: upgraded versions of apps submitted to Market before 1 August are ineligible; this includes UI upgrades. - Dan On Mon, Aug 24, 2009 at 4:09 PM, mgpc wrote: > > Hi Ehab, > > The rules say: > > "An Entry (or substantially similar application by the same > Participant) must not ha

[android-developers] Re: ADC 2 Submission Site -- Now live

2009-08-24 Thread Dan Morrill
Users will be randomly assigned apps to judge, without regard for categories. - Dan On Mon, Aug 24, 2009 at 4:26 PM, Peli wrote: > > I have a question regarding the judging application that is provided > by Google: > > Will users (judges) have the possibility to choose which categories > they wo

[android-developers] Re: getFromLocationName always throws IOException first time, but is successful second time with same input

2009-08-24 Thread Hong
I'm having the same problem Using wifi, the 1st time it ALWAYS throws exception. On 3G and Edge it's fine. I figure it some dns resolving issue? Can any google guys look into that? On Fri, May 29, 2009 at 12:12 AM, pawpaw17 wrote: > > Developers, > > My calls to getFromLocationName() always

[android-developers] Re: CTS fails for java.io.OutputStreamWriterTest

2009-08-24 Thread Victor
Nobody knows the subject? --~--~-~--~~~---~--~~ 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

[android-developers] Re: My emulator is running 100% CPU, it's annoying..

2009-08-24 Thread jiaoni
Hi Chauncey, Yes, sometimes I encountered such situation like yours, the emulator stopped at the "Android.." stage and never moved on. I had to kill and restart it. However, my above situation is a bit different, that the emulator is actually working, but it's always occupying 100% cpu. Although

[android-developers] CTS fails for java.io.OutputStreamWriterTest

2009-08-24 Thread Victor
Dear Google, Please give me a clue, to pass CTS. I'm try to do CTS test. The Android 1.5 r3 which I get from Android Open Source fails CTS. Mean while, if I download Android 1.5 r3 and run CTS test for emulator it's PASS. the module fail CTS is: java.io.OutputStreamWriterTest I run test with fol

[android-developers] Re: Why there is an error when I doing unit test with ActivityInstrumentationTestCase2?

2009-08-24 Thread Dianne Hackborn
As the error says, you are calling peformClick() for a different thread than the UI thread (here the instrumentation thread). You can use the Instrumentation API to perform a call on the UI thread. On Mon, Aug 24, 2009 at 6:08 PM, android.bu...@gmail.com < android.bu...@gmail.com> wrote: > > no

[android-developers] Re: Adding Threshold to Bitmap Images

2009-08-24 Thread Abdul Mateen
Yes, probably the same. On Mon, Aug 24, 2009 at 7:42 PM, Streets Of Boston wrote: > > You mean 'threshold' as a color-effect (turning a pic into a black and > white (no grey) image)? > > On Aug 24, 1:09 am, Abdul Mateen wrote: > > Hi, > > I have a question about adding a threshold images into bit

[android-developers] Re: desktop link to Android SDK's screen capture function

2009-08-24 Thread Michael Leung
Hi Slava, You can use ddms. I have written the instructions for this in my blog. http://www.itblogs.info/index.php/2009/08/22/android-screen-capture?blog=6 On Tue, Aug 25, 2009 at 4:56 AM, slavix wrote: > > Hello, > I would like to create a shortcut link to screen capturing of my > android on t

[android-developers] Re: server over 3g

2009-08-24 Thread Roman ( T-Mobile USA)
As add to Dan's post To resolve the NAT issue you could implement some hacks on the phone. These hacks would be only from temporary nature because when you disconnect and reconnect from 3G, the probability is high that you get another IP address assigned. Of course the difficult part here is that

[android-developers] Re: Why there is an error when I doing unit test with ActivityInstrumentationTestCase2?

2009-08-24 Thread android.bu...@gmail.com
no one know it? On Aug 24, 11:01 am, "android.bu...@gmail.com" wrote: > I am using ActivityInstrumentationTestCase2 to do some test for an > activity. > I get a button in the setUp() method like this: > protected void setUp() throws Exception { >         super.setUp(); >         act = getActivit

[android-developers] Re: File created with MODE_WORLD_WRITABLE mode could be accessed directly, but not through content provider.

2009-08-24 Thread Dianne Hackborn
Um well you could also have a service with an interface that returns a ParcelFileDescriptor, so there's another. :) On Mon, Aug 24, 2009 at 5:18 PM, Zhang Yi wrote: > > Thanks Dianne. > > I said problem here is because that Android SDK says the content > provider is the only way to share data ac

[android-developers] Re: File created with MODE_WORLD_WRITABLE mode could be accessed directly, but not through content provider.

2009-08-24 Thread Zhang Yi
Thanks Dianne. I said problem here is because that Android SDK says the content provider is the only way to share data across applications, but right now we could share files without content provider. I think files are a kind of data as well. So it seems that it's a conflict to say content provid

[android-developers] Re: best way to add some static text...

2009-08-24 Thread Romain Guy
That's what TextView is :) On Mon, Aug 24, 2009 at 4:48 PM, sdphil wrote: > > is the best way to add some static text to a display to use a > TextView? > > Seems like there should be a TextLabel or TextStatic or something like > that... > > tia > > > -- Romain Guy Android framework engineer r

[android-developers] best way to add some static text...

2009-08-24 Thread sdphil
is the best way to add some static text to a display to use a TextView? Seems like there should be a TextLabel or TextStatic or something like that... tia --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Deve

[android-developers] Re: ADC 2 Submission Site -- Now live

2009-08-24 Thread Peli
I have a question regarding the judging application that is provided by Google: Will users (judges) have the possibility to choose which categories they would like to judge, or would they get random applications from all categories? We have an app that would equally well fit into two of the cate

[android-developers] Icon with label + background

2009-08-24 Thread Klaus Kartou
Hi! I am trying to make an icon with a label, just like the ones used on the home screen. Currently I use a TextView with a top drawable as specified in the code below: < TextView android:id="@+id/share" android:layout_width="wrap_content" android:layout_height="wrap_content"

[android-developers] Re: ADC 2 Submission Site -- Now live

2009-08-24 Thread mgpc
Hi Ehab, The rules say: "An Entry (or substantially similar application by the same Participant) must not have previously been publicly available through the Android Market prior to August 1, 2009. For the avoidance of doubt, any beta, demo, trial, or incomplete version of an application that wa

[android-developers] Re: More efficient way to get the resource id of a drawable from its name than using getResources().getIdentifier()

2009-08-24 Thread cadlg
Anybody ? On Aug 21, 6:10 pm, cadlg wrote: > I have some image names stored in a database, but the images > themselves are in the /res/drawable folder of the application. > > I need to assign these images to some views at runtime, and I'm > currently doing it this way: > > //

[android-developers] pass data to new activity

2009-08-24 Thread Jason Proctor
the API details are all there in the SDK docs. the list isn't here to write your application for you. http://developer.android.com/reference/packages.html also i'd recommend reading up on activities and intents in general. that's how Android works. you need to know this stuff. hth >can you

[android-developers] Re: How to use the RotationMatrix, actually how to get it

2009-08-24 Thread Mike Collins
I must be dense but can't seem to make the documentation around this make sense. I can compute the phone orientation in earth-relative coordinates but can't figure out how to get the phone-relative acceleration values expressed in the earth coordinate system. I tried multiplying the rotation ma

[android-developers] Re: ListView with multiple buttons, how do I detect which View the buttons were pressed in?

2009-08-24 Thread Croccy22
Hi, Thanks. I'll have alook at this 2moz. I managed to get it working by creating an array with the data that I need against the name of the view so I was sort of on the right lines of what I needed but this looks like exactly what I was looking for. Thanks again, Matt. On 24 Aug, 17:40, Doug w

[android-developers] Re: EMMA Code coverage and JUnit

2009-08-24 Thread Haritha
thanks everyone for posting info on emma coverage.I was also able to generate coverage reports for custom tests with necessary changes to vold.conf. regards Haritha On Aug 20, 6:08 am, Gabor wrote: > Hi All, > > Finally, the emma code coverage measurement is working for me (for a > custom projec

[android-developers] Re: pass data to new activity

2009-08-24 Thread Honest
can you give me code snippt for how to use Intanet data bundle ? On Aug 25, 12:35 am, Hong wrote: > array/list of Parcelables via intent data bundle > > > > On Mon, Aug 24, 2009 at 3:16 PM, Honest wrote: > > > I have two activity in my project. I am callilng second activity from > > main activi

[android-developers] Android. Issue with smooth Animation transition during animation switch

2009-08-24 Thread LD
Hi, I will describe briefly what I am currently trying to implement: I have a number of cards (for example 8); I am trying to do shuffle using Translate Animation. But in the shuffle process I am experiencing UI issue. I will describe what kind of issue I have: card B is moved to new position (

[android-developers] Re: pass data to new activity

2009-08-24 Thread Federico Paolinelli
On 24 Ago, 23:10, Honest wrote: > can you give me code snippt for how to use Intanet data bundle ? > try to look at the notepad example in http://developer.android.com/guide/tutorials/notepad/index.html Federico --~--~-~--~~~---~--~~ You received this message

[android-developers] Spinner and cursor adapter

2009-08-24 Thread Federico Paolinelli
Hi all, I successfully binded a spinner widget to a simple cursor adapter, but I started having problems when I tried to add a new item to the table which feeds the spinner by clicking an "add new item" button. The idea was to launch a new activity which returns the rowid of the just added element

[android-developers] Re: How to look up position in spinner from string array?

2009-08-24 Thread Fabian Sturm
Hi! Am Montag, den 24.08.2009, 13:40 -0700 schrieb Jack Ha: > Can you just save the position instead? Yes I could but the next time the app gets loaded the array might contain new entries. Therefore the position will no longer reflect the correct entry, e.g. after an app upgrade. Therefore I am

[android-developers] Re: How to look up position in spinner from string array?

2009-08-24 Thread Jack Ha
Can you just save the position instead? -- Jack Ha Open Source Development Center ・T・ ・ ・Mobile・ stick together The views, opinions and statements in this email are those of the author solely in their individual capacity, and do not necessarily represent those of T-Mobile USA, Inc. On Aug 24,

[android-developers] Re: android Hello mapview

2009-08-24 Thread Jack Ha
Just continue to follow step 9 and 10. Step 8 is just for declaring the necessary variables. -- Jack Ha Open Source Development Center ・T・ ・ ・Mobile・ stick together The views, opinions and statements in this email are those of the author solely in their individual capacity, and do not necessaril

[android-developers] Re: server over 3g

2009-08-24 Thread Dan Sherman
You can definitely run a server. But the likelyhood of someone being able to connect to it through the network is unlikely due to networking restrictions (NAT, etc) - Dan On Mon, Aug 24, 2009 at 4:40 PM, Andrei wrote: > > Sorry if this repeats > I do not have data plan with G1. > With 3g is it

[android-developers] server over 3g

2009-08-24 Thread Andrei
Sorry if this repeats I do not have data plan with G1. With 3g is it possible to run server on the phone? Thanks --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send e

[android-developers] Multi Touch keyboard for Android

2009-08-24 Thread FrogPad
http://www.youtube.com/watch?v=t8AiUmueD0Y SoftFrog, (FrogPad) is now on N-Trig Dell Tablets, Soon to be on Android for multi touch and also being developed for Single touch. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google

[android-developers] Re: App shutdown during package reinstall

2009-08-24 Thread Hong
If you do: adb uninstall your.package.name.mainactivity, do you ever get any crash/error etc? If not, the upgrade/installation process will uninstall your app cleanly. If onDestroy() is never called, try to do things in onStop(). I would assume onDestroy() will be called during un-installation pr

[android-developers] desktop link to Android SDK's screen capture function

2009-08-24 Thread slavix
Hello, I would like to create a shortcut link to screen capturing of my android on the desktop, so I can do it faster, without having to open Eclipse. Any ideas? thanks, Slava --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google

[android-developers] Re: Live video delivery

2009-08-24 Thread Dan Foss
I am keenly interested in this as well. I am trying to help out my church who is streaming services using m3u8 format to iPhones (http:// www.calvaryccm.com/iphone/) and I would LOVE to help them get this working with the G1 and other android OS phones to come down the pike. Any advice or directi

[android-developers] Re: pass data to new activity

2009-08-24 Thread Hong
array/list of Parcelables via intent data bundle On Mon, Aug 24, 2009 at 3:16 PM, Honest wrote: > > I have two activity in my project. I am callilng second activity from > main activity. can some one tell me how can i pass some data to that > activity ? Simply i want to pass object array. Can so

[android-developers] Re: ADC 2 Submission Site -- Now live

2009-08-24 Thread Ehab Bassilli
Ok, thanks david. But what if the release after 1st august had new and different features? On Aug 24, 2009 7:44 PM, "David McLaughlin (Android Advocate)" < d...@google.com> wrote: Hi, Per the official ADC2 website, "The ADC 2 contest is open only to applications that have not been made publicly

[android-developers] Re: SurfaceView to slow for games? OpenGL necessary to do games?

2009-08-24 Thread Dan Sherman
We're having the same issues in some of our games. Unfortunately running into issues drawing dynamic text in OpenGL, any chance you'd care to share your solution for that? (if you have one that is) - Dan On Mon, Aug 24, 2009 at 2:39 PM, TjerkW wrote: > > The SpriteMethodTest application shows

[android-developers] App shutdown during package reinstall

2009-08-24 Thread DaveG
I'm working on the upgrade process for an Android app and am having a hard time ensuring a graceful shutdown of the old version. Can someone explain how the old version of the app is killed and if there is anything we can do to hook into the process? In more detail: We notice that a new version

[android-developers] Turn off GPF for Google Map programmatically

2009-08-24 Thread Wenzhong
Hi, I am writing an Android application that invokes the built-in Google Map using Intent. My code looks like: Intent intent = new Intent(Intent.ACTION_VIEW, Uri.parse("geo: 47.545992,-122.059613?zoom=15")); startActivity(intent); When Google Map starts, however, GPS is on all t

[android-developers] Re: ADC Submission Site

2009-08-24 Thread phillip
http://android-developers.blogspot.com/2009/08/android-developer-challenge-2-open-for.html On Aug 24, 8:23 am, Bagpiper wrote: > Hi All, > > Any updates on the submission site? > > Or is finding the submission site part of the challenge itself :>) ? > > M --~--~-~--~~~--

[android-developers] pass data to new activity

2009-08-24 Thread Honest
I have two activity in my project. I am callilng second activity from main activity. can some one tell me how can i pass some data to that activity ? Simply i want to pass object array. Can some one tell me how can i do it ? --~--~-~--~~~---~--~~ You received this

[android-developers] Re: WifiInfo object contains out of date info

2009-08-24 Thread Roman ( T-Mobile USA)
Dave, I noticed the same that the wifi connection manager returns wifi connection information also if you are not registered on wifi anymore. It might be that the API description is not correct (or the implementation ). If you use the API connection.getActiveNetworkInfo().getTypeName());

[android-developers] Re: ADC 2 Submission Site -- Now live

2009-08-24 Thread Peli
Thanks for the info! Peli On 24 Aug., 20:14, Dan Morrill wrote: > Not only "should" you, you will have to. You won't be able to upload an app > with a conflicting package name. > Adding a ".adc2" sub-package sounds perfectly reasonable to me, though what > you name it is up to you. > > - Dan >

[android-developers] Re: File created with MODE_WORLD_WRITABLE mode could be accessed directly, but not through content provider.

2009-08-24 Thread Dianne Hackborn
What do you mean a problem? You explicitly created a file that was world writeable, and so others can write it. That is the intended behavior. That said, I would strongly encourage you not to use world writeable, since by definition that turns off any security for that file. Anyone can write an

[android-developers] Re: ADC 2 Submission Site -- Now live

2009-08-24 Thread David McLaughlin (Android Advocate)
Hi, Per the official ADC2 website, "The ADC 2 contest is open only to applications that have not been made publicly available through the Android Market prior to August 1, 2009." Thus, you may publish your new release to the Market and submit to the ADC2, provided of course that you had not previ

[android-developers] Re: SurfaceView to slow for games? OpenGL necessary to do games?

2009-08-24 Thread TjerkW
The SpriteMethodTest application shows the benefits of opengl, the main benefit is: If you have a lot of sprites / a lot of things happening at the same time it is better to use opengl. I am porting my game to opengl now. It was too slow on only the Canvas (30+ things moving at the same time) On

[android-developers] Re: ADC 2 Submission Site -- Now live

2009-08-24 Thread JP
OK - so do I understand correctly that an app that has not been published on Android Market so far, can carry that name over to the public market once the ADC2 is over? On Aug 24, 10:48 am, Dan Morrill wrote: > This site is using the same infrastructure as the Android Market and shares > a unifi

[android-developers] Re: ADC 2 Submission Site -- Now live

2009-08-24 Thread Ehab Bassilli
Hello, I have a question. I published my app on the android market to get feedback and see the product mature. Now we have a new release that is different in user interface. Am I allowed to publish the new release for the adc2? Thanks for any info you can provide. Ideally someone from google s

[android-developers] Re: catching out of memory errors

2009-08-24 Thread Streets Of Boston
That would be indeed be possible. But, in my app's case, unlikely. :-) On Aug 24, 1:03 pm, fadden wrote: > On Aug 23, 10:07 am, Streets Of Boston > wrote: > > > In general, it's no good catching Errors. But I'm using this > > particular error to see if i have enough memory for creating a full-

[android-developers] Re: ADC 2 Submission Site -- Now live

2009-08-24 Thread JP
I checked the Market for the judging app. When is that coming out? Is there going to be an overlap between the end of the submission period, and judging as suggested? It still says "late August" re: the availability of the judging app. On Aug 24, 9:57 am, "David McLaughlin (Android Advocate)" w

[android-developers] Re: ADC 2 Submission Site -- Now live

2009-08-24 Thread Dan Morrill
Ah yes, I misunderstood the question. I guess I had the other topic on my mind. ;) - Dan On Mon, Aug 24, 2009 at 10:59 AM, Mark Murphy wrote: > > > This site is using the same infrastructure as the Android Market and > > shares > > a unified namespace, primarily to avoid "squatting" issues. Tha

[android-developers] Re: ADC 2 Submission Site -- Now live

2009-08-24 Thread Mark Murphy
>> So...will ADC2 apps be used by people outside of ADC2 judging? > > No, apps will be removed from the device after the judging period is > over. If developers want to, they may release their app into the > standard Market, but that will be the only version they will need to > support. Ah, good.

[android-developers] Re: android 1.5 to google maps API

2009-08-24 Thread Fred Grott(shareme)
Your uses-library is in the wrong location see my copy: http://schemas.android.com/apk/res/android"; package="com.mobilebytes.mymapview" android:versionCode="1" android:versionName="1.0">

[android-developers] Re: ADC 2 Submission Site -- Now live

2009-08-24 Thread Mark Murphy
> This site is using the same infrastructure as the Android Market and > shares > a unified namespace, primarily to avoid "squatting" issues. That is, we > want to make sure that if a developer submits an app via ADC2 that an evil > third party could not come along and put an app with the same pa

[android-developers] Re: ADC 2 Submission Site -- Now live

2009-08-24 Thread Dan Morrill
Not only "should" you, you will have to. You won't be able to upload an app with a conflicting package name. Adding a ".adc2" sub-package sounds perfectly reasonable to me, though what you name it is up to you. - Dan On Mon, Aug 24, 2009 at 11:10 AM, Peli wrote: > > Does this mean we should cho

[android-developers] Re: ADC 2 Submission Site -- Now live

2009-08-24 Thread JP
You beat me to it. On Aug 24, 11:10 am, Peli wrote: > Does this mean we should choose a unique package name for ADC2? Would > this be recommended? (e.g. can we continue to use the package name > after ADC2 is over, or do we have to choose a new package name if we > switch back to Market?) > > E.

[android-developers] Re: ADC 2 Submission Site -- Now live

2009-08-24 Thread Peli
Does this mean we should choose a unique package name for ADC2? Would this be recommended? (e.g. can we continue to use the package name after ADC2 is over, or do we have to choose a new package name if we switch back to Market?) E.g. if in the long run, we would like to use "com.myapp", then for

[android-developers] Re: ADC 2 Submission Site -- Now live

2009-08-24 Thread David McLaughlin (Android Advocate)
> So...will ADC2 apps be used by people outside of ADC2 judging? No, apps will be removed from the device after the judging period is over. If developers want to, they may release their app into the standard Market, but that will be the only version they will need to support. Thanks, David --~--

[android-developers] Re: android 1.5 to google maps API

2009-08-24 Thread Honest
it is displaying java.lang.VerifyError as exception in logcat. On Aug 24, 8:07 pm, Jack Ha wrote: > Can you post the logcat exception stack track here? > > -- > Jack Ha > Open Source Development Center > ・T・ ・ ・Mobile・ stick together > > The views, opinions and statements in this email are tho

[android-developers] ADC 2 Submission site is now open

2009-08-24 Thread cadlg
The ADC 2 Submission site is not open: Here's the link: https://www.google.com/accounts/ServiceLogin?service=androiddeveloper&passive=true&nui=1&continue=http%3A%2F%2Fmarket.android.com%2Fadc&followup=http%3A%2F%2Fmarket.android.com%2Fadc

[android-developers] Re: android widgets on WVGA

2009-08-24 Thread Jeff Sharkey
Launcher uses a specific number of cells, and doesn't allocate more cells when the screen becomes larger: http://android.git.kernel.org/?p=platform/packages/apps/Launcher.git;a=blob;f=res/layout-port/workspace_screen.xml;hb=cupcake In particular, the number of short and long axis are identical s

[android-developers] Re: ADC2

2009-08-24 Thread sheik
check this out .. http://android-developers.blogspot.com/2009/08/android-developer-challenge-2-open-for.html final confirmation from .. http://groups.google.com/group/android-developers/browse_thread/thread/2b0f224a326daf04 On Aug 24, 5:42 am, "D.Garcia" wrote: > Hi all, > Any news about su

[android-developers] Re: ADC 2 Submission Site -- Now live

2009-08-24 Thread Dan Morrill
This site is using the same infrastructure as the Android Market and shares a unified namespace, primarily to avoid "squatting" issues. That is, we want to make sure that if a developer submits an app via ADC2 that an evil third party could not come along and put an app with the same package up on

[android-developers] Re: Jdbc driver problem

2009-08-24 Thread Mark Murphy
> Like object i have some problem with jdbc driver. Android does not include JDBC. > I wanna connect to a database server (postgresql) without write some > php script server side to comunicate with client (android mobile > phone) Write a Web service in PHP and connect to that Web service from A

[android-developers] Re: Connecting multiple phones

2009-08-24 Thread Yusuf Saib (T-Mobile USA)
There are two ways to do this: 1) have the phones running your app sign in to a central server with their location, and the server informs the phones of each other. Then they can contact each other however you like. One problem is that 50m is a small radius for the phone's ability to detect its lo

[android-developers] Re: Best/safest place to do cleanups(e.g. connection release) at Application level

2009-08-24 Thread Vikas
Experts!!! Any ideas. On Aug 24, 9:36 am, Vikas wrote: > Hi, > > What is the best/safest place to do cleanups at application level? > > I am creating a single instance of DefaultHttpClient when the > application starts up. Rest of the activities will be ustilizing same > instance of client. Now

[android-developers] Re: Emulator -dpi-device option is not work.

2009-08-24 Thread Romain Guy
This will be supported in Donut. On Fri, Aug 21, 2009 at 10:05 PM, Daisong wrote: > > I've launched emulator with -dpi-device option. > But any icon size is not changed. > Is there other options I must apply? > > > > -- Romain Guy Android framework engineer romain...@android.com Note: please

[android-developers] How to write the contacts with Chinese name into sim contact?

2009-08-24 Thread wood
I tried to write the contacts with a Chinese name into the sim contact. It seems to be success. But when I shut down the phone and restart it, all the Chinese names read from sim contact become blank while all phone numbers are exactly correct. How to write the contact with a Chinese name into the

[android-developers] Re: EMMA Code coverage and JUnit

2009-08-24 Thread Mayank Gupta
has anyone stuck with the problem on android OS not booting while launching emulator showing error that can not specify non '.' in your classpath, unable to launch dalvikvm On Aug 20, 6:08 pm, Gabor wrote: > Hi All, > > Finally, the emmacodecoveragemeasurement is working for me (for a > custom

[android-developers] Re: ListView touch problem

2009-08-24 Thread Rimma Sukhovsky
thanks alot! TouchDelegate looks like a good direction! On Mon, Aug 24, 2009 at 6:16 PM, manigault wrote: > > Maybe this will help you > > http://stackoverflow.com/questions/500264/android-multiple-actions-on-a-list-view-focus-issue > > On Jul 30, 5:26 pm, legerb wrote: > > Each list item in my

[android-developers] Re: ADC 2 Submission Site -- Now live

2009-08-24 Thread Mark Murphy
> The submission site for ADC 2 is now live! For full details, see our > blog post: > > http://android-developers.blogspot.com/2009/08/android-developer-challenge-2-open-for.html Great! I am concerned about the following quote from that blog post: "As a final note, if you've uploaded a version

[android-developers] Emulator -dpi-device option is not work.

2009-08-24 Thread Daisong
I've launched emulator with -dpi-device option. But any icon size is not changed. Is there other options I must apply? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group,

[android-developers] Re: outgoing call data stream / channel

2009-08-24 Thread Dianne Hackborn
The current Android hardware I know of does not support this. On Sat, Aug 22, 2009 at 7:11 AM, slenzi wrote: > > Is it possible to get a handle on the outgoing data (voice) stream > during a call? I'd like to be able to intercept the outgoing data, > alter it slightly, then write it back out. >

[android-developers] File created with MODE_WORLD_WRITABLE mode could be accessed directly, but not through content provider.

2009-08-24 Thread Zhang Yi
Hi guys, The Android SDK says that the only way to share data across applications is to use content providers. But I found that the file created with the MODE_WORLD_WRITABLE mode could be accessed directly by other applications, but not through content provider. I wrote a application "

[android-developers] ADC Submission Site

2009-08-24 Thread Bagpiper
Hi All, Any updates on the submission site? Or is finding the submission site part of the challenge itself :>) ? M --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group,

[android-developers] Re: Lossless rotation of a jpeg image in Android (without fully decoding the image). How to?

2009-08-24 Thread Dianne Hackborn
You'd need to compile the code into your app and call it with JNI. On Sat, Aug 22, 2009 at 11:48 PM, RaulHK wrote: > > Hello, > > I would appreciate to hear from you what would be the available > options in Android to perform a lossless jpeg rotation of a jpeg image > -> Rearranging the image da

[android-developers] android Hello mapview

2009-08-24 Thread sweet
Hello i'm new in the android developpement and i've tested the tutorial "Hello mapview" (at the URL:"http://developer.android.com/ guide/tutorials/views/hello-mapview.html") but i'm stopped in the step 8. I don't understand how to retrieve the ZoomControls object from the MapView and add it to my

[android-developers] Re: My emulator is running 100% CPU, it's annoying..

2009-08-24 Thread Chauncey Chen
Mine is also occupying 100% CPU. I am a fresh man and just now created a HelloWorld in Eclipse. When I ran it "as an Android application", after a while, it keep 100% occupying some minutes and only the text "Android_" with black background in the emluator. My OS is Windows XP and Eclipse is 3.4.

[android-developers] Android Developers

2009-08-24 Thread sathya
The second Android Developer Challenge has begun! In this contest, real-world users will help review and score applications and the overall winner will take ... developer.android.com/ Android Developers. Discuss developing Android applications using the Android framework. Get help with troublesho

[android-developers] Re: disable HOME key and right soft key

2009-08-24 Thread Dianne Hackborn
Fyi-- this setting is left over from decisions about the behavior we wanted for 1.0, and is no longer used. Don't count on any of the settings doing what they say, or any of this staying around in the future. (I realize this got left in the public SDK. Ooops. It shouldn't have been.) On Sun, A

[android-developers] How to get stream of Audio

2009-08-24 Thread tommylion
Hi all, I used Class MediaRecorder to play mp3 file, the source like this: -- MediaRecorder recorder = new MediaRecorder(); recorder.setAudioSource(MediaRecorder.AudioSource.MIC); recorder.setOutputFormat(MediaRecorder.OutputFormat.T

[android-developers] G1 as Dev Phone replacement

2009-08-24 Thread Dave Smith
Hi all - I'm needing to get my hands on an unlocked device for some development work, and I noticed that the ADP1 is supposedly out of stock until (maybe) early next month. I know someone who is wanting to get rid of their T-Mobile G1, and I'm curious if anyone out there has had experience takin

[android-developers] My emluator is occupying 100% CPU, Why?

2009-08-24 Thread Chauncey Chen
Hi All, My emluator is occupying 100% CPU. I am a fresh man and just now created a HelloWorld in Eclipse. When I ran it "as an Android application", after a while, it keep 100% occupying some minutes and only the text "Android_" with black background in the emluator. My OS is Windows XP and Ecli

[android-developers] How to use motion events with multiple layouts

2009-08-24 Thread andr0id
Hi everyone, I'm beginning in android development, and I've stumbled upon a problem. My application has different layouts stored in xml files, and I use motion events such as onFling or onSingleTapup. These motion events seem to apply whatever layout i'm in. My problem is simply identifying whic

[android-developers] Re: adc2 submission site

2009-08-24 Thread euclid
is it the case that to join the contest we need to publish our apps on the market before 31st Aug? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to andro

  1   2   3   >