[android-developers] Re: Unable to start service intent

2009-08-17 Thread Sasi Kumar
use like this intent Intent intent = new Intent(this,GoogleMapView.class); startActivityForResult(intent, 1); On Aug 18, 10:03 am, Honest wrote: > hello, > > I tried to create service by following code but in logcat i got > following error " Unable to start service intent" The following

[android-developers] Re: Unable to start service intent

2009-08-17 Thread Sasi Kumar
use like this intent Intent intent = new Intent(this,GoogleMapView.class); startActivityForResult(intent, 1); On Aug 18, 10:03 am, Honest wrote: > hello, > > I tried to create service by following code but in logcat i got > following error " Unable to start service intent" The following

[android-developers] How to set map view marker text

2009-08-17 Thread Sasi Kumar
I want to set text for map view marker. when I'm clicking my marker. It should display some image. pls update my code and send to me. This is my code:- package pack.flight; import java.util.List; import android.graphics.Bitmap; import android.graphics.BitmapFactory; import android.graphics.Ca

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

2009-08-17 Thread Nivek
Ok, so I should replace my calls to ImageView.getDrawable().getBitmap ().recycle() with ImageView.setImageBitmap(null) and let the GC do his job ? Or is the call to ImageView.setCallback(null) enough to get rid of both ImageView and Bitmap instances ? I'll try to track all my calls to Bitmap.recy

[android-developers] TabActivity - Refreshing problems

2009-08-17 Thread Eurig Jones
I have a TabActivity based class which has 3 tabs. All are ListActivities (but that's not important for this problem) I'm updating the TabHost's TabSpec's to change the text on the tabs. This works fine and the ListActivities display correctly. Iater on the execution flow I need to update the Te

[android-developers] Re: Keeping graphics running through orientation change

2009-08-17 Thread SChaser
On Aug 3, 11:29 am, Mark Murphy wrote: > > http://wiki.andmob.org/samplecode > > Look in there for the links to the Rotational Forces series of blog > posts. This one covers what you need: > > http://androidguys.com/?p=2723 > > In your case, you would detect the rotation and change how you dra

[android-developers] Re: Keeping graphics running through orientation change

2009-08-17 Thread Nivek
Did you specify in your activity that it should never change orientation by forcing its default orientation ? http://developer.android.com/guide/topics/manifest/activity-element.html#screen On 18 août, 07:22, SChaser wrote: > On Aug 3, 11:29 am, Mark Murphy wrote: > > > > >http://wiki.andmob.o

[android-developers] Re: Keeping graphics running through orientation change

2009-08-17 Thread SChaser
I forgot to add the log showing three of these events: I/WindowManager( 60): Setting rotation to 1, animFlags=1 I/WindowManager( 60): Config changed: { scale=1.0 imsi=0/0 locale=en_US touch=3 key=2/1/1 nav=3 orien=2 } D/===jrm (16551): MainActivity.onConfigurationChanged - orientation:2 D

[android-developers] Need to Turn off the Phone

2009-08-17 Thread Bobby
I am desperately seeking help on a project I'm currently working on which turns off the phone. I seem to be at a loss for how this is done, and whether it is even possible. Does anyone know of a way this can be accomplished. I very much appreciate any help. -Bobby --~--~-~--~~

[android-developers] Unable to start service intent

2009-08-17 Thread Honest
hello, I tried to create service by following code but in logcat i got following error " Unable to start service intent" The following is my manifest.xml file. http://schemas.android.com/apk/res/android"; package="com.saltriver.service" android:versionCode="1" android:ver

[android-developers] Fail to make for java version

2009-08-17 Thread bluestar
Hi, All: I tried to make the source code of android-donut, but it shows below message You are attempting to build with the incorrect version of java. Your version is: java version "1.6.0_12". The correct version is: 1.5. Please

[android-developers] Re: Alternative Android Markets

2009-08-17 Thread Electron
Now it is only for free. Maybe the function for paid will come out in the later version. I can't give you a detail information. On Aug 18, 7:29 am, "droidin.net" wrote: > Yes it's fantastic! But can you get paid? That's whole different > question > > On Aug 17, 10:25 am, Electron wrote: > > >

[android-developers] Inflate Exception

2009-08-17 Thread Sasi Kumar
when i'm trying to read a xml. It is showing an error "Infalte Exception" XML code is:- http://schemas.android.com/apk/res/ android" android:layout_width="fill_parent" android:layout_height="fill_parent"> Any one can know about this. Pls reply to me. --~--~---

[android-developers] Re: Inflate Exception

2009-08-17 Thread Romain Guy
This file is not a layout file, you cannot inflate it. On Mon, Aug 17, 2009 at 9:08 PM, Sasi Kumar wrote: > > when i am trying to read a xml file it is showing exception as > "Inflate Exception" > > The Error is:- > >  android.view.InflateException: Binary XML file line #6: Error > inflating clas

[android-developers] Inflate Exception

2009-08-17 Thread Sasi Kumar
when i am trying to read a xml file it is showing exception as "Inflate Exception" The Error is:- android.view.InflateException: Binary XML file line #6: Error inflating class java.lang.reflect.Constructor My XML code is:- http://schemas.android.com/apk/res/android"; package="pack.flig

[android-developers] glQueryMatrixxOES missing from Qualcomm driver?

2009-08-17 Thread ceder
I have stumbled onto the problem of the function glQueryMatrixxOES being absent from GL10Ext when the Qualcomm hardware opengl es driver is loaded. It is absent from the list of extensions when I query the driver. When Android gives me a software renderer, the extension is available and everythin

[android-developers] Re: Memory Leak when creating OnClickListener

2009-08-17 Thread Dan Sherman
Thanks a ton :) I understand completely that this is a horrible use of setContentView(), and I imagined that was what the problem was, however, just wanted to make sure I wasn't losing my marbles here. Great job with Android so far, keep up the good work :) On Mon, Aug 17, 2009 at 11:14 PM, Roma

[android-developers] Re: Memory Leak when creating OnClickListener

2009-08-17 Thread Romain Guy
You are indeed causing a leak in a nasty way. What's going on is the following: - The button is attached to a window - You press the button - The button executes the click listener - In the click listener you setContentView() - This in turns detaches the button from the window - The button finish

[android-developers] Re: what's wrong w/ my code?

2009-08-17 Thread smallbug
Thanks Murphy! That solve the problem! On Aug 17, 6:23 pm, Mark Murphy wrote: > smallbug wrote: > > I am trying to collect data from the accelerometer in G1 and I am > > using a LinkedList to store the values passed from onSensorChanged(). > > But when I am ready to get the data out the LinkedLi

[android-developers] Re: Handling phone ringing

2009-08-17 Thread Roman ( T-Mobile USA)
Do the following: 1. In your manifest you should have 2. Register your broadcast receiver in the main activity IntentFilter filter = new IntentFilter ("bct.com.MyEventReceiver"); eventRcvr = new MyEventReceiver(); this.r

[android-developers] Starting thread from the Application object

2009-08-17 Thread Klaus Kartou
Hi all, In my application I have my own Application object where I use onCreate to do some heavy work behind the scenes in a thread. The problem is that even though I do the heavy work in another thread, it seams the main activity is first started when the thread I launched in my Application object

[android-developers] Re: Determine what's the active package or activity running?

2009-08-17 Thread Dianne Hackborn
That begs the question, what is "the messaging app"? Generally I can't think of much that you can do robustly based on knowing "what" is currently running in the foreground, since except for your own app actually finger out what that "what" is can't be very robust. For figuring out if your own ap

[android-developers] Re: GPS ,accuracy of the GPS receiver

2009-08-17 Thread jdesbonnet
Yes, 5 - 10 meters for regular consumer units is the simple answer. In reality it varies depending on a few things: 1. Clear view of sky from all angles. If satellites are visible from only one portion of sky then the triangulation does not work so well and you get a high dilution of precision (s

[android-developers] Re: Determine what's the active package or activity running?

2009-08-17 Thread Don Tran
Wouldn't that only retrieve the current activity of my own process? I want a background service to determine at the given time what's the current package / activity is running. So if the user is on the messaging app and my service is running in the background, the call will return the messaging

[android-developers] Re: uploading an apk from my computer

2009-08-17 Thread Spektor Yaron
Thanks, i used the web server method and it worked great! BTW my real problem was different. i was using android.os.Debug.waitForDebugger(); in my code. the emulator knew how to deal with it and the device got stuck on it. hope this will help anyone who gets stuck on this issue (now after i fixed i

[android-developers] Re: can not debug application

2009-08-17 Thread Spektor Yaron
OK i found the problem. i was using android.os.Debug.waitForDebugger(); in my code. the emulator knew how to deal with it and the device got stuck on it. hope this will help anyone who gets stuck on this issue On Tue, Aug 18, 2009 at 1:25 AM, Spektor Yaron wrote: > Thanks Fadden, > i realized my

[android-developers] Re: Alternative Android Markets

2009-08-17 Thread droidin.net
Yes it's fantastic! But can you get paid? That's whole different question On Aug 17, 10:25 am, Electron wrote: > Here is an another Market, Name is eoeMarket > > everyone can visit thehttp://www.eoemarket.com/ > it's so awesome! > > it's just same as the Android Market. > > On Aug 17, 9:34 pm, "

[android-developers] Re: what's wrong w/ my code?

2009-08-17 Thread Mark Murphy
smallbug wrote: > I am trying to collect data from the accelerometer in G1 and I am > using a LinkedList to store the values passed from onSensorChanged(). > But when I am ready to get the data out the LinkedList, I find that > all I get is the last set of values passed from onSensorChanged, or in

[android-developers] what's wrong w/ my code?

2009-08-17 Thread smallbug
Hi, I am trying to collect data from the accelerometer in G1 and I am using a LinkedList to store the values passed from onSensorChanged(). But when I am ready to get the data out the LinkedList, I find that all I get is the last set of values passed from onSensorChanged, or in other words, the l

[android-developers] Re: Does android support MIDP ?

2009-08-17 Thread Balwinder Kaur (T-Mobile USA)
I don't think so :) It is an open source platform and if you search for "J2ME apps for Android" or "Porting J2ME to Android" you should find some interesting finds. Balwinder Kaur Open Source Development Center ·T· · ·Mobile· stick together The views, opinions and statements in this email are t

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

2009-08-17 Thread Romain Guy
Bitmap are eventually garbage collected. From the javadoc of the Bitmap class itself: "This is an advanced call, and normally need not be called, since the normal GC process will free up this memory when there are no more references to this bitmap." On Mon, Aug 17, 2009 at 3:14 PM, Nivek wrote:

[android-developers] Re: Crashes with no usefull stacktrace

2009-08-17 Thread Marco Nelissen
That doesn't work for native crashes. On Fri, Aug 14, 2009 at 8:04 AM, moazzamk wrote: > > You can try capsulating your code in try and catch. And, use log cat > to get the errrors. > > For more info, go here: http://moazzam-khan.com/blog/?p=41 > > - Moazzam > > On Aug 13, 10:34 pm, Jeff Sharkey

[android-developers] Re: can not debug application

2009-08-17 Thread Spektor Yaron
Thanks Fadden, i realized my mistake yesterday and fixed it. now my problem is different (see separate post). i can't make it run on a device w/o debug (that is i put it on a web server downloaded it and it does not run) On Tue, Aug 18, 2009 at 12:03 AM, fadden wrote: > > On Aug 15, 3:44 pm, Spe

[android-developers] Re: step through code in remote service

2009-08-17 Thread Mike Collins
I'm assuming you are using Eclipse, Ganymede. Go into the Run Debug Configuration and create a new "Remote Java Application" configuration. Point it at your service project. Make sure the Connection Port is 8700. Start your app that will start the service. With both still running go to DDMS an

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

2009-08-17 Thread Nivek
I'm sorry, I've certainly misunderstood something then, but... while coding an app dealing with bitmaps, this is what it looks like. Reading posts and blogs about memory management and use of bitmap led me to that conclusion, and carefully recycling bitmaps in my app allowed me to get rid of a lot

[android-developers] Re: Experimental Bluetooth Library

2009-08-17 Thread Stefano Sanna
Hi. On Mon, Aug 17, 2009 at 5:44 PM, yoshitaka tokusho wrote: > > This is a great work. Thank you, Stefano. Thank you. > Just one question. I'm wondering if this API is not thread-safe. Is > this assumption correct? You are right: it is not thread-safe (that would be too much for the first rel

[android-developers] Re: ListView data binding from XML (REST-RPC request)

2009-08-17 Thread Mark Murphy
Zoullou wrote: > I currently building an adnroid apps that retrive data from a distant > Web service and i search an efficient way to bind data form XML to > ListView. > I already use CursorAdapter and i search on the web for an > "XmlAdapter". I read on Google IO topic "Coding for Life -- Battery

[android-developers] ListView data binding from XML (REST-RPC request)

2009-08-17 Thread Zoullou
Hi, I currently building an adnroid apps that retrive data from a distant Web service and i search an efficient way to bind data form XML to ListView. I already use CursorAdapter and i search on the web for an "XmlAdapter". I read on Google IO topic "Coding for Life -- Battery Life, That Is" (htt

[android-developers] Re: HTC Hero has multi-touch. SDK support?

2009-08-17 Thread CraigsRace
Just tried logging the event.toString() and doing multi-touch. Never got any x2,y2 information. :( On G1, Android 1.5. On Aug 18, 4:18 am, Hekki wrote: > Hello, > > Actually you can use the multitouch from the SDK : > > http://www.alicesbiscuit.com/android-sdk-multitouch-workaround.html > >

[android-developers] Re: How to style part of TextView

2009-08-17 Thread skink
On Aug 17, 9:18 pm, Jiri wrote: > I am quit new to Android, but as far as I know you could make a custom > view. Take a linearLayout and add two textfields. > Something like this. > LinearLayout where orientation is horizontal. > |--| > | TextView | TextView  | > |__

[android-developers] Re: Crashes with no usefull stacktrace

2009-08-17 Thread fadden
On Aug 13, 2:58 am, Klaus Kartou wrote: > One more question: How did you get the decoded stack trace? Earlier discussion: http://groups.google.com/group/android-developers/browse_thread/thread/73f89bb8739c24bb/5228e7a5dcfff090 --~--~-~--~~~---~--~~ You receiv

[android-developers] Re: can not debug application

2009-08-17 Thread fadden
On Aug 15, 3:44 pm, Spektor Yaron wrote: > I/dalvikvm(  770): Debugger thread not active, ignoring DDM send > (t=0x41504e4d l=38) Add the "android:debuggable=true" attribute to your manifest. http://developer.android.com/guide/developing/device.html --~--~-~--~~~

[android-developers] Drawing in a child View

2009-08-17 Thread Eng
Hi, I'm trying to add a drawing to each item of a list. To that end I've created a CustomView with onDraw() and onLayout(). Items of the list are defined as AbsolutLayouts, with TextView children and one FrameLayout child for drawing in it. In getView() of the adapter I'm populating TextViews, th

[android-developers] Video with MediaRecorder

2009-08-17 Thread Jason Proctor
yeah you probably want to capture to /sdcard/ /videotest.3gp most definitely is not writable to a regular android app! other than that your code is pretty much the same as mine. >Hi Jason, perhaps you could help me with my code. I was trying to >capture video for two weeks now without success

[android-developers] Handling phone ringing

2009-08-17 Thread ludaludal...@gmail.com
I'm trying to write an app that will run when the phone rings but NOT answer the incoming call. The app would have an answer button that when pressed would perform the regular call answer action, but this isn't what I need help with. I've searched the internet and haven't been able to find any c

[android-developers] Re: Vertical and Horizontal Scrolling together

2009-08-17 Thread Flo
Hi, >> On Tue, Jul 7, 2009 at 4:19 PM, Blackmarket wrote: > > Hello, is it possible to have both Scrollbars together. > On 8 Jul., 03:14, Romain Guy wrote: > Not with the standard widgets, you would have to create your own. Any idea, what the scolling properties on all View's superclass is th

[android-developers] Re: Video with MediaRecorder

2009-08-17 Thread Greivin Lopez
Hi Jason, perhaps you could help me with my code. I was trying to capture video for two weeks now without success :( This is my complete code public class VideoCapture extends Activity implements SurfaceHolder.Callback { private static final String TAG =

[android-developers] Multi-touch

2009-08-17 Thread Jason Proctor
i'm not planning on including *any* multitouch support in a shipping product. part of my job is developing gesture algorithms and writing demonstration applications, for which i control the environment - therefore a hacked kernel or even toString() is OK. at the moment, all i have is the dista

[android-developers] Re: Multi-touch

2009-08-17 Thread Dianne Hackborn
I can't see the page that was posted, but the base framework doesn't print any second touch information in a MotionEvent, there is no such information there at all. This person is probably running on someone's device that has modified the based framework and happens to print this information. Anyt

[android-developers] Power Down

2009-08-17 Thread André Oriani
Is possible to know when a device is about to power down? Is there any intent like BOOT_COMPLETED for that ? Thanks, André --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this

[android-developers] Re: How to style part of TextView

2009-08-17 Thread Jiri
I am quit new to Android, but as far as I know you could make a custom view. Take a linearLayout and add two textfields. Something like this. LinearLayout where orientation is horizontal. |--| | TextView | TextView | |__| Create a custom adapater that ex

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

2009-08-17 Thread Marco Nelissen
On Mon, Aug 17, 2009 at 7:53 AM, Nivek wrote: > > When you change the device orientation, you app is closed and then > reopened. > > Android handles bitmaps a "special" way, you HAVE to explicitly > recycle them as soon as you don't need them anymore... or they stay > allocated in memory and NEVER

[android-developers] Re: Multi-touch

2009-08-17 Thread Casper Bang
Aw bummer. That would've made for a fun evening. /Casper On 17 Aug., 21:44, Jason Proctor wrote: > update: i'm not seeing the x2 and y2 coordinates in event.toString(), > at least on a release cupcake kernel. maybe the guy was using an > older kernel, with residual code following the (presu

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

2009-08-17 Thread Flying Coder
Dianne, I suspect you are right, though I'm having a heck of a time tracking it down (i.e., I don't see any leaks). Thanks for the info on the wallpaper! Cheers, Steve On Aug 17, 12:47 pm, Dianne Hackborn wrote: > The wallpaper is loaded into each application that requests it.  It is only

[android-developers] Multi-touch

2009-08-17 Thread Jason Proctor
update: i'm not seeing the x2 and y2 coordinates in event.toString(), at least on a release cupcake kernel. maybe the guy was using an older kernel, with residual code following the (presumed) removal of the multitouch stuff? (and this now gels with the other multitouch hack, which is a relief

[android-developers] Re: Multi-touch

2009-08-17 Thread Marco Nelissen
On Mon, Aug 17, 2009 at 12:24 PM, Jason Proctor wrote: > > the page works for me. Weird. I get the standard "The page cannot be found" message from the server's IIS. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "A

[android-developers] Re: ADC 2 - can I update my app after the 1. round

2009-08-17 Thread migo
According to http://code.google.com/android/adc/adc2_terms.html you can't - see 9(a): "... There is no opportunity to improve or modify an application between the First and Second Rounds of Judging." On Aug 17, 9:29 pm, fhucho wrote: > Hi, > if I submit my app to ADC 2, can I then submit an upd

[android-developers] Re: ADC 2 - can I update my app after the 1. round

2009-08-17 Thread fhucho
I don't think so, but it I hope it will open later than on 31. August, because my app is far from finished ;) On 17 srp, 20:38, cindy wrote: > Is the site opened ? > > Thanks! > > On Aug 17, 11:29 am, fhucho wrote: > > > > > Hi, > > if I submit my app to ADC 2, can I then submit an updated vers

[android-developers] Multi-touch

2009-08-17 Thread Jason Proctor
the page works for me. the upshot is that MotionEvent.toString() includes dumps of x2 and y2 which are the last coordinates of the second touch point. slight complication is that they are not reset on a single touch event so a client would have to track them and detect a new multitouch event

[android-developers] Re: Multi-touch

2009-08-17 Thread Casper Bang
I wonder if x2 and y2 of MotionEvent could be fetched by means of reflection, using setAccessable() and then uptain their values. A SecurityManager might get in the way though?! /Casper On 17 Aug., 21:09, Marco Nelissen wrote: > That webpage doesn't appear to exist. > > On Mon, Aug 17, 2009 at

[android-developers] Re: Multi-touch

2009-08-17 Thread Marco Nelissen
That webpage doesn't appear to exist. On Mon, Aug 17, 2009 at 11:41 AM, Hekki wrote: > > Hi, > > I've turned quite a lot to find info and how to for multitouch, so i > finally made my own. The answer is : > > Multitouch is already usable in Android SDK : > > http://www.alicesbiscuit.com/android-

[android-developers] Re: Screen width and height

2009-08-17 Thread Aanderson144
thank you so much that last post just answered all my questions On Aug 17, 12:45 pm, Dianne Hackborn wrote: > Like I said, set up your UI so you have your own custom view placed where > you want, and the size of the view is the size you are about.  You can find > out about the size changing with

[android-developers] Re: Understanding the BroadcastReceiver

2009-08-17 Thread Roman ( T-Mobile USA)
How do you run your application? It seems like you are running always through the onCreate method which creates a new broadcast receiver instance. If you want to avoid this don't send an intent in the onCreate. -- Roman Baumgaertner Sr. SW Engineer-OSDC ·T· · ·Mobile· stick together The views, o

[android-developers] Re: Understanding the BroadcastReceiver

2009-08-17 Thread Dianne Hackborn
When you publish a component in the manifest, you don't instantiate that component, the system will do so when it needs to. In the case of broadcast receiver, the system creates a new instance every time it needs to deliver an intent to it. On Mon, Aug 17, 2009 at 10:28 AM, R Ravichandran wrote:

[android-developers] Re: get version from apk

2009-08-17 Thread engin
thanks hackborn it works. On Aug 17, 8:49 pm, Dianne Hackborn wrote: > If you want this from the desktop, use "aapt dump badging ". > > On Mon, Aug 17, 2009 at 7:24 AM, Greivin Lopez wrote: > > > > > > > > > Hi, you could use PackageInfo class to retrieve some information from > > Manifest.xml.

[android-developers] Re: adc2 submission site

2009-08-17 Thread cindy
I have question too. Google should update the ADC official site to tell us what happends. On Aug 16, 11:11 am, siuying wrote: > Glad to hear that I'm not the only one having this question! > > On 8月15日, 下午12時36分, sleith wrote: > > > Hi, i've just purchased to be an android developer > > when i

[android-developers] Re: Multitouch support in Donut?

2009-08-17 Thread Hekki
Hi, Actually, multitouch is already kind of available : http://www.alicesbiscuit.com/android-sdk-multitouch-workaround.html Hope that helps Yahel On 27 juil, 09:56, Al Sutton wrote: > http://bit.ly/DX8VPfor further clarification. > > Al. > -- > > * Written an Android App? - List it athttp://

[android-developers] Re: Multi-touch

2009-08-17 Thread Hekki
Hi, I've turned quite a lot to find info and how to for multitouch, so i finally made my own. The answer is : Multitouch is already usable in Android SDK : http://www.alicesbiscuit.com/android-sdk-multitouch-workaround.html Hope that helps Yahel On 29 juil, 19:35, Marco Nelissen wrote: > Th

[android-developers] Re: ADC 2 - can I update my app after the 1. round

2009-08-17 Thread cindy
Is the site opened ? Thanks! On Aug 17, 11:29 am, fhucho wrote: > Hi, > if I submit my app to ADC 2, can I then submit an updated version > later, e.g. after the 1. round ended? > > Thanks --~--~-~--~~~---~--~~ You received this message because you are subscribe

[android-developers] Re: Multitouch API for the Hero ??

2009-08-17 Thread Hekki
Hi, Multitouch is already usable in Android SDK : http://www.alicesbiscuit.com/android-sdk-multitouch-workaround.html Hope that helps, although it's more a hack than a regular api call. Yahel On 9 août, 17:36, Jack Ha wrote: > As mentioned on this forum, I don't believe the next version of t

[android-developers] ADC 2 - can I update my app after the 1. round

2009-08-17 Thread fhucho
Hi, if I submit my app to ADC 2, can I then submit an updated version later, e.g. after the 1. round ended? Thanks --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, sen

[android-developers] Re: can andriod be in pda area?

2009-08-17 Thread Roman ( T-Mobile USA)
You have not to use the telephony support of Android. Questions is whether is is worth to strip of the Android telephony support. Of course it is possible to do this but you might end up with a lot of work. I could think of to get rid of system applications which are related to the phone functiona

[android-developers] Re: Underlying background image for maps

2009-08-17 Thread queriesvk
>  I ask because it is likely that the experimental application I am > creating will have the requirement of displaying an underlying "map", > but will have access to the internet to retrieve the map. In such a Sorry. I meant to say "but will _NOT_ have access to the internet to retrieve the map"

[android-developers] Re: Alternative Android Markets

2009-08-17 Thread Electron
Here is an another Market, Name is eoeMarket everyone can visit the http://www.eoemarket.com/ it's so awesome! it's just same as the Android Market. On Aug 17, 9:34 pm, "cs_post...@hotmail.com" wrote: > On Aug 16, 12:15 pm, "droidin.net" wrote: > > > I have 2 apps (DroidIn) on Market for some

[android-developers] Issues with installing subclipse and android plugin

2009-08-17 Thread Vince
Anyone having issues with getting galileo eclipse for java working on Ubuntu with both subclipse and the android plugin? I can get the android plugin working when subclipse is not installed in eclipse, but as soon as I install subclipse all the configuration options for android plugin disappears

[android-developers] Re: HTC Hero has multi-touch. SDK support?

2009-08-17 Thread Hekki
Hello, Actually you can use the multitouch from the SDK : http://www.alicesbiscuit.com/android-sdk-multitouch-workaround.html It's not perfect but it works for me. Yahel --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Gro

[android-developers] Underlying background image for maps

2009-08-17 Thread queriesvk
Folks Is it possible for me to replace the underlying map in mapview with a local image which has geo-referencing information. Say a bmp with known vertices for lat/lon * E6, or a geo-referenced jpeg or tiff file. I ask because it is likely that the experimental application I am creating will

[android-developers] Re: Memory Leak when creating OnClickListener

2009-08-17 Thread Romain Guy
Please do. On Mon, Aug 17, 2009 at 10:45 AM, Dan Sherman wrote: > I'll check it out tonight when I get access to the dump again.  But from > what I remember, it was just a really long list of nested Runnables (I'm > sure I missed something). > > Would it help if I posted the dump? > > - Dan > > O

[android-developers] Re: I got syntax error of files of svn under eclipse

2009-08-17 Thread conquestor
It is worked for me: * Delete your project from eclipse (not from disk). * "File"->"New.."->"Project"->"Android Project" * in "New Adroid Project"-Dialog selected "create project from existing source" (find your project on HDD)->"Finish" my .classpath-file On Jul 8, 3:20 p

[android-developers] Re: get version from apk

2009-08-17 Thread Dianne Hackborn
If you want this from the desktop, use "aapt dump badging ". On Mon, Aug 17, 2009 at 7:24 AM, Greivin Lopez wrote: > > Hi, you could use PackageInfo class to retrieve some information from > Manifest.xml. > > Try to use this code: >/** > * Gets the software version retrieved from the Mani

[android-developers] Re: XML Reader

2009-08-17 Thread Dianne Hackborn
On Mon, Aug 17, 2009 at 10:29 AM, Mark Murphy wrote: > 3. Consider trying to use the NDK and SWIG to create a wrapper around > libxml2, which is in the firmware. The parsers provided by android.util.Xml are already wrappers around native code, the expat library. Also, I am pretty sure libxml2 i

[android-developers] Re: Memory Leak when creating OnClickListener

2009-08-17 Thread Dan Sherman
I'll check it out tonight when I get access to the dump again. But from what I remember, it was just a really long list of nested Runnables (I'm sure I missed something). Would it help if I posted the dump? - Dan On Mon, Aug 17, 2009 at 1:39 PM, Dianne Hackborn wrote: > On Mon, Aug 17, 2009 at

[android-developers] Re: Memory Leak when creating OnClickListener

2009-08-17 Thread Dianne Hackborn
On Mon, Aug 17, 2009 at 9:57 AM, Dan Sherman wrote: > Looks to be a Runnable (from what I can tell). It can't just be a Runnable, it needs to be a concrete implementation of Runnable. I am pretty sure hat will show you the actual class implementation, since it only deals in concrete classes.

[android-developers] Re: Does Android support detection of clicking on right/left button of a mouse

2009-08-17 Thread A. Elk
I think you mean "How do I get something like a mouse in Android, where the mouse has two buttons?" Do you want to attach a mouse to the phone? That doesn't make much sense. If you want the two buttons, you should probably use two soft buttons on the screen. You might be able to use two of the har

[android-developers] How to style part of TextView

2009-08-17 Thread fhucho
Hi, I want to include a chat feature into my application. But I don't know what widget should I use for the chat - now I use TextView but I have two problems: 1) In the TextView there will be lines like "John: Hi, how're you doing?". I want the text "John" to have blue color, how can I do that? 2

[android-developers] Re: XML Reader

2009-08-17 Thread Mark Murphy
Sasi Kumar wrote: > When we are reading a xml file in android. At the execution time it is > taking so much time for executing. Is there any way to reduce the time > taking for execution? 1. Don't use DOM, if that is what you are using. Use SAX or XPP for performance. 2. Read smaller XML files.

[android-developers] Understanding the BroadcastReceiver

2009-08-17 Thread R Ravichandran
Hello, I have an application that uses an extended BroadcastReceiver class inside the Activity. I have the extended BroadcastReceiver class as a member variable of the Activity class. But it looks like the receiver references keep changing between its construction and 'onReceive' method call. I wo

[android-developers] Re: GmapActivity Only marker Touch Listener

2009-08-17 Thread gizmomogwai
is ItemizedOverlay.onTap enough for you or need you more fine grained control over the tap / touch events? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email

[android-developers] Re: GPS ,accuracy of the GPS receiver

2009-08-17 Thread _AM_
Hi, 5-10 miters is accuracy of GPS. Do not expect too much... According to conspiracy theory this is done specially by USA military :) they each day set new deltas into GPS system to prevent it use for rockets navigation by other countries... In reality I think GPS internal timing is not very

[android-developers] Re: get version from apk

2009-08-17 Thread Greivin Lopez
Hi, you could use PackageInfo class to retrieve some information from Manifest.xml. Try to use this code: /** * Gets the software version retrieved from the Manifest. */ private String getSoftwareVersion() { try { PackageInfo packageInfo = getPackageManag

[android-developers] How to change ringtone volume to constant value

2009-08-17 Thread lingareddy
Hi, i am working on android code, when i get incoming call first volume started low & then it is getting increased to high volume set. now how i can make ringtone to constant volume.so that through out the ringtone it should come same volume. can any one please help me. thanks & regards Lingar

[android-developers] can andriod be in pda area?

2009-08-17 Thread xiami007
i want use android as my os of a pda,but adnroid is a os designed for mobile phone, so i want to customize the ui and delete some models that i did not need in andriod. it seems that i should do a lot of work. is it possile to do that? or has anybody else done that kind of work before? --~-

[android-developers] copy big size file crash

2009-08-17 Thread Pinfield
Hi, Dear All, Now, there is an issue worried me very much. I constructed a small application(myapp), and try to copy a big size(about 150M) file to some other folders; but it always crashed. >From the log, I found it was caused by low memory issue: it will kill some other processes first,

[android-developers] Re: Create File into Android emulator ??

2009-08-17 Thread TomTasche
If you want to create a file on your device (or emulator), you have to change the path. try this: --- File oText = new File("/sdcard", "File"); --- instead of: --- File oText = new File("C:/Documents and Settings/.../workspace/ SocketInterface", "File"); --- P.S.: If you only want to write t

[android-developers] Re: Android Dev Phone 1 out of stock

2009-08-17 Thread farble1670
agreed, frustrating. i should not have to pay $25 for the privilege of knowing that they are out of stock. yes i would have joined eventually anyway, but i did so *today* with the intent of picking up a device. On Jul 27, 12:15 pm, AndyB wrote: > Nobody seems to have answered the question, > > L

[android-developers] 'Location-Based' Services in a mobile environment survey

2009-08-17 Thread S.W.Schilke
'Location-Based' Services in a mobile environment survey You are being invited to take part in a research study. The aim of this research is to investigate the extent to which users are aware of 'location-based' recommendation services and their perception of such services. The research will ulti

[android-developers] Cant create tabbed activity.

2009-08-17 Thread dmtrl...@gmail.com
Hello All! I have one problem, and hope somebody can help me. When I try to create tabbed window. I am use this example http://developer.android.com/guide/tutorials/views/hello-tabwidget.html , but in designer I see NullPointerException (not layout) and when I start application - activity crashes

[android-developers] xml

2009-08-17 Thread Sasi Kumar
how can we reduce the execution time, when we are using xml parser. If anybody know rely me.. Thanks in advance. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this gr

[android-developers] Reuse alertmanager loading-image

2009-08-17 Thread Pieter Bonne
Dear, I was wondering whether I can re-use the loading-image displayed in the topleft corner of an alert dialog inside my own activity. I have some sort of submit button and would like to display such an animation next to it while the submittal is in progress. Ofcourse i would prefer using a re

[android-developers] Re: Create File into Android emulator ??

2009-08-17 Thread cs_post...@hotmail.com
On Aug 17, 9:11 am, Dany BREARD wrote: > File doesn't create so i thin k my /sdcard is not recongnized but when > i launch emulator with > > emulator -avd my_avd -sdcard C:\SDCard Not sure if you got this right or not, but the sdcard is not a directory on your windows box, its an image file, ie

  1   2   >