[android-developers] Re: Recording Audio

2009-02-26 Thread MMF
Hi Dave, If I record using this Soundrecorder app, it creates a .3gpp file. But this file is not getting listed in the Music app. I have tried restarting the emulator. Any idea what could be the reason for this? Thanks ~ On 2/27/09, Dave Sparks wrote: > > I confess, I don't write much Java cod

[android-developers] Re: Dev Phone and RC33 update

2009-02-26 Thread Al Sutton
JBQ, You can do both (after all apps on Windows, DOS, Linux, etc., etc., etc. have been doing this for years). The solution we offer at http://andappstore.com/AndroidPhoneApplications/licensing.jsp works irrespective of whether the 'phone is rooted, non-rooted, copied, spun dry, etc., etc.,

[android-developers] Re: paid app update problem

2009-02-26 Thread Jon Colverson
On Feb 26, 8:05 pm, sagesmith wrote: > If this is a market issue we are f*#%ed. http://www.google.com/support/forum/p/Android+Market/thread?tid=3649cbfff80c65be&hl=en -- Jon --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google

[android-developers] Phone number

2009-02-26 Thread Suman
Hello Thanks for reply. Can anyone tell me how can i get the phone number from where sms is sended. Well i have got the body of sms by this coding. Uri uri = Uri.parse("content://sms/inbox/"); String[] columns = new String[]{"body"}; Now pl

[android-developers] Re: Can I pull a paid app from the Android Market?

2009-02-26 Thread Al Sutton
As I understand the T&Cs as long as the user is not affected then you should be fine. The only problem is I don't know if pulling the app from Market will force an uninstall on users devices. Al. Stoyan Damov wrote: > Hi, > > It's been a week of non-stop issues and extremely unprofessional > s

[android-developers] Re: Bitmap.comrpess() failing with PNG images?

2009-02-26 Thread Shadakshari Hiremath
http://developer.android.com/guide/appendix/media-formats.html Refer above link. It says only JPEG encoder is supported. Only decoder is supported for GIF, PNG & BMP. BR, Shaddu On 27/02/2009, Rohit wrote: > > For PNGs that field is jhust ignored - so says the Android > documentation > > Rohit

[android-developers] G1 usb drivers for Fedora 9

2009-02-26 Thread Android
Has anyone tried to connect the G1 Android phone on Fedora 9. Is it required to install the USB drivers or not, if yes then where i will find the drivers. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Dev

[android-developers] Re: Recording Audio

2009-02-26 Thread Dave Sparks
I confess, I don't write much Java code (I work on the native media framework), so I could be wrong about this. This API looks promising though: Environment.getDataDirectory() Hopefully someone knowledgeable will correct me if I have steered you wrong. On Feb 26, 2:40 pm, benmccann wrote: > >>

[android-developers] sdcard file permissions for services

2009-02-26 Thread ATrubka
Hi, guys. I'm trying to download a file to sdcard. When I do it from Activity everything works fine. As soon as I run the same code from a service (which runs in :installerservice process) it complains about directories being write protected. My sdcard has the following permissions: d---rwxrwx s

[android-developers] Re: Why is the market listing my app as exactly twice the size of the APK I uploaded?

2009-02-26 Thread Robert Green
Ouch! That seems like a horribly inefficient way to do it! Perhaps I will shut off the copy protection until it's implemented better. On Feb 26, 11:03 pm, strazzere wrote: > Just a little more depth on it... > > If you look at what the copy protection is doing - it dumps your > normal .apk to

[android-developers] Re: how can i put the text of different size in the text view

2009-02-26 Thread jj
try this textview. setTextSize(int unit, float size) ; refer this for more text operation http://code.google.com/android/reference/android/widget/TextView.html --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Androi

[android-developers] Re: A big OpenGL speed issue + my code contribution to other OpenGL beginners

2009-02-26 Thread quakeboy
I have mentioned that I had tried shifting the whole OpenGL code to a new thread and still don't see any performance difference. May be I can try once again, but I strongly doubt any improvement is gonna be there. Does any one know about the fill rate limitations ?? But As you can see I don't eve

[android-developers] Re: Problem with Canvas drawArc

2009-02-26 Thread Marco Nelissen
Not sure if this is the cause of your problem, but the arguments to the RectF constructor are supposed to be left, top, right, bottom, and you seem to be specifying left, top, width, height instead. On Thu, Feb 26, 2009 at 11:48 AM, xspotlivin wrote: > > I'm trying to create a customized clock

[android-developers] Re: A Icon(Symbol) in all activites in the application

2009-02-26 Thread sheik
Kindly look into this query...and please do reply...Thank you On Feb 27, 12:50 am, sheik wrote: > am referring Icon or Symbol to blue color pic in the label in activity > as show above in pic.. > > On Feb 27, 12:47 am, sheik wrote: > > > Hi, > >  i just found the google checkout  view from

[android-developers] Re: Why is the market listing my app as exactly twice the size of the APK I uploaded?

2009-02-26 Thread strazzere
Just a little more depth on it... If you look at what the copy protection is doing - it dumps your normal .apk to /data/app-private then puts a .zip in /data/app The .apk is your originally signed one - and the .zip is you manifest, resources and res folder. So that res folder basically doubles

[android-developers] Re: .dex files

2009-02-26 Thread Marco Nelissen
apk files are just zip files, so you can just unzip them to get to the files inside of them. On Thu, Feb 26, 2009 at 1:03 PM, crans wrote: > > i want to extract .dex files from apk file.cn any one help me out > > > > --~--~-~--~~~---~--~~ You received this messa

[android-developers] paid app update problem

2009-02-26 Thread sagesmith
When we issued our first update for a paid app, it bombs the minute a user downloads, install and tries to run. New users have no problems. For awhile I thought it was something we were doing as developers, but I'm reading descriptions of very popular free games saying, "To updgrade uninstall an

[android-developers] size of statusbar

2009-02-26 Thread Bonifaz
Hi all! Could please anyone tell me how to get the size (in particular the hight) of the statusbar or even the size of the free display area below. Display.getHeight() returns the entire display height, but I need to know excacly how much space is left. Hence, display.getHeight()-statusbar.getHe

[android-developers] .dex files

2009-02-26 Thread crans
i want to extract .dex files from apk file.cn any one help me out --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To

[android-developers] permission denied error

2009-02-26 Thread bhavani.mat...@gmail.com
Hi, While Android is booting, I am getting permission denied error from an application. Here is a snip of the log. Hi, While Android is booting, I am getting permission denied error from an application. Here is a snip of the log. 01-06 00:04:04.480 I/ActivityManager( 849): Start proc co

[android-developers] Problem with Canvas drawArc

2009-02-26 Thread xspotlivin
I'm trying to create a customized clock that will highlight certain intervals that I choose (like a pie slice). I'm trying to use the drawArc command for the Canvas class. However, it will only draw arcs of 360 degrees or more (full circles). I'd like to draw arcs of about 15 to 20 degrees or so.

[android-developers] How to detect SMS sending?

2009-02-26 Thread Geos
Please help. Who knows how to detect SMS sending from the phone? I saw a lot of posts about android.provider.Telephony.SMS_RECEIVED but it's only for SMS receiving. May be You can suggest some forums where I can ask specialist from Google about it? Thank You. --~--~-~--~~---

[android-developers] Re: Android 1.1_r1 SDK released and developer.android.com launched

2009-02-26 Thread angel
http://tinyurl.com/cuj4rw Hey I like what google is doing and I would like to be your friend if you do not mind http://tinyurl.com/cuj4rw On Feb 10, 7:01 am, "Dr. Disintegrator" wrote: > Sorry if this is a newbie question, but how do I update the firmware > in my Android Developer G1 phone to v

[android-developers] permission denied error

2009-02-26 Thread bhavani.mat...@gmail.com
Hi, While Android is booting up, one of the application is throwing following error message. Here is a snip of log. 01-06 00:04:05.350 W/ActivityManager( 849): Permission Denial: getIntentSender() from pid=1023, uid=10017, (need uid=1000) is not allowed to send as package android 01-06 00:04

[android-developers] Re: Does anyone use the tool "oprofile" in the open source code

2009-02-26 Thread Konig.Yuan
(1) opcontrol --setup, if it failed, the oProfile is not built in your android kernel. you need to enable the CONFIG_OPROFILE=y CONFIG_PROFILING=y CONFIG_OPROFILE_ARMV6=y (2) If the opcontrol --setup successed. cat /dev/oproflie/cpu_type check whether it is arm/armv6 Seems google

[android-developers] Re: TERRIBLE BUG IN MARKET APPLICATION (was Re: Paid apps related questions discussion list?)

2009-02-26 Thread sagesmith
I assumed that this was our problem, that maybe our update was not taking care of our existing users somehow. I thought this because any downloaded updates would render the application unusable on initial launch. Any *new* users have no problems though. I am frustrated because everything is wor

[android-developers] Re: Are there any 5-star apps out there?

2009-02-26 Thread sagesmith
User are judging app based on the fact that they can't download them. Google's response is that this is a democratic process. As if the apps rating has anything to do with the poor service experienced in the Market. It is clearly a dictatorship Google and T-Mobile are running! On Feb 26, 1:09 p

[android-developers] Assuming Developers are Pirates

2009-02-26 Thread Eric Veenendaal
I just wanted to start a thread expressing my displeasure with the choice to block copy-protected apps from being made available to ADPs. The thing that drew me to the android platform was the fact that it had such a lower barrier to entry. I can't afford to have two phone plans going. The idea

[android-developers] exteract .dex files from apk file

2009-02-26 Thread crans
can any one help me out to extract source code from apk file through eclipse --~--~-~--~~~---~--~~ 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@googlegr

[android-developers] Customizing layout of CHOICE_MODE_MULTIPLE lists

2009-02-26 Thread Grindah
Hi! I've been fiddling around with the android lists trying to customize the layout of the items I put in my choice-multiple list. The default layout for this is the following: myItem[ ] myItem[x] myItem[ ] but I want to put the checked/unchecked item in front of myItem like this:

[android-developers] extraction

2009-02-26 Thread crans
any one can help me how to extract code from apk file . --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscri

[android-developers] how can i put the text of different size in the text view

2009-02-26 Thread logic
i am making an application where i want some words to be of different size or when the user touches thy become of differnet size. how can i do that ? ? ny idea ? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Andro

[android-developers] Problem with Canvas drawArc

2009-02-26 Thread xspotlivin
I'm trying to create a customized clock that given certain input will highlight a certain section of the clock (e.g. draw pie shapes highlights on top of the clock). Here's my problem: I'm trying to use drawArc in the Canvas class. I am able to draw 360 degree arcs, but nothing shows up when I d

[android-developers] Re: Adding icon to a contextMenu

2009-02-26 Thread Guillaume
Hi GiladH, I have the same problem than you. But after some investigations, I have found that Context menus do not support item shortcuts, item icons, and sub menus. For a more detailed description on what do Context menus support, you can go to: http://developer.android.com/reference/android/vi

[android-developers] Confused about system services / processes / applications

2009-02-26 Thread stefoid
Hi, Im currently trying to put together an idea of how WindowManagerService works - who it works with and how it works. WindowManagerService is a system service - running in the system process I suppose. So it needs IPC to interact with applications. On the application side we have ViewRoot whi

[android-developers] Re: How to rotate my view

2009-02-26 Thread nderraugh
Woops. Throw a super(c); into the onDraw and you should be there, in terms of the drawing of the view anyway. On Feb 26, 10:59 pm, nderraugh wrote: > I'm trying to do the same thing with a SeekBar subclass.  But I'm not > having much success either.  Here's my code. > > import android.content.C

[android-developers] Re: Why is the market listing my app as exactly twice the size of the APK I uploaded?

2009-02-26 Thread Jean-Baptiste Queru
copy-protection doubles the amount of size needed to store the app on the device indeed. JBQ On Thu, Feb 26, 2009 at 8:19 PM, Robert Green wrote: > > For Wuzzle, the signed trial APK is 878KB and the signed full game APK > is 934KB. I do have copy protection turned on for both and it did say >

[android-developers] Re: Go to the home screen.

2009-02-26 Thread IPEG Student
On 2/27/09, Dianne Hackborn wrote: > > And for heaven's sake don't call System.exit()! > > On Thu, Feb 26, 2009 at 10:50 AM, Marco Nelissen wrote: > >> >> On Thu, Feb 26, 2009 at 5:26 AM, Zack wrote: >> > >> > Hi, >> > >> > I'm trying to do something similar. I have a few activities in my app. >>

[android-developers] Re: Long click on Button

2009-02-26 Thread madcoder
You could use a timer to incrementally increase the number. I don't know if there is a method for this already. Shouldn't be too hard to do. On Feb 26, 4:06 pm, Manfred wrote: > Hi! > > I want, that when the user clicks on a button, a textfield with a > number will increase or decrease. But t

[android-developers] Why is the market listing my app as exactly twice the size of the APK I uploaded?

2009-02-26 Thread Robert Green
For Wuzzle, the signed trial APK is 878KB and the signed full game APK is 934KB. I do have copy protection turned on for both and it did say it would increase the space needed. I figured that meant it would add an extra 10KB or something reasonable. They are listed on the market as being 1.71MB

[android-developers] Re: How to Thump? Name of Haptic Trigger.

2009-02-26 Thread madcoder
I believe your on to something here. The Labyrinth Lite version doesn't ask for permission for vibrate, only internet access and system tools - prevent sleep. So where is the vibration coming from? Also, it seems the harder the ball hits, the stronger the (mini-)vibration. I would like to know

[android-developers] Emulator: clearing apps out of cache

2009-02-26 Thread Breezy
When I run the emulator I find that sometimes I will make a change, run to see what's going on and there will be no change. Like the app is cached and it's just re-running the old file. I double checked to ensure it's saved, but no luck. How do I overcome this? Is it because when I shut the em

[android-developers] Re: When do I need a new Activity?

2009-02-26 Thread madcoder
I didn't like the 'activity' concept when I first started using Android. However, it's grown on me well.Activities themselves are their own encapsulated parts of the application and makes debugging much easier. It is a pain at first to figure out how to destroy/ recreate activities, but afte

[android-developers] Re: How to rotate my view

2009-02-26 Thread nderraugh
I'm trying to do the same thing with a SeekBar subclass. But I'm not having much success either. Here's my code. import android.content.Context; import android.graphics.Canvas; import android.util.AttributeSet; import android.widget.SeekBar; public class SlideBar extends SeekBar { pub

[android-developers] Re: Android presentation backgrounds

2009-02-26 Thread madcoder
If you're not releasing the presentation content, and just using it for a private demonstration in your company, you might do this: Google Image Search "google android wallpaper" Otherwise Google has some wallpapers (about three, I think) on their website available for download. http://code.go

[android-developers] Change Theme by preferences

2009-02-26 Thread Ivan Soto
Hi, I'm trying to give an option to users to be able to change the theme to the light one. I can't find any command or anything for this. I know I can set this in the Manifest file but this is not what I'm looking for. Thanks in advance. --~--~-~--~~~---~--~~ You r

[android-developers] Re: Go to the home screen.

2009-02-26 Thread Dianne Hackborn
And for heaven's sake don't call System.exit()! On Thu, Feb 26, 2009 at 10:50 AM, Marco Nelissen wrote: > > On Thu, Feb 26, 2009 at 5:26 AM, Zack wrote: > > > > Hi, > > > > I'm trying to do something similar. I have a few activities in my app. > > When the app starts it goes from > > > > EULA ->

[android-developers] Re: surffaceHolder.lockCanvas(dirtyRect) help?

2009-02-26 Thread Dianne Hackborn
Actually it's RGB_565, but yeah this is the format of the G1 screen so you really really want to work with things in that format when possible. On Thu, Feb 26, 2009 at 1:37 PM, Sarnoth wrote: > > I've been playing around with various drawing techniques myself and > came across a few things that

[android-developers] Re: how to install .apk to hardware board as app

2009-02-26 Thread susanner
Thanks dilirao malipeddi again: I finally got the reason why my .apk can't be finded, I use android tools:export unsigned application package, and then I didn't sign it. Because I have no intention to release it , i should just copy the .spk file bin/Mediaplayer.apk , this apk file has been s

[android-developers] Re: Mime Type : how does it works ?

2009-02-26 Thread Dianne Hackborn
Sorry, we currently don't really support matching based on file extensions. On Thu, Feb 26, 2009 at 3:52 PM, Nanard wrote: > > Hi, > > I have search on this list & beginners' list, in anddev.org, ... no > clear and full example. > > I would like to run my app when a file extention is selected (f

[android-developers] Re: Is there any interface for setting Z order of View

2009-02-26 Thread Dianne Hackborn
You Z-order it with the other views in your view hierarchy the same way as you do with a regular view, by how you place it in the view hierarchy. The only limitation is a SurfaceView is opaque, so you can't see what is behind it, and this will never change any time soon. On Sun, Jan 4, 2009 at 12

[android-developers] Re: how to install .apk to hardware board as app

2009-02-26 Thread susanner
oh,sorrry , i didn't look at http://code.google.com/android/devel/sign-publish.html it describes this issue very clearly. 在2009-02-27,susanner 写道: thanks dilirao malipeddi, must I sign it to run on my hardware board?may I just run unsigned .apk? 在2009-02-24,"dillirao malipeddi" 写道: use

[android-developers] Re: Android Layout Tricks #1 problem

2009-02-26 Thread Spencer Riddering
Oh, my bad. I just noticed one difference. I copy/pasted the contents of the RelativeLayout but not the RelativeLayout itself :) Apparently android:layout_height="wrap_content" isn't a good choice in this case. The RelativeLayout's height must be a fixed height like: android:lay

[android-developers] Re: how to install .apk to hardware board as app

2009-02-26 Thread susanner
thanks dilirao malipeddi, must I sign it to run on my hardware board?may I just run unsigned .apk? 在2009-02-24,"dillirao malipeddi" 写道: use In Eclips right click on the Apidemos choose android tool -> Export Unsigned Application Package and sign the apk file and install it on device

[android-developers] Reusing HttpUrlConnection fails with GZIPInputStream?

2009-02-26 Thread thrusty
I've run into a problem reusing HttpUrlConnection I am using URL.openConnection.getInputStream to get an input stream and then creating a new GZIPInputStream from this input stream. This works great for the first HTTP request/response; however, on the second HTTP response, it appears that the Ht

[android-developers] TextView autoLink problem

2009-02-26 Thread ericsk
Hi, I have a problem on the autoLink property on TextView. I created a ListView (X) and implemented an list adapter (Y) to render my custom layout like this: http://schemas.android.com/apk/res/ android" android:orientation="horizontal" android:layout_width="fill_parent" android:layo

[android-developers] Re: Dev Phone and RC33 update

2009-02-26 Thread Jean-Baptiste Queru
The problem is that you're fighting between two conflicting goals here: -the need to have a root-capable debuggable and custom-flashable device like the ADP1 for application development. -the need to have a non-root-capable non-debuggable non-custom-flashable device like a consumer device in ord

[android-developers] Re: Dev Phone and RC33 update

2009-02-26 Thread Steve Barr
> On Thu, Feb 26, 2009 at 1:48 PM, vendor.net wrote: > > JBQ, will ADP1 support copy-protected apps in the future? On 2/26/09, Jean-Baptiste Queru wrote: > I'd say that the current design would make this hard, but I have no > visibility over what the future plans might be. I think a lot of

[android-developers] Re: Is there any interface for setting Z order of View

2009-02-26 Thread Link
facing the same problem On Jan 4, 4:17 pm, Gameboy wrote: > Thereis only few words in the api doc of class SurfaceView: The > surface isZordered.. > > IsthereanyinterfaceforsettingZorderofView? --~--~-~--~~~---~--~~ You received this message because you are su

[android-developers] Re: Can I pull a paid app from the Android Market?

2009-02-26 Thread Stoyan Damov
Thanks Jon! I completely forgot to look at the agreement, sorry. Cheers On Fri, Feb 27, 2009 at 1:08 AM, Jon Colverson wrote: > > On Feb 26, 10:29 pm, Mattaku Betsujin > wrote: >> I wonder about that too. If I purchased an app, and then delete it due to >> lack of space, I suppose I can come

[android-developers] Re: Dev Phone and RC33 update

2009-02-26 Thread Ivan Soto
Completely agree also. I'm still in a WTF mood for the restriction of selling applications outside the states. I don't get the point of selling Dev1 phones to Canada but not allowing us to sell applications. I really feel like "Ok, go ahead and play with the SDK, pay around $550 to get into develop

[android-developers] Re: OpenGL: how to use gluUnProject on Android?

2009-02-26 Thread Streets Of Boston
Here is the code. This code uses arrays that are declared static (less memory allocations). It is not thread-safe at all. You could infer the thread- safe version of this method through the comments. private static final float[] _tempGluUnProjectData = new float[40]; private static final int

[android-developers] Mime Type : how does it works ?

2009-02-26 Thread Nanard
Hi, I have search on this list & beginners' list, in anddev.org, ... no clear and full example. I would like to run my app when a file extention is selected (from web browser, file browser, mail, ... : from everywhere in Android) So : can I have a clear example of Manifest/xml and Java code to

[android-developers] Re: Bitmap.comrpess() failing with PNG images?

2009-02-26 Thread Rohit
For PNGs that field is jhust ignored - so says the Android documentation Rohit On Feb 26, 1:59 pm, mark.ka...@gmail.com wrote: >   PNGs are based on vector graphics instead of raster graphics which > are used ny .jpeg, I don't think compression will work on vector > graphic files.Vector graphic

[android-developers] Re: Can I pull a paid app from the Android Market?

2009-02-26 Thread Jon Colverson
On Feb 26, 10:29 pm, Mattaku Betsujin wrote: > I wonder about that too. If I purchased an app, and then delete it due to > lack of space, I suppose I can come back later and reinstall it for free. > But if the publisher pulls the app, I will be out of luck? >From the Developer Distribution Agree

[android-developers] Re: Dev Phone and RC33 update

2009-02-26 Thread vendor.net
Totaly agree. This is funny! I believed in google and still believe. I was so excited about android and ADP1 and the opurtunity to explore competitors apps and code mine, but now I can`t do that. I still believe that goolge will come with some solution. And there is one more big issue: install app

[android-developers] Re: "Waiting for debugger" in release version of an application

2009-02-26 Thread Alec
Hi you where correct, i managed to stumble upon the Dev Tools information. The Dev Tools is an application installed on the emulator. I did some reading, extractor the Dev Tools from the emulator by using the adb pull /system/app/Development.apk and then installed it onto my g1 using adb push Deve

[android-developers] Re: CheckBoxPreference onClick Problems (Really Easy)

2009-02-26 Thread Noam
Anyone? On Feb 25, 7:39 pm, Noam wrote: > Hello everyone, > I have a checkboxpreference called passProtect. > When the user clicks on it, I want it to run a method "someMethod". > How do I get it to do that? > > Thanks, > Noam. --~--~-~--~~~---~--~~ You received t

[android-developers] Re: Dev Phone and RC33 update

2009-02-26 Thread Jon Colverson
On Feb 26, 10:17 pm, Jean-Baptiste Queru wrote: > I'd say that the current design would make this hard, but I have no > visibility over what the future plans might be. I think the decision to restrict "copy-protected" apps on the ADP1 is very unfortunate. It's trivial to break the "protection" o

[android-developers] Re: My Log messages fails to appear on Logcat View

2009-02-26 Thread mathiastck
I find I can often just close the logcat view and re open it, without having to restart eclipse. On Feb 26, 4:10 am, PRATAP SOLAPUR wrote: > close the emulator n eclipse then restart both once againit'll > display the logs > > On Thu, Feb 26, 2009 at 2:47 PM, gganesh wrote: > > > hi , >

[android-developers] Re: BroadcastReceiver communicating with Activity?

2009-02-26 Thread Sylvain Wallez
Cormac McCarty wrote: > Is it possible to update a currently running activity from a > BroadcastReceiver? > > I want to update my activity from a BroadcastReceiver that runs > alongside it. When I run my app (from Eclipse), my activity starts. > When the BroadcastReceiver is triggered, it curren

[android-developers] Re: Recording Audio

2009-02-26 Thread benmccann
>> each application has its own private data directory / >> data/app-private/app-package. I believe your working directory is set >> to this directory by default Cool. So it sounds like I should just be able to use a relative path from the current location then. Unfortunately, I'm getting the f

[android-developers] Re: Bitmap Memory

2009-02-26 Thread mark . kahrl
I'm just saying there have been a number of threads on this issue, I've had out of memory problems when processing bitmaps, and so have many other developers. It looks to me like a bug IMHO. I hope this problem will be resolved at some point. On Feb 26, 2:02 pm, "bra...@gmail.com" wrote: > If

[android-developers] Re: Dev Phone and RC33 update

2009-02-26 Thread Sena Gbeckor-Kove
Thanks Jean-Baptiste. S On 26 Feb 2009, at 21:10, Jean-Baptiste Queru wrote: > > Indeed, copy-protected apps aren't offered on devices where the > copy-protection is known to be ineffective. > > JBQ > > On Thu, Feb 26, 2009 at 12:08 PM, Sena Gbeckor-Kove > wrote: >> >> I can't remember off

[android-developers] BroadcastReceiver communicating with Activity?

2009-02-26 Thread Cormac McCarty
Is it possible to update a currently running activity from a BroadcastReceiver? I want to update my activity from a BroadcastReceiver that runs alongside it. When I run my app (from Eclipse), my activity starts. When the BroadcastReceiver is triggered, it currently tries to start the activity (w

[android-developers] Re: Can I pull a paid app from the Android Market?

2009-02-26 Thread Mattaku Betsujin
I wonder about that too. If I purchased an app, and then delete it due to lack of space, I suppose I can come back later and reinstall it for free. But if the publisher pulls the app, I will be out of luck? Now I want my $.99 back! On Thu, Feb 26, 2009 at 1:19 PM, Stoyan Damov wrote: > > Hi, > >

[android-developers] Re: Dev Phone and RC33 update

2009-02-26 Thread vendor.net
So the users who have ADP1 and want to develop apps will be stuck and won`t have the chance to test the competitors apps? This is cruel... Jean-Baptiste Queru написа: > I'd say that the current design would make this hard, but I have no > visibility over what the future plans might be. > > JBQ >

[android-developers] Re: Dev Phone and RC33 update

2009-02-26 Thread Jean-Baptiste Queru
I'd say that the current design would make this hard, but I have no visibility over what the future plans might be. JBQ On Thu, Feb 26, 2009 at 1:48 PM, vendor.net wrote: > > JBQ, will ADP1 support copy-protected apps in the future? > > Jean-Baptiste Queru написа: >> Indeed, copy-protected apps

[android-developers] Re: Bitmap Memory

2009-02-26 Thread bra...@gmail.com
If that is the case then why does calling myBitmap.recycle not give me that memory back to use for the next time I go into an edit. On Feb 26, 4:59 pm, Romain Guy wrote: > BitmapFactory does NOT leak Bitmaps. > > A 2056x1536 opaque image requires 6 MB of RAM. An application has 16 > MB max. Do t

[android-developers] Re: Are there any 5-star apps out there?

2009-02-26 Thread mark . kahrl
Unless you're willing to purchase and give it 5 stars, I ain't saying which app it is! :) It's really just packaged content, so I don't plan on changing it until I update the content next year. On Feb 26, 1:51 pm, Stoyan Damov wrote: > What's your app, I'll be happy to give you a 1 * for no

[android-developers] Re: Bitmap Memory

2009-02-26 Thread Romain Guy
BitmapFactory does NOT leak Bitmaps. A 2056x1536 opaque image requires 6 MB of RAM. An application has 16 MB max. Do the math. On Thu, Feb 26, 2009 at 1:50 PM, wrote: > > >  Are you using BitmapFactory? There have been a number of threads > about memory leaks, or similar problems when using Bi

[android-developers] Re: Bitmap.comrpess() failing with PNG images?

2009-02-26 Thread mark . kahrl
PNGs are based on vector graphics instead of raster graphics which are used ny .jpeg, I don't think compression will work on vector graphic files.Vector graphic files have there own compression , which is based on graphic primitives instead of rasters/pixels. PNG's should more fairly compact to

[android-developers] Re: DEV PHONE IN ASIA

2009-02-26 Thread mark . kahrl
Should work with any SIM card, but you will probably have to add an APN entry for your carrier. That's the beauty of GSM, it is truly a global standard. Mark On Feb 25, 5:46 am, Joo wrote: > Hello developers, > I am planning to buy a dev phone in singapore and I live in Ind

[android-developers] Re: Are there any 5-star apps out there?

2009-02-26 Thread Stoyan Damov
What's your app, I'll be happy to give you a 1 * for not being able to upgrade it :P I just go the next "Went from a 5 to a 3 star rating b/c it force closes so freakin much...". So don't update your app, whatever bugs it might have they could wait for Google to fix theirs... Cheers On Thu, Feb

[android-developers] Re: Bitmap Memory

2009-02-26 Thread mark . kahrl
Are you using BitmapFactory? There have been a number of threads about memory leaks, or similar problems when using BitmapFactory to process bitmaps. Using Bitmap.recycle may mitigate, but not eliminate these types of problems. M On Feb 26, 11:39 am, Mattaku Betsujin wrote:

[android-developers] Re: getting android_id from GoogleLoginServiceBlockingHelper?

2009-02-26 Thread Dan Bornstein
On Thu, Feb 26, 2009 at 12:15 PM, strazzere wrote: > Here is a small snippet; [...] I'm sorry to harp on this, but please provide a complete, *compilable* and *runnable* example, along with what you actually observed when running it (e.g., log output) I don't doubt that you are seeing a problem

[android-developers] Re: Dev Phone and RC33 update

2009-02-26 Thread vendor.net
JBQ, will ADP1 support copy-protected apps in the future? Jean-Baptiste Queru написа: > Indeed, copy-protected apps aren't offered on devices where the > copy-protection is known to be ineffective. > > JBQ > > On Thu, Feb 26, 2009 at 12:08 PM, Sena Gbeckor-Kove wrote: > > > > I can't remember of

[android-developers] Re: surffaceHolder.lockCanvas(dirtyRect) help?

2009-02-26 Thread Sarnoth
I've been playing around with various drawing techniques myself and came across a few things that might help you (and others). It seems that the preferred color mode of the G1 is RGB_454 if you don't specify another type for your surface, and it runs much faster in this mode. When drawing on such

[android-developers] Re: Bitmap Memory

2009-02-26 Thread bra...@gmail.com
The bitmap is a standard large size image as per taken from the camera. I can generate the screen size image using similar code to the gallery. The problem is that I want to save the final image at normal size (2056x1536, hell I would even settle for 1024x768). To do that I need to create a second

[android-developers] Re: Are there any 5-star apps out there?

2009-02-26 Thread mark . kahrl
I'm proud to say my app currently has a five star rating, unfortunatley have only had 2 sales so far. At least I have a day job doing Android development. Mark On Feb 26, 10:09 am, Mattaku Betsujin wrote: > It seems like the Market's rating system usings floor() inste

[android-developers] Re: SoundPool working correctly yet?

2009-02-26 Thread burton miller
i use soundpool heavily - and i have found that using a combination ofo mediaplayer - for one-shot, non-looping sounds, and soundpool only for sounds that need to vary in pitch and volume on the fly is working pretty well. if i didn't need to vary my sounds on the fly, then i would use only media

[android-developers] Re: "Waiting for debugger" in release version of an application

2009-02-26 Thread Alec
I sent to apk to my friend and he tested it and could use the application perfectly. by configured with Dev tools, what do you mean, apologies i just dont understand this part and googling Android Dev tools doesnt yield any results. I debug from within eclipse, so im not sure how to access the De

[android-developers] Re: strange adb logcat

2009-02-26 Thread fadden
On Feb 25, 9:16 pm, jj wrote: > In my logcat following messages, anybody clear me what is meaning of > thismesg > > D/dalvikvm(  245): DexOpt: 'Lorg/xmlpull/v1/XmlPullParser;' has an > earlier definition; blocking out > D/dalvikvm(  245): DexOpt: 'Lorg/kxml2/io/KXmlParser;' has an earlier > defin

[android-developers] Re: "Waiting for debugger" in release version of an application

2009-02-26 Thread fadden
On Feb 26, 1:27 am, Alec wrote: > hmm, well im on the 1.0 sdk, but i dont understand what you mean by > dev tools on the phone. does this mean the end user of my application > would need to go through the same proceedure? or is my phone > configured the app to wait for the debugger? My understan

[android-developers] Re: Will ADP1 support payed apps from the store

2009-02-26 Thread Inderjeet Singh
Because on a phone with root access, you can easily copy a copy-protected.apk file and that would defeat the purpose of copy-protection. A developer who wants to reach a broader segment of the market should not use the copy-protection feature. Inder On Thu, Feb 26, 2009 at 10:39 AM, somatt wro

[android-developers] Can I pull a paid app from the Android Market?

2009-02-26 Thread Stoyan Damov
Hi, It's been a week of non-stop issues and extremely unprofessional silence from Google (other than the poster saying "Just to let you know we're looking into this", and I'm considering staying for another week max and then pulling out my paid app from Market. Actually I'd pull the free one as w

[android-developers] Re: Excessive JNI global references (2001)

2009-02-26 Thread fadden
On Feb 26, 6:58 am, sukumar wrote: > I was trying to read all Contacts field one by one and generated a v- > card and store it into a database. When I have a huge number of > contacts (say more than 150),  while reading 155th contacts, I see my > application is getting killed and cat log say it b

[android-developers] Re: google dev phone

2009-02-26 Thread dm1973
Is it possible to use the dev phone without a SIM? I currently don't have a SIM with a data plan and would be happy to just use wifi. On Feb 26, 11:40 am, jman wrote: > Actually, if you are a T-Mobile customer, all you need to do is put in > your own SIM card and it will work.   There is no need

[android-developers] Re: Where can i see the Android applications and its price

2009-02-26 Thread Jon Colverson
On Feb 26, 7:06 pm, kamaraj subramanian wrote: > But i dont have G1 Phone. Is that possible to see what are the applications > available in market and how much cost it. ( through any website ) There is an unofficial Market browser here: http://www.cyrket.com/ -- Jon --~--~-~--~~---

[android-developers] Re: How can I create a custom composite widget in android

2009-02-26 Thread Greg Krimer
I think you just need to declare the android namespace. Try http://schemas.android.com/apk/res/ android" android:id="@+id/carousel_row_layout" android:gravity="left" android:layout_width="fill_parent"

  1   2   3   >