[android-developers] Looking for Android Developers

2009-06-09 Thread Nithin
Hi, Developers who are looking for android jobs in India can send their profile to cont...@androidindians.com We will get back to you immediately. Thanks Nithin www.androidindians.com --~--~-~--~~~---~--~~ You received this message because you are subscribed to

[android-developers] Re: Looking for Android Developers

2009-06-09 Thread Saurav Mukherjee
i am very much interested. only thing i want to know before i send u my profile, is whether it is an online job? On Tue, Jun 9, 2009 at 12:29 PM, Nithin wrote: > > Hi, > > Developers who are looking for android jobs in India can send their > profile to cont...@androidindians.com We will get back

[android-developers] how to read radio stream for web

2009-06-09 Thread yancaida...@gmail.com
I am trying to develop a radio read internet stream from radio station web. You know we can play music from internet like this private MediaPlayer mMediaPlayer; Uri uri = Uri.parse("http://www.jjyyjy.com/wj/he.mp3";); mMediaPlayer = MediaPlayer.create(this, uri); mMediaPlayer.start();

[android-developers] How to go back to my apllication's home screen

2009-06-09 Thread Bullo#88
My application is composed by several activities, I would like to give the user the option to go back to the home screen of my application by pressing a button on the screen. At the same time I can't call the finish() function on activities beetween the home screen and the currently visible activi

[android-developers] Obtaining Frequency from Mic on Android

2009-06-09 Thread Tez
Hi, I wish to obtain the frequency of an input signal from the mic. Can anyone send me some pointers on how this may be accomplished. Earlence --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" gro

[android-developers] Re: Tut (SDK 1.5) Get google account of user

2009-06-09 Thread ubikdroid
Tell me more! I'm not sure what you mean by "very simple & more efficient time using this". I'm trying to create a widget that gets the number of unread items from the Google Reader API. The auth token from android doesn't seem to be valid for this. I'm having to resort to asking the user to input

[android-developers] Re: Tut (SDK 1.5) Get google account of user

2009-06-09 Thread Sujay Krishna Suresh
as i already said u need to explore the getcredentials method... in the params of that method u need to specfy wat u need n for which service... if this is done then u can get the sid with ease... On Tue, Jun 9, 2009 at 1:40 PM, ubikdroid wrote: > > Tell me more! I'm not sure what you mean by "ve

[android-developers] SQL Query

2009-06-09 Thread M.Manjunatha
Hi Folks, I have been given a requirement. Say you have five contacts in your phone book. Person1, Person2, Person3, Person4, Person5. You have received messages from the contacts.. Now that, I have to sort in the following manner. Initally, i have to sort in such a way that, I display one mes

[android-developers] Re: Changing one TextView with onSensorChanged without Redrawing the Entire Layout

2009-06-09 Thread skink
On 8 Cze, 23:17, TrojanSnake12 wrote: > I tried changing to fill_parent, and this did not help. so, try to set breakpoint in your code where you call setText(s) and step into till you reach checkForRelayout() and check why it calls requestLayout() --~--~-~--~~~---~-

[android-developers] Re: VerifyError with Maps Add-ons

2009-06-09 Thread broc
Hi, As Zach Hobbs wrote on month ago, a solution is to launch either the widget or the configure activity (and all sub-activities containing the MapActivity) in an another process than the application by specifying in the AndroidManifest.xml file the option "android:process" as following: For

[android-developers] Re: OpenGL garbage collection (with direct ByteBuffers)

2009-06-09 Thread Genc
Hi Guys, This issue is what I'm suffering a lot. A simple & basic question: Is that change 9029 shipped with Android SDK 1.5? Should I install SDK 1.5 to benefit changes? On May 20, 11:51 pm, fadden wrote: > On May 20, 3:32 pm, Urs Grob wrote: > > > I think this problem is already being wor

[android-developers] QualcommCameraHardware messages

2009-06-09 Thread loril...@gmail.com
Hi All, I am getting a force close message with following QualcommCameraHardware log messages when using takePicture method on G1 camera: ERROR/MemoryHeapBase: mmap(fd=18, size=8388608) failed (Invalid argument) ERROR/QualcommCameraHardware: pmem pool /dev/pmem_camera error: could not create mas

[android-developers] Re: configChanges and onConfigurationChanged()

2009-06-09 Thread Chronos
hmmm... no relevant input ? not even some comments ? On 28 Mai, 10:20, Chronos wrote: > Hello there ;) > > I am still confused about configuration changes. I considered this a > bug in earlier API versions and didn't care much about it. But since > this behaviour is still the same in the 1.5 SD

[android-developers] How to use remapCoordinateSystem of SensorManager

2009-06-09 Thread Augustin.CL
Dear all, I want to transform the coordinate in Camera style. But I really can't understand how to use remapCoordinateSystem. Is there any example to help me understand how to use? Best regards, Augustin Lu. --~--~-~--~~~---~--~~ You received this mess

[android-developers] Activity is unable to start service in same package

2009-06-09 Thread nick.titatingmembr...@googlemail.com
Hi, I have a service class my.app.MyService that I'm attempting to launch from my.app.MyActivity as follows: Intent svc = new Intent( this, MyService.class ); The manifest contains the entries: LogCat gives the message: "Unable to start service Intent { comp={"my.app/ my.app.MyService" }

[android-developers] How to connect content provider in ProviderTestCase2 class?

2009-06-09 Thread aby
Hi, I try to build a class which extends ProviderTestCase2 to test my content provider. But I don't know how to connect my content provider and also don't find any document about this case. In CalendarProviderTest, they create a Mock Provider and use mResolver = getMockContentResolver(); mResolve

[android-developers] Handling an Intent without an Activity UI

2009-06-09 Thread mafro
Hey list, I've searched for a few hours for a solution to this, so hopefully this isn't a repost :s I'm setting a shortcut on the Home screen which raises an Intent to my application - the problem is that I don't want to show my app, just run a little code and display a Toast notification. This

[android-developers] sharedpreferences widget

2009-06-09 Thread RS
I have a few questions on the default home screen's widget support: 1) if there are multiple instances of the same widget how to differentiate each (so that the content could be different) eg. world clock: same clock widget for different countries on diffferent screen. 2) is there any sharedpref

[android-developers] Re: Android .apks running in a Browser

2009-06-09 Thread guruk
Hi, just like to keep that Post again so hopefully someone from Android Team will make a Statement to that Issue! Are there any Plans to realize an option to play .apks in a browser? Greets chris --~--~-~--~~~---~--~~ You received this message because you ar

[android-developers] Re: Tut (SDK 1.5) Get google account of user

2009-06-09 Thread ubikdroid
Woot! I got it working. I tried before with the service set to "reader" but I got a SecurityException thrown even though I had the permission in the manifest. However, if you leave the service null in the getCredentials call and add the permission com.google.android.googleapps.permission.GOOGLE_A

[android-developers] Re: How to get current time?

2009-06-09 Thread Mark Murphy
Jeff Sharkey wrote: > So just a heads up that Android uses NITZ events provided by a carrier > to properly set the system date and time. Android also falls-back to > network NTP automatically when no cellular network is available. > > http://en.wikipedia.org/wiki/NITZ > > The time provided by c

[android-developers] Re: sdcard mount detection

2009-06-09 Thread Mark Murphy
jonathan wrote: > is there a way to be notified from my application of sdcard mount? > any services etc? There are a series of broadcast Intents for media card actions (e.g., ACTION_MEDIA_MOUNTED). Look for them in the Intent documentation: http://developer.android.com/reference/android/content/

[android-developers] please help me:

2009-06-09 Thread manoj
Hi friends, I tried to play youtube url from ADP 1.5 device's browser. It doesn't play. Shows warning as "the video you have requested is not available". But when played in pc i got a video playing in my pc. The url is http://www.youtube.com/watch?v=yiALvl1rILE Can any one please suggest me w

[android-developers] Gravity of ImageView inside TableLayout

2009-06-09 Thread Reno
I have a class which extends from TableLayout: public class EntryCallLog extends TableLayout { I defined two columns and I have two TableRows. Therefore there are two Views inside a Row. The first should be gravity left the second should be gravity right. So I can not use tablerow.setGravity(Gra

[android-developers] Re: Able to use T-Mobile G1 without contract for application testing?

2009-06-09 Thread Todd Sjolander
I'm using a G1 with the old non-Android (read: "Wifi only") data plan. The only downside that I've seen is the loss of connectivity outside of your Wifi networks. But if you're developing from inside a wireless network, it makes no difference. You can still buy apps on the market, and use all t

[android-developers] Re: please help me:

2009-06-09 Thread manoj
Hi, I written a small app also to play youtube video as shown below startActivity(new Intent(Intent.ACTION_VIEW,Uri.parse(youtubeUrl))); I got an alert saying "sorry, this video cannot be played". can any one please help me. Thanks, Manoj. On Jun 9, 5:11 pm, manoj wrote: > Hi friends, > > I

[android-developers] Re: please help me:

2009-06-09 Thread Mark Murphy
manoj wrote: > Hi, > > I written a small app also to play youtube video as shown below > > startActivity(new Intent(Intent.ACTION_VIEW,Uri.parse(youtubeUrl))); > > I got an alert saying "sorry, this video cannot be played". > > can any one please help me. > > Thanks, > Manoj. > > On Jun 9, 5

[android-developers] Re: please help me:

2009-06-09 Thread manoj
Hi Murphy, I used youtube application on device. It didn't work. for some urls youtube application is working. see my second mail, I written the code like you mentioned activating the youtube app. But it didn't work. can you please try on your device with the link which I provide in first mail.

[android-developers] Re: How to go back to my apllication's home screen

2009-06-09 Thread Bullo#88
Any suggestions please? On 9 Jun., 09:24, "Bullo#88" wrote: > My application is composed by several activities, I would like to give > the user the option to go back to the home screen of my application by > pressing a button on the screen. > At the same time I can't call the finish() function o

[android-developers] Icons on Context Menu

2009-06-09 Thread Sujay Krishna Suresh
Hi all, I want to add icons to the menuitems in my context menu. i tried it as MenuItem item = menu.add("text"); item.setIcon(image); where image is a Drawable. but it doesnt work... can anyone temme y & how to display icons for Context menu items?? -- Regards, Sujay Dave Barry

[android-developers] Re: How to go back to my apllication's home screen

2009-06-09 Thread Bullo#88
I found the solution: the FLAG_ACTIVITY_CLEAR_TOP flag has to be added to the intent E.g. Intent intent = new Intent(this, "your home screen class"); intent.addFlags(Intent.FLAG_ACTIVITY_CLEAR_TOP); startActivity(intent); On

[android-developers] How to fake a touch event

2009-06-09 Thread Bhargavi
Hi, I want to open the virtual keypad without touching a text view . Can someone help me how to open a soft keyboard and associate it with a textview already displayed on the screen? Regards, Bhargavi --~--~-~--~~~---~--~~ You received this message because you are

[android-developers] Re: please help me:

2009-06-09 Thread manoj
Hi, I think some of you guys already might have experienced this kind of behaviour. and also some might solve this. can any one please help me. Thanks, Manoj. On Jun 9, 5:32 pm, manoj wrote: > Hi Murphy, > > I used youtube application on device. > > It didn't work. for some urls youtube appli

[android-developers] GMail content provider

2009-06-09 Thread Mika
Hi, My question is quite simple, how to read the data from the GMail content provider. I can get the notify of changes in the GMail database by registering a ContentObserver for content://gmail-ls uri. Then I've been trying to read the following tables content://gmail-ls/messages and content://gm

[android-developers] Re: ListView items in Activity Persist on G1 keyboard slideout, but not Dialog list items

2009-06-09 Thread Streets Of Boston
Romain, There has been a bug in 1.0 and 1.1. that the onPrepareDialog is not properly called after a configuration change happened. Has this been fixed? http://groups.google.com/group/android-developers/browse_frm/thread/a32351c7ecfb24e9/b9970b4dd3700220 On Jun 8, 11:28 pm, Romain Guy wrote: >

[android-developers] Application QuickLaunch

2009-06-09 Thread Vignesh
Hi, Can someone help me on the way to assign shortcuts to an application? I am aware of doing this on the phone via menus (Settings->Application settings->QuickLaunch), but couldn't find a way to do this programatically. Any help will be appreciated. Thank you, Vignesh --~--~-~--~~

[android-developers] How to play youtube urls in android?

2009-06-09 Thread Dilli
hi, I have written a small example which plays youtube videos. the code is: startActivity(youtubeIntent = new Intent(Intent.ACTION_VIEW,Uri.parse (youtubeUrl))); but I got the alert as "sorry, this video is not available". Any help? how to play youtube videos in android device by programming?

[android-developers] Re: SW (2D API) vs. HW (openGL) rendering

2009-06-09 Thread Noonien Soong
Is OpenGl rendering faster than the normal Java Canvas drawing? I'm working on a lil 2d game and am considering trying to use OpenGL if its faster.. I won't use any 3d functionality except the depth buffer maybe. So if all I do is draw bitmaps, animated sprites and such things without any shadin

[android-developers] Re: In-place upgrade of app, outside of Market

2009-06-09 Thread Streets Of Boston
As far as i know, upgrading just happens when you click a link (e-mail attachment) that is a valid and signed APK file. As long as your new APK has the same signature as your current APK, all should go automatically and smoothly. What i have not 'tested', is the case that you downloaded the app

[android-developers] Re: SW (2D API) vs. HW (openGL) rendering

2009-06-09 Thread Streets Of Boston
Take a look at the Goolge IO sessions for gaming: http://code.google.com/events/io/sessions.html http://code.google.com/events/io/sessions/WritingRealTimeGamesAndroid.html On Jun 9, 10:38 am, Noonien Soong wrote: > Is OpenGl rendering faster than the normal Java Canvas drawing? > > I'm working o

[android-developers] Re: How to play youtube urls in android?

2009-06-09 Thread Marco Nelissen
Videos sent to mobile devices use a different format than what's used for the desktop, so chances are you ran in to a video that hasn't been transcoded for the phone yet. On Tue, Jun 9, 2009 at 7:24 AM, Dilli wrote: > > hi, > > I have written a small example which plays youtube videos. > > the

[android-developers] Rotating the device / emulator?

2009-06-09 Thread Mark Wyszomierski
Hi, I'm using the 1.5 SDK. I read in 1.0 that rotating the device would cause onCreate() to be called in our apps (possibly recreating the entire app?). Is there a way to test rotating the device in the emulator? I just want to see what happens, I don't have a device to test this. Will the behav

[android-developers] Re: Rotating the device / emulator?

2009-06-09 Thread Mark Murphy
> I'm using the 1.5 SDK. I read in 1.0 that rotating the device would > cause onCreate() to be called in our apps (possibly recreating the > entire app?). By default, the current activity is destroyed and recreated on an orientation change. > Is there a way to test rotating the device in the emu

[android-developers] How to launch internal activity from PreferenceScreen

2009-06-09 Thread Tushar
Hi, Using PreferenceScreen in xml format we can launch activity by specifying Intent as shown in sample application http://www.android.com"; /> This will launch Browser activity which is registered to handle http protocol. But I would like to launch my internal activity by explicitly specifyi

[android-developers] Re: Rotating the device / emulator?

2009-06-09 Thread Mark
Thank you. On Jun 9, 11:08 am, "Mark Murphy" wrote: > > I'm using the 1.5 SDK. I read in 1.0 that rotating the device would > > cause onCreate() to be called in our apps (possibly recreating the > > entire app?). > > By default, the current activity is destroyed and recreated on an > orientation

[android-developers] Handling widget interface events

2009-06-09 Thread Teo
Hi, i'm having a difficult time understanding the right way to do this. To put it simply, i want to generate a reaction within my own widget (e.g. i press a button so a TextView changes) - i don't want to launch a separate activity. Here's some code from my onReceive function (from the widget):

[android-developers] Re: How to get current time?

2009-06-09 Thread Mike Lanin
Thanks! I'll just use currentTimeMillis(). On 9 июн, 16:01, Mark Murphy wrote: > Jeff Sharkey wrote: > > So just a heads up that Android uses NITZ events provided by a carrier > > to properly set the system date and time.  Android also falls-back to > > network NTP automatically when no cellular

[android-developers] Cant catch onItemClick when use checkBox in ListView

2009-06-09 Thread Mike Lanin
Hi, guys! I want to use ListView each Item of wich has checkBox. I want checkBox check and uncheck when I click it and some processes runing when I click on item, but not on the checkBox. I'm trying to use this layout as item: http://schemas.android.com/apk/res/ android" android:id="@+id/

[android-developers] Re: Handling widget interface events

2009-06-09 Thread Mark Murphy
> i'm having a difficult time understanding the right way to do this. To > put it simply, i want to generate a reaction within my own widget > (e.g. i press a button so a TextView changes) - i don't want to launch > a separate activity. > > Here's some code from my onReceive function (from the wid

[android-developers] Re: Cant catch onItemClick when use checkBox in ListView

2009-06-09 Thread Marco Nelissen
Search this group, this was discussed here very recently. On Tue, Jun 9, 2009 at 8:50 AM, Mike Lanin wrote: > > Hi, guys! I want to use ListView each Item of wich has checkBox. I > want checkBox check and uncheck when I click it and some processes > runing when I click on item, but not on the c

[android-developers] Unlocking screen after wake lock

2009-06-09 Thread mobilek...@googlemail.com
Hi, My app requires alerts at certain events, which are very likely to happen while the screen is off. It captures those event perfectly, however, I'm struggling to hide the T-Mobile screen lock after I've acquired wake lock from the PowerManager. I've tried broadcasting Intent.ACTION_CLOSE_SYSTEM

[android-developers] Re: How do I limit the scope of a map using the maps api

2009-06-09 Thread Daniel
I realize this hasn't been up here hardly a full day, but I see that it's already buried beneath several pages. If somebody has a similar issue or an answer it's unlikely this post will be spotted as it is, so this is a bump. On Jun 8, 4:50 pm, Daniel wrote: > Let's say that when I launch my ap

[android-developers] background image for item on ListView

2009-06-09 Thread daniel.benedykt
Hi I have a listview, and inside I have items. Each item is a LinearLayout with many items inside. (texts , images, etc) So the LinearLayout has a background image so its looks very nice. Also I set another image with list.setSelector() so the selection is highlighted, and I set setDrawSelectorOn

[android-developers] Gallery in Preference Screen

2009-06-09 Thread Yash Patel
Hi, I want to have gallery widget in preference screen. I have created custom preference with Gallery. I am able to display images but there is couple of problem with it. 1. I want to scale the image which is selected in gallery. i used setOnItemselected listener and it does scale the image but w

[android-developers] Re: Handling widget interface events

2009-06-09 Thread Teo
Thanks for the example, it cleared some things up. But i'm still trying to find the right PendingIntent to attach, with no success, nothing happens. I made a service after the same model, and my line now looks like this: rv.setOnClickPendingIntent(R.id.widgetLeft, PendingIntent .getActivity(context

[android-developers] Unstable DTMF sending from G1

2009-06-09 Thread Daniel
I currently have a Nokia 6680 (quite old now) and I store various DTMF dialing sequences with some of my phone numbers in the phone book. e.g. dial the number, send a pin, send #, wait 0.5 seconds, send another number I have tried two Android apps for doing the same thing, they are: - Calling Car

[android-developers] How to tell when application exits?

2009-06-09 Thread Max Salley
I have an app that has some network connections that are causing issues when the app closes/reopens. I would like to close the connections when the app exits, and reinstantiate them when it opens again. onCreate/onDestroy don't work for this purpose because they get called for the foreground act

[android-developers] Re: Handling widget interface events

2009-06-09 Thread Mark Murphy
> Thanks for the example, it cleared some things up. But i'm still trying to > find the right PendingIntent to attach, with no success, nothing happens. > I > made a service after the same model, and my line now looks like this: > rv.setOnClickPendingIntent(R.id.widgetLeft, PendingIntent > .getAc

[android-developers] Re: How to tell when application exits?

2009-06-09 Thread Mark Murphy
> I have an app that has some network connections that are causing > issues when the app closes/reopens. I would like to close the > connections when the app exits, and reinstantiate them when it opens > again. onCreate/onDestroy don't work for this purpose because they > get called for the fore

[android-developers] Re: ListView items in Activity Persist on G1 keyboard slideout, but not Dialog list items

2009-06-09 Thread pawpaw17
Guys, That's what I'm seeing. onPrepareDialog is not called, only onCreateDialog. This is v 1.5. Thanks, --~--~-~--~~~---~--~~ 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: Handling widget interface events

2009-06-09 Thread Teo
Hmm same behavior, for some reason it seems that the service doesn't even start... On Tue, Jun 9, 2009 at 8:01 PM, Mark Murphy wrote: > > > > Thanks for the example, it cleared some things up. But i'm still trying > to > > find the right PendingIntent to attach, with no success, nothing happens.

[android-developers] A Layout question

2009-06-09 Thread kevin
I have a possible simple layout questions. My activity content view contains a title bar, a webview and a status bar. I put these three views into a linearlayout and each has height as WRAP_CONTENT. The problem is, when first displays, webview doesn't take much space because the page is not loade

[android-developers] Create ProgressBar programmatically

2009-06-09 Thread kevin
My application need to create a small progressBar programmatically. ProgressBar doesn't have method to set the style (I want a small progressBar). The constructor can take a AttributeSet, however it is a interface and require me implements a set of functions. Is there a way to set the progressBar

[android-developers] Re: How to tell when application exits?

2009-06-09 Thread Max Salley
On Jun 9, 1:02 pm, "Mark Murphy" wrote: > > I have an app that has some network connections that are causing > > issues when the app closes/reopens.  I would like to close the > > connections when the app exits, and reinstantiate them when it opens > > again.  onCreate/onDestroy don't work for th

[android-developers] Re: A Layout question

2009-06-09 Thread Max Salley
You could use layout_weight. Give the elements that don't change size a weight of 0 and the one that does a weight of 1. The two 0-weight views will be their correct height and the 1-weight view will expand to fill the rest of the space On Jun 9, 1:21 pm, kevin wrote: > I have a possible simpl

[android-developers] Re: How to tell when application exits?

2009-06-09 Thread Streets Of Boston
you could still use onCreate/onDestroy. Just override the onRetainNonConfigurationInstance method. This method will be called before onDestroy. If this method is called, remember this fact by setting a boolean to true. Then in the onDestroy, if this boolean is true, a configuration change will

[android-developers] Re: ListView items in Activity Persist on G1 keyboard slideout, but not Dialog list items

2009-06-09 Thread Streets Of Boston
Ugh.. this is still the case :( In my app, i program around it. I have some code that determines if onPrepareDialog should have been called and, if not, that calls onPrepareDialog explicitly. On Jun 9, 1:04 pm, pawpaw17 wrote: > Guys, > > That's what I'm seeing. onPrepareDialog is not called, o

[android-developers] Re: How to tell when application exits?

2009-06-09 Thread Max Salley
Thanks, I'll give that a shot On Jun 9, 1:45 pm, Streets Of Boston wrote: > you could still use onCreate/onDestroy. > Just override the onRetainNonConfigurationInstance method. > This method will be called before onDestroy. > If this method is called, remember this fact by setting a boolean to >

[android-developers] Re: How to tell when application exits?

2009-06-09 Thread Mark Murphy
> Yes, but when the app closes I want to close the connections (which > requires sending data - not just releasing the objects) regardless of > what's holding them. How can I tell when the app exits? I think you are attributing too much power to the notion of apps exiting. Example #1: somebody

[android-developers] Sounds + Accelerometer = Weird accelerometer values: BUG?

2009-06-09 Thread TjerkW
I am developing a game. In which the user controls movement using the accelerometer. Sounds effects can also be enabled. However when laying the phone flat down and playing the game without the accelerometer gives nice 0,0,0 values. However when play WITH SOUNDS on, i get a buch of weird values:

[android-developers] How to collect unhandled exception message in the app?

2009-06-09 Thread android app
Unhandled exception will force close the app. How to collect these exception in the app? It is better if the user has a choice send these messages back to the developer to improve the app. --~--~-~--~~~---~--~~ You received this message because you are subscribed

[android-developers] How to assign/get the ip address of an emulator ?

2009-06-09 Thread sandy.andr...@gmail.com
I am running a server application on emulator. I want to connect to the server through a client application running on other system. How to get the IP of the emulator and what should be the http-proxy ip of the emulator. Any help is appreciable. --~--~-~--~~~---~--~

[android-developers] Re: How to collect unhandled exception message in the app?

2009-06-09 Thread Mark Murphy
> Unhandled exception will force close the app. How to collect these > exception in the app? Use Thread.setDefaultUncaughtExceptionHandler() to register some code that will get control on unhandled exceptions. At that point, though, it is up to you to figure out what you want to do with the data

[android-developers] Re: How to collect unhandled exception message in the app?

2009-06-09 Thread android app
So this function will provide the code a chance to handle the exception (e.g., POST it to a Web service) before the user click "Force Close" and kill the app? On Jun 9, 2:41 pm, "Mark Murphy" wrote: > > Unhandled exception will force close the app. How to collect these > > exception in the app?

[android-developers] Re: In-place upgrade of app, outside of Market

2009-06-09 Thread Michael Elsdörfer
> Or the other way around: Downloaded it first from an 3rd party source > and then trying to buy it from the Android Market... this is a more > likely scenario. I'm not sure if the user needs to uninstall first. No, Market seems to only care about package names. The app may appear as not i

[android-developers] stale intent extras from notification?

2009-06-09 Thread Bob
Hi, I am using a pending intent to launch an intent from a notification (so it will launch when a user clicks). I am passing extras to the intent in its bundle. Everything works great the first time I launch the intent but on the second notification my activity seems to be getting the same extra

[android-developers] Re: How to collect unhandled exception message in the app?

2009-06-09 Thread skink
On 9 Cze, 16:49, android app wrote: > So this function will provide the code a chance to handle the > exception (e.g., POST it to a Web service) before the user click > "Force Close" and kill the app? user wont see any dialog as you handled your exception. --~--~-~--~~~

[android-developers] Re: Sounds + Accelerometer = Weird accelerometer values: BUG?

2009-06-09 Thread TjerkW
I am trying to solve this problem myself... I created a class that damps the values over a window of previous sensor values. However with a damping wndow of 6 frames i still have the weird values. Here some logcat output of the damped values: The phone was just laying on my table.. not moving...

[android-developers] Re: How to collect unhandled exception message in the app?

2009-06-09 Thread android app
Thanks a lot. On Jun 9, 3:02 pm, skink wrote: > On 9 Cze, 16:49, android app wrote: > > > So this function will provide the code a chance to handle the > > exception (e.g., POST it to a Web service) before the user click > > "Force Close" and kill the app? > > user wont see any dialog as you ha

[android-developers] Re: Sounds + Accelerometer = Weird accelerometer values: BUG?

2009-06-09 Thread TjerkW
Here is my damper. HOWEVER: IT DOES NOT SOLVE THIS PROBLEM. I am going to set the damping windows size to 3 or 4, however i will disable sound because gameplay is practically impossible with sounds on. So Google Developers: What is causing this problem, and how is it solved.??? Here my sens

[android-developers] Re: OpenGL garbage collection (with direct ByteBuffers)

2009-06-09 Thread hav...@gmail.com
I am having the same issue. I went and updated to 1.5_r2 , but I still seem to have the GC issue. This is a critical hit to the game I'm coding, because it's reaction based. a GC hit, will basically cause game over for the player :( I have no idea how I would even begin to apply this patch to mak

[android-developers] Developer devices available in other regions?

2009-06-09 Thread Colin Charles
Hi! There is definitely interest in getting Android developer devices here in Malaysia, but shipping to this country is apparently not available. About 400km south though, from the capital of Malaysia, I can reach Singapore, and shipping there, is apparently not a problem. When do you reckon we'll

[android-developers] How to Add New Building in Android Google Map

2009-06-09 Thread Ani
Hi, I wanted add a new building in android Google map. Does any one know how to Edit Android Google map and add new building.(i don't want to use push pin). Please help any one to solve this. Thank you , Anish --~--~-~--~~~---~--~~ You received this m

[android-developers] fullscreen doesn't hide Status Bar in Android SDK 1.5 R2

2009-06-09 Thread Shyam
I used the following theme to set fullscreen mode in Android 1.1, but the same code doesn't hide the Status Bar in 1.5. The Activity goes fullscreen, but the Status Bar always stays on top of it. The theme used: true

[android-developers] Non OTA upgrades

2009-06-09 Thread Sudhir
How would people using phones like the Samsung I7500 without a standard carrier like T-Mobile (say Airtel in India) get the next Android upgrades? Don't think OTA is an option there... If there isn't a manual upgrade option, that entire market is severely crippled. Sudhir --~--~-~--~---

[android-developers] Calibration with the environment may improve the readings ?!

2009-06-09 Thread flegare
Hi there android super humans, Reading the sensor API (http://developer.android.com/reference/android/ hardware/SensorManager.html) The section about ACCURACY speak about calibration: "calibration with the environment is needed" How do it calibrate?! Is this software calibration? Phone specific

[android-developers] Android on OMAP

2009-06-09 Thread GML
Hi All, I would like to port Android on OMAP. We have our own decoder and player developed fro omap (linux ).. We used TI's DVSDK codec engine framework to develop our decoder. Can we modify the player in android or develop our own player so that it will use our codec. Can some one tell me.. wh

[android-developers] Re: OpenGL garbage collection (with direct ByteBuffers)

2009-06-09 Thread hav...@gmail.com
I'm also suffering from this. Seem to suffer from it, even though I've updated to 1.5_r2 . Anyone know a work around? I need this fixed to complete the game I'm porting. :) On Jun 9, 11:05 am, Genc wrote: > Hi Guys, > > This issue is what I'm suffering a lot. > > A simple & basic question: Is th

[android-developers] USB HID Emulation

2009-06-09 Thread hbs
Hi, I was wondering if there was a way to emulate a USB HID (Human Interface Device) with an android phone like the Magic. This could allow for example the use of the Magic as a barcode scanner. Mathias. --~--~-~--~~~---~--~~ You received this message because yo

[android-developers] Reminder

2009-06-09 Thread Agung Priyono
Dear Mr, Please follow up. Thank you -- Best regards, Agung Priyono Private User Home Page : http://www.friendster.com/agungpriyono E-mail : gunjay_...@yahoo.com Home Private : http://Campoes.multiply.com --~--~-~--~~~---~--~~ You received this message because y

[android-developers] Re: Maps with custom tiles

2009-06-09 Thread Kiran Mudiam
AFAIK, The Android MapView only supports satellite and map view tiles. I did come across a thread on this forum earlier some one asking for custom tiles, and also noted that a feature request was going to put in. Not sure if that ever happened ?!! But I came across this project on google code

[android-developers] Custom Title Not Filling Whole Title Bar (help please)

2009-06-09 Thread Rick
I'm setting up an app to use a custom title so I can get the proper logo into the title instead of just text, and to make it clean (since the logo has a flat black background), I also want the whole title bar to be black. My xml for the title is a framelayout to hold the logo inside of a linearlay

[android-developers] Is it Possible to support Arabic in 1.5 SDK?

2009-06-09 Thread swapanandr...@gmail.com
Hi, Is it possible to support Arabic Language in Android 1.5 SDK? --~--~-~--~~~---~--~~ 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.co

[android-developers] Re: Activity is unable to start service in same package

2009-06-09 Thread JOG
On Jun 9, 10:41 am, "nick.titatingmembr...@googlemail.com" wrote: > Hi, > > I have a service class my.app.MyService that I'm attempting to launch > from my.app.MyActivity as follows: > > Intent svc = new Intent( this, MyService.class ); I assume that you are starting the service from your main A

[android-developers] How to draw a circle ?

2009-06-09 Thread patpat
I am new and here is my code.. when i ran it ...there was nothing...i expected there should be a circle appear.. can anyone tell me why?? package game.balance; import android.app.Activity; import android.os.Bundle; import android.view.ViewGroup.LayoutParams; import android.widget.LinearLayout;

[android-developers] Loading images in the background - and being able to cancel them

2009-06-09 Thread guojian
To make loading images from the web less of a pain, I created a little helper class To load an image you simply call ImageLoader.getInstance().load(myImageView, "myimage.jpg", true); http://wu-media.com/2009/06/android-imageloader-load-images-sequencially-in-the-background/ 1. It loads images

[android-developers] Re: Development in G1 in Ubuntu 9.04

2009-06-09 Thread Eddie Ringle
It is the priority in which that rule is ran. The higher the number, the later it is run. By the way, you can also run: sudo udev restart After the rule is in place. This worked for me. Eddie Ringle On May 30, 2:20 pm, Abdul Mateen wrote: > I want to know what these number means ? > > On Sat

[android-developers] Re: Activity is unable to start service in same package

2009-06-09 Thread JOG
On Jun 9, 10:41 am, "nick.titatingmembr...@googlemail.com" wrote: > Hi, > > I have a service class my.app.MyService that I'm attempting to launch > from my.app.MyActivity as follows: > > Intent svc = new Intent( this, MyService.class ); > > The manifest contains the entries: > > android:name="an

[android-developers] Re: Tut (SDK 1.5) Get google account of user

2009-06-09 Thread Agung Priyono
Dear Android, Thank for your info. On 6/9/09, ubikdroid wrote: > > > Tell me more! I'm not sure what you mean by "very simple & more > efficient time using this". I'm trying to create a widget that gets > the number of unread items from the Google Reader API. The auth token > from android doesn

[android-developers] Re: 'Take a picture' intent on 1.5 - anybody please? ;)

2009-06-09 Thread oeg...@googlemail.com
Hi BoD, you need to add an URL to the "captue intent" where the image shall be stored otherwise you only get a preview from the intent.getData. e.g.: intent.putExtra(MediaStore.EXTRA_OUTPUT, Uri.fromFile(new File ("TempPicture"))); now you can retrieve the picture from the URL in the onActivity

  1   2   >