[android-developers] DrawMyLocation causes Uncaught BitmapDrawable Handler (Cupcake)

2009-09-12 Thread chrispix
Not sure if this is related to the custom build of Cupcake from CyanogenMod 4.1.7, or DrawMyLocation has been depreciated or something else.. But hopefully someone can help.. This only happens on 4.1.7, but we have customers who are asking why this is not working. I did post bug report @

[android-developers] Re: I want to know to get browse history on android ?

2009-09-12 Thread Miguel Paraz
I continued with my trial code. This one does not retrieve anything, using the DevPhone on Cupcake. Then, I read the source for the Browser's BrowserProvider which suggests that you need to give something to query. (the commented code below). However, that causes an Exception inside the

[android-developers] Re: Our app force closes on 1.6, Is SDK or image available yet?

2009-09-12 Thread Al Sutton
My guess is that they're running one of Cynogens Donut ROMs that hes' made available. There's a fair amount of talk about performance improvements and he is pointing at devs for some issues (a main one being problems with widgets and rotation). If you want to use the open-source repo donut SDK

[android-developers] Re: Hmm... at last ADC2 is out of our way ... tell about your app and experience

2009-09-12 Thread agirardello
A bit late, but here some details about my app... ;-) Application: Personalytics Category: Productivity Desc: Personalytics is a tool for Android that allows the collection of personal events (i.e. calls and SMS) and their related positions with a non-invasive approach. Once synchronized (free

[android-developers] Re: textview scrolling help.

2009-09-12 Thread prashanth
can you not use marquee attribute of TextView if you want to scroll text inside textview? regards On Sep 11, 10:33 am, m|ch mich3...@gmail.com wrote: I want to enable scrolling for textview. I set vertical scrollbar which appears but scrolling doesn't work. Why? I am not using ScrollView

[android-developers] Re: hi, i need help with a simple counter and timer app for use while refereeing fencing

2009-09-12 Thread Lance Nanek
Neat idea. I fenced back in school, actually, and wouldn't mind helping. I'll send you an email. On Sep 11, 1:33 am, jonthebear king_john...@hotmail.com wrote: ive installed the sdk and have no idea what to do, so could you either give me step by stpp instructions or better yet make the

[android-developers] Re: Is there any Android Handset which CDMA based?

2009-09-12 Thread javame_android
Hi, Will the GsmCellLocation give me the proper result in CDMA network. If my application uses GsmCellLocation, then will I be able to get CellId and Lac value? If not then how to get those values on CDMA network. Regards Sunil --~--~-~--~~~---~--~~ You received

[android-developers] Re: Is there any Android Handset which CDMA based?

2009-09-12 Thread Mark Murphy
Will the GsmCellLocation give me the proper result in CDMA network. If my application uses GsmCellLocation, then will I be able to get CellId and Lac value? If not then how to get those values on CDMA network. Until a version of Android ships with documented CDMA support, there is no good way

[android-developers] Re: problem in acceing sent message from BroaddcastReceiver

2009-09-12 Thread javame_android
Hi, I really didn't get you what you want to say. Please be specific and let us know what error do you get and when actually does it occur. What are you trying to do? If you want to listen for the message then you can do that using Broadcast Receiver and registering that receiver in

[android-developers] Re: Checking the user's country

2009-09-12 Thread Anna PS
Thanks Roman, very helpful. Actually, it turns out that the dynamic method is what I need after all. best wishes, Anna On Sep 12, 3:24 am, Roman ( T-Mobile USA) roman.baumgaert...@t- mobile.com wrote: What do you mean with user's country? Static methods: - You could use the phone number

[android-developers] Android App with Analytics like Flurry

2009-09-12 Thread GreenRob
Hi, Do we as developers have to tell the user (via pop up at app start or eula or so) if an app is using analytics functionalities, like Flurry's or Admob's? And if yes, how do you let the users know or are there official regulations? Are there text templates were I can choose from? Best Regards,

[android-developers] Re: cant know whats problem with the content provider in my code ... Plz help

2009-09-12 Thread Dexter's Brain
Before calling the function getColumnData(), you should be calling startManagingCursor(), so that the cursor is initialized. That should solve your problem, Dexter. On Sep 11, 9:14 am, wahib.t...@gmail.com wahib.t...@gmail.com wrote: I am a newbie to android programming. I want to search the

[android-developers] Re: Is there any Android Handset which CDMA based?

2009-09-12 Thread Fred Grott(Android Expert)
There should be a similar call for CDMA.. http://android.git.kernel.org/?p=platform/frameworks/base.git;a=blob;f=telephony/java/android/telephony/cdma/CdmaCellLocation.java;h=7cf8a9a66b0a41533c919a31a7647ea6bd2d9016;hb=c883b143ba2b8bfe2f2033d00dee9ff733f1b59c Class is CdmaCellLocation.java

[android-developers] Re: Android App with Analytics like Flurry

2009-09-12 Thread Mark Murphy
Do we as developers have to tell the user (via pop up at app start or eula or so) if an app is using analytics functionalities, like Flurry's or Admob's? If you are distributing through the Android Market, the Android Market terms and conditions you agreed to has language describing the

[android-developers] UI surface Pixel Format inside surface flinger is RGBA_8888, Can this be changed to ARGB_8888.

2009-09-12 Thread sreedhar b
Hi, The UI surface Pixel Format inside surface flinger is RGBA_, Can this be changed to ARGB_. Currently my hardware supports ARGB_ pixel format. Is it possible that the surface flinger is made to give UI surfaces in the ARGB_ pixel format whcih my hardware supports? Thanks

[android-developers] Persistent setRepeating

2009-09-12 Thread Nick
I have a basic setRepeating alarm to update my widget. Currently the repeat is set when the user makes the widget and when the user boots the device. It seems that during the course of the day the AlarmManager will just decide to stop updating. Also, what is the best way to re-set an alarm after

[android-developers] MeidaPlayer IlleglStateException thrown

2009-09-12 Thread manigault
Hi, I have the following issue i have an application that uses android.media.MediaPlayer and got this exception: 09-12 16:21:05.921: ERROR/AndroidRuntime(9890): Uncaught handler: thread main exiting due to uncaught exception 09-12 16:21:06.101: ERROR/AndroidRuntime(9890):

[android-developers] Re: New Screen

2009-09-12 Thread Boozel
i had the line in the manifest in the wrong place. thanks for the help. On Sep 11, 7:30 pm, Mark Murphy mmur...@commonsware.com wrote: Boozel wrote: I know this is probably a really stupid question but have tried for ages and searched but cant get it to work. I'm trying to create anew

[android-developers] Re: Struggling -- Getting exception when clicked on HelloItemizedOverlay

2009-09-12 Thread Theo K
Hey guys, i'm quite interested in knowing this too. Let me know if you have any further info on the topic. cheers Theo --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group,

[android-developers] Re: Activity Vs View

2009-09-12 Thread Gopal Biyani
Thanks guys for clearing my doubt. On Fri, Sep 11, 2009 at 5:30 PM, Jason Proctor jason.android.li...@gmail.com wrote: for me the activity granularity is where functionality can be broken down to discrete tasks. is this piece of the program standalone? does it have defined inputs and

[android-developers] image in Edittext

2009-09-12 Thread mmkr
Hai Sir, I am developing an application in which i want to insert image in editext with wrap feature will any body help me , with some example --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android

[android-developers] Split Method

2009-09-12 Thread Boozel
can some one please tell me how i can implement this method static String[] split(String text, Pattern pattern) http://developer.android.com/reference/android/text/TextUtils.html#split(java.lang.String, java.util.regex.Pattern) public static String[] split (String text, String expression)

[android-developers] Re: Map Overlays

2009-09-12 Thread Theo K
Hi Neilz, regarding adding a Toast message, it is quite straightforward to do. Mark Murphy gives a great tutorial which shows the details of how to do this here: http://www.androidguys.com/2008/09/09/maps-itemizedoverlay-and-you/ Regarding Question 1 specifically, the title and snippet is not

[android-developers] Re: how to post something thing on Facebook profile?

2009-09-12 Thread http://books.google.com/books?id=ifqnAAAACAAJdq=inauthor:%22Russ+Manning%22lr=as_brr=0rview=1source=gbs_book_other_versions_rcad=2
On 2 Wrz, 19:49, Chris Stratton cs07...@gmail.com wrote: I think that's really a facebook API or facebook application development question not an android one, for which you want to consult facebook's application developer, API, etc documentation. In other words: 1) figure out the generic

[android-developers] Re: how to post something thing on Facebook profile?

2009-09-12 Thread http://books.google.com/books?id=ifqnAAAACAAJdq=inauthor:%22Russ+Manning%22lr=as_brr=0rview=1source=gbs_book_other_versions_rcad=2
On 2 Wrz, 12:39, Bartłomiej Nowak barnows...@gmail.com wrote: 2009/9/2 Y2U usman@gmail.com Hi guys, Im developing an application related to daily horoscopes. I have to add a functionality that allows user to post his/her horoscope on his/ her facebook profile. as far as i

[android-developers] Re: how to post something thing on Facebook profile?

2009-09-12 Thread http://books.google.com/books?id=ifqnAAAACAAJdq=inauthor:%22Russ+Manning%22lr=as_brr=0rview=1source=gbs_book_other_versions_rcad=2
On 2 Wrz, 07:02, Y2U usman@gmail.com wrote: Hi guys, Im developing an application related to daily horoscopes. I have to add a functionality that allows user to post his/her horoscope on his/ her facebook profile. as far as i know we have to get some permissions from the user to post

[android-developers] Re: how to post something thing on Facebook profile?

2009-09-12 Thread http://books.google.com/books?id=ifqnAAAACAAJdq=inauthor:%22Russ+Manning%22lr=as_brr=0rview=1source=gbs_book_other_versions_rcad=2
On 2 Wrz, 19:49, Chris Stratton cs07...@gmail.com wrote: I think that's really a facebook API or facebook application development question not an android one, for which you want to consult facebook's application developer, API, etc documentation. In other words: 1) figure out the generic

[android-developers] Re: how to post something thing on Facebook profile?

2009-09-12 Thread http://books.google.com/books?id=ifqnAAAACAAJdq=inauthor:%22Russ+Manning%22lr=as_brr=0rview=1source=gbs_book_other_versions_rcad=2
On 12 Wrz, 17:03, http://books.google.com/books? id=ifqnCAAJdq=inauthor:%22Russ+Manning %22lr=as_brr=0rview=1source=gbs_book_other_versions_rcad=2 barnows...@gmail.com wrote: On 2 Wrz, 12:39, Bartłomiej Nowak barnows...@gmail.com wrote: 2009/9/2 Y2U usman@gmail.com Hi guys,

[android-developers] Re: Soft keyboard in Fullscreen/extract mode

2009-09-12 Thread Howard M. Harte
On Sep 11, 9:52 am, Dianne Hackborn hack...@android.com wrote: When in landscape, you aren't seeing -any- of your application, the IME is running in fullscreen mode and completely covering it (so there is no reason to do more work and resize the app to...  nothing). There is a flag (forgot

[android-developers] Re: MeidaPlayer IlleglStateException thrown

2009-09-12 Thread Marco Nelissen
What does your code look like? On Sat, Sep 12, 2009 at 6:41 AM, manigault manig...@gmail.com wrote: Hi, I have the following issue i have an application that uses android.media.MediaPlayer and got this exception: 09-12 16:21:05.921: ERROR/AndroidRuntime(9890): Uncaught handler: thread

[android-developers] Re: Recommended uses of a class extending android.app.Application

2009-09-12 Thread Gustav Mauer
I store my application config data in preferences: http://developer.android.com/guide/topics/data/data-storage.html#pref And have a singleton class to read and write (aka wrap) them. That way it is also maintained even if the application is killed. On Sep 11, 8:21 pm, Tom Gibara

[android-developers] Re: Trouble with GLSurfaceView

2009-09-12 Thread David Minor
What do you mean by stops working? I had a problem with coming back from sleeping where my app was unresponsive, which went away when I handled orientation config changes myself. Since my app was in landscape, there was an orientation change coming back from sleep and something in GLSurfaceView

[android-developers] Re: Our app force closes on 1.6, Is SDK or image available yet?

2009-09-12 Thread chrispix
I will check out the SDK and see if I can reproduce. This was the LogCat of the error : Essentially I was trying to extend a map overlay, and draw the location circle on the screen. 09-12 00:50:35.825: ERROR/AndroidRuntime(5769): Uncaught handler: thread main exiting due to uncaught exception

[android-developers] Re: latitude buddies content provider

2009-09-12 Thread Arno den Hond
So are there any plans on making this API public? My app would like to use the display names and locations of latitude buddies. On Sep 10, 1:27 am, Dianne Hackborn hack...@android.com wrote: This is not a public API.  Any attempts you make at using it will break in the future. On Wed, Sep

[android-developers] appending video files

2009-09-12 Thread JoyLakh
Dear All, My intention is to add pause and resume functionality to my video recording app, for which on selecting pause I am releasing the recorder and on selecting resume I am starting a new recorder and writing to a new file. After selecting stop I want to add all these individual files and

[android-developers] Re: Is the limit of memory heap only 6M?

2009-09-12 Thread abliss
On Aug 27, 10:54 pm, Ramesh uthir...@gmail.com wrote: 08-28 11:16:26.785: ERROR/AndroidRuntime(1433): Uncaught handler: thread main exiting due to uncaught exception 08-28 11:16:26.825: ERROR/AndroidRuntime(1433): java.lang.OutOfMemoryError: bitmap size exceeds VM budget 08-28 11:16:26.825:

[android-developers] Re: How to open or close the soft keyboard by code

2009-09-12 Thread permafrost91
For the life of me, I cannot figure out how to implement InputMethodManager. Every time I include it anywhere in my code, the SDK (Eclipse plug-in) complains it doesn't exist and whether I would not want to implement a new class, interface, enum, etc. instead. All I want to do is show the soft

[android-developers] Re: Hmm... at last ADC2 is out of our way ... tell about your app and experience

2009-09-12 Thread Miles
It's probably about time we introduced our app to the world, here goes... Application: AugSatNav Category: Travel Description: AugSatNav is the world’s first “true” augmented reality application to overlay navigation information directly upon a live video feed of the road ahead. Extended

[android-developers] Re: AVD for Motorola Cliq?

2009-09-12 Thread lrathjens
There's a closely related article on screen orientations (handling screen rotation) on the MB200 (CLIQ) that you might also find useful. You can find it at http://developer.motorola.com/docstools/library/Handle_Screen_Rotation/ Cheers, Lisa On Sep 11, 2:27 pm, Carl Whalley

[android-developers] Development on the MyTouch 3G

2009-09-12 Thread Sid
I just ordered a myTouch 3G from T-Mobile (it will come locked). My main motivation is to do Android Development on this phone. I just read on the Android Development Site http://developer.android.com/guide/developing/device.html that one can develop Android apps on the Developer Phone or the

[android-developers] how can i refresh my adapter

2009-09-12 Thread leela
i am developing file browser to my media player UI i have written in my OnItemClickListener() in that i called the method like adapter.notifyDataSetInvalidated() method but it is not working please help me to refresh my list.based on onItemClickListener() method please help me thanks in

[android-developers] Zoom of android

2009-09-12 Thread Dantu
Please can I have the numerical value of the zoom capacity in android.i.e maximum amount of zoom that can be made. Thanks in advance --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post

[android-developers] Re: Drawable tilemode repat only vertically

2009-09-12 Thread xiaowei guo
hi, only repeat vertically,u can use BitmapDrawable.setTileModeX(int TileMode); 2009/8/19 Klaus Kartou kar...@gmail.com Hi! Is there a way to specify that a drawable should only be repeated vertically and then stretched horizontally? At the momemt I use the following which repeates the

[android-developers] Re: latitude buddies content provider

2009-09-12 Thread Dianne Hackborn
I don't know, it is owned by the Google maps people. On Sat, Sep 12, 2009 at 10:27 AM, Arno den Hond arnodenh...@gmail.comwrote: So are there any plans on making this API public? My app would like to use the display names and locations of latitude buddies. On Sep 10, 1:27 am, Dianne

[android-developers] Re: Development on the MyTouch 3G

2009-09-12 Thread Dianne Hackborn
You can develop on any phone that comes with Market. That is one of the requirements for being able to ship Market. On Sat, Sep 12, 2009 at 7:12 AM, Sid sida...@gmail.com wrote: I just ordered a myTouch 3G from T-Mobile (it will come locked). My main motivation is to do Android Development

[android-developers] Re: Development on the MyTouch 3G

2009-09-12 Thread Mark Murphy
Sid wrote: - Can I use the myTouch 3G to test apps that I develop using Eclipse? Yes. - Can I use the myTouch 3G device itself as an app development platform? Yes. Quoting from the page you linked to: While developers can use regular consumer devices purchased at retail to test and use

[android-developers] Re: How to open or close the soft keyboard by code

2009-09-12 Thread Dianne Hackborn
Um. Why don't you do your development on a version of Android that is actually in use? 0.9 Beta, as the name implies would be BEFORE 1.0. It's not even compatible with 1.0. And the input method feature wasn't added until 1.5. And beyond that, IInputMethod is not part of the SDK; the API for

[android-developers] Re: 【招聘】Androi d开发工程师 15-20w-北京

2009-09-12 Thread L D
北京的职位 2009/9/10 xii stan stan@gmail.com 在深圳可以吗? 本人熟悉java. c++ 开发10年经验。 2009/9/9 何斌斌 hbbs...@gmail.com hi, 如何联系, 本人的msn:hbbs...@hotmail.com 从事android开发:1.5 年 2009/9/8 IDA yydl...@gmail.com 职位描述: 从事Android或OMS平台手机终端应用的开发。 职位要求: 1、计算机及相关专业本科以上学历; 2、良好的Java技术功底;

[android-developers] Re: Our app force closes on 1.6, Is SDK or image available yet?

2009-09-12 Thread chrispix
I downloaded the 1.6SDK. Unfortunately my includes are not working for com.google.* in particular import com.google.android.maps.GeoPoint; Chris. On Sep 12, 3:55 am, Al Sutton a...@funkyandroid.com wrote: My guess is that they're running one of Cynogens Donut ROMs that hes' made available.

[android-developers] Re: Our app force closes on 1.6, Is SDK or image available yet?

2009-09-12 Thread chrispix
Ok, never mind. So the Google APIs are still on the 1.5 platform, The android 1.6 public SDK does not have the Google APIs 1.6. I am guessing that is my compile issue.. hrrm.. Any other thoughts? Chris. --~--~-~--~~~---~--~~ You received this message because you

[android-developers] Re: Soft keyboard in Fullscreen/extract mode

2009-09-12 Thread Dianne Hackborn
No, it is generally up to the IME to decide what it needs to do; you certainly can't guarantee that it won't go fullscreen, because it just may need to do so it have enough space to interact with the user. One thing you will want to do is use flagNoExtractUi to tell it that full extract mode is

[android-developers] Re: how can i refresh my adapter

2009-09-12 Thread Jack Ha
Try notifyDataSetChanged(). notifyDataSetInvalidated() will cause the entire content of ListView to disappear. -- Jack Ha Open Source Development Center ・T・ ・ ・Mobile・ stick together The coverage you need at the price you want The views, opinions and statements in this email are those of the

[android-developers] Re: Zoom of android

2009-09-12 Thread Jack Ha
Assuming you are referring to the MapView, the maximum zoom in level is 21 and the minimum is 1. -- Jack Ha Open Source Development Center ・T・ ・ ・Mobile・ stick together The coverage you need at the price you want The views, opinions and statements in this email are those of the author solely in

[android-developers] Re: Trouble with GLSurfaceView

2009-09-12 Thread Robert Green
Same here. I had problems until I put orientation in the configuration changes field of the manifest for the 3D activity. My app is also landscape. On Sep 12, 11:27 am, David Minor davemi...@gmail.com wrote: What do you mean by stops working? I had a problem with coming back from sleeping

[android-developers] HTC Magic as dev phone

2009-09-12 Thread dashman
i'd like to buy the HTC Magic for my dev phone - i don't want the physical sliding keyboard. with the HTC magic work as the dev phone. does HTC provide updated android updates for it. --~--~-~--~~~---~--~~ You received this message because you are subscribed to

[android-developers] Re: HTC Magic as dev phone

2009-09-12 Thread Mark Murphy
dashman wrote: i'd like to buy the HTC Magic for my dev phone - i don't want the physical sliding keyboard. with the HTC magic work as the dev phone. You can test SDK applications using an HTC Magic. does HTC provide updated android updates for it. Please contact your mobile provider for

[android-developers] Re: Hmm... at last ADC2 is out of our way ... tell about your app and experience

2009-09-12 Thread JoaJP
Not taking away from app functionality or presentation... inside vehicles you'll probably find that the earth magnetic field is disturbed to a degree that the compass readings are off for about any combination of device and vehicle. The ongoing proliferation of vehicles with electric propulsion

[android-developers] noob Question button functions

2009-09-12 Thread MarQuel Middleton
Hey im a new developer ans im having trouble with button functions i have a menu created but how do i give them functions so when there pressed they can actually do something? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google

[android-developers] Re: noob Question button functions

2009-09-12 Thread Mark Murphy
MarQuel Middleton wrote: Hey im a new developer ans im having trouble with button functions i have a menu created but how do i give them functions so when there pressed they can actually do something? If you implemented an options menu, override onOptionItemSelected() in your activity. If

[android-developers] Re: Trouble with GLSurfaceView

2009-09-12 Thread SChaser
On Sep 12, 9:27 am, David Minor davemi...@gmail.com wrote: What do you mean by stops working? When the application becomes visible again, everything is okay except that the GLSurfaceVIew is invisible. It's normal red background doesn't show, and none of the graphics objects are visible. Even

[android-developers] Re: Publishing Upgrades on Android Market ... Still Relevant?

2009-09-12 Thread Ken H
I noticed this error too. None of m installed apps have ever told me that a new version was in the Market. I always got a notice from the Android Market. On Aug 31, 7:13 am, Jason Van Anden jason.van.an...@gmail.com wrote: A developer's time is a terrible thing to waste. This really ought to

[android-developers] Re: noob Question button functions

2009-09-12 Thread MarQuel Middleton
Thank You!! On Sep 12, 3:01 pm, Mark Murphy mmur...@commonsware.com wrote: MarQuel Middleton wrote: Hey im a new developer ans im having trouble with button functions i have a menu created but how do i give them functions so when there pressed they can actually do something? If you

[android-developers] 1.5 Example GLSurfaceViewActivity.java fails after stop/resume

2009-09-12 Thread SChaser
I am having trouble with the example for use of GLSurfaceView (see http://developer.android.com/guide/samples/ApiDemos/src/com/example/android/apis/graphics/GLSurfaceViewActivity.html ). I created a normal Android project in the Eclipse IDE, added the GLSurfaceViewActivity class and related from

[android-developers] Context Menu

2009-09-12 Thread MarQuel Middleton
Im trying to set my application menus up and i cant seem to do it can someone help me out i would really appreciate it im real confused!! I just want to be able to press my exit button and it close the app or something of that nature. package com.example.menu; import android.app.Activity;

[android-developers] Re: 1.5 Example GLSurfaceViewActivity.java fails after stop/resume

2009-09-12 Thread SChaser
I take it back! Now it works (but my app doesn't - it has a big difference - see the discussion at http://groups.google.com/group/android-developers/browse_thread/thread/b1b97aa8e18e6b04. Go figure. I'd delete the thread if I could :-( On Sep 12, 3:08 pm, SChaser crotalistig...@gmail.com wrote:

[android-developers] Re: Trouble with GLSurfaceView (more info: works if only view, but not as one of several)

2009-09-12 Thread SChaser
More information: It works if it is the ONLY view on the page, as done by _surfaceView = new GLSurfaceView(this); setContentView(_surfaceView); However, if I make it part of the app framework, it fails as described above in this discussion: setContentView(R.layout.main); _surfaceView =

[android-developers] Re: Context Menu

2009-09-12 Thread Mark Murphy
MarQuel Middleton wrote: Im trying to set my application menus up and i cant seem to do it can someone help me out i would really appreciate it im real confused!! Here is a link to the menu documentation: http://developer.android.com/guide/topics/ui/menus.html There are many samples

[android-developers] Signed vs. Unsigned

2009-09-12 Thread Ken H
Ok, stupid question time: what's the difference being Export Signed Application Package and Export Unsigned Application Package? Under 'Signing for Public Release' in the dev guide it says you must: 1. Compile the application in release mode 2. Obtain a suitable private key 3. *Sign* the

[android-developers] Android Market: Screenshot/Promo images heavily compressed. Images become ugly

2009-09-12 Thread Streets Of Boston
Is it just me or does anybody else notice as well that the images uploaded to ones Android Market's publishing site are heavily compressed. When I look at them after they're uploaded, i can clearly see ugly JPEG-compression artifacts. Is there a way to make sure that the quality of the images

[android-developers] Re: Signed vs. Unsigned

2009-09-12 Thread Jack Ha
Your app needs to be digitally signed. If you use Eclipse with the ADT plugin, skip to the Compiling and signing with Eclipse ADT section. Otherwise, follow the instructions to export an unsigned .apk and then sign it with jarsigner. -- Jack Ha Open Source Development Center ·T· · ·Mobile·

[android-developers] Re: Get the file path from a URI instance

2009-09-12 Thread Bill
Actually this doesn't work. On Sep 2, 11:38 am, Dianne Hackborn hack...@android.com wrote: I'm sorry, but did you even try looking at the documentation?  It's not given a tricky name: getPath().  (If you are meaning you have put a relative path in, and want to get an absolute one back, well

[android-developers] Re: Signed vs. Unsigned

2009-09-12 Thread Ken H
Thank you. That part is starting to sink in after reading it 10 times :) My next problem/question is this: when I fix some bugs in the app do I need to re-sign it? I just assumed I did, but when I do Export Signed Application Package, give it the password for the keystore (the keystore location

[android-developers] Re: Split Method

2009-09-12 Thread Jack Ha
Here is an example: String[] list = TextUtils.split(a:b:c, :); You need to import android.text.TextUtils like you said. -- Jack Ha Open Source Development Center ·T· · ·Mobile· stick together The coverage you need at the price you want The views, opinions and statements in this email are

[android-developers] Re: MediaRecorder does'n work with incoming calls stream

2009-09-12 Thread Eric Wong (hdmp4.com)
Read and comment here http://code.google.com/p/android/issues/detail?id=2117 Eric On Sep 12, 3:21 am, jsdf jasons...@gmail.com wrote: On Sep 6, 10:05 am, fritzZz franzi...@gmail.com wrote: I have founded some app that records incoming calls, how do they work? Are you sure they record

[android-developers] Re: Android Market: Screenshot/Promo images heavily compressed. Images become ugly

2009-09-12 Thread CraigsRace
Yes. I noticed that too. Both my screenshots were around 40Kb, however, when I viewed them they were compressed down to around 20Kb. I tried compressing one down to 19Kb then uploading it. When I viewed it, it actually went to 20Kb again. On Sep 13, 8:43 am, Streets Of Boston

[android-developers] Re: Get the file path from a URI instance

2009-09-12 Thread Dianne Hackborn
Doesn't work in what way? It is used all over the system -- for example this is how ContentResolver returns an InputStream to you from a file: URI: return new FileInputStream(uri.getPath()); On Sat, Sep 12, 2009 at 5:00 PM, Bill wrobb...@gmail.com wrote: Actually this doesn't

[android-developers] Re: Signed vs. Unsigned

2009-09-12 Thread Ken H
I think I got it figured. I just have to do it the way the dev guide says do it -- create a key in the keystore and apply that to the application. I'm new to the whole signing thing and using the Export Signed Application Package confused me because there is no keystore created (at least not one

[android-developers] Re: Lesson from ADC2 - Polish Your App!

2009-09-12 Thread gjs
Hi, I also agree with these sentiments, getting the polish compromise right is one of the hardest most time consuming parts of this type of app development. Aspiring to have or development some the skills of a graphic designer is challenging in itself. To me its a triple constraint for which

[android-developers] Re: appending video files

2009-09-12 Thread Marco Nelissen
You can't just concatenate multiple video files like that. On Sat, Sep 12, 2009 at 7:07 AM, JoyLakh sivarajend...@gmail.com wrote: Dear All, My intention is to add pause and resume functionality to my video recording app, for which on selecting pause I am releasing the recorder and on

[android-developers] GL DEBUG_CHECK_GL_ERROR throwing UnsupportedOperationExceptions for things that work

2009-09-12 Thread Robert Green
I'm confused by this. I turned on DEBUG_CHECK_GL_ERROR for my GLSurfaceView to try to figure out why I'm having a problem on pause/ resume/reload everything, and when I turned it on, I got an UnsupportedOperationException when calling GL11.glGenBuffers() (for creating Vertex Buffer Objects).

[android-developers] Re: SearchManager

2009-09-12 Thread Jack Ha
Specify something like this in your AndroidManifest file: activity android:name=ActivityA intent-filter action android:name=android.intent.action.MAIN/ category android:name=android.intent.category.LAUNCHER/ /intent-filter

[android-developers] Re: GL DEBUG_CHECK_GL_ERROR throwing UnsupportedOperationExceptions for things that work

2009-09-12 Thread Robert Green
After looking through the Cupcake source tree, I found that in projects / platform/frameworks/base.git / tree [platform/frameworks/base.git] / opengl / java / android / opengl / It appears as though when I enable DEBUG_CHECK_GL_ERROR, GL gets wrapped with GLErrorWrapper which extends

[android-developers] Re: MediaRecorder does'n work with incoming calls stream

2009-09-12 Thread Dianne Hackborn
It's kind-of pointless to request this in the bug, because most of the current hardware Android runs on simply doesn't support this -- as far as I know, the standard Qualcomm chipset does all of the phone audio handling in the baseband, and the application processor running Android has no access

[android-developers] OpenGL SegFaults after GLSurfaceView onPause/onResume

2009-09-12 Thread Robert Green
On my G1 running standard 1.5. I'm using an activity with the content view being a GLSurfaceView. When the activity onPause is called, it calls onPause on the glsurfaceview When the activity onResume is called, it calls onResume on the glsurfaceview When the renderer's onSurfaceChanged is

[android-developers] Re: MediaRecorder does'n work with incoming calls stream

2009-09-12 Thread Chris Stratton
I dont think the baseband firmware is exactly mask programmed, so the technical challenge is probably conquerable unless the audio really never passes in reach of that cpu either (even on its way to/from the bluetooth - that something may usually be done via peripheral to peripheral dma does not

[android-developers] Re: KXML and Android

2009-09-12 Thread JavaNut
I did some more searching. The KXML classes are in dalvik/libcore, and they are not in android.jar, and thus they are not visible to me as an app developer. Of course they are used internally for various things. Is there some way to use classes in libcore? Or are those separated, and I

[android-developers] Re: OpenGL SegFaults after GLSurfaceView onPause/onResume

2009-09-12 Thread CraigsRace
Not too sure about GLSurfaceView (I'm still using EGLContext.getEGL () ... ). However, I use the surfaceDestroyed and surfaceCreated methods to flag a cleanup or reload of the textures. This works ok (Ie: If a phone call occurs during the game, the user can continue after the call), however, I

[android-developers] Re: KXML and Android

2009-09-12 Thread Lance Nanek
I see a generic XML Pull Parser in the public APIs. Is that good enough? For example, copying the XML Pull Parser example out of this reference page, putting it into an Activity subclass, and tweaking the exception handling and output method seems to work fine for me:

[android-developers] Re: OpenGL SegFaults after GLSurfaceView onPause/onResume

2009-09-12 Thread Robert Green
Well I figured out what is was. My fault, of course. I messed up on one of the texture re-inits and skipped it, causing the bind call to bind to -1, which apparently crashes OpenGL well :) The moral of the story - Don't bind to textureId -1. :) The other moral - debug more before assuming it