Re: [android-developers] Re: Best way to logout each time the application/task goes to background

2010-07-16 Thread Frank Weiss
Why do you need to force the user to login again just because their personal workflow involved starting an activity in a different application? -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-dev

[android-developers] Re: Seems Android Market statistics go wrong again

2010-07-16 Thread Neilz
How annoying. Mine have dropped around 15%. And I'd just been boasting to my friends about a certain figure I'd reached - I'll have to do it all again in a month or so now :-) -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this

Re: [android-developers] Re: Udp +Tcp connection in Android

2010-07-16 Thread Frank Weiss
AFAIK, there's not such thing as a UDP connection. However, if you've done this before in Java, what is the problem you are having doing it on Android? -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to and

[android-developers] Re: Udp +Tcp connection in Android

2010-07-16 Thread xuxu
Carlos Silva thanks for your answer. I sorry wasn't clearly enough. I want to open udp connection on android with a remote (pc) java server and after getting some packet to switch to tcp connection (open tcp connection between them) I have down it with pc java client and i wand to do it with androi

[android-developers] Android as Desktop OS

2010-07-16 Thread vineet
Hi There, I dont know if this is a vorrect place, but i could not find my answers and i believe there and much more expertised people here, then anywhere else. I want my Desktop to boot to Android OS. I know it can be done and also some netbooks available with Android OS installed. Can some one

Re: [android-developers] Re: App Inventor to Market

2010-07-16 Thread Kostya Vasilyev
Johnas, Time spent and number of launches are poor metrics for app quality. Maybe it makes some sense for games. But consider a car navigation app, or an Office document viewer - their use time/count is dependent on factors that have nothing to do with how much users like them. I have a data bac

[android-developers] Re: Android market hiding apps with bluetooth permissions from Android 1.5 and 1.6

2010-07-16 Thread Sam
On a lighter note it's nice we don't have these two: or On Jul 16, 6:32 am, Robert Green wrote: > Thank you guys for posting this!  I dropped my first game with > bluetooth controller support which is designed to go back to 1.5 and I > freaked out for a minute when it didn't show up.  All i

[android-developers] Re: Native encryption for Android

2010-07-16 Thread Babaia
Are you talking about SSL/TLS enabled POP3/IMAP connection ? I thought Android already supports that. On Jul 16, 1:06 pm, Tony Doubtfire wrote: > Hi Guys > > Just got my first Android phone and wow – absolutely fantastic! What a > great operating system you have created – and its open unlike cer

[android-developers] Re: OpenGL ES Java binding not supported on Nexus One + Android 2.2?

2010-07-16 Thread devi prasad
alright, it took a good night sleep to correct the embarrassing mistake :) I forgot to call "setEGLContextClientVersion(2)" in my code! On Fri, Jul 16, 2010 at 8:41 PM, devi prasad wrote: > My Nexus One is updated with Android version 2.2 (build number FRF91). > However, when I try to use the Op

回复: [android-developers] Re: Max number of ent ries per table for SQLiteDatabase Content Provider

2010-07-16 Thread Taoyi Guo
is that real? i hope sb give more certain info for us. 在 2010-7-17 上午9:47,"Zsolt Vasvari" 编写: That is certainly not the case. My app has many thousands of rows of data. On Jul 15, 4:42 am, wnafee wrote: > Hi, > > I have an application that has a Con... -- You received this message because y

[android-developers] Re: App Inventor to Market

2010-07-16 Thread Maps.Huge.Info (Maps API Guru)
We have 68% for "Radar Now!" and 58% for "What Zip Code?" -John Coryat -- 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 a

[android-developers] Re: Max number of entries per table for SQLiteDatabase Content Provider

2010-07-16 Thread Zsolt Vasvari
That is certainly not the case. My app has many thousands of rows of data. On Jul 15, 4:42 am, wnafee wrote: > Hi, > > I have an application that has a Content Provider with an > SQLiteDatabase. I noticed that my tables don't get any new row entries > inserted after i reach index number 1000. >

[android-developers] Re: Best way to logout each time the application/task goes to background

2010-07-16 Thread Zsolt Vasvari
1) This is not the best option, at least not without option 2, as the user can still leave without having the opportunity to log out, for example to answer a call. 2) I do this, it's a bit of a pain as I need to check the timeout in every activity, and I have at least a couple of dozens. So it's

[android-developers] Re: Seems Android Market statistics go wrong again

2010-07-16 Thread Zsolt Vasvari
Same for me. The paid version of my app shows 8% fewer downloads than Google Checkout is showing purchases. Sure, I had some refunds, but those should still be counted in the downloads, just not in the active installs, right? Or am I wrong there? Even if I subtract the cancelled orders, the num

[android-developers] Re: App Inventor to Market

2010-07-16 Thread Zsolt Vasvari
What's considered a good install percentage for a free app? Mine has always been 35-40%. I would have guessed that's fairly good for a try- it-if-I-like-it app. On Jul 17, 8:45 am, "Maps.Huge.Info (Maps API Guru)" wrote: > It's what you can't see that's probably affecting your position, > namel

[android-developers] Animation doubt

2010-07-16 Thread Sebastián Treu
Hi all, I want to slide down a RelativeLayout filled with information. I have written this animation: http://schemas.android.com/apk/res/android"; android:fromYDelta="0" android:toYDelta="87%" android:duration="350" android:fillAfter="true" /> The animation parameters are ok

[android-developers] Re: system lock up and restarts when I start and stop my app.

2010-07-16 Thread DanH
>From the symptoms I would guess that either the code is in a tight CPU loop or it's somehow consuming a lot of memory. On Jul 16, 6:40 pm, Marc wrote: > I have this game, which is almost done. It has 1 critical bug. When > the app exits and restarts, the phone goes in to super slow mode and > ev

[android-developers] Re: Market reporting wrong app size

2010-07-16 Thread H9kDroid
Thanks for your answer, that was my mistake. A missclick when I scrolled down I guess. I found out what was wrong about 20 min after the upload and changed it back to no copy protection and everything was fine again. But now I wonder if this will have any more negative impact on my app? Everyone

[android-developers] Re: What is different between @id/android:list and @+id/android:list ?

2010-07-16 Thread James Lee
Thank you for your answer. You're right. @+ does mean make new id. I think It will be not working if I use @+id/android:list instread of @id/android:list. \ But, It is also working. According to that document, ListActivity may generate some error when it use @+id/android:list because we not us

[android-developers] What is different between @+id/android:list and @id/android:list ??

2010-07-16 Thread James Lee
Hello Everyone ~ I've develop android application, and one question. As you know, When we use LiveActivity, we must specify @id/ android:list for ListView ID. But, When I use @+id/android:list instead of @id/android:list, it is working fine. What is different between @+id/android:list and @id/a

[android-developers] Re: Seems Android Market statistics go wrong again

2010-07-16 Thread Jeffrey
I disagree, my paid app now has less downloads then I have purchases. So something is definitely up... On Jul 16, 4:06 pm, "Maps.Huge.Info (Maps API Guru)" wrote: > Our app "Radar Now!" dropped from 611,000 to 562,000 - quite a bit! > However, when compared to our own internal counts, they are mu

[android-developers] Re: system lock up and restarts when I start and stop my app.

2010-07-16 Thread Marc
I put a copy of the log here: http://www.catglo.com/log On Jul 16, 5:45 pm, Marc wrote: > My device has a standard build. Its a t-mobile G1. > > I am only not using any extras. Just a basic 1.6 app. > > here is my log, I removed the lines which my program spits out. > > 07-16 17:39:09.097: INFO/

[android-developers] Re: App Inventor to Market

2010-07-16 Thread Maps.Huge.Info (Maps API Guru)
It's what you can't see that's probably affecting your position, namely, acceleration and active install percentage. -John Coryat -- 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@googl

[android-developers] Re: system lock up and restarts when I start and stop my app.

2010-07-16 Thread Marc
My device has a standard build. Its a t-mobile G1. I am only not using any extras. Just a basic 1.6 app. here is my log, I removed the lines which my program spits out. 07-16 17:39:09.097: INFO/ActivityManager(74): Starting activity: Intent { act=android.intent.action.MAIN cat=[android.intent.ca

[android-developers] Emulator loses network connection issue

2010-07-16 Thread Ken
Hi, I wonder if anybody has ran into the issue where a running emulator would lose network connection all at a sudden for no obvious reason. And I am sure the computer running the JVM is still online. Restarting the emulator seems to fix the issue but it's been a major PITA for me as it interrupt

[android-developers] Re: system lock up and restarts when I start and stop my app.

2010-07-16 Thread Maps.Huge.Info (Maps API Guru)
What does the logcat say? There must be some clue there. Are you using anything out of the standard kit in your app? What device are you seeing this on? Does your device have a standard build or a custom ROM? -John Coryat -- You received this message because you are subscribed to the Google G

[android-developers] Re: system lock up and restarts when I start and stop my app.

2010-07-16 Thread Marc
Some more information: I do not get a restart in the emulator. I can exit and restart the app in that environment. My phone is a G1. -- 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@g

[android-developers] Re: App Inventor to Market

2010-07-16 Thread Zsolt Vasvari
I was looking at the "Top apps in the category", not a particlar search, when I made my comment. Basically, my app appears to be better in every visible category (download, # of ratings and * rating) than probably 200 apps above it. On Jul 17, 1:16 am, Nathan wrote: > On Jul 16, 8:14 am, "Maps.H

Re: [android-developers] Any cheap solutions of GPS signal simulation?

2010-07-16 Thread Frank Weiss
I suppose it would be fairly easy to have a mock GPS object makes callbacks to your activities. Assuming that's possible, what kind of scenario do you want? -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email t

[android-developers] Re: Issue with getByteArrayRegion returning LARGE byte arrays. (JNI Code)

2010-07-16 Thread fadden
On Jul 15, 11:56 am, philip hays wrote: >         jbyte* imageData_out = (*env)->NewByteArray(env, length); NewByteArray returns a jbyteArray, not a pointer to jbyte. >         (*env)->GetByteArrayRegion(env, imageData_in, 0, length, > (jbyte*)imageData_out); This copied the data onto the start

[android-developers] Re: What is different between @id/android:list and @+id/android:list ?

2010-07-16 Thread DanH
In a nutshell, "@id/xxx" means use that pre-existing ID#. "@+id/xxx" means assign a new ID# to that symbol and then use the ID#. On Jul 15, 12:47 am, James Lee wrote: > Hi, everyone~ > > I've some test about Android ListActvity. As you know, we have to set > @id/android:list as ListView id in la

Re: [android-developers] Re: App Inventor to Market

2010-07-16 Thread Jonas Petersson
On 07/16/2010 05:35 PM, String wrote: On 16 July, 16:14, "Maps.Huge.Info (Maps API Guru)" wrote: (Pardon the continued hijack) Likewise. ;^) +1 From my analysis, the key metric in market position is acceleration, not total downloads, comments or anything else. I respectfully disagree... i

[android-developers] system lock up and restarts when I start and stop my app.

2010-07-16 Thread Marc
I have this game, which is almost done. It has 1 critical bug. When the app exits and restarts, the phone goes in to super slow mode and eventually restarts. I am at a loss as to how to debug it. It seems like something is happening to make the program run super slowly. The 2nd time the program e

Re: [android-developers] Re: Seems Android Market statistics go wrong again

2010-07-16 Thread Jonas Petersson
On 07/16/2010 11:06 PM, Maps.Huge.Info (Maps API Guru) wrote: Our app "Radar Now!" dropped from 611,000 to 562,000 - quite a bit! However, when compared to our own internal counts, they are much more in line now. We count each individual registration of an Android ID as one install, which should

[android-developers] Why there is no drawable-ldpi directory under frameworks/base/core/res/res

2010-07-16 Thread n179911
Hi, In android source code, frameworks/base/core/res/res are where android resource files are being saved. My question is why there is no drawable-lpi, there are only drawable-hpi , drawable-mpi. Isn't drawable-lpi is for low density resources, whereas drawable-hpi for high density and drawable-mp

[android-developers] Re: webkit, javascript, onclick, MotionEvent, event handlers not firing

2010-07-16 Thread Maps.Huge.Info (Maps API Guru)
I tried that and it seemed to have no effect. Are you sure it was settings.setSupportZoom(false); and not something else? If you tried for hours, how many other changes did you make? -John Coryat -- You received this message because you are subscribed to the Google Groups "Android Developers" gr

[android-developers] android 1.5 tilt control tutorial

2010-07-16 Thread Michael Lam
hi i am looking for a good tutorial on programming android's tilt control functionalities. the only ones i have seen so far are for android 1.6 or above, i need a tutorial for android 1.5. thanks. -- You received this message because you are subscribed to the Google Groups "Android Developers" gr

[android-developers] Re: Seems Android Market statistics go wrong again

2010-07-16 Thread Maps.Huge.Info (Maps API Guru)
Our app "Radar Now!" dropped from 611,000 to 562,000 - quite a bit! However, when compared to our own internal counts, they are much more in line now. We count each individual registration of an Android ID as one install, which should be the way Google does it. The discrepancy is on the order of 20

[android-developers] Re: Hide an app from the user

2010-07-16 Thread mah
No prostrating necessary... all you need to do is build your own custom Android port. You can't do this on an off-the-shelf system unless perhaps there's a way to do it by signing your app with the firmware signing key, and you have the firmware signing key for the particular off-the-shelf system.

Re: [android-developers] Using back button in android.

2010-07-16 Thread Alexandre Ligier
Hi, You can do that by using the onKeyListener. For exemple in your onCreate : yourView.setOnKeyListener(XYZ); In the XYZ class : public boolean onKey(View v, int keyCode, KeyEvent event) { if(keyCode==KeyEvent.KEYCODE_BACK && event.getAction()==KeyEvent.ACTION_DOWN) { //blablabla do things } ret

RE: [android-developers] Help saving data

2010-07-16 Thread Tommy
Have you tried saving that info in a database? I would assume you could save the string information such as the icon name/path the name of the app or the string resource value and the name of the intent. Then read that info on launch and do what you need to with it. From: android-developers@goo

Re: [android-developers] Seems Android Market statistics go wrong again

2010-07-16 Thread TreKing
On Fri, Jul 16, 2010 at 1:10 AM, xing@gmail.com wrote: > I found all my apps install decreased. http://android-developers.blogspot.com/2010/07/market-statistics-adjustments.html --

[android-developers] Re: Image viewers on android phones not always the best experience?

2010-07-16 Thread Maps.Huge.Info (Maps API Guru)
You can do whatever you want to with webview. It's a browser, well sort of, and as such, a little css/html/JavaScript will do just about anything. -John Coryat -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send ema

Re: [android-developers] Help saving data

2010-07-16 Thread TreKing
On Wed, Jul 14, 2010 at 2:35 PM, jacob malliet wrote: > I do not know how to save this data. > http://developer.android.com/guide/topics/data/data-storage.html - TreKing

[android-developers] Re: C2DM example ChromeToPhone, contents of "dataMessagingToken.txt"

2010-07-16 Thread Chister Nordvik
> Good luck with the signup. > I've been asking google for ac2dmaccount for 2 month now. > My application is ready for publishing. > But is worthless without thec2dm:( Great, 2 days of coding spent on nothing. All because I didn't see the signup-button. Good thing I didn't promise you 300.000 user

[android-developers] Changing the drop down MultiAutoCompleteTextView

2010-07-16 Thread prakash Ramachandran
Dear Friends, I have a MultiAutoCompleteTextView in my layout, I have attached an array adapter of email address to the MultiAutoCompleteTextView . Now when a user types any letters in this view it will show a drop down with the matching email address to the letter typed. I wanted to modify the

Re: [android-developers] What is different between @id/android:list and @+id/android:list ?

2010-07-16 Thread TreKing
On Thu, Jul 15, 2010 at 12:47 AM, James Lee wrote: > Anyone know what is different between @id/android:list and > @+id/android:list ? > I loves me some documentation: http://developer.android.com/guide/topics/ui/declaring-layout.html#id -

[android-developers] Re: Best way to logout each time the application/task goes to background

2010-07-16 Thread Streets Of Boston
You have no control over the application and/or activity life cycle. This will make is very hard to determine when the user 'exits' the app. I would do this: 1. Consider an explicit 'log-out' option for your users. 2. Add a time-out to your login-sessions. Refresh the session (time- out) when the

Re: [android-developers] Re: Image viewers on android phones not always the best experience?

2010-07-16 Thread Mark Wyszomierski
I have to check again, but I thought webview won't center and zoom a single image for you. It will just show the full size image, if it's larger than the phone screen, it'll just scroll off. On Thu, Jul 15, 2010 at 4:33 PM, Maps.Huge.Info (Maps API Guru) < cor...@gmail.com> wrote: > You can alway

[android-developers] Re: Issue with getByteArrayRegion returning LARGE byte arrays. (JNI Code)

2010-07-16 Thread DanH
First off, are you sure that imageData_in is "length" long? My JNI is a little rusty, but I recall that some of the JNI array ops "memory map" the arrays (on some platforms), tying up considerable additional pieces of address space. But I can't offhand think how that might factor in here. On Jul

Re: [android-developers] Screen Rotation

2010-07-16 Thread TreKing
On Thu, Jul 15, 2010 at 11:09 PM, 7H3LaughingMan wrote: > I have no clue on how to set it up so that when it rotates that it doesn't > recreate everything and re-fetch the data and process it again. > Review the Activity Lifecycle and then go here: http://developer.android.com/reference/android/a

[android-developers] Re: Decent Android reference book?

2010-07-16 Thread mah
Anyone that tells you they learned C++ in 24 hours has still not learned C++. This is philosophical, kind of like the statement "Seek those who seek the truth, avoid those who claim to have found it." The official Android documentation is indeed very difficult to grasp, but I there's so much infor

Re: [android-developers] recent activity list

2010-07-16 Thread TreKing
On Thu, Jul 15, 2010 at 2:28 PM, Taoyi wrote: > you may finish your activity inside the stop callback method > And this has what to do with the original question? - TreKing

[android-developers] Re: Decent Android reference book?

2010-07-16 Thread DanH
Well, the IBM manuals could be pretty dry, but there were several that were excellent. The "Nutshell" books generally do a good job of balancing tutorial and reference info, though the references are necessarily abbreviated. As an example of a pretty good (though far from perfect) online referenc

Re: [android-developers] Any cheap solutions of GPS signal simulation?

2010-07-16 Thread TreKing
On Thu, Jul 15, 2010 at 6:09 PM, Benson wrote: > Any suggestions please? You mean besides "go outside" ? - TreKing - Chicago transit tracking app

[android-developers] Cam picture 'bigger' then preview

2010-07-16 Thread EnnaN
I am hoping that there is something predictable i'm doing wrong, but i seem to have more "info" on picture then on the preview. Situation: I have an app basically based on the CameraPreview code. (1.5!) When I take a picture, the resulting image has more content then i saw on the preview. To clari

Re: [android-developers] close activity A that invoked activity B

2010-07-16 Thread TreKing
On Thu, Jul 15, 2010 at 11:57 AM, Taoyi Guo wrote: > you just call finish() and before you start new activity. > Which would kill your first activity regardless of the result of the second activity. In this case, even if the user accepted the TOS, the original activity would never start. That doe

Re: [android-developers] Please help with user notification/dialog

2010-07-16 Thread TreKing
On Thu, Jul 15, 2010 at 3:53 PM, James wrote: > I have tried having the BroadcastReceiver send an Intent to a Dialog.Themed > Activity, but that brings my entire app back to the foreground. > Try playing around with taskAffinity. -

[android-developers] Re: Disappearing downloads

2010-07-16 Thread Mark Carter
Please see here: http://groups.google.com/group/android-discuss/browse_thread/thread/e6d80ed13ea5ec71 In particular: http://android-developers.blogspot.com/2010/07/market-statistics-adjustments.html On Jul 16, 4:07 pm, Jamie McDonald wrote: > I've read about this problem with the Android Marke

[android-developers] Re: Market reporting wrong app size

2010-07-16 Thread Bob Kerns
If you have copy protection turned on, your app actually DOES take 2x the .apk size when installed. This is just one of many drawbacks to the copy protection feature. On Jul 16, 7:27 am, H9kDroid wrote: > On Jul 8, 4:47 am, Stephen Lebed wrote: > > > I've just released an update to my app and t

[android-developers] Manual Caching

2010-07-16 Thread Paulo
Hello all, I am new to this board and Android altogether, and I have some issues with caching that I really hope you guys can help me with. My problem is that my application needs to manually store webpages for offline access, (that means Images, css, javascripts, and so on). My current approach i

[android-developers] Re: webkit, javascript, onclick, MotionEvent, event handlers not firing

2010-07-16 Thread jacek
Actually, I do not want to set handlers to top-most elements, I am interested in event.targets being various text paragraps and so on. In any case, like I said before, what I am doing DOES work in Froyo OK, and it also works in 2.1 *sometimes* Now to the good news! I am getting consistent behavio

[android-developers] when to use "aapt add" for shared object files

2010-07-16 Thread farrar
hi All I have the following so file from a vendor that needs to be added to a demo apk: lib/armeabi/libLoqASRJNIWrapper.so I was instructed to do it like this: aapt add -v LASRDemo.apk "lib/armeabi/libLoqASRJNIWrapper.so" This will package the so file within the apk, but the directory struct

[android-developers] OpenCORE API Question

2010-07-16 Thread whglee
Hi Experts, In OpenCORE, nodes/pvsocketnode/include/pvmf_socket_node_extension_interface.h /** Only for UDP based data flow, API helps to set UDP port range. @aMaxUdpPortNum[in] - Maximum udp port number @aMinUdpPortNum[in] - Minimum udp port number @return - PVMFSuccess, if maximun port number

[android-developers] Re: multitouch usage using monkeytool

2010-07-16 Thread alex2206
On Jun 25, 12:22 pm, Prue Meng wrote: > Hi, > I want use them ,too...If you find the use of the method,please send me > one~ > > thank you!~ Hi all, Have anyone find out the method ? I would like to send event or use monkey tool to execute multi-touch in device. I investigated in monkey code b

[android-developers] Re: Market reporting wrong app size

2010-07-16 Thread H9kDroid
On Jul 8, 4:47 am, Stephen Lebed wrote: > I've just released an update to my app and the apk file is 3.5mb on my > system.  It is reported as 3.5mb in the developer console.  But in the > market it is showing up as 7.02mb.  I'm now getting comments that that > app is too big and I feel people ma

[android-developers] Native encryption for Android

2010-07-16 Thread Tony Doubtfire
Hi Guys Just got my first Android phone and wow – absolutely fantastic! What a great operating system you have created – and its open unlike certain other fruit based offerings… Just one problem – I work for the NHS in the UK and have synced my mail account to my device. However in December this

[android-developers] Animating layout.

2010-07-16 Thread avigadl
I would like to apply an animation to a layout. However, I need to apply different animation to each one of its child view simultenously. How should I do it? -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email

[android-developers] Seems Android Market statistics go wrong again

2010-07-16 Thread xing....@gmail.com
I found all my apps install decreased. One of my app install decrease from 13898 to 12251. -- 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 gro

[android-developers] error: Error: No resource found that matches the given name ()

2010-07-16 Thread zci_zr
Hi i am new to android, I try to create layout so that I have background image, and have a ImageView with animation start from bottom right of screen and along with a TextView stay on top of this ImageView. (Hope my describe make sense). My problem is when I try use "android:layout_above="@id/fly

[android-developers] Re: Decent Android reference book?

2010-07-16 Thread Mystique
Yes a reference like the "Java in a nutshell" but on Android will be good. On Jul 16, 3:44 am, DanH wrote: > Is there one?  I have "Professional Android 2 Application Development" > by Meier and "Teach Yourself Android Application Development in 24 > Hours" by Darcy/Conder.  Both are mediocre at

[android-developers] Best way to logout each time the application/task goes to background

2010-07-16 Thread Kim D.
Hello, I have an application which requires a login at the beginning (this is the first activity). When the user logs in, I keep his credentials in the application (I extended android.application to add a field called 'key'). I would like to clear this field from memory (from application instance)

[android-developers] Re: Accelerometer not working when screen turns off

2010-07-16 Thread Bret Foreman
My application will run extensively in partial wakelock mode and I'm very curious to see what standby power consumption consequences that has for various popular phones. Maybe we should start a thread just for that purpose where people can post their observations of battery life in this mode for va

RE : Re: [android-developers] When is onMeasure called?

2010-07-16 Thread Alexandre Ligier
Hi, If I remember well, you can get the "final" measure of a view in the onDraw method. Le 16 juil. 2010 14:32, "Klaus Kartou" a écrit : Ok makes sense. However I need a little help. I need to call a method on the view that should be called when the correct size of the view is known. If I under

回复: [android-developers] How to custom build s teps in Eclipse ADT plug in.

2010-07-16 Thread Taoyi Guo
no 在 2010-7-16 下午6:40,"sohel Cuetian" 编写: Hi, I am going to perform unit testing on android applications like contacts, mms, alarm clock etc. These apps are already installed in the emulator/device. I have written some test cases. But facing problem in running those tests. As the apps are already

[android-developers] Re: Signup for C2DM ?

2010-07-16 Thread Danny Shmueli
Will someone at Google wake up! Seems that some developers can already take advantage of the c2dm network while others are just hung out to dry in the sun. I've been waiting for 2 month now (and filled the sign up form couple times). My application is nearly ready for publishing but it is worthless

[android-developers] Re: Build Error

2010-07-16 Thread daijo
In got the exact same problem. Any success? On Jul 8, 12:54 pm, folone wrote: > I did > $ file /lib/libz.so.1.2.3.3 > and it said, that: > /lib/libz.so.1.2.3.3: ELF 32-bit LSB shared object, Intel 80386, > version 1 (SYSV), dynamically linked, stripped > So, it seems, everything is ok. But I stil

[android-developers] How to collect long-time method traces by 'am profile'?

2010-07-16 Thread Shuo
I am using the 'am profile start|stop' to get method traces. What I did is: # am profile start /sdcard/trace wait for 10min, playing with the app from which I am collecting traces # am profile stop But in the trace file there is only records for 3 seconds. Do you know how can I collect trace

[android-developers] Is there any google authorized website to download image for going back to Android 2.1 after OTA to 2.2.

2010-07-16 Thread Macwasigi
Somehow i get some reason to go back to 2.1 after OTA to 2.2 I found there are some ways to recovery to 2.1. But i am not sure if the website is believable or not? ex. looks like google website but actually not. https://android.clients.google.com/updates/passion/signed-passion-ERE27-from-ERD79.a48

[android-developers] Disappearing downloads

2010-07-16 Thread Jamie McDonald
I've read about this problem with the Android Market Developer Console before but I was under the impression that it had been resolved. I check my Market stats roughly daily and this morning there were about a thousand less total downloads across my two apps. Is anybody else experiencing this? --

[android-developers] Re: C2DM example ChromeToPhone, contents of "dataMessagingToken.txt"

2010-07-16 Thread Danny
Good luck with the signup. I've been asking google for a c2dm account for 2 month now. My application is ready for publishing. But is worthless without the c2dm :( -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, se

[android-developers] android air as3 application question about connectivity

2010-07-16 Thread gael cobert
hello i am making an application in android with the beta air/as3. I have a question about connectivity. My goal is getting some elements like pictures for example from URL, i can get URL elements (jpg, xml ...) with wifi enabled but if wifi is disabled and 3G/GSM enabled i can't access anything is

[android-developers] Any cheap solutions of GPS signal simulation?

2010-07-16 Thread Benson
Dear all, We are going to demo our GPS software at indoor. But the cost of GPS signal generator is over our budget. The A-GPS/Android-emulator is not accepted for some reasons. Any suggestions please? PS We can borrow GPS signal generator from other lab but it's impossible to take away. -- Y

[android-developers] Re: recent activity list

2010-07-16 Thread William Ferguson
I realise this isn't an answer to your question, but I get exactly the same behaviour from Google Mail on my Samsung Galaxy S running 2.1 It's extremely annoying. On Jul 16, 4:38 am, ecforu wrote: > When I run my app, it works fine but if I switch back to home or another > application, I want

[android-developers] The larger resolution android emulator doesn't show up

2010-07-16 Thread Frank
Hi All, I have tried to make two kinds of large screen resolution skins for android 2.1. There are 1024*768 and 1366*800. The version with 1024*768 resolution can be show up normally. But the version with 1366*800 resolution will not show up. The emulator.exe will running in backgroud(From PC T

[android-developers] How to make data independent of activity

2010-07-16 Thread rajaramyadhav
Hi All, I am new to Android development. My requirement is something like this. I have two list activities and a service. I also have to maintain some data in an two different arraylist which are used by the activity to display. The data will be populated by the service. Since adding the new elem

Re: [android-developers] No measured width and height for inflated layout

2010-07-16 Thread Jenus Dong
override onSize(), computescroll() method, then call SetVisiblity(). Would you want to design self scrollView dialog? Please give some code here, it is possible to say something right. On Fri, Jul 16, 2010 at 5:03 AM, Pepi wrote: > Hello to all, > > I need to hide/show a Button whether a Scroll

[android-developers] Issue with getByteArrayRegion returning LARGE byte arrays. (JNI Code)

2010-07-16 Thread philip hays
Temporary purpose of method is to take in a fixed byte array (Which is a 8bit grey scale image) only take a region of the byte array, then return that region. I have successfully used setByteArrayRegion to take the incoming array(From Java code) and assign it to the outgoing "imageData" with the c

Re: [android-developers] close activity A that invoked activity B

2010-07-16 Thread Taoyi Guo
you just call finish() and before you start new activity. On Jul 15, 2010 10:57 PM, "Boozel" wrote: Is there any way to close the activity the launched another activity? So if activity A starts activity B can activity B close activity A? I know there is the tag android:finishOnTaskLaunch="true"

[android-developers] writing a notification widget for Yahoo mail

2010-07-16 Thread Android Dev
Hi, I'm a new-ish Android dev. trying to write one of the following: * a custom notification app that will create a custom icon in the notification bar when yahoo mail is received in a certain yahoo email account similar to the "google notifier" app OR * a "yahoo mail unread count" widget simil

[android-developers] How to remove data in the list view

2010-07-16 Thread Rammi
Hi, Friends, I had a problem in displaying data in a custom list view, I am attaching data from database(sqlite) to list view dynamically, for the first time the list is having three rows, when we run the application again it is having six and next nine etc. Even i Tried with SQL commands like De

Re: [android-developers] Re: close activity A that invoked activity B

2010-07-16 Thread Taoyi Guo
you just finish it . it works. On Jul 16, 2010 12:14 AM, "Frank Weiss" wrote: Perhaps it should be the other way around. Activity A, started by an external intent, checks to see if the T&C needs to be displayed. Activity A then starts for result activity B. If the result is affirmative, Activit

[android-developers] Trouble with Live Wallpaper

2010-07-16 Thread EmilDiego
Im still a beginner with Android development, and my first attempt at a live wallpaper. I'm using the android 2.1 SDK and Eclipse as my development environment. I've gotten some simple apps to compile and run in the Android emulator. I'm working on a live wallpaper, but am having some troble get

Re: [android-developers] Re: progressive video play over https

2010-07-16 Thread Jenus Dong
try use media player to play the https url, find out. the manifest of media player should include the filter like, or some permission problem, anybody have more experience in this field? On Fri, Jul 16, 2010 at 5:02 AM, Dave Sparks wrote: > The media player currently does not support http

Re: [android-developers] recent activity list

2010-07-16 Thread Taoyi
you may finish your activity inside the stop callback method Sent from my iPod On Jul 16, 2553 BE, at 1:48 AM, TreKing wrote: > On Thu, Jul 15, 2010 at 1:38 PM, ecforu wrote: > Why doesn't my app show up on this list? > > Maybe you've set this flag? > http://developer.android.com/guide/topics

[android-developers] Pattern 4: Action Bar

2010-07-16 Thread Scott MacWatters
I hope this question isn't too simplistic, but I'm kind of new to app design, and especially the UI aspects of it. I want to work hard on getting a usable, and fun UI that will make my app blend in well with the Android App Environment by following the UI Patterns expressed at Google IO 2010, and a

Re: [android-developers] Re: close activity A that invoked activity B

2010-07-16 Thread Taoyi Guo
you can put instance of activity a into application context, so activity b can ref it. On Jul 16, 2010 12:50 AM, "Boozel" wrote: Ya i wanted B to close A but it isnt possible so i just ended up starting b for result and then closing a if the result was wrong. Thanks for the help On Jul 15, 7:26

[android-developers] DVFS on the Nexus One

2010-07-16 Thread Richard
Is there some sort of system interface that enables userland applications to do DVFS (digital voltage and frequency scaling) on the Nexus One? -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-deve

Re: [android-developers] LG-debug

2010-07-16 Thread Jake Radzikowski
Hey, http://developer.android.com/guide/developing/other-ide.html#Running If nothing on there works you could follow the instructions on http://developer.android.com/guide/developing/other-ide.html#ReleaseMode "Once you have signed your application with a private key, you can install it on an em

[android-developers] Please help with user notification/dialog

2010-07-16 Thread James
Hi all, I'm trying to replicate some functionality that I've seen, but I can't seem to figure out how. Specifically, I'm looking at the Timer application (part of the clock) that is included with HTC Sense. When the countdown for the timer expires, a small dialog box pops up regardless of what A

  1   2   3   >