[android-developers] Re: Is your Android app on Archos Market ?

2009-10-22 Thread Al Sutton
Here is our account of what happened between us at AndAppStore and Archos; We worked with Archos for several weeks helping them design and develop AppsLib, this included me personally travelling to Archoses head office in Paris for meetings with Henri Crohas (Founder and CEO of Archos), and

[android-developers] Re: Need help with a keylistener

2009-10-22 Thread Bolletje
I fixed it by creating a EditText and using that view for the keylistener. It works now, but is there maybe a more elegant way to do this? On 22 okt, 20:24, Bolletje bolle...@gmail.com wrote: I want to save the keycode of the first key pressed after the button is clicked. On 22 okt, 05:19,

[android-developers] updatePeriodMillis not working for widget on 1.6

2009-10-22 Thread String
I'm aware that the minimum updatePeriodMillis was increased to 30 minutes for Donut, but in my testing, I'm not seeing the APPWIDGET_UPDATE intent come through at all, even after well over 30 minutes has passed. Has anyone else had an issue with this, or any light to shed on the matter? I should

[android-developers] Change backround of the view embedded in the ListView item

2009-10-22 Thread droidin.net
I have a ListView backed by customized ArrayAdapter where each item has 2 LinearLayouts - one I call head, and the other one - body. The body is hidden (gone) until user clicks on the row at which time it slides out. The second click (on the head) will hide the body. However if user clicks on the

[android-developers] Re: Activity launch timeout even with wakelock

2009-10-22 Thread Kiran
I updated the code as following. However, now I see that the display is not updated with the text. Am I missing something? static String linkUrl = http://www.google.com;; String dataText; @Override protected void onCreate(Bundle savedInstanceState) { Log.d(TAG,

[android-developers] Re: formatting text, before adding to textview

2009-10-22 Thread Jiri
Ok, i will look into that then. I allready thought it was a bit strange. Thanx a lot J nEx.Software wrote: You don't have to set the text first. There is nothing stopping you from creating a Spannable string and feeding that to setText(). I do the same thing using SpannableStringBuilder.

[android-developers] Re: Is your Android app on Archos Market ?

2009-10-22 Thread strazzere
In addition to what Al has said, it's been interesting to see that many, MANY applications as essentially hotlinked to other sites for downloading. Very few of the applications posted appear to be actually hosted on appslib servers. This to me is a concern for a few reasons. Has permission been

[android-developers] Geo Fix Still Not Working in 1.6

2009-10-22 Thread Brian Conrad
I've tried the geo fix command to set coordinates for a program I wrote that provides the GPS coordinates. This program worked fine in 1.1. But the geo fix command got broken in 1.5 and appears to still have not been fixed in 1.6? When will it be fixed? Brian Conrad JyotishTools.com

[android-developers] Re: Is your Android app on Archos Market ?

2009-10-22 Thread Al Sutton
By hotlinking Tim means using a download URL from another application directory in their own listings, so when a user uses the AppsLib client and goes to download an app the download may actually come from another sites servers. AppsLib have some apps hotlinked to AndAppStore (without

[android-developers] Re: Memory leak or feature

2009-10-22 Thread jotobjects
I didn't notice meminfo shows 7 views the first time and 14 view the second time the Activity is started. So I do get that same results as Mika (shown at the top of this thread). But meminfo always shows 1 activity and at least 7 views and 1 activity even after the destroy (when theoretically

[android-developers] Re: Geo Fix Still Not Working in 1.6

2009-10-22 Thread Auguste Lunang
Hi,This is a know issue. One of the discussions you can find here: http://groups.google.com/group/android-beginners/browse_thread/thread/0206ed9cdf7adc81 . Try to use DDMS to fix your GPS coordinates. Hope it helps.. Auguste 2009/10/22 Brian Conrad brianjto...@gmail.com I've tried the geo

[android-developers] Re: System.setProperty() cannot change system property in Android

2009-10-22 Thread Dianne Hackborn
Correct, this is not a public API. Please do not use it. System properties are not for applications to use. On Thu, Oct 22, 2009 at 7:30 AM, Mikhail G mikhail.geis...@gmail.comwrote: Dianne, Does this mean I can't use SystemProperties.set(prop, val); to change system property from java

[android-developers] Re: Should I Be Using AsyncTask?

2009-10-22 Thread James Yum
Hi, Please read this post for an alternative: http://android-developers.blogspot.com/2007/11/stitch-in-time.html It's a bit old, but the technique should work. Please consider if it makes more sense for your app. Cheers, James On Thu, Oct 22, 2009 at 8:19 AM, Ken H hunt1...@gmail.com wrote:

[android-developers] Re: Google wave invitations...?

2009-10-22 Thread Kenneth Adam Miller
NO. I just said that. On Thu, Oct 22, 2009 at 6:10 AM, o darker...@gmail.com wrote: anymore wave noms left On 15/10/2009, Kenneth Adam Miller kennethadammil...@gmail.com wrote: Who wants to be in Google wave? I have 16 invitations -- ...O

[android-developers] startActivity and the back button

2009-10-22 Thread stanlick
I am starting an external activity from my application and would like the back button to return the user to the point in my application where they started the activity. Is this possible? Peace, Scott --~--~-~--~~~---~--~~ You received this message because you are

[android-developers] Re: Geo Fix Still Not Working in 1.6

2009-10-22 Thread Brian Conrad
Thanks. Yes, I know it's been a known issue because I've inquired a number of times after each update if it's been fixed. The link you posted goes back to 2008 but it was working fine in 1.1 last spring. It's not working with DDMS either. I'll play around with it some more to try to

[android-developers] Re: Is your Android app on Archos Market ?

2009-10-22 Thread nEx.Software
Sounds very shady... Somewhat reminiscent of the whole pirated apps thing on the Archos forum. On Oct 22, 1:17 pm, Al Sutton a...@funkyandroid.com wrote: By hotlinking Tim means using a download URL from another application directory in their own listings, so when a user uses the AppsLib

[android-developers] Jun Yuan wants to share their location with you on Google Latitude

2009-10-22 Thread Jun Yuan
Jun Yuan (jyuan08...@gmail.com) wants to start sharing their location with you on Google Latitude. You need to sign in to Latitude with a Google Account (eg, @gmail.com) and invite Jun Yuan. To get started, or to learn more about Latitude, click the link below. To get Google Latitude on your

[android-developers] Re: startActivity and the back button

2009-10-22 Thread Mark Murphy
stanlick wrote: I am starting an external activity from my application and would like the back button to return the user to the point in my application where they started the activity. Is this possible? It should already return to where the user left off in your application, unless you did

[android-developers] Re: Activity launch timeout even with wakelock

2009-10-22 Thread Mark Murphy
Kiran wrote: I updated the code as following. However, now I see that the display is not updated with the text. Am I missing something? static String linkUrl = http://www.google.com;; String dataText; @Override protected void onCreate(Bundle savedInstanceState) {

[android-developers] Jun Yuan wants to share their location with you on Google Latitude

2009-10-22 Thread Jun Yuan
Jun Yuan (jyuan08...@gmail.com) wants to start sharing their location with you on Google Latitude. You need to sign in to Latitude with a Google Account (eg, @gmail.com) and invite Jun Yuan. To get started, or to learn more about Latitude, click the link below. To get Google Latitude on your

[android-developers] Re: Change backround of the view embedded in the ListView item

2009-10-22 Thread Mark Murphy
droidin.net wrote: So to summarize my question - how do I change background of the child element in the list item if I assign custom onClick handler to it? Any hints will be greatly appreciated Are you actually getting control in your onClick()? If yes, then calling setBackgroundColor()

[android-developers] Re: Activity launch timeout even with wakelock

2009-10-22 Thread Kiran
I did that.. every statement is properly executed and see that bodyText.setText(dataText); is called and the value of dataText is the full html of the google.com On Oct 22, 4:47 pm, Mark Murphy mmur...@commonsware.com wrote: Kiran wrote: I updated the code as following. However, now I see

[android-developers] Re: startActivity and the back button

2009-10-22 Thread stanlick
The back button does nothing! My app starts this new UI via Intent geoIntent = new Intent(Intent.ACTION_VIEW,Uri.parse(geo: 1,-1)); startActivity(geoIntent); I don't believe I have done anything funky in my manifest. Peace, Scott On Oct 22,

[android-developers] Re: Activity launch timeout even with wakelock

2009-10-22 Thread Mark Murphy
Kiran wrote: I did that.. every statement is properly executed and see that bodyText.setText(dataText); is called and the value of dataText is the full html of the google.com OK, try using hierarchyviewer to confirm that your TextView is actually on screen, visible, etc. -- Mark Murphy (a

[android-developers] Re: startActivity and the back button

2009-10-22 Thread Mark Murphy
stanlick wrote: The back button does nothing! My app starts this new UI via Intent geoIntent = new Intent(Intent.ACTION_VIEW,Uri.parse(geo: 1,-1)); startActivity(geoIntent); I don't believe I have done anything funky in my manifest. In the

[android-developers] Re: Geo Fix Still Not Working in 1.6

2009-10-22 Thread jotobjects
Has there been a bug filed? On Oct 22, 2:11 pm, Brian Conrad brianjto...@gmail.com wrote: Thanks. Yes, I know it's been a known issue because I've inquired a number of times after each update if it's been fixed.   The link you posted goes back to 2008 but it was working fine in 1.1 last

[android-developers] Re: startActivity and the back button

2009-10-22 Thread Jason Proctor
I am starting an external activity from my application and would like the back button to return the user to the point in my application where they started the activity. Is this possible? that's the default action, unless you do something special in your onActivityResult() or onResume(). --

[android-developers] new Web Browser on Android

2009-10-22 Thread Max
Hello this browser compiles for many mobil devices, we are currently working on a release for android someone able to contribute to a andorid release? http://sourceforge.net/project/memberlist.php?group_id=238964 Thanks for a feedback Max --~--~-~--~~~---~--~~

[android-developers] Find MAC address

2009-10-22 Thread Ronny
Hello Community, I am eager to know if it is possible to get the device MAC address. Moreover, is it possible to get access to ARP table (if exists), what I need is to know the IP address and the corresponding MAC address of the router with which device is connected over wi-fi. thanks a lot.

[android-developers] Re: startActivity and the back button

2009-10-22 Thread stanlick
Thanks guys -- It was my onResume()! I actually had the startActivity() code in a method called plot() and I was calling plot() from the onReume(). I guess now is the time to come to terms with the life cycle. Peace, Scott On Oct 22, 4:48 pm, Jason Proctor jason.android.li...@gmail.com

[android-developers] SimpleCursorAdapter.bindView() and Row Views

2009-10-22 Thread Nmix
I have a problem with bindView() that has me puzzled. I am using it to customize each row, including setting icons, coloring the background and setting up listeners for buttons. It mostly works as expected, but not quite. When I fill the ListView with SimpleCursorAdapter, I get multiple calls to

[android-developers] Re: Can we determine APK Install date time?

2009-10-22 Thread Open
I would like to know this too, it seems like something that the PackageManager would maintain so I'm surprised to read on the thread by Josh Dobbs that it doesn't. Is there another way? On Sep 15, 5:42 am, Shibbs shibu.deva...@gmail.com wrote: Hi all, By any means, programmatically can I get

[android-developers] Re: Geo Fix Still Not Working in 1.6

2009-10-22 Thread Brian Conrad
There is a bug filed for geo fix (not by me but by people who found it earlier). I haven't filed one for DDMS until I'm sure I grok how it works as information still is very sketchy about this stuff and docs rather terse. My app calls getLastKnownLocation when it runs once. It will call it

[android-developers] Re: How can I android 2.0 source code

2009-10-22 Thread Leshell
There is no Android 2.0 - I heard this directly from someone at Google on the Android team. He says there is always rumors about Android. I'm sure if it were available and it existed, there would not be a need for this thread. 1.6 was just released... close but no cigar! On Oct 22, 1:02 pm,

[android-developers] How can I contact to Google Calendar license?

2009-10-22 Thread 김영지
How can I contact to Google Calendar license? I wanna activate Android Calendar app(fullsource/packages/apps/Calendar) in device. however Android Calendar app don't activate in device and emu. I think it is license problem. But, I don't know that get a calendar license. Also I wanna know step,

[android-developers] Re: Can we determine APK Install date time?

2009-10-22 Thread Dianne Hackborn
No the system doesn't currently maintain this. On Thu, Oct 22, 2009 at 4:59 PM, Open ldonel...@gmail.com wrote: I would like to know this too, it seems like something that the PackageManager would maintain so I'm surprised to read on the thread by Josh Dobbs that it doesn't. Is there

[android-developers] Re: How can I contact to Google Calendar license?

2009-10-22 Thread Dianne Hackborn
There is no license. The calendar is not yet part of the SDK. On Thu, Oct 22, 2009 at 6:03 PM, 김영지 bestky...@gmail.com wrote: How can I contact to Google Calendar license? I wanna activate Android Calendar app(fullsource/packages/apps/Calendar) in device. however Android Calendar app don't

[android-developers] Re: Bold a row in ListView programmatically

2009-10-22 Thread Beth
Maybe your text settings are overwritten by the getView method of the simple adapter. That is the method where you want to set text characteristics. Otherwise a scroll down the list and return to item 2 will remove your bold. Good luck! On Oct 21, 7:41 pm, cartoontan tap.sop...@gmail.com

[android-developers] Re: How can I android 2.0 source code

2009-10-22 Thread LG
There is android 2.0 the eclair codebase... I believe this is given only to certain corporates... Not sure if it available in the repo.. I really wonder why google is not making such news public and I don't find a need for setting up private repositories.. Isn't android project suppose to

[android-developers] Re: startActivity and the back button

2009-10-22 Thread Dianne Hackborn
If you are starting maps, the maps app could well be implementing something different. It and the browser are unfortunately unusual that way. If so, there is nothing you can do about this. On Thu, Oct 22, 2009 at 4:36 PM, stanlick stanl...@gmail.com wrote: Thanks guys -- It was my

[android-developers] Re: Android activity as overlay over other app

2009-10-22 Thread Open
Can you provide a pointer for this? On Sep 25, 3:19 am, Mann mannka...@gmail.com wrote: finally I found my answer. On Sep 23, 4:41 pm, Mann mannka...@gmail.com wrote: Greetings Is it possible to create an Android activity as an overlay above other application? If yes, please provide me

[android-developers] Architecting a count down timer

2009-10-22 Thread ClarkBattle
I am writing a timer application that counts backward from a time and notifies when the timer reaches zero. It is intended to allow the user to start a timer that continues to tick and will notify them when complete even after the activity is backgrounded. Also, it will show the correct

[android-developers] Re: Architecting a count down timer

2009-10-22 Thread Mark Murphy
ClarkBattle wrote: TimerActivity.onCreate() inflates the TimerView (allowing the user to set the time and hit the start button) and starts the TimerService. Creating a custom View is certainly possible but probably way overkill for this sort of app. When the start button is pressed the

[android-developers] Have View and ListView Scroll as one

2009-10-22 Thread droid_does
What I have now is a layout that includes a list view at the bottom. All of the items in the layout above the list view remain fixed as you scroll through the list view. I would like the entire page to scroll so for example when you reached the bottom of the list you would no longer see the

[android-developers] Re: Have View and ListView Scroll as one

2009-10-22 Thread Mark Murphy
droid_does wrote: What I have now is a layout that includes a list view at the bottom. All of the items in the layout above the list view remain fixed as you scroll through the list view. I would like the entire page to scroll so for example when you reached the bottom of the list you would

[android-developers] Returning to Previous Activity from a network camera activity

2009-10-22 Thread Shobhit Kasliwal
Hi I have an activity with a button on it and when I click the button I am starting a new activity with a network camera on it. when I click a button on this activity (after capturing the image ) I want to start the previous activity again. I am getting back to previous activity with finish() but

[android-developers] Re: Find MAC address

2009-10-22 Thread String
On Oct 22, 8:49 pm, Ronny mayanka...@gmail.com wrote: I am eager to know if it is possible to get the device MAC address. How about http://developer.android.com/reference/android/net/wifi/WifiInfo.html#getMacAddress() I haven't tried it, and it's not documented, but it sure looks promising.

[android-developers] Re: Shape with open border

2009-10-22 Thread junker37
I am wondering how to do this as well. Also, I can't seem to find where this is documented. On Oct 19, 4:19 am, Viktor Bresan viktor.bre...@gmail.com wrote: Hi all. I would like to have ashapethat has border only on 3 sides: top, left and right, i.e. I want bottom to be open.  How can I

[android-developers] Re: Android activity as overlay over other app

2009-10-22 Thread Dianne Hackborn
The answer should be no. You can make an activity that is transparent or looks like a dialog or whatever, but it still exists as part of the activity stack, pauses whatever is behind it, etc. On Thu, Oct 22, 2009 at 6:18 PM, Open ldonel...@gmail.com wrote: Can you provide a pointer for this?

[android-developers] Re: access /dev/graphics/fb0 from JNI FAILED

2009-10-22 Thread ZaichengQi
Thank you all for your kindly help. I've know the rules of developing on android platform. These are considered dirty in android developing. Maybe I have to find another way around. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the

[android-developers] Re: 1.6: GPS location provider stop unexpectedly (exceeded MIN_FIX_COUNT), bouncing back and forth

2009-10-22 Thread JP
Root cause identified. Pretty obvious bug in Android 1.6, GpsLocationProvider.java. Source here: http://android.git.kernel.org/?p=platform/frameworks/base.git;a=blob;f=location/java/com/android/internal/location/GpsLocationProvider.java I've reported the bug here:

[android-developers] How android translate kernel input eve nts to userland input events?

2009-10-22 Thread ZaichengQi
If I paste on the wrong group, please warn me. Hello,I‘m now learning how android handles linux input events from kernel raw input events to the userland level KeyEvent and so on. And I want to handle input events in native language. I've do some experiments on handling events using NDK but the

[android-developers] USSD

2009-10-22 Thread neil
- Im a developer creating a USSD client app, I have a problem on USSD phone session which my android phone turns screen off during my session. Is there a way i can disable screen off when im in USSD mode. Thanks in advance... --~--~-~--~~~---~--~~ You received

[android-developers] Re: Change backround of the view embedded in the ListView item

2009-10-22 Thread Nirav
Looking at your problem, the solution is that you can use expandable list view to do the your task. It will solve your all prooblem and can change your background using selector also --~--~-~--~~~---~--~~ You received this message because you are subscribed to

[android-developers] Re: How android translate kernel input events to userland input events?

2009-10-22 Thread Dianne Hackborn
You can't handle input events in native code, the framework takes care of that and you will break things if you fight with it (and can't anyway because you shouldn't have permission to open the driver). You can look at EventHub.cpp and KeyInputQueue.java to see how the framework transforms the raw

[android-developers] help: how to compile iproute2 in android platform?

2009-10-22 Thread Hugo Wang
Hi I want to use the tool 'ip' to do some advanced network configuration (such as tunnel configurations and other operations) in Android/linux shell. The command 'ip' is packaged in iproute2 ( http://www.linuxfoundation.org/en/Net:Iproute2). I am new to this area. Could anyone give me some

[android-developers] Re: Change backround of the view embedded in the ListView item

2009-10-22 Thread droidin.net
Are you actually getting control in your onClick()? If yes, then calling setBackgroundColor() should work fine. Yes, I can setup a breakpoint and see how I'm executing this line. I think the problem may be that in two lines after that I'm doing startActivity(Intent) so maybe Android thinks - Ah

[android-developers] Re: Change backround of the view embedded in the ListView item

2009-10-22 Thread droidin.net
Sorry - what I'm saying is no - setting background has no effect On Oct 22, 9:18 pm, droidin.net bost...@gmail.com wrote: Are you actually getting control in your onClick()? If yes, then calling setBackgroundColor() should work fine. Yes, I can setup a breakpoint and see how I'm executing

[android-developers] Re: Change backround of the view embedded in the ListView item

2009-10-22 Thread droidin.net
Ha! That's interesting thought! Let me try, thanks a bunch! On Oct 22, 8:54 pm, Nirav niravshah1988s...@gmail.com wrote: Looking at your problem, the solution is that you can use expandable list view to do the your task. It will solve your all prooblem and can change your background using

[android-developers] Re: Missing timezone

2009-10-22 Thread Lox
So no one has an indication, it is really anoying for some people in some countries. On 28 sep, 19:14, Simon simon.raw...@gmail.com wrote: I have a similar problem.  I am in Pakistan where the timezone is normally GMT + 5.  However at the moment we are in + 1 DST, i.e. GMT + 6.  Android

[android-developers] High Battery Usage, but no Use details listed

2009-10-22 Thread CraigsRace
An hour after my G1 phone was fully charged, the Battery Usage showed me that my game had used 20% of the battery usage. Except, I never ran my game (I had run the game before starting the charge). I checked TasKiller, and it didn't list my game as running (my game also doesn't run any

[android-developers] Re: High Battery Usage, but no Use details listed

2009-10-22 Thread CraigsRace
Just to clarify. I had run the phone using the battery for 1 hour. On Oct 23, 3:28 pm, CraigsRace craig...@gmail.com wrote: An hour after my G1 phone was fully charged, the Battery Usage showed me that my game had used 20% of the battery usage.  Except, I never ran my game (I had run the

[android-developers] Re: How android translate kernel input events to userland input events?

2009-10-22 Thread ZaichengQi
Thanks for your help. I know that I can get root privilege only on my dev phone, and I will not try to really handle these events by myself. On Oct 23, 11:55 am, Dianne Hackborn hack...@android.com wrote: You can't handle input events in native code, the framework takes care of that and you

[android-developers] Re: Android activity as overlay over other app

2009-10-22 Thread Westermann Fu
But is it possible reparent an activity's view hierarchy to my customized viewgroup object dynamicly? The activity is owned by others. Thanks Regards On Oct 23, 11:14 am, Dianne Hackborn hack...@android.com wrote: The answer should be no.  You can make an activity that is transparent or looks

[android-developers] Re: Android activity as overlay over other app

2009-10-22 Thread Westermann Fu
But is it possible reparent an activity's view hierarchy to my customized viewgroup object dynamicly? The activity is owned by others. Thanks Regards On Oct 23, 11:14 am, Dianne Hackborn hack...@android.com wrote: The answer should be no.  You can make an activity that is transparent or looks

<    1   2