[android-developers] Re: Flashing Android 2.0 on G1

2009-11-25 Thread AGA
I am looking forward to an offical e-clair build for g1 too. Althought there are plent of unofficial 2.0 builds, but I'm quite doubt about whether they are stable enought to program. On Nov 20, 12:15 am, Mark Murphy mmur...@commonsware.com wrote: Shrikant Agrawal wrote: Hi All I want to

[android-developers] Re: Background Service is not working.

2009-11-25 Thread Wei Jian
Hi all, thx for the reply. i'm trying the localService and the LocalServiceController sample code now. As in the sample code LocalService, i get this log LocalServiceController]ActivityManager: java.lang.SecurityException: Permission Denial: starting Intent { flg=0x1000

[android-developers] why there is no microphone icon besides the Google search widget on my HTC dream android phone?

2009-11-25 Thread richard
Hi all, I have questions on the Google voice search on HTC dream device: 1. I have a HTC dream android phone. The voice dialer works ok on it, and I think the voice recognizer should be working. However I can not see the microphone icon besides the Google search widget? Could Anyone tell me

[android-developers] layout_marginLeft programmatically

2009-11-25 Thread Jags
I have an array of buttons. I need to change their android:layout_marginLeft programmatically. This is essential to my logic, without which I am unable to get my layout correct. Any code snippets representing this is appreciated pretty much. // ViewGroup.MarginLayoutParams lp

[android-developers] getInstalledApplications of the PackageManager can't return all of the applicaitons

2009-11-25 Thread Zhihong GUO
Hi all, I just found that when I use the getInstalledApplicationshttp://developer.android.com/reference/android/content/pm/PackageManager.html#getInstalledApplications(int) of PackageManager, I can't get all of the applications installed. The code as below: PackageManager pm =

[android-developers] Re: layout_marginLeft programmatically

2009-11-25 Thread Nithin
Hi Jagat, Use setMargins() in the LayoutParams, use android.widget.LinearLayout.LayoutParams. Dont use this class, android.view.ViewGroup.LayoutParams; I use latter one and blown away my time. In the latter one, setMargins() is not there. I dont want anybody else to do the same. Use any layout,

Re: [android-developers] Re: Our app is not visible on market for some devices

2009-11-25 Thread Klaus Kartou
We haven't got a HTC Tattoo in house to test with, so its hard to supply more data. Our app is called Gigbox, and is available for free. Maybe some one here can see if the app is visible and supply data about their phone? So far we know it is visible with G1, HTC Magic and the Droid. Thanks :)

[android-developers] Android 2.0 Encryption Support

2009-11-25 Thread AndreySerj
Does the Android 2.0 support AES-256 and ECDH ? -- 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 to

[android-developers] [OpenGL ES] Is Shadow Mapping possible in OpenGL ES 1.0 ?

2009-11-25 Thread hzakimoto
I've tried casting shadow following this tutorial (which uses Stencil Buffer method): http://nehe.gamedev.net/data/lessons/lesson.asp?lesson=27 The result is a cool shadow effect. But it depends too much on geometry and thus not very flexible. Then I found a much easier way to do shadowing

[android-developers] compile soruce with java 1.6 ?

2009-11-25 Thread Mr Pinguin
I get this error on ubuntu 9.10 PLATFORM_VERSION_CODENAME=REL PLATFORM_VERSION=1.6 TARGET_PRODUCT=generic TARGET_BUILD_VARIANT=eng TARGET_SIMULATOR= TARGET_BUILD_TYPE=release TARGET_ARCH=arm HOST_ARCH=x86 HOST_OS=linux HOST_BUILD_TYPE=release

[android-developers] Re: getInstalledApplications of the PackageManager can't return all of the applicaitons

2009-11-25 Thread Zhihong GUO
Another question is about how can I get the vendor information of an application by 1.5 sdk, thanks a lot! 2009/11/25 Zhihong GUO gzhh...@gmail.com Hi all, I just found that when I use the

[android-developers] Re: High performance access on static data: What is your approach?

2009-11-25 Thread Marc Reichelt
Hi Jesse, I've filed an internal issue for us to investigate our serialization performance problems. That would be great. The slow serialization really is a problem. Not only for me, but for many others, too. The advantage of serialization simply is that it is the most simple way of writing

[android-developers] compile source with java 1.6 ?

2009-11-25 Thread Mr Pinguin
I get this error on ubuntu 9.10 PLATFORM_VERSION_CODENAME=REL PLATFORM_VERSION=1.6 TARGET_PRODUCT=generic TARGET_BUILD_VARIANT=eng TARGET_SIMULATOR= TARGET_BUILD_TYPE=release TARGET_ARCH=arm HOST_ARCH=x86 HOST_OS=linux HOST_BUILD_TYPE=release

Re: [android-developers] compile source with java 1.6 ?

2009-11-25 Thread Mark Murphy
Mr Pinguin wrote: I get this error on ubuntu 9.10 PLATFORM_VERSION_CODENAME=REL PLATFORM_VERSION=1.6 TARGET_PRODUCT=generic TARGET_BUILD_VARIANT=eng TARGET_SIMULATOR= TARGET_BUILD_TYPE=release TARGET_ARCH=arm HOST_ARCH=x86 HOST_OS=linux

[android-developers] Re: Background Service is not working.

2009-11-25 Thread Wei Jian
Problem Solved. It was the SDK version problem. Thanks all. On Nov 25, 4:15 pm, Wei Jian weijia...@gmail.com wrote: Hi all, thx for the reply. i'm trying the localService and the LocalServiceController sample code now. As in the sample code LocalService, i get this log

[android-developers] Re: Permission denial

2009-11-25 Thread Wei Jian
Problem solved..mine was the API version problem. Thanks. On Nov 25, 3:50 pm, Wei Jian weijia...@gmail.com wrote: Hi all...i'm getting the similar problem..the log says LocalServiceController]ActivityManager: java.lang.SecurityException:PermissionDenial: starting Intent { flg=0x1000

[android-developers] Re: High performance access on static data: What is your approach?

2009-11-25 Thread Marc Reichelt
Hi Dianne, If performance is your main goal, a binary data blob with your own defined structure is a likely candidate.  The current asset manager has a limit of 1MB for reading a compressed data stream; if you are wanting to do random access, you could store it uncompressed in the .apk and

[android-developers] Re: Caused by: java.io.NotSerializableException: android.os.Message

2009-11-25 Thread Pierre Henry
Thanks Mark. So , If I understand correctly, the communications between processes is governed by IPC mechanism. If I want to connect to a server from external jvm process, say a client in his own vm, I can use the classic socket mechanism to realize a connection ? On 24 nov, 12:45, Mark Murphy

[android-developers] Re: PNG optimization on packaging process

2009-11-25 Thread Matthias
On Nov 24, 5:28 pm, Romain Guy romain...@google.com wrote: This seems like a major framework fail... 16Bit graphics? It's 2009, I'd sort of expect better image rendering than that of Window 3.11. Except that phone displays do not display more than 16 bits of colors. The displays are

[android-developers] No surfaceCreated() callback after phone wakes up

2009-11-25 Thread David Given
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I've got an OpenGL game with a SurfaceHolder being used to manage the screen. If I use the HOME button to temporarily switch away from the game, I see the following sequence of callbacks: Press HOME - onPause() surfaceDestroyed() onStop()

Re: [android-developers] Background Service is not working.

2009-11-25 Thread saify.zeenwala
hi put ur code in onstart() instead of oncreate() becuase ur on create will get call only once through out the life cycle of service. hope this will help u On Tue, Nov 24, 2009 at 2:25 PM, Wei Jian weijia...@gmail.com wrote: Hello. i wish to use implement Service in my application to

[android-developers] Re: Our app is not visible on market for some devices

2009-11-25 Thread String
Hi Klaus, I was really asking Per for more data; he was the one who mentioned different results on two exact identical phones. But nonetheless, you are correct, the diversity of configurations in the wild makes it very hard for individual devs to test this. It's one reason why we need action

Re: [android-developers] how to fetch datas from database like mysql/sqlite

2009-11-25 Thread saify.zeenwala
hi try out these simple line of code QLiteDatabase m_oSQLiteDatabase; m_oSQLiteDatabase.query(strTableName, arrColumns, *null*, *null*, *null*, * null*, *null*); this will return u cursor object use get method to retive data from cursor On Tue, Nov 24, 2009 at 5:38 PM, siva

[android-developers] Re: PNG optimization on packaging process

2009-11-25 Thread Matthias
On Nov 24, 5:28 pm, Romain Guy romain...@google.com wrote: This seems like a major framework fail... 16Bit graphics? It's 2009, I'd sort of expect better image rendering than that of Window 3.11. Except that phone displays do not display more than 16 bits of colors. The displays are

Re: [android-developers] Deleting Incoming SMS - Android

2009-11-25 Thread saify.zeenwala
hi use below mentioned method this will give u object[] of smsmessage * private* SmsMessage[]getMessagesFromIntent(Intent intent) { SmsMessage retMsgs[] = *null*; Bundle bdl = intent.getExtras(); *try*{ Object pdus[] = (Object [])bdl.get(pdus); retMsgs = *new* SmsMessage[pdus.length];

[android-developers] What to do when you have non Java (framework) crashes?

2009-11-25 Thread BoD
Hi! I'm experiencing crashes that don't produce a force close message. Instead, the app exits immediately without an error message. In the log, it seems the problem is inside the framework's libraries but I don't really know how to interpret it. Here it is: === 11-25 14:51:12.559:

Re: [android-developers] What to do when you have non Java (framework) crashes?

2009-11-25 Thread Mark Murphy
I'm experiencing crashes that don't produce a force close message. Instead, the app exits immediately without an error message. In the log, it seems the problem is inside the framework's libraries but I don't really know how to interpret it. For all intents and purposes, these are bugs in

[android-developers] Re: When does ADC2 finish?

2009-11-25 Thread MJB
The information that Dan is providing can also be found at the following link: a href=http://android-developers.blogspot.com/search/ label/Android%20Developer%20Challengeandroid-developers blog/ad I'm still seeing new installs and activity on my app, so I'm guessing the internal/expert judging

[android-developers] Re: When does ADC2 finish?

2009-11-25 Thread MJB
The information that Dan is providing can also be found at the following link: http://android-developers.blogspot.com/search/label/Android%20Developer%20Challenge I'm still seeing new installs and activity on my app, so I'm guessing the internal/expert judging hasn't been closed yet, just the

[android-developers] i18n android view xml's refernece resolver/handler

2009-11-25 Thread Raja Nagendra Kumar
Hi, We are working on our own framework to support i18n language change at application run time. In this context, we have our own api which based on the user settable api call with language he wants, we provide the language specific string. However, we are not sure how to have such feature of

[android-developers] Re: What to do when you have non Java (framework) crashes?

2009-11-25 Thread BoD
Thanks a lot. = http://code.google.com/p/android/issues/detail?id=5038 I'm hope somebody will see this... Until then... I guess I can try to see if I can pinpoint what exact call produces the crash... BoD On Nov 25, 3:12 pm, Mark Murphy mmur...@commonsware.com wrote: I'm experiencing

[android-developers] Reg: Error in adding View to a ViewGroup

2009-11-25 Thread sathya subbiah
Hi, I am trying to add a view to a viewgroup but I am getting the following error when I run the application Error: E/AndroidRuntime( 570): java.lang.IllegalStateException: The specified child already has a parent. You must call removeView() on the child's parent first. Code: public class

Re: [android-developers] how to fetch datas from database like mysql/sqlite

2009-11-25 Thread sathya subbiah
Hi, Query the database created, which will return a cursor. Use cursor methods to get the required data. Also you can use the below link for further example http://www.devx.com/wireless/Article/40842 Regards, Sathya On Wed, Nov 25, 2009 at 8:38 AM, saify.zeenwala saifyzeenw...@gmail.comwrote:

[android-developers] sounpool problem

2009-11-25 Thread Jags
i am trying to play continuous background music using sound pool here is my code private void initSounds() { soundPool = new SoundPool(4, AudioManager.STREAM_MUSIC, 100); soundPoolMap = new HashMapInteger, Integer();

Re: [android-developers] Reg: Error in adding View to a ViewGroup

2009-11-25 Thread Mark Murphy
I am trying to add a view to a viewgroup but I am getting the following error when I run the application Error: E/AndroidRuntime( 570): java.lang.IllegalStateException: The specified child already has a parent. You must call removeView() on the child's parent first. Don't try adding

[android-developers] Google Map Intents, and a pin?

2009-11-25 Thread Mark Wyszomierski
Hi, I'm launching google maps via an intent. If I supply a lat,lon, no pin will be displayed on the map. If I supply an address, a pin will appear. Is there a way to explicitly tell google maps to add a pin, and what text to put on it? // lat, lon, no pin. Intent intent = new

[android-developers] Re: Interleaving vertex data in OpenGL ES

2009-11-25 Thread Marc
I am fairly new to this too, so my reply is sort of a guess, but I think it my be helpful anyhow. I am rendering 3d models exported from blender this way though. for me I was doing: gl.glVertexPointer(3, GL10.GL_FLOAT, 0, cubeVertices); instead of: gl.glBindBuffer(GL11.GL_ARRAY_BUFFER,

[android-developers] Android Market Protocol

2009-11-25 Thread tomei.ninge...@gmail.com
Hello, Has anyone fully decoded the market's protocol? I want to do something simple and harmless -- easily find out comments for my apps in all languages. I found some info in http://strazzere.com/blog/?p=293 but that doesn't seem to be complete. I.e., no generic way to find out a tokenId from

[android-developers] Installing prebuilt apk

2009-11-25 Thread Vinay
Hi, I have an apk (which is pre-built externally) which I want to install with the android donut sdk while building the donut source (using android tool chain) Currently, I am using the PRODUCT_COPY_FILES section in the Android.mk file and copying the apk from packages/apps/mydir/abc.apk to

[android-developers] drag and drop listview, background color transparency broken, TouchInterceptor modification

2009-11-25 Thread Marc
I have mostly stolen some code for drag and drop in a list view from the android music app, which is here: http://www.netmite.com/android/mydroid/cupcake/packages/apps/Music/src/com/android/music/TouchInterceptor.java Somehow with my implementation I can not get the transparency and background

[android-developers] Re: sounpool problem

2009-11-25 Thread Jags
interesting, i had posted a similar query to which i got a reply, that post has disappeared from the forum :) regards Jagat On Nov 25, 8:49 pm, Jags jag...@gmail.com wrote: i am trying to play continuous background music using sound pool here is my code         private void initSounds() {  

[android-developers] no title bar

2009-11-25 Thread Jags
I dont want title bar in my application, how to remove that ? in my activity ? Jagat -- 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,

Re: [android-developers] Re: bluetooth uuid

2009-11-25 Thread Sean Liao
If I read the doc correctly, I feel the current bluetooth api is meant to supporting end-to-end communication that you implements both client and remote server. In this case, you must know a UUID for the service record you creating and publish in SDDB. For your and my case, we are connecting to

[android-developers] Re: no title bar

2009-11-25 Thread Matthias
call requestWindowFeature(Window.FEATURE_NO_TITLE) before calling setContentView() OR set it as part of a style definition (android:windowNoTitle=true). On Nov 25, 5:16 pm, Jags jag...@gmail.com wrote: I dont want title bar in my application, how to remove that ? in my activity ? Jagat --

[android-developers] Re: How to call service by intents and programmatically?

2009-11-25 Thread Jeppebm
After getting to know Android a bit better, I've found many solutions which I will share with you: 1. I started the service by calling startService(intent) from the UI. Furthermore, I send commands to the service by using startService (intent), bundling value-pairs in the intent, and then reading

[android-developers] regarding image in menu items

2009-11-25 Thread pavan
hi all I am trying to build a menu which cotains the food items available in USA. I want to place the image of the restaurant and the item name side by side (i.e image of burgerking chickenburger) in the menu items. Can anyone help me how to accomplish this. Thanks Pavan -- You received this

[android-developers] Retrieving Shoutcast Meta-Data from MediaPlayer not possible. Any alternative ?

2009-11-25 Thread Ole
Hi folks, this is my first post. Cool to be here :) I am developing a shoutcast client for Android with API 1.6. The playback is working perfectly but I am not able to get the meta- data (song / artist). Maybe someone of you guys could give me a hint. As the API documentation tells me there is

[android-developers] Message.recycle() always causes exceptions..

2009-11-25 Thread edovino
Maybe I'm reading the documentation wrong - but if I call Message.obtain(), shouldn't i call Message.release() when my Handler is done with it? Thing is, Message.release() always causes a android.util.AndroidRuntimeException (in a process outside my own application!) 11-25 13:05:19.364:

[android-developers] GSM stack - RRM, LAPDm

2009-11-25 Thread stenlik
Hello, can I get access to the lower level GSM stack layers? I need to monitor some parameters on the Radio Resource Management level. I guess I need to have some C shared library accessed from Java application via JNI. But I am not the Android developer and I am not sure if and how this might be

[android-developers] Re: External keyboard possible?

2009-11-25 Thread nelsonchung
It is a good idea. I think bluetooth HID profile make the idea true. I think we can use bluetooth keyboard cowork with android device. But, I am not sure the SDK is supported or not. On 11月25日, 上午3時06分, jerome jeromecallag...@gmail.com wrote: Has anyone put any thought into doing an external

[android-developers] Content Providers

2009-11-25 Thread Stoyboy
I have looked online and everywhere I look it says that you can have a content provider backed by flat files, and that is exactly what i need for my project. However, I am unable to find anywhere how to actually do this, all the examples i see are for using an sqlite back-end. I know that in order

[android-developers] Quries about the Media Recorder

2009-11-25 Thread Unnikrishnan
Hi Dave am having some issues regarding the Media recorder i will mention one by one 1. I am recording audio using the class MediaRecord but after some time it gives AudioRecordThread Buffer overflow.So let me know the default audio input buffer size and whether this overflow is comming becoz of

[android-developers] How to access source.android.com in china mainland?

2009-11-25 Thread BoBo
I need the source code of Android and the source of SDK API, but I can't access source.android.com:(. what should I do? -- 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

[android-developers] flurry android

2009-11-25 Thread frederic glouzon
hello, does anybody know how to use FlurryAgent.onEvent(String eventId, MapString, String parameters) in an android activity to track events with flurry ? thanks -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send

[android-developers] Need to re-initialize or kill the acore process silently

2009-11-25 Thread mishandler
What is the quickest way to restart or re-init the launcher acore process without the you've killed the acore process unexpectedly notification message? -- 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] Problem with getLastKnowLocation from the GPS provider

2009-11-25 Thread Tomas Malmsten
Hi, I am working on an application that needs to get the last know GPS location, if there is one, from the GPS provider. It is not however allowed to start the GPS radio and nor does it want any updates. It will log locations every 30 minutes to a database and requests information from the

[android-developers] Motorola Milestone not showing up in ddms / adb on Mac OS X Snow Leopard

2009-11-25 Thread 24z
I've connected my (new) Motorola Milestone running Android 2.0 to an Intel iMac running the latest version of Snow Leopard. USB Debugging is enabled on the device. However, ddms doesn't see the device. Running adb devices returns an empty list. Any ideas how to troubleshoot? -- You received

[android-developers] BackupManagerService usage explain in Framework

2009-11-25 Thread HERPA
Is there any body can explain about [com.android.server.BackupManagerService] ? What the role is?, where it is used mainly? and where I can find the class com.google.android.backup.BackupTransportService? -- You received this message because you are subscribed to the Google Groups Android

Re: [android-developers] Re: ssl.SSLException Not trusted server certificate httpclient

2009-11-25 Thread Ruini Xue
I am also looking for an SSL httpclient example for android, especially on how to import the certificate. -- leo On Sat, Nov 21, 2009 at 1:19 AM, androidguy bhartiyas...@gmail.com wrote: Hi Experts, any luck for help? In nutshell, People suggested two ways to do it 1)set context in

[android-developers] How do I work around missing Java libraries?

2009-11-25 Thread APF
I'm attempting to port a normal Java program over to Android, however I am having a problem with a huge number of missing Java packages (e.g., Android Java does not have java.lang.management). Is there a way for me to work around this, such as by adding the Java modules that I need? Thanks! --

[android-developers] Media player source code

2009-11-25 Thread pichika
Hi guys.. Im new to this android.. Where can i get the source code of Media player based on OpenCORE framework?? -- 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] How to change Android Home screen orientation by a program

2009-11-25 Thread GodzillaHaur
Dear all: I got a question about screen orientation in Android Home screen. The scenario is as following. A G-sensor detects the movement on the device. Then it rotates the screen. If the device is portrait mode, the system sets to landscape mode. With G-sensor, theres is a SensorService to

[android-developers] Re: How to use the dpad button to pause and play audio while the device is locked

2009-11-25 Thread Pat
The button on a headset is able to pause audio (I've only used it with the Google Listen application), so there must be some sort of listener available. -- 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] Nested Table layout not showing

2009-11-25 Thread Patrick Plaatje
Hi all, in my view i have the need to a somewhat different layout. It needs to display a table within each row a cell for a thumbnail and a cell for displaying a title and a description. The title and description should be displayed on top of eachother, so something like:

[android-developers] Re: Failed to fetch URL https://dl-ssl.google.com/android/repository/repository.xml

2009-11-25 Thread Dan Syrstad
I'm running Ubuntu 9.04 64-bit and ran into the same problem. I fixed it by running the android tool with 64-bit java (sun jdk1.6.0_16) in my path. I had 32-bit java prior to that. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to

[android-developers] How to convert RGB565 to a bitmap file?

2009-11-25 Thread Ejane
In a byte[], I am having the image data of a RGB565 image(no header, only image content) I used the decodeByteArray with Bitmap.Options as RGB565 decoder. But the decoding process failed. Am I missing anything? -- You received this message because you are subscribed to the Google Groups

[android-developers] Re: Android in China - What is going on?

2009-11-25 Thread Jie Hong
I can understand China Gov blocks Google sync service. The real strange thing is there are always a few hours sync service can work everyday, can anyone explain this? On 11月25日, 上午8时48分, shimsim shim@gmail.com wrote: Well I can safely say the blocking is back in GZ, as of last night no more

[android-developers] Services, threads and AIDL

2009-11-25 Thread Ben Griffiths
Hi, I'm trying to understand the concept of the above; sercices, threads and AIDL. I understand a service, it runs in the background but in the UI thread. I understand threads... they're threads. AIDL, another Definition language - okay. What I don't really understand is how to get everything

[android-developers] Re: adding new API : make error :41

2009-11-25 Thread sashad
make: *** No rule to make target this means that build system cannot find you file put java project in app folder with the same name as native folder On Nov 18, 11:35 am, Sagar Gajjar sgrgaj...@gmail.com wrote: Hi all,       I want to add my own API's to android.       For this thing I

[android-developers] No emulator window in Eclipse

2009-11-25 Thread dumontf
So I've got a bit of a doozy. I was playing around with the Motorola MotoDev IDE, which is kind of a jazzier front-end to Eclipse, and it asks you on startup if you want the Android emulator to show up in an IDE window. I said yes. That makes the emulator show up in an Eclipse tab, like the

[android-developers] Video Size \ Codec Specs

2009-11-25 Thread scowpert
I have been having issues getting our .mp4s to play on my Android. We have over 1300 assets that we want to make sure will work with all handsets. When I try to playback the 640x360 h.264 (5megs) videos I'm getting an error saying that the video is too large. I have not been able to find the

[android-developers] How to receive the hardware key event

2009-11-25 Thread Jee
Hi I have a text view and launched soft keypad above it. Now what I want to do is that when the user presses the HARDWARE CLR button, the activity should receive the CLR key event. But my activity can't receive the event. Just soft keypad disappeared. Is it normal behavior? Is there any way

[android-developers] Re: live video streaming

2009-11-25 Thread RuiTrindade
I want to know if this is possible, too. Anybody? -- 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 to

[android-developers] Please explain obtainStyledAttributes

2009-11-25 Thread Ralf Engels
Hi, I wanted to determine the default color of a text that is used inside a TextEdit. However I get confused by all the type int parameters of obtainStyledAttributes. Somehow I have to sort them in the right order but I can't figure it out. I have available:

[android-developers] HTC Hero Stocks Widget Scrolling Ticker functionality

2009-11-25 Thread Jared
I have an HTC Hero from Sprint in the US and was curious about the how the Stocks HTC widget scrolls text like a ticker. It is only the 4x1 sized widget that scrolls quotes. As far as I know, homescreen widgets can only use RemoteViews for the layout, which is limited to the following layouts and

[android-developers] Live video streaming from Android

2009-11-25 Thread RuiTrindade
Is it possible to stream live video from android to a server? If yes, can somebody give me some hints in how to do it? Please reply. Thanks -- 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] Re: Emulator is very slow and CPU consuming

2009-11-25 Thread Paul
I have exactly the same problem and I don't understand what could be causing it:( On Oct 10, 8:47 am, Andriy Zakharchuk andriy.zakharc...@gmail.com wrote: Hello all, few weeks ago I encountered a problem. My Android SDK 1.5 emulator became very slow and CPU consuming. This happened earlier,

Re: [android-developers] HTC Hero Stocks Widget Scrolling Ticker functionality

2009-11-25 Thread Mark Murphy
Jared wrote: I have an HTC Hero from Sprint in the US and was curious about the how the Stocks HTC widget scrolls text like a ticker. It is only the 4x1 sized widget that scrolls quotes. As far as I know, homescreen widgets can only use RemoteViews for the layout, which is limited to the

Re: [android-developers] How to receive the hardware key event

2009-11-25 Thread Mark Murphy
Jee wrote: Hi I have a text view and launched soft keypad above it. Now what I want to do is that when the user presses the HARDWARE CLR button, the activity should receive the CLR key event. But my activity can't receive the event. Just soft keypad disappeared. Is it normal

Re: [android-developers] Video Size \ Codec Specs

2009-11-25 Thread Mark Murphy
scowpert wrote: I have been having issues getting our .mp4s to play on my Android. We have over 1300 assets that we want to make sure will work with all handsets. When I try to playback the 640x360 h.264 (5megs) videos I'm getting an error saying that the video is too large. I have not been

[android-developers] Pick photo from Gallery

2009-11-25 Thread Tom
Hi, My application needs to import some photos from Gallery. Indeed, the application groups several persons. I want to attach a photo picked from Gallery to each person. Do I need to develop a activity like edit Contacts? This involves developing the display of images in a grid. Or can I use a

[android-developers] Re: abortAnimation on ListView

2009-11-25 Thread Loki117
For now I have shelved the issue of it not stopping (I really need the onclick to remain on control) However I have hit what is probably a worse issue. While using horizontal scrollViews in a ListView I frequently get an issue where the horizontal scroll view stops animating IE when I drag it it

[android-developers] java.lang.OutOfMemoryError: bitmap size exceeds VM budget

2009-11-25 Thread Matt Kanninen
This: private static final int[] glowDrawableIds={ R.drawable.graphic_microphoneglow_01, R.drawable.graphic_microphoneglow_02, R.drawable.graphic_microphoneglow_03, R.drawable.graphic_microphoneglow_04,

Re: [android-developers] How to change Android Home screen orientation by a program

2009-11-25 Thread Dianne Hackborn
The built-in home screen doesn't allow itself to be changed based on the sensor, by design. To change this you will need to replace it with your own home screen. On Wed, Nov 25, 2009 at 5:23 AM, GodzillaHaur godzillah...@gmail.comwrote: Dear all: I got a question about screen orientation in

Re: [android-developers] Re: How to use the dpad button to pause and play audio while the device is locked

2009-11-25 Thread Dianne Hackborn
The headset button is handled specially On Tue, Nov 24, 2009 at 11:20 PM, Pat patrick.j.mcdono...@gmail.com wrote: The button on a headset is able to pause audio (I've only used it with the Google Listen application), so there must be some sort of listener available. -- You received this

Re: [android-developers] Need to re-initialize or kill the acore process silently

2009-11-25 Thread Dianne Hackborn
What is that message? If you just kill it from the shell, there is no message. The only messages I know of are for ANRs and uncaught exceptions. On Tue, Nov 24, 2009 at 5:10 PM, mishandler clinteldri...@gmail.com wrote: What is the quickest way to restart or re-init the launcher acore

Re: [android-developers] Message.recycle() always causes exceptions..

2009-11-25 Thread Dianne Hackborn
If you send it to a handler, the handler/looper will recycle it for you. On Wed, Nov 25, 2009 at 4:20 AM, edovino ed...@cadwal.org wrote: Maybe I'm reading the documentation wrong - but if I call Message.obtain(), shouldn't i call Message.release() when my Handler is done with it? Thing is,

Re: [android-developers] Re: no title bar

2009-11-25 Thread Dianne Hackborn
Or, best, set your activity to one of the no title themes, like Theme.NoTitleBar. On Wed, Nov 25, 2009 at 8:20 AM, Matthias m.kaepp...@googlemail.com wrote: call requestWindowFeature(Window.FEATURE_NO_TITLE) before calling setContentView() OR set it as part of a style definition

[android-developers] Re: java.lang.OutOfMemoryError: bitmap size exceeds VM budget

2009-11-25 Thread Matt Kanninen
a href=http://code.google.com/p/android/issues/detail?id=5045;Issue 5045/a http://code.google.com/p/android/issues/detail?id=5045 On Nov 25, 9:37 am, Matt Kanninen mathias...@gmail.com wrote: This:         private static final int[] glowDrawableIds={                

[android-developers] Re: Accessing images from gallery

2009-11-25 Thread Matt Kanninen
This happens with small images as well, it has to do with the Bitmap cache, it's a recurring issue, and it's still in 2.0. On Nov 24, 9:52 am, Mark Murphy mmur...@commonsware.com wrote: JasonMP wrote: Ok, I'm getting a couple things that look funny. snip 11-24 10:28:52.758:

[android-developers] Re: Interleaving vertex data in OpenGL ES

2009-11-25 Thread Bartek Teodorczyk
Are you saying that complete vertex definition in your example should look like: gl.glVertexPointer(3, GL10.GL_FLOAT, 7, cubeVertices); gl.glColorPointer(4, GL10.GL_UNSIGNED_BYTE, 7, cubeVertices); gl.glNormalPointer(GL_SHORT, 7, cubeVertices); ? But how to specify offset for cubeVertices in

[android-developers] Re: SoundPool problem

2009-11-25 Thread Mike
Guys, what did you use to encode your sounds in the ogg format? Is there anything free (and decent) out there that will convert wav to ogg? - Mike On Nov 10, 12:18 pm, Nikolay Ananiev devuni...@gmail.com wrote: I had the same problem. All my sounds were in .mp3 and they didn't play in 2.0. I

[android-developers] Re: java.lang.OutOfMemoryError: bitmap size exceeds VM budget

2009-11-25 Thread Matt Hall
How big (dimensions) are the graphics Matt? If they're not very big then I'm guessing you have bitmap memory used elsewhere in the app that's putting you close to the max. Bitmap memory is different than your heap memory, so it's management is hidden from you a little more but basically this error

[android-developers] Re: Copy protection bug statuses

2009-11-25 Thread Matt Hall
A further update: We've removed the copy protection on an existing game, and done a new release and no one has reported any problems. So this bug does indeed appear to be fixed. A related note: Once we removed the copy protection our game was suddenly visible to Droid Eris users, whereas the

[android-developers] Re: Android Market Protocol

2009-11-25 Thread wimbet
I don't think Google wants you to decode their protocol. It would be nice if they just opened it up, but I don't see that happening anytime soon. On Nov 25, 9:41 am, tomei.ninge...@gmail.com tomei.ninge...@gmail.com wrote: Hello, Has anyone fully decoded the market's protocol? I want to do

[android-developers] Re: Nested Table layout not showing

2009-11-25 Thread jotobjects
How are you actually inflating this layout in a View? This seems to be a normal table layout. Is there some reason you can't or don't want to use an xml layout file for this? See following example - http://developer.android.com/guide/topics/ui/layout-objects.html#tablelayout On Nov 25, 1:00 

[android-developers] Re: SoundPool problem

2009-11-25 Thread Mike
By the way, I'm trying MediaCoder right now - it looks like it'll do the trick: http://www.mediacoderhq.com/dlfull.htm - Mike On Nov 25, 11:02 am, Mike michaeldouglaskra...@gmail.com wrote: Guys, what did you use to encode your sounds in the ogg format?  Is there anything free (and decent) out

[android-developers] Background listener getting killed

2009-11-25 Thread Ravi
I have an app that listens to incming Calls. If the user has another app that listens to the same (Call popup applicaitons in specific) my process is getting killed - any solutions or ideas on how to prevent this ? -- You received this message because you are subscribed to the Google Groups

Re: [android-developers] Re: Nested Table layout not showing

2009-11-25 Thread Patrick Plaatje
Hi there, thanks for the response, but i need to add rows to the table dynamically, so an xm file is not an option i guess. I'm not sure what is wrong with the code below, but i fixed it just now. I'm now using a LinearLayout instead of the nested tabel, and it shows fine. Still strange that the

[android-developers] Re: Background Service is not working.

2009-11-25 Thread jotobjects
On Nov 25, 5:25 am, saify.zeenwala saifyzeenw...@gmail.com wrote: put ur code in onstart() instead of oncreate() becuase ur on create will get call only once through out the life cycle of service. onStart() is never called if the service is started with bindService (). Not clear from docs

  1   2   >