[android-developers] How is android's AlertDialog layout define?

2009-03-22 Thread Lucius Fox
Hi, How is android's AlertDialog layout define? Is there a layout.xml file corresponding to the AlertDialog? I have looked at AlertDialog implementation, But i don't figure out how that is being layout (e.g. the location of the button, the location of text) Where are they defined? And how can I

[android-developers] Re: Error code

2009-03-22 Thread Al Sutton
I used to work for a company where anyone who checked in code that broke the build and didn't fix it within a couple of hours had to buy a round of cakes or doughnuts for the dev team. Amazingly enough it reduced broken builds as opposed to increasing wastelines. Al. Jean-Baptiste Queru

[android-developers] Widgets as Video Overlay. How?

2009-03-22 Thread bestpriv...@googlemail.com
How can I place widgets such as buttons on top of a SurfaceView (Video). According to the reference this should be possible. But I have no idea how the xml file should look like. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the

Re: 回复: [android-developers] How to create a file on Android System?

2009-03-22 Thread 王心锋
U can use File object , then write data to SDCARD,that's ok. 2009/3/21 Dianne Hackborn hack...@android.com 2009/3/20 zypsg zhaoyongp...@gmail.com Do you mean that useopenFileOutput and openFileInput to save my persistent data ? Yes, and there are other methods for

[android-developers] Re: ImageView class Initialization

2009-03-22 Thread 王心锋
Do you wanna add the ImageView into Layout when start a Activity?? 2009/3/21 Chetan hackpal...@gmail.com I want to initialize ImageView class in Class which do not extends View. protected void onCreate(Bundle savedInstanceState) { // TODO Auto-generated method stub

[android-developers] Re: Widgets as Video Overlay. How?

2009-03-22 Thread bestpriv...@googlemail.com
You can use FrameLayout :-) --~--~-~--~~~---~--~~ 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 unsubscribe from this group, send email

[android-developers] List of BEST Companies

2009-03-22 Thread blue sea
if you want a List of BEST Companies check this link http://insurance-methods.blogspot.com/2009/03/life-insurance-2.html --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group,

[android-developers] Re: Getting a complete list of android native drawables

2009-03-22 Thread Mariano Kamp
+1 for written guide lines. Also I think it's a bad idea that every vendor can opt for its own look and feel and I hope they don't. However I am aware, that this ship has sailed. It still feels strange though to have an application platform that enables and encourages the deployement of 3rd party

[android-developers] List of BEST Companies

2009-03-22 Thread blue sea
if you want a List of BEST Companies check this link http://insurance-methods.blogspot.com/ --~--~-~--~~~---~--~~ 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] How to check if there are registered broadcast listeners?

2009-03-22 Thread Yuriy Olkhovyy
Is there a way to check before sending a broadcast (from a remote service) whether there are registered broadcast listeners? What I'd like to do is to send broadcasts only if there are registered listeners, otherwise make a toast. Does it make any sense?

[android-developers] Re: Retreivng data from internet source.

2009-03-22 Thread murphy
Thanks for the explanation. I found the files there alright so the code is working which is great. Now I need to access the files in the device to display their contents in a TextView in a screen. I've been trying to do something like this: String text = new String(istr);

[android-developers] Re: Retreivng data from internet source.

2009-03-22 Thread Mark Murphy
murphy wrote: Thanks for the explanation. I found the files there alright so the code is working which is great. Now I need to access the files in the device to display their contents in a TextView in a screen. I've been trying to do something like this: String text = new

[android-developers] Read package name from AndroidManifest.xml at runtime?

2009-03-22 Thread Carl Whalley
I'm trying to implement an About box. The PackageInfo class is great for this, but I see it needs a package name as an argument to instantiate it: PackageManager pm = getPackageManager(); String version = getString(R.string.about_unknown); try { PackageInfo pi =

[android-developers] Android Projects Promotion Pages Online

2009-03-22 Thread Gollum [www.aidiji.com]
Dear all, AiDiJi.com http://www.aidiji.com/ (http://www.aidiji.com) has brought online the Android projects promotion pages, where companies and individuals can release their Android software products. The pages are mainly targeted at the market of China, which as you know, has the population of

[android-developers] Re: How to check if there are registered broadcast listeners?

2009-03-22 Thread Marco Nelissen
On Sun, Mar 22, 2009 at 5:28 AM, Yuriy Olkhovyy y.olkho...@gmail.com wrote: Is there a way to check before sending a broadcast (from a remote service) whether there are registered broadcast listeners? What I'd like to do is to send broadcasts only if there are registered listeners, otherwise

[android-developers] Re: Retreivng data from internet source.

2009-03-22 Thread murphy
I'm using the code in this fashion: try{ URL myURL = new URL(http://www.indulec.ie/weather.txt;); URLConnection conn = myURL.openConnection(); conn.connect(); BufferedReader is = new BufferedReader(new InputStreamReader

[android-developers] Re: Retreivng data from internet source.

2009-03-22 Thread murphy
I've added in also the line FileInputStream fIn = openFileInput (news.txt); but I don't know what to do with it once I open it to be able to display it in my TextView in a new screen. On Mar 22, 3:59 pm, murphy howt...@hotmail.com wrote: I'm using the code in this fashion: try{            

[android-developers] Re: Retreivng data from internet source.

2009-03-22 Thread Mark Murphy
murphy wrote: I've added in also the line FileInputStream fIn = openFileInput (news.txt); but I don't know what to do with it once I open it to be able to display it in my TextView in a new screen. http://www.exampledepot.com/egs/java.io/ReadLinesFromFile.html -- Mark Murphy (a Commons Guy)

[android-developers] Re: How to find Jarsigner

2009-03-22 Thread Nox
Yes,but there is no jarsigner On 17 Mrz., 23:07, Sundog sunns...@gmail.com wrote: Look in you bin directory... On Mar 17, 11:18 am, Nox v.beh...@googlemail.com wrote: Hi everyone, I'm developing on Linux (Ubuntu 8.05) and I want to sign my app. I've already exported the application

[android-developers] Re: How to find Jarsigner

2009-03-22 Thread Nox
Is it possible to add Jarsigner to the bin directory, or to create it??? On 22 Mrz., 17:32, Nox v.beh...@googlemail.com wrote: Yes,but there is no jarsigner On 17 Mrz., 23:07, Sundog sunns...@gmail.com wrote: Look in you bin directory... On Mar 17, 11:18 am, Nox

[android-developers] How can an app own two langues (English and German)

2009-03-22 Thread Nox
Hi everyone, I've developed an app in English,but how can I add German to the same application??? Thanks in advance Viktor --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this

[android-developers] Re: How can an app own two langues (English and German)

2009-03-22 Thread Simon Depiets
2009/3/22 Nox v.beh...@googlemail.com: Hi everyone, I've developed an app in English,but how can I add German to the same application??? Thanks in advance Viktor Hi, you should put your strings in string.xml files values-en/strings.xml values-de/strings.xml Check

[android-developers] Re: How to find Jarsigner

2009-03-22 Thread Mark Fayngersh
probably in some directory resembling /opt/java/jdk/bin/jarsigner ...try adding that directory(or something closely resembling it) to path export PATH=$PATH;/opt/java/jdk/bin/ On Sun, Mar 22, 2009 at 12:37 PM, Nox v.beh...@googlemail.com wrote: Is it possible to add Jarsigner to the bin

[android-developers] Re: List of BEST Companies

2009-03-22 Thread Mark Fayngersh
nice try boosting your google adsense revenue, but imho, try something a bit less obvious. Cheers! On Sun, Mar 22, 2009 at 8:22 AM, blue sea redsea...@yahoo.com wrote: if you want a List of BEST Companies check this link http://insurance-methods.blogspot.com/ -- ~phunny.pha...@gmail.com

[android-developers] Re: How to display text just over ProgressBar?

2009-03-22 Thread Mark Fayngersh
Or, you can render a progressbar onto a Canvas and then Canvas.drawText() using relative positions. getHeighthttp://developer.android.com/reference/android/graphics/Canvas.html#getHeight()() and getWidthhttp://developer.android.com/reference/android/graphics/Canvas.html#getWidth() () On Sat, Mar

[android-developers] Re: Retreivng data from internet source.

2009-03-22 Thread murphy
I've got it working now, I used this code to finish it: FileInputStream fIn = openFileInput(news.txt); InputStreamReader isr = null; char[] inputBuffer = new char[255]; String data = null; try{ isr = new

[android-developers] Re: How to find Jarsigner

2009-03-22 Thread Nox
Unfortunately there is no Jarsigner!!! Can I find it in an other way? I need it urgent, because I want to publish my app. On 22 Mrz., 18:15, Mark Fayngersh phunny.pha...@gmail.com wrote: probably in some directory resembling /opt/java/jdk/bin/jarsigner ...try adding that directory(or

[android-developers] Re: How to find Jarsigner

2009-03-22 Thread Mark Murphy
Nox wrote: Unfortunately there is no Jarsigner!!! Can I find it in an other way? I need it urgent, because I want to publish my app. The jarsigner program is not from Android or the Android SDK. Your Java JDK should have come with it -- if it did not, try downloading and reinstalling the JDK

[android-developers] Re: How to check if there are registered broadcast listeners?

2009-03-22 Thread Dianne Hackborn
Unfortunately there isn't currently a complete way to achieve this, I don't think. You can use the PackageManager to do the same query the system does for all receiver components matching the broadcast intent, but this won't tell you about anyone who has used registerReceiver(). On Sun, Mar 22,

[android-developers] Re: Read package name from AndroidManifest.xml at runtime?

2009-03-22 Thread Dianne Hackborn
Could you explain more what you are doing? If you are doing an about box for yourself, you either already know your package name or you can use Context.getPackageName() to find the one you are using. I guess you could open your AndroidManifest.xml using the AssetManager and parse it, but there

[android-developers] Re: How is android's AlertDialog layout define?

2009-03-22 Thread Dianne Hackborn
The layout is an xml file, and an implementation detail. If you want to have your own kind of alert dialog, just subclass from Dialog and make it yourself. Given how customizable AlertDialog is (with the ability to stick in your own layouts and such), I think trying to do something beyond what

[android-developers] Re: How is android's AlertDialog layout define?

2009-03-22 Thread sm1
usually your layout is defined in an xml file (in res/layout) and in your Java-like Android code you can reference it so: d.setContentView(R.layout.dialog_view); where d is an instance of AlertDialog. and dialog_view.xml could contain: ?xml version=1.0 encoding=utf-8? RelativeLayout

[android-developers] Question regarding Rects

2009-03-22 Thread Mark Fayngersh
Is it possible to initiate a onClickListener on a Rect? Second question, how can i manually draw a button with using any xml. I tried creating a button then setting width, height, text, and then draw(Canvas). But it never appeared on the screen. Thanks! -- ~phunny.pha...@gmail.com

[android-developers] Re: How to find Jarsigner

2009-03-22 Thread Mark Fayngersh
https://jdk-distros.dev.java.net/ubuntu.html On Sun, Mar 22, 2009 at 2:46 PM, Mark Murphy mmur...@commonsware.comwrote: Nox wrote: Unfortunately there is no Jarsigner!!! Can I find it in an other way? I need it urgent, because I want to publish my app. The jarsigner program is not from

[android-developers] Re: Read package name from AndroidManifest.xml at runtime?

2009-03-22 Thread Carl Whalley
Beautiful: Context.getPackageName() was what I needed, thanks. I was just looking for a way to use the main package name without defining it again as a string resource - just so I could pass it into the pi call. -- Android Academy: http://www.androidacademy.com On Mar 22, 6:54 pm, Dianne

[android-developers] Re: Getting a complete list of android native drawables

2009-03-22 Thread sm1
excellent advice, thanks: So back to the whole issue of menu icons... if there are standard menu icons you want to use, I recommend just copying them out of the platform source and into your app, so you can make sure that the other icons you design remain consistent with them. the old UI

[android-developers] Draw a bitmap rotated onto another bitmap

2009-03-22 Thread William
My goal is the draw a bitmap onto another bitmap but rotated 90 degress. whats the most efficient way to do that. My current method is as follows which is horribly bad because it creates a new bitmap every time. //i am taking image and drawing it rotated onto image2 Matrix matrix =

[android-developers] Re: Draw a bitmap rotated onto another bitmap

2009-03-22 Thread William
sorry the code should be Matrix matrix = new Matrix(); matrix.postRotate(90); Canvas g = new Canvas(image2); g.drawBitmap( Bitmap.createBitmap(image, 0, 0, image.getWidth (), image.getHeight(), matrix, true) , 0, 0, null); On

[android-developers] Re: Draw a bitmap rotated onto another bitmap

2009-03-22 Thread William
i also have the same problem when I want to flip and image around, i have to create a new bitmap. is there a way to not have to create a new bitmap every time: renderMatrix.preScale((xFlipPic?-1:1), (yFlipPic?-1:1)); newbitMap = Bitmap.createBitmap(image, 0, 0, image.getWidth

[android-developers] handset error log

2009-03-22 Thread Bob
Hi, Is there a way for me to get an error report from my phone (not emulator) about why it is force closing? Thanks, Bob --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this

[android-developers] Re: handset error log

2009-03-22 Thread Mark Murphy
Bob wrote: Is there a way for me to get an error report from my phone (not emulator) about why it is force closing? With it plugged in via the USB cable, you do it the same way you would with the emulator -- adb logcat, DDMS, or the DDMS perspective in Eclipse. -- Mark Murphy (a Commons Guy)

[android-developers] Re: How is android's AlertDialog layout define?

2009-03-22 Thread Lucius Fox
Thank you for both of your answers. In the android source, it has: * If you * want to display a more complex view, look up the FrameLayout called body * and add your view to it: * * pre * FrameLayout fl = (FrameLayout) findViewById(R.id.body); * fl.add(myView, new

[android-developers] Re: When to setResult for onActivityResult

2009-03-22 Thread Tseng
On Mar 5, 11:11 am, Chronos g358279012044...@gmail.com wrote: @Tseng: I can't find this method - are you talking about class Activity ? Yes, the final() method is belongs to the activity class and you can override it and put your code there. That's how i did it in my activity class:

[android-developers] Where is the source code for Pictures app

2009-03-22 Thread yves...@gmail.com
I just downloaded Android source code, but I can't find the source for Pictures app. I did see Calculator code. Anyone know where I can find the Pictures or why it is not in the source code package? --~--~-~--~~~---~--~~ You received this message because you are

[android-developers] Re: How to find Jarsigner

2009-03-22 Thread Nmix
Just to add to Mark's suggestion, jarsigner is part of JDK but not part of JRE distributions. It may be that you downloaded the wrong package. It can be confusing since JRE includes keytool, but not jarsigner. You want JDK. On Mar 22, 2:46 pm, Mark Murphy mmur...@commonsware.com wrote: Nox

[android-developers] Re: A simple question regarding inter-process communication.

2009-03-22 Thread me tun
Yeah, I got my example above to work across processes with intents. I actually managed to send the soft keyboard character sequence and cursor position to another text edit view via a bundle in intent.PutExtra()... So basically, I can type in one application and have it appear in another one

[android-developers] Re: Where is the source code for Pictures app

2009-03-22 Thread Andrew Stadler
You'll probably get better results asking this question on the android-platform mailing list, as the gallery is part of the platform distribution, and folks on that mailing list are working on apps like that. On Sun, Mar 22, 2009 at 4:01 PM, yves...@gmail.com yves...@gmail.com wrote: I just

[android-developers] Alpha Buffer support on G1

2009-03-22 Thread Anton
Is it possible to generate an EGL Config with an alpha buffer on the G1? When I request a non-zero number of bits for the alpha buffer I can get a R5G5B5A1 or R8G8B8A8 visual, but neither of them renders correctly to the screen. I assume that's because the G1 only supports R5G6B5 visuals.

[android-developers] how to get the new center location on a map after user had dragged it?

2009-03-22 Thread frankylu
hello, does anybody know how to get the center latitue/lontitude on a map after user dragged the map's center point to a new location on their phone? There are plenty tutorials out there to show you how to get the new location after a user physically moved to another location, but how do I find

[android-developers] g1 version

2009-03-22 Thread eng.madr...@gmail.com
hi all, i have to develop an application using android sdk-1.1-r1 but there is many application which i can't to test it on the emulator ( applications related to the contents), so if there is a solution please help me on this situation. at the end of programming these applications i want to

[android-developers] Persistent Data using the Emulator

2009-03-22 Thread godsy...@gmail.com
I am running the emulator with the Eclipse IDE. I can't get basic persistent storage to work while running within the emulator. SharedPreferences mPrefs ; OnCreate() { mPrefs = getPreferences(MODE_PRIVATE); String teststring = mPrefs.getString(test, init value) ; } Then in

[android-developers] Re: Getting a complete list of android native drawables

2009-03-22 Thread selmo
Hmmm. Honestly, I found the screamingpengiun page far more helpful, even if it's unofficial and therefore possibly risky. The official list of resources is so terse and lacks any imagery that I find it mostly useless. It gives no more information than the editor's javadoc context completion

[android-developers] how do i get the center location after a user dragged their center point to another location on a map?

2009-03-22 Thread frankylu
hi sorry if I posted this for the second time. after a user dragged their centerpoint to another location on a map, I would like to have an event get called immediately after the user left their finger at the end location. How do I do that? Thanks

[android-developers] Why my application get Not granting permission warning when i install it by adb and AppsInstaller

2009-03-22 Thread Ling Yun
Hi, All guru I am a beginner for android development. I found my application always get Not granting permission warning when I install it by adb and AppsInstaller as following. 03-18 16:01:05.882: WARN/PackageManager(56): Not granting permission android.permission.CALL_PRIVILEGED to package

[android-developers] g1 version

2009-03-22 Thread eng.madr...@gmail.com
hi all, i have to develop an application using android sdk-1.1-r1 but there is many application which i can't to test it on the emulator ( applications related to the contents), so if there is a solution please help me on this situation. at the end of programming these applications i want to

[android-developers] Android SDK for 64 bit Linux?

2009-03-22 Thread Perty
Is there a chance that there may be a Android SDK for 64 bit distros? I'm running Fedora 11 Alpha 64 now and have a hard time finding a similar package that Ubuntu have ia32-libs as described in the installation notes. /Perty --~--~-~--~~~---~--~~ You received

[android-developers] Need help in finding screen coordinates of a view

2009-03-22 Thread kavitha
Hii All, I am developing a game in android and i want to capture screen coordinates of a view(ImageView) which is embedded in frame. Hierarchy is LinearLayout android android:layout_height=fill_parent android:layout_width=fill_parent RelativeLayout android:layout_height=fill_parent

[android-developers] Need help in finding screen coordinates of a view

2009-03-22 Thread kavitha
Hii All, I am developing a game in android and i want to capture screen coordinates of a view(ImageView) which is embedded in frame. Hierarchy is LinearLayout android android:layout_height=fill_parent android:layout_width=fill_parent      RelativeLayout android:layout_height=fill_parent

[android-developers] Re: How to find Jarsigner

2009-03-22 Thread kavitha
Hii All, I am developing a game in android and i want to capture screen coordinates of a view(ImageView) which is embedded in frame. Hierarchy is LinearLayout android android:layout_height=fill_parent android:layout_width=fill_parent RelativeLayout android:layout_height=fill_parent

[android-developers] PendingIntent problem

2009-03-22 Thread info+farm
Hello all, I have more than one notification in notifications area and each of them has the same intent with different extras in it. Once I start() a pending intent from the notifications, first intent is handled correctly and the extras received successfully on the next(called) activity.

[android-developers] Good place to look for freelance dev jobs?

2009-03-22 Thread 1.am.W1z4rd
Hi, does anybody know of any good places to look for freelance Android development jobs. I have been looking at places like getafreelancer.com, elance.com, etc, but I haven't been having much luck. Thanks for any advice you can give :-) bye.

[android-developers] Re: Where is the source code for Pictures app

2009-03-22 Thread Yves Liu
Thanks. On Sun, Mar 22, 2009 at 4:38 PM, Andrew Stadler stad...@gmail.com wrote: You'll probably get better results asking this question on the android-platform mailing list, as the gallery is part of the platform distribution, and folks on that mailing list are working on apps like that.

[android-developers] Re: Server Socket on Real Device

2009-03-22 Thread ndefo arnauld
hi, i am a student, and developp a application on android for my project in school.I use android release 1.1 and the android emulator.I would to use the socket in my application.I have use the package java.net.socket and java.iobut i don't have a success.My code is below.Please help me.I don't

[android-developers] Re: PreferenceScreen Close

2009-03-22 Thread Noam
Let me rephrase my question. I have two PreferenceScreens - A and B. In PrefScreen A, there is an option to go to B. When the user is on B, and then leaves B and goes back to A, I would want to run a certain method. Is there a way to do that? Thanks, Noam.

[android-developers] Re: PreferenceScreen Close

2009-03-22 Thread Mark Murphy
Noam wrote: Let me rephrase my question. I have two PreferenceScreens - A and B. In PrefScreen A, there is an option to go to B. When the user is on B, and then leaves B and goes back to A, I would want to run a certain method. Is there a way to do that? Implement onResume() in A. --

[android-developers] how to send data withGPRS

2009-03-22 Thread Arnauld NDEFO
Hi, i am a student and developpe an application with android.I don't use the real phone,only the android emulator.I want to know how i can use the GPRS with this emulator.I have tested to use the package org.apache, but i did know how to use this package correctly. Another thing, i have tried

[android-developers] Re: PreferenceScreen Close

2009-03-22 Thread Noam
I have tried that, but since both A and B are in the same java file, then it won't work. If I misunderstood, please clarify. Any other suggestions? Thanks, Noam. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups

[android-developers] Re: PreferenceScreen Close

2009-03-22 Thread Mark Murphy
Noam wrote: I have tried that, but since both A and B are in the same java file, then it won't work. Oh, oops. Sorry. Have you tried overriding onContentChanged()? I'm not sure when that all gets called, but there's a decent chance it is called when the screen changes content. That would

[android-developers] Re: PreferenceScreen Close

2009-03-22 Thread Noam
Thanks for that incredible answer. Since I'm such a noobie, I hardly understand anything from that paragraph. Could you please show me some code so I could understand better? Thanks, Noam. --~--~-~--~~~---~--~~ You received this message because you are subscribed

[android-developers] Re: PreferenceScreen Close

2009-03-22 Thread Mark Murphy
Noam wrote: Thanks for that incredible answer. It couldn't be all that incredible. ;-) Since I'm such a noobie, I hardly understand anything from that paragraph. Could you please show me some code so I could understand better? Well, not really, because I've never tried either of them

[android-developers] Re: Accuracy of sensors such as electronic compass

2009-03-22 Thread selmo
When developing, I keep my G1 on my desk with a desk fan plus some couple rare earth magnets I fiddle with when bored (maybe they're not the best fiddle toy). Not surprisingly, the magnets really knock the magnetic compass out of whack, but the desk fan does too, even at a foot or two away. So

[android-developers] Re: Why my application get Not granting permission warning when i install it by adb and AppsInstaller

2009-03-22 Thread Jean-Baptiste Queru
Those permissions are reserved for the system and aren't available to applications. JBQ On Sat, Mar 21, 2009 at 10:34 PM, Ling Yun drling...@gmail.com wrote: Hi, All guru I am a beginner for android development. I found my application always get Not granting permission warning when I

[android-developers] Re: Question regarding Rects

2009-03-22 Thread Romain Guy
Is it possible to initiate a onClickListener on a Rect? No, you'll have to do the test yourself. You could try with a TouchDelegate though. Second question, how can i manually draw a button with using any xml. I tried creating a button then setting width, height, text, and then

[android-developers] Re: how to color key 2d sprite backgound?

2009-03-22 Thread Sarnoth
I have been frustrated by the lack of support for sprites, but I came up with an idea that is backwards (literally) but might work. I haven't tested it to make sure it works as expected or to evaluate its speed. If you try it yourself I would be interested in the results. Use the same key color

[android-developers] Re: Where is the source code for Pictures app

2009-03-22 Thread Streets Of Boston
http://android.git.kernel.org/?p=platform/packages/apps/Camera.git;a=tree;f=src/com/android/camera;h=b59e44fcf7eda59ed76597efe26ac8a25696c798;hb=8250896ab37545f4499da79f54c19af2e5018b80 On Mar 22, 8:24 pm, Yves Liu yves...@gmail.com wrote: Thanks. On Sun, Mar 22, 2009 at 4:38 PM, Andrew

[android-developers] Re: Why my application get Not granting permission warning when i install it by adb and AppsInstaller

2009-03-22 Thread Disconnect
http://www.android.com/about/ All applications are created equal Android does not differentiate between the phone's core applications and third-party applications. They can all be built to have equal access to a phone's capabilities providing users with a broad spectrum of applications and

[android-developers] Re: Is there a flag I can enable to permanently display the virtual keyboard in my app?

2009-03-22 Thread me tun
My apologies for resurrecting this thread, but is it possible now to not display the soft keyboard when the EditText view receives an on touch event? I've looked at IMM code and the closest thing I can find for doing such a thing is hideSoftInputFromWindow(IBinder windowToken) but I'm not too

[android-developers] Re: Android Developer Challenge II Cancelled?

2009-03-22 Thread Wesley
So, what we can learn from ADC I??? some forum or discussion board said got more than 1k application/game was submitted... is it true??? for ADC I, of course, from what we see top 20 was announced.. sure, congratulation to those... but is those the best application ever??? as what can see

[android-developers] Re: Problem in converting byte array in Bitmap.

2009-03-22 Thread Komal
Somebody please help me,,why decodeByteArray(...) returns null Thanxs komal On Mar 20, 11:45 am, Komal komal...@gmail.com wrote: Hello, I want to store image in sqlite database. I tried to store it using BLOB and String, in both cases it store the image and can retrieve it but when  i

[android-developers] Re: Cupcake Bluetooth handsfree problem?

2009-03-22 Thread Long
Sorry for typo. 2. Connecting BT headset always fail if the BT headset only suport HFP/HSP profile(NO A2DP). On 3月20日, 下午2時57分, Long henry.l...@qisda.com.tw wrote: I meet some problem while usingcupcakebluetoothhandsfree. 1. Phone only can pair with pin BT headset automatically, but

[android-developers] Out of memory error in frame animation

2009-03-22 Thread Archana
Hi, I am using frame animation in multiple page where in each page i am using set of png files. First animation is working fine but when i am trying to call second animation it showing java.lang.OutOfMemoryError: bitmap size exceeds VM budget Is there any way to solve this issue.Please help

[android-developers] Re: Why my application get Not granting permission warning when i install it by adb and AppsInstaller

2009-03-22 Thread Dianne Hackborn
On Sun, Mar 22, 2009 at 7:48 PM, Disconnect dc.disconn...@gmail.com wrote: http://www.android.com/about/ All applications are created equal Android does not differentiate between the phone's core applications and third-party applications. They can all be built to have equal access to a

[android-developers] Re: Cupcake Bluetooth handsfree problem?

2009-03-22 Thread Nick Pelly
Hi Henry, Our codebase moves very quickly. You will always need to supply the details of what exact build you are running, and it is useful to include logs or 'adb bugreport'. 1. Phone only can pair with pin BT headset automatically, but never pair succeed with headset with pin 1234

[android-developers] Re: Out of memory error in frame animation

2009-03-22 Thread Romain Guy
Use less memory in your app. On Sun, Mar 22, 2009 at 10:23 PM, Archana archana.14n...@gmail.com wrote: Hi,  I am using frame animation in multiple page where in each page i am using set of png files. First animation is working fine but when i am trying to call second animation it showing

[android-developers] Re: Accessing System Brightness

2009-03-22 Thread joby
i tried with the below code but its not effecting Settings.System.putInt(ftaContext.getContentResolver(), Settings.System.SCREEN_BRIGHTNESS, bright); but i got the screen brightness by the below code IHardwareService hardware = IHardwareService.Stub.asInterface (

[android-developers] Re: Out of memory error in frame animation

2009-03-22 Thread Archana
Thanks for the reply,but i have to use that much png files in my app without that it wont look nice. can you please suggest me some other way. On Mar 23, 10:35 am, Romain Guy romain...@google.com wrote: Use less memory in your app. On Sun, Mar 22, 2009 at 10:23 PM, Archana

[android-developers] Re: Out of memory error in frame animation

2009-03-22 Thread Romain Guy
There's no other way, you are using too much memory, that's all. Note that you might have a memory leak somewhere though. On Sun, Mar 22, 2009 at 10:51 PM, Archana archana.14n...@gmail.com wrote: Thanks for the reply,but i have to use that much png files in my app without that it wont look

[android-developers] Re: Out of memory error in frame animation

2009-03-22 Thread iDeveloper
Try using jpegs instead of pngs. That'll reduce your memory usage quite a bit if you have to use these images and alpha is not a concern. On 23-Mar-09, at 11:22 AM, Romain Guy wrote: There's no other way, you are using too much memory, that's all. Note that you might have a memory leak