[android-developers] Re: Time to first screen, boot-up time and app-start time?

2009-08-26 Thread Dan Bornstein
On Tue, Aug 25, 2009 at 5:02 PM, Casper Bang casper.b...@gmail.com wrote: People who have digged into Dalvik aren't overly impressed when compared to similar technologies: http://www.koushikdutta.com/2009/01/dalvik-vs-mono.html Please read the comments on that article, which contained some

[android-developers] Re: What is the approx time taken to register as a developer and to be able to publish apps on the Android Market?

2009-08-26 Thread soniya
True. Here is the answer that i got on the Android Market forums: Free apps: Typically less than 10mins. (Setup Checkout account to pay, fill android developer profile data). Paid apps: May take a couple of days. At times more. (Needs you to verify merchant account by receiving a few cents into

[android-developers] Re: ADC 2 Submission Site -- Now live

2009-08-26 Thread RS
This request might sound like one to extend deadline but it is actually only to extend the window which is shorter than the estimate announced. Though our apps are ready, some developers are not immediately available (not because they are holidaying) and this weekend happens to be a long weekend

[android-developers] Re: Needed reference to source code for adb shell command input that is used to inject keypresses.

2009-08-26 Thread Royston Rodrigues
Hi All, I was able to find the source of adb shell command input. Location: frameworks/base/cmds/input/src/com/android/commands/input/Input.java Regards, Royston QCOM On Wed, Aug 26, 2009 at 8:54 AM, Royston roystonra...@gmail.com wrote: Hi All, The use case that I have to emulate is to

[android-developers] Re: EMMA Code coverage and JUnit

2009-08-26 Thread santosh kumar
Hi, After starting the emulator, i tried adb sync but i am getting the error like device offline... can you plz help me in this Thanks Santosh On Aug 26, 6:39 am, santosh kumar santosh.1...@gmail.com wrote: Hi All, I have few questions about this.. plz clarify me.. i want to generate

[android-developers] Re: In Java application, how to load native library which depends on the third shared library

2009-08-26 Thread Dianne Hackborn
Hi, you probably want to ask about native development on android-ndk. 2009/8/25 Jiang webs...@yahoo.cn Hello, guys. I created a jni library which depends the third shared library, I must copy the third shared library to /system/lib, otherwise, Java application can't load jni library. But

[android-developers] Re: Jdbc driver problem

2009-08-26 Thread Alessio
i'll do that. Ty On Aug 24, 7:44 pm, Mark Murphy mmur...@commonsware.com wrote: Like object i have some problem with jdbc driver. Android does not include JDBC. I wanna connect to a database server (postgresql) without write some php script server side to comunicate with client

[android-developers] Patching synthesized voice in ongoing call

2009-08-26 Thread VA
I am looking at a usecase related to sharing of a phone number of a contact during a call. What I expect to happen is that the phone number is converted to synthesized voice and is spoken into the ongoing call. Is it possible to patch the synthesized voice in an ongoing call? Any pointers?

[android-developers] System crash problems

2009-08-26 Thread Mika
Hi, I have started to have strange problems that make the whole OS to restart. I have this stack trace: 08-21 14:43:15.128: WARN/dalvikvm(11513): threadid=15: thread exiting with uncaught exception (group=0x4000fe70) 08-21 14:43:15.128: ERROR/AndroidRuntime(11513): Uncaught handler: thread

[android-developers] Re: Error : Unknown URI: content://media/external/images/media

2009-08-26 Thread Dany BREARD
Hi I change EXTERNAL_CONTENT_URI to INTERNAL_CONTENT_URI, and I have an other error that I can't Fix : 08-26 07:49:39.084: ERROR/DatabaseUtils(648): Writing exception to parcel 08-26 07:49:39.084: ERROR/DatabaseUtils(648): java.lang.UnsupportedOperationException: Writing to internal storage

[android-developers] Re: ADC 2 submission category (?)

2009-08-26 Thread chinchin
Do they not have sport? On Aug 26, 12:13 am, Ilya Shinkarenko shin...@gmail.com wrote: Hi all, I am going to commit my application, but I am a bit confused which category to choose. The software helps to keep score and statistic of a tennis match, and it is also possible to share the

回复: [android-developers] Re: In Java application, how to load native library which depends on the third shared library

2009-08-26 Thread Jiang
Thanks for your replay. In fact, I know how to create jni library and how to load jni library in Java application, what confusing me is where to install the third shared library. For example: If I defeind a jni library libjni-test.so which invokes APIs defined in libxxx.so(libxxx.so is not

[android-developers] Re: ADC 2 Submission Site -- Now live

2009-08-26 Thread patrick
you're right except that they are people who were unaware of ADC1 and took polish ADC 2 a bit later, these people may be have very googd ideas and have worked too hard during the few time they have. they had especially hope in seeing the site Submitting be delayed a bit, so why not one or two

[android-developers] Re: Java N00b Test Question

2009-08-26 Thread chinchin
Hello From the looks of that code it is expecting you to build all your samples in a file called AllTests.java and then compile it. To me it looks a little pointless, you would be better off just running your code normally. If you are new to both android, java and eclipse I would suggest you

[android-developers] Re: ADC 2 Submission Site -- Now live

2009-08-26 Thread patrick
you're right except that they are people who were unaware of ADC1 and took polish ADC 2 a bit later, these people may be have very googd ideas and have worked too hard during the few time they have. they had especially hope in seeing the site Submitting be delayed a bit, so why not one or two

[android-developers] Force the height of a view

2009-08-26 Thread Deren
Im currently implementing my own ViewGroup. I send a certain size (with measurespec mode == EXACTLY) to the children, but they seem to ignore it. The children are TextViews. I try to force them to have a height of 30px, but they are 34px instead. Is there any way I can force them to accept the

[android-developers] Re: How to activate the flashlight of the Samsung Galaxy

2009-08-26 Thread Nox
Can you help me please!!! On Aug 11, 11:30 am, Nox v.beh...@googlemail.com wrote: Hello everybody, I am developing a photo app and I want to add aflashlightfor taking better photos. The app should know: This is a Samsung Galaxy,I have toactivatetheflashlight. Do you know how to realize

[android-developers] Re: google maps question

2009-08-26 Thread Honest
If I am starting at first time then it is displaying maps aroudn UK even if i have drawn the point inside australia or any other country. On Aug 25, 7:35 pm, Honest honestsucc...@gmail.com wrote: Hello, I am displaying MAP and some point on it. But some how it is not displaying directly on

[android-developers] Re: ADC 2 submission category (?)

2009-08-26 Thread String
On Aug 26, 9:06 am, chinchin nchinn...@googlemail.com wrote: Do they not have sport? Nope, not a category on http://code.google.com/android/adc/. On Aug 26, 12:13 am, Ilya Shinkarenko shin...@gmail.com wrote: I am going to commit my application, but I am a bit confused which category to

[android-developers] MenuItem ID

2009-08-26 Thread Lex
Hi everyone, I have a simple menu with 2 options: menu xmlns:android=http://schemas.android.com/apk/res/android; item android:id=@+id/congestion android:title=congestion event android:icon=@drawable/sign_congestion_small / item android:id=@+id/warning

[android-developers] Re: How to manage service lifecycle when device kills it due to low memory

2009-08-26 Thread cnordvik
Thanks for a very detailed and informative response! It's a polling alert for football/soccer matches (FotMob actually), so maybe it is important after all :-) As a user I want to know what is running in the background and polling frequently but I have noted that Scoreboard and other apps

[android-developers] Advice for speeding up my drawing

2009-08-26 Thread CG
Hi, I am creating an app that show some histograms off your traveling speed in different time periods (histogram for the last minutte, histogram for the last 2 minuttes etc.) I would like to have an animation, and have discovered that drawing everything takes arround 300-400ms. wich is to long

[android-developers] Activate GPS service

2009-08-26 Thread Anton Pirker
Hey list! I have written an android app that needs the GPS capabilities of the phone. If GPS is activated everything works fine, but if it is not i get an error. So my question: Is it possible to write code that is activating GPS on the phone? I found a forum post that it is not possible

[android-developers] Re: Advice for speeding up my drawing

2009-08-26 Thread Andrei Bucur
If you haven't tried already: 1. Replace the strings that get modified with char[]. Strings are immutable objects so changing one means memory allocation and leaking. 2. Also check the Allocation Tracker for memory leaking. 3. For the constant strings I would use Picture or some bitmap buffer

[android-developers] Re: Error : Unknown URI: content://media/external/images/media

2009-08-26 Thread Dany BREARD
I try to make everything to fix that but its too complicated !!! If somebody has a solution, please help me I'm sure its very simply !!! On Aug 26, 10:01 am, Dany BREARD dany.bre...@gmail.com wrote: Hi I change EXTERNAL_CONTENT_URI  to  INTERNAL_CONTENT_URI, and I have an other error that I

[android-developers] Re: Activate GPS service

2009-08-26 Thread Mark Murphy
So my question: Is it possible to write code that is activating GPS on the phone? No. You can send the users to the activity where they can enable GPS, but you cannot enable GPS yourself. I found a forum post that it is not possible because of security reasons. Is this true? Correct. Is

[android-developers] Re: MenuItem ID

2009-08-26 Thread Mark Murphy
Hi everyone, I have a simple menu with 2 options: menu xmlns:android=http://schemas.android.com/apk/res/android; item android:id=@+id/congestion android:title=congestion event android:icon=@drawable/sign_congestion_small / item android:id=@+id/warning

[android-developers] color lookup table

2009-08-26 Thread arjun r
Hi, Does android use a color look up table ? if yes I wanted to see the entries in color lookup table and access them. Anybodies has any ideas. I am very new to android sorry if this looks like a silly question. Regards, Ace --~--~-~--~~~---~--~~ You received

[android-developers] problem with service

2009-08-26 Thread Imran
Hey All, I have a service which should download files in background, i am calling this service form another activity, the problem is when i am calling this service form another Activity the present Activity is getting Freezed( i.e not able to get control back ) until the all files in

[android-developers] how and where to save SecretKey for encryption and decryption

2009-08-26 Thread zeeshan
Hi Dear, i wrote a small application which encrypt some files using a secret key. i need to decrypt files on 2nd run which requires same key again plz advise where should i store the secret key. --~--~-~--~~~---~--~~ You received this message because you are

[android-developers] Re: How to use the RotationMatrix, actually how to get it

2009-08-26 Thread Peli
You confuse me: I thought a and b are float vectors - that is, vectors containing actual numbers, not pointers (for example to a Float class). As such, you can not .clone() them. Did you use Float (with capital F) instead of float (with lower case f)? Floats are classes surrounding float. If

[android-developers] Re: how and where to save SecretKey for encryption and decryption

2009-08-26 Thread Sujay Krishna Suresh
I think its better to ask the user for the secret key rather than storin it smwhere. On Wed, Aug 26, 2009 at 4:30 PM, zeeshan genx...@gmail.com wrote: Hi Dear, i wrote a small application which encrypt some files using a secret key. i need to decrypt files on 2nd run which requires same

[android-developers] Is it possible for a View having more than one Canvas

2009-08-26 Thread Nithin
Hi, I have a View and that has a canvas. I am rotating the canvas, for rotating a bitmap. But after that, I need to draw one more bitmap on the Canvas and, this should not rotate. The second bitmap has to be static. I tried with matrix rotation for bitmap. But its not rotating in the specified

[android-developers] Re: Programmatically setting style attribute

2009-08-26 Thread Nigel
These two links led me to the right way to approach my custom component: http://blog.pocketjourney.com/2008/05/02/android-tutorial-42-passing-custom-variables-via-xml-resource-files/ http://developer.android.com/guide/topics/ui/custom-components.html Cheers, Nigel

[android-developers] Re: how and where to save SecretKey for encryption and decryption

2009-08-26 Thread zeeshan
encryption and decryption is the app's internal functionality. user has nothing to do with this i encrypt the file on 1st run and on 2nd run i check if file is there then decrypt and show. so only thing i understand is to store the key somewhere in the app so i can access it for decryption. just

[android-developers] detect headphones plugged in

2009-08-26 Thread Nate
Is it possible to detect when/if headphones are plugged in? --~--~-~--~~~---~--~~ 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] Re: how and where to save SecretKey for encryption and decryption

2009-08-26 Thread Sujay Krishna Suresh
If it is only used by ur application, jus use a String instance to hold the key. y store in a file?? ll the key change dynamically??? On Wed, Aug 26, 2009 at 4:55 PM, zeeshan genx...@gmail.com wrote: encryption and decryption is the app's internal functionality. user has nothing to do with

[android-developers] Re: Ressource Management / Priorization of applications?

2009-08-26 Thread mstu...@googlemail.com
Thanks! Ok, I can set priority for threads... but threads running in processes... is it therefore possible to set priority for processes as well...? On 26 Aug., 00:04, 3crowntech 3crownt...@gmail.com wrote: Hi Matthias, You can set thread priority by android.os.Process.setThreadPriority

[android-developers] Re: how and where to save SecretKey for encryption and decryption

2009-08-26 Thread zeeshan
key doesn't change. can i store keyString in preferences to retrieve for decryption SecretKey key = KeyGenerator.getInstance(DES).generateKey(); byte[] keybytes = key.getEncoded(); String keyString = new String(keybytes); or plz provide any example for the best practice

[android-developers] Re: How to use the RotationMatrix, actually how to get it

2009-08-26 Thread Rud
Sorry for the confusion. I have another place in the application where I am copying an array of objects. That is what I used for testing. Rud On Aug 26, 6:05 am, Peli peli0...@googlemail.com wrote: You confuse me: I thought a and b are float vectors - that is, vectors containing actual

[android-developers] maps display issue

2009-08-26 Thread Honest
Hello, I am displaying Maps in my application. I am adding some GeoPoint in it and displaying picture at particular point. Now my problem is my screen is not directly displaying that point. Instead of it is display US part first time and when i open maps after first time it displays the previous

[android-developers] Getting setting apk configuration in Activity

2009-08-26 Thread SIDIBE Ali-Broma
Hello In Java ME we can set .jad configuration in decrition file and we can get this values in midlet by getAppProperti(); So in Android we can set apk configuration ( eclipse) apk configuration. But when i set this! my file defaul properties change and my projet signal some error. So in

[android-developers] Re: Is it possible for a View having more than one Canvas

2009-08-26 Thread Andrei Bucur
Use save/restore with MATRIX_SAVE_FLAG flag. Before rotating the canvas you save the current matrix and after the first bitmap is drawn you restore it. On Wed, Aug 26, 2009 at 2:09 PM, Nithin nithin.war...@gmail.com wrote: Hi, I have a View and that has a canvas. I am rotating the canvas,

[android-developers] Re: how and where to save SecretKey for encryption and decryption

2009-08-26 Thread Sujay Krishna Suresh
On Wed, Aug 26, 2009 at 5:41 PM, zeeshan genx...@gmail.com wrote: key doesn't change. can i store keyString in preferences to retrieve for decryption yes that'd be better than storin it in a file. But better to jus have a constant field in ur class that cointains ur key. SecretKey key =

[android-developers] Re: Communication between Android devices over 3G

2009-08-26 Thread Sew
Thanks for the low latency :) You can use 3G for communication to another device on 3G. You have only to know that the IP address on 3G is NAT'd. You have to make sure that you tell the other device how to deal with the NAT traversal. One way to solve this is having an external server which

[android-developers] Re: ADC 2 Submission Site -- Now live

2009-08-26 Thread androidDeveloper
So...will ADC2 apps be used by people outside of ADC2 judging? No, apps will be removed from the device after the judging period is over. If developers want to, they may release their app into the standard Market, but that will be the only version they will need to support. Ok, I

[android-developers] NullpointerException

2009-08-26 Thread Small World
The error java.lang.nullpointerexception occurred when I was getting the value from EditText. The code was like as follows: EditText et = (EditText) findViewById(R.id.et); String str = et.getText().toString(); I have no idea what is wrong with it, can anyone help me ? Many thanks~

[android-developers] Re: OpenGL ES confusion

2009-08-26 Thread Geefer
Hi, I'm not an OpenGL expert but I suspect that the confusion may be that you are using the fixed point vertex arrays (passing GL_FIXED to glVertexPointer for instance) to set up your vertex co-ordinates. This is probably a good thing as it should be faster to use fixed point rather than

[android-developers] Re: detect headphones plugged in

2009-08-26 Thread Donn Felker
Yes, a event is broadcast: http://developer.android.com/reference/android/content/Intent.html#ACTION_HEADSET_PLUG Set up a broadcast receiver and handle it based upon the state of the data from the intent. Enjoy Donn On Wed, Aug 26, 2009 at 6:27 AM, Nate nathan.sw...@gmail.com wrote: Is it

[android-developers] Re: how and where to save SecretKey for encryption and decryption

2009-08-26 Thread zeeshan
key never change once its been created. as i know SecretKey generates by a funtion as above, how can i set it as constant can you plz provide example? On Aug 26, 1:39 pm, Sujay Krishna Suresh sujay.coold...@gmail.com wrote: On Wed, Aug 26, 2009 at 5:41 PM, zeeshan genx...@gmail.com wrote:

[android-developers] Re: problem with service

2009-08-26 Thread Donn Felker
This should point you in the right direction: http://developerlife.com/tutorials/?p=290 On Wed, Aug 26, 2009 at 5:57 AM, Imran imran...@gmail.com wrote: Hey All, I have a service which should download files in background, i am calling this service form another activity, the

[android-developers] Re: color lookup table

2009-08-26 Thread xu haojie
As i known, there isn't a color lookup table. But you can find one example(com.example.android.apis.graphics.FingerPaint com.example.android.apis.graphics.ColorPickerDialog) in API Demo ($sdk_home/platforms/android-1.5/samples/ApiDemos), which provides a view showing the different colors. I hope

[android-developers] Re: maps display issue

2009-08-26 Thread Sujay Krishna Suresh
use mapview.pan* On Wed, Aug 26, 2009 at 6:23 PM, Honest honestsucc...@gmail.com wrote: Hello, I am displaying Maps in my application. I am adding some GeoPoint in it and displaying picture at particular point. Now my problem is my screen is not directly displaying that point. Instead of

[android-developers] Re: how and where to save SecretKey for encryption and decryption

2009-08-26 Thread Sujay Krishna Suresh
On Wed, Aug 26, 2009 at 7:16 PM, zeeshan genx...@gmail.com wrote: key never change once its been created. as i know SecretKey generates by a funtion as above, how can i set it as constant can you plz provide example? On Aug 26, 1:39 pm, Sujay Krishna Suresh sujay.coold...@gmail.com

[android-developers] Re: NullpointerException

2009-08-26 Thread Donn Felker
Check to see if your et variable is null. I bet you that is the problem. On Wed, Aug 26, 2009 at 8:46 AM, Small World keamou...@gmail.com wrote: The error java.lang.nullpointerexception occurred when I was getting the value from EditText. The code was like as follows: EditText et =

[android-developers] Move focus to top of activity on create

2009-08-26 Thread jsdf
Hi all, I have an activity that begins with almost a page of text, then has a few form controls. When the activity launches, the first form control takes focus and the screen scrolls down to make it fully visible. When this happens, the text at the top is off the top edge of the screen. When

[android-developers] ProgressDialog on Oncreate method

2009-08-26 Thread AntoniMG
Hi, We are having some problems showing a ProgressDialog on a onCreate method (for example, when the app calculates some operations before starts). This is a example of what is our problem: public class dialog extends Activity { /** Called when the activity is first created. */ int res;

[android-developers] Re: ProgressDialog on Oncreate method

2009-08-26 Thread Sujay Krishna Suresh
On Wed, Aug 26, 2009 at 7:43 PM, AntoniMG tonio...@gmail.com wrote: Hi, We are having some problems showing a ProgressDialog on a onCreate method (for example, when the app calculates some operations before starts). This is a example of what is our problem: public class dialog extends

[android-developers] Re: ProgressDialog on Oncreate method

2009-08-26 Thread AntoniMG
I must sat that the dialog doenst appear until the Thread is finished because onCreate is not terminated, if we eliminate tv.setText(res) the dialog appears during 1 second, because is the last instruction of the metod(): On 26 ago, 16:13, AntoniMG tonio...@gmail.com wrote: Hi, We are having

[android-developers] Re: NullpointerException

2009-08-26 Thread Mark Murphy
The error java.lang.nullpointerexception occurred when I was getting the value from EditText. The code was like as follows: EditText et = (EditText) findViewById(R.id.et); String str = et.getText().toString(); I have no idea what is wrong with it, can anyone help me ? Most likely, your

[android-developers] unable to hide window title using a theme.

2009-08-26 Thread sdphil
yes, I know how to do it in the java code (requestWindowFeature (Window.FEATURE_NO_TITLE)) -- but I would like to create a style that does that. style name=myStyle item name=android:windowNoTitletrue/item item name=android:background@drawable/myBackground/item item

[android-developers] Error Publishing Upgrade of an Application

2009-08-26 Thread nah0y
Hello, I'm a french student working on an android game called : MemoGame. I've successfully published my first version on the android market using my keystore But now i have a problem when i want to upgrade my application, here the error : The apk must be signed with at least one certificate

[android-developers] Re: EMMA Code coverage and JUnit

2009-08-26 Thread hari uppalapati
Santosh After starting the emualtor...do #adb shell Once you can get to the console(it may take few secondsyou will get device offline initially), exit from adb shell;do adb remount and then adb sync regards Haritha On Wed, Aug 26, 2009 at 12:07 AM, santosh kumar

[android-developers] Re: NullpointerException

2009-08-26 Thread Jack Ha
It could also be that setContentView() is not being called before findViewById(). -- Jack Ha Open Source Development Center ・T・ ・ ・Mobile・ stick together The views, opinions and statements in this email are those of the author solely in their individual capacity, and do not necessarily

[android-developers] LocationManager always returns null ... ?

2009-08-26 Thread Emre A. Yavuz
Hi, Below is a short script I wrote to obtain the location of the phone using the embedded GPS device. ... LocationManager locationManager; locationManager = (LocationManager)getSystemService(Context.LOCATION_SERVICE); Location location =

[android-developers] Re: unable to hide window title using a theme.

2009-08-26 Thread Dianne Hackborn
Er... the window title is not associated with a linear layout. That is associated with the activity (ideally set with android:theme in the manifest). On Wed, Aug 26, 2009 at 8:13 AM, sdphil phil.pellouch...@gmail.com wrote: yes, I know how to do it in the java code (requestWindowFeature

[android-developers] Re: Getting setting apk configuration in Activity

2009-08-26 Thread Dianne Hackborn
In Android I would recommend storing these as resources that are different in the different .apks. On Wed, Aug 26, 2009 at 5:23 AM, SIDIBE Ali-Broma jahbr...@gmail.comwrote: Hello In Java ME we can set .jad configuration in decrition file and we can get this values in midlet by

[android-developers] Re: Ressource Management / Priorization of applications?

2009-08-26 Thread Dianne Hackborn
Linux doesn't really associate priorities with processes... or more accurately, in Linux a process is a unit of execution, so each thread is also actually a process (running in the same address space), with their own independent priorities. On Wed, Aug 26, 2009 at 4:29 AM, mstu...@googlemail.com

[android-developers] Re: How to manage service lifecycle when device kills it due to low memory

2009-08-26 Thread Dianne Hackborn
You really should be using an alarm to start your service and then stop it when done. If you are polling often enough (like less than every 5 minute or so) that this doesn't make sense, then you are going to kill the user's battery. On Wed, Aug 26, 2009 at 2:10 AM, cnordvik cnord...@gmail.com

[android-developers] Re: System crash problems

2009-08-26 Thread Dianne Hackborn
A crash of the system process is by definition a bug on the platform. If you have code to reproduce this, please consider filing a bug report with the code so an engineer can look at it. On Wed, Aug 26, 2009 at 12:58 AM, Mika mika.ristim...@tkk.fi wrote: Hi, I have started to have strange

[android-developers] Re: Communication between Android devices over 3G

2009-08-26 Thread Roman ( T-Mobile USA)
With external server I refer to a server which is public reachable somewhere in the internet. For example for doing some Voip stuff you would place a public reachable PBx in the internet. This server would know how to translate addresses correctly (see Asterisk PBx which has built in

[android-developers] SettingsTosActivity @@ com.google.android.googleapps

2009-08-26 Thread Deepak
How can I view this file? Can someone paste the contents of this... want to see how this implemented.. --~--~-~--~~~---~--~~ 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] invalid apk file

2009-08-26 Thread sawyer zhu
I use Eclipse android wizard build a simple HelloWorld program, When I install the HelloWorld,apk file, one error occur, the console print out that Installation failed due to the invalid apk file, I also use the winrar to open the HelloWorld.apk file, It also show a error message Unknow end, It

[android-developers] Cursor position at the end of text

2009-08-26 Thread Sudeep
Hi, When i try to edit and already stored notepad , i see the cursor at the end of first line. I want to make it appear to the end of the text. Please help me in this. Thanks for your support !! --~--~-~--~~~---~--~~ You received this message because you

[android-developers] Changing a color in a Drawable

2009-08-26 Thread Matt McMinn
I tried asking on the android-beginners list and had no luck, so I thought I'd try here. I'm working on an android application, and I have a drawable that I'm loading up from a source image. On this image, I'd like to convert all of the white pixels to a different color, say blue, and then

[android-developers]

2009-08-26 Thread Grant, Stephanie (Matrix)
I have tried to be removed from this email group 5 times! Please remove me! Stephanie Grant Revenue Guest Technology stephanie.gr...@ihg.com mailto:stephanie.gr...@ihg.com 770-689-4289 You cannot do a kind act too soon, for you never know how soon it will be too late..

[android-developers] Getting the Share menu to work correctly / Registering Intents correctly

2009-08-26 Thread Phil
We want to make our application integrate correctly with the Share features on applications like Gallery and the Browser. Following the advice the appears elsewhere on this list we've added the entry in our manifest: intent-filter android:icon=@drawable/icon android:label=@string/ app_name

[android-developers] Re:To Arvind

2009-08-26 Thread Raghav
Hi Arvind this is an example for u... ItemizedOverlay Example: --- package samp.sam11; //import mapv.mapapi.R; import java.io.IOException; import java.util.List; import com.google.android.maps.GeoPoint; import com.google.android.maps.MapActivity;

[android-developers] API to write a device unlock application?

2009-08-26 Thread Voice Identity
Hi, Wondering if anyone can refer me to the API to write an unlock application, similar to the pattern unlock shown here: http://androideka.com/tag/android-unlock-pattern/ What hooks / api would I use to tie-in or substitute my own unlock application? Regards, KG

[android-developers] Android web application submission.

2009-08-26 Thread adam
Hi Friends, I have developed an application which contains an icon in the emulator, by clicking the icon it will redirect to the application webpage. There we can perform the manipulations and submitting the requests etc. Is this kind of application is eligible to submit to the Android Market

[android-developers] Releasing application updates

2009-08-26 Thread Georgy
this might sound as a really silly question but I published my application and would like to release some updates: 1- how can I do it? 2- should I version my app as 1.1 now? Thanks --~--~-~--~~~---~--~~ You received this message because you are subscribed to the

[android-developers] Re: MyTouch Lag Problems

2009-08-26 Thread Mike
Thanks for taking the time to download the game and try it out on your hardware. I appreciate that! I'm concerned about the game missing letters once in a while, but I'm much more concerned with the issue of the Force Close with wait option dialog being displayed every once in a while when they

[android-developers] Re: [android-developers]

2009-08-26 Thread Dan Sherman
Have you tried following the instructions at the bottom? - Dan On Wed, Aug 26, 2009 at 12:43 PM, Grant, Stephanie (Matrix) stephanie.gr...@ihg.com wrote: I have tried to be removed from this email group 5 times! Please remove me! *Stephanie Grant* Revenue Guest Technology

[android-developers] Re: how and where to save SecretKey for encryption and decryption

2009-08-26 Thread sdphil
why can't you store it in a SharedPreferences ? On Aug 26, 7:33 am, Sujay Krishna Suresh sujay.coold...@gmail.com wrote: On Wed, Aug 26, 2009 at 7:16 PM, zeeshan genx...@gmail.com wrote: key never change once its been created. as i know SecretKey generates by a funtion as above, how can i

[android-developers] Re: Android REST XML implementation

2009-08-26 Thread Mike Wolfson
Excellent, concise example. This is something lots of people will use. Thanks. On Aug 25, 8:31 pm, smnirven smnir...@gmail.com wrote: Hey folks, I're recently implemented REST XML communication using apache's http libraries in my android app.  During the process I found examples on the

[android-developers] Re: Patching synthesized voice in ongoing call

2009-08-26 Thread Roman ( T-Mobile USA)
During an active phone call you have no control on SDK level of the audio channel. In Android this is controlled from lower level. -- Roman Baumgaertner Sr. SW Engineer-OSDC ·T· · ·Mobile· stick together The views, opinions and statements in this email are those of the author solely in their

[android-developers] How to make WebView do a Vertical Scroll ?

2009-08-26 Thread Kumaravel Kandasami
Hi, Any idea on how to make the WebView automatically(default behavior or problematically) do a vertically scroll if the DIV tag height increases ? Thank You. * HTML Structure: * Mone Now - meta name=viewport content=width=320; initial-scale=1.0; maximum-scale = 1.0; user-scalable=0 -

[android-developers] Re: MyTouch Lag Problems

2009-08-26 Thread Dianne Hackborn
Getting the output of adb bugreport is very valuable for diagnosing an ANR -- it will have all stacks of all apps running (including the main thread of the foreground app that had the ANR), in the log there will be cpu information at the time of the ANR, etc. Of course the output of this command

[android-developers] Re: Error Publishing Upgrade of an Application

2009-08-26 Thread Balwinder Kaur (T-Mobile USA)
Besides the same keystore, you also need the same alias name for your key. Balwinder Kaur Open Source Development Center ·T· · ·Mobile· stick together The views, opinions and statements in this email are those of the author solely in their individual capacity, and do not necessarily represent

[android-developers] Re: How to make device to sleep?

2009-08-26 Thread Yusuf Saib (T-Mobile USA)
AlarmManager: http://d.android.com/reference/android/app/AlarmManager.html Yusuf Saib Android ·T· · ·Mobile· stick together The views, opinions and statements in this email are those of the author solely in their individual capacity, and do not necessarily represent those of T-Mobile USA, Inc.

[android-developers] Re: LocationManager always returns null ... ?

2009-08-26 Thread Mark Murphy
Anyway, the code seems to work fine, but locationManager always returns null even though I tried to send mock location data to the Android Emulator via the DDMS application using the Manual Location tab. Whatever I send seems to be ignored. I also tried establishing a telnet connecton to the

[android-developers] Re: Broken OpenGL texture output after resuming the app

2009-08-26 Thread Jack Palevich
I work on the Android graphics team. I'll try to look at this issue this week and let you know what I find. On Aug 25, 7:28 am, Ed Burnette ed.burne...@gmail.com wrote: Could someone on the Android graphics team comment on whether people should code around this or if people should ignore it

[android-developers] Re: Error : Unknown URI: content://media/external/images/media

2009-08-26 Thread Streets Of Boston
I think this is the problem: Uri uri = getContentResolver().insert(Media.EXTERNAL_CONTENT_URI, values); The first parameter of 'insert' must either be a bitmap or the path to an actual image-file. Right now, you provide the value Media.EXTERNAL_CONTENT_URI, which is a directory, not a file.

[android-developers] MediaRecorder setVideoFrameRate

2009-08-26 Thread Maarten Wijnants
Hello Android developers, I am experimenting with video capture/encoding using the MediaRecorder class. One thing I noticed during testing is that it seems like the setVideoFrameRate method of the MediaRecorder class has no effect. In other words, the MediaRecorder does not seem to adhere to the

[android-developers] Tab2 scroll view showing up in tab1

2009-08-26 Thread Siri Appaneni
Hi All, I have an application where i have a TabHost with 3 tabs.I have a ScrollView in tab2 and also another ScrollView in tab1. The problem is my ScrollView in tab2 shows up in tab1 too (the scroll bar is showing up). Can anyone tell me where i am going wrong. My main.xml is given below. Name

[android-developers] resizable framelayouts possible?

2009-08-26 Thread Jay-andro
I want to do a framelayout where the bottom frame is short by default, like only the top tip of it shows above the fold, but when the user touches that frame, it slides up into full view reducing the frame above it in size. Is something on these lines possible? What api's should I look at for

[android-developers] Re: Move focus to top of activity on create

2009-08-26 Thread Balwinder Kaur (T-Mobile USA)
For a XML file that looks like this, it does what you are looking for. If this is not what you want, then how about you paste your XML file ? ?xml version=1.0 encoding=utf-8? ScrollView xmlns:android=http://schemas.android.com/apk/res/android; android:layout_width=fill_parent

[android-developers] ontouch slideout buttons

2009-08-26 Thread Jay-andro
I want to provide buttons in my app that appear/disappear near the bottom of the screen on touch near the bottom similar to how the browser zoom magnifying glasses appear and disappear. Is there an api to do this? TIA Jay --~--~-~--~~~---~--~~ You received this

[android-developers] Re: how and where to save SecretKey for encryption and decryption

2009-08-26 Thread Haravikk
The more important question I think is why are you doing this, what information are you trying to protect? It seems like you're adding encryption for the sake of it, but in fact your solution won't be much more secure against someone determined to get at the file's contents. If the key is static,

[android-developers] Re: java question

2009-08-26 Thread Yusuf Saib (T-Mobile USA)
I think this is a valid Android question, as Android might handle this differently than standard JavaSE. Specifically, JavaSE lets you do this and (to the best of my knowledge) Android does not. Yusuf Saib Android ·T· · ·Mobile· stick together The views, opinions and statements in this email

  1   2   >