[android-developers] gallery problem

2009-11-23 Thread tstanly
hi all, I used the gallery widget for photo shows, when I put the photos in the photo directory, there will be some black photos on the gallery when gallery shows, so, did somebody have the same experience? thanks -- You received this message because you are subscribed to the Google Groups

[android-developers] SGX driver impact Android phone

2009-11-23 Thread linlone9
hi In latest Android phone, SGX driver has replaced framebuffer. However I find frameworks/base/opengl/tests/swapinterval/swapinterval.cpp don't work well, the error output is as blow: == C:\adb shell test-opengl-swapinterval # configs = 27 couldn't find an

[android-developers] Broadcast between desktop and simulator application in WIFI

2009-11-23 Thread Le Tuan Anh
Hello everyone, I have two peer-to-peer apps, one runs in the desktop and one runs in the Android Simulator (1.6 version). Each program broadcast the message (by UDP with port 6) to its network to discovery the remote service of the other. In desktop: application has IP 192.168.1.13,

[android-developers] Re: Encrypting in PHP and Decrypting in Android

2009-11-23 Thread Fabio
What about SSL/TLS ? On Nov 22, 2:47 pm, jax jackma...@gmail.com wrote: What would I use to: Encrypt a string in PHP and Decrypt that string from Android?  What methods are supported by both and which is the most secure? -- You received this message because you are subscribed to the Google

[android-developers] Re: default screenwidth of android

2009-11-23 Thread Jags
I read the document and opened my image in draw9path tool I could not understand what to do with it, when i tried filling the pixels in left, the texts in picture started disappearing. so i did a save as .9 patch. the image was saved as imagename.9.png tried to use that by copying to drawable

[android-developers] Re: default screenwidth of android

2009-11-23 Thread Jags
i am using this xml in my main.xml ImageView android:id=@+id/splashscreen android:layout_width=fill_parent android:layout_height=fill_parent android:src=@drawable/imagename android:layout_gravity=center / On Nov 23, 4:59 pm, Jags jag...@gmail.com wrote:

Re: [android-developers] MapView Directions

2009-11-23 Thread Mark Murphy
Loki117 wrote: I understand that the driving directions class has been taken out of the Google maps API. Is there any other way to get directions on your MapView that I am missing? Not at this time, AFAICT. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://twitter.com/commonsguy

[android-developers] how to set list item selected???

2009-11-23 Thread Diya
Hi, Can any one tell me how can I display a list in which 1 list item always selected (highlights by any color or transparent strip ) by default ie, the initial item of the list is always highlighted. Eg. In mobiles and TV Thank you -- You received this message because you are subscribed to

[android-developers] Re: Possible to change between full screen and with status bar?

2009-11-23 Thread tomei.ninge...@gmail.com
This works for me: // go full screen WindowManager.LayoutParams attrs = mActivity.getWindow().getAttributes (); attrs.flags |= WindowManager.LayoutParams.FLAG_FULLSCREEN; mActivity.getWindow().setAttributes(attrs); // go non-full screen WindowManager.LayoutParams attrs =

[android-developers] Nesting a relative layout and linear layout

2009-11-23 Thread Diya
hi, Can any one plz tel me how i can nest a relative layout and linear layout that contains only one text view(used by array adapter to generate the list). -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email

[android-developers] Re: default screenwidth of android

2009-11-23 Thread Fred Grott(Android Expert, http://mobilebytes.wordpress.com)
Jags you need to mark the areas that draw9path stretches to get a validated dfraw9path image with the tool.. directions are here: http://developer.android.com/guide/developing/tools/draw9patch.html Fred Grott Android Developer | http://mobilebytes.wordpess.com | http://twitter.com/sharemefg |

Re: [android-developers] EGL and surface destruction

2009-11-23 Thread David Given
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 David Given wrote: [...] I have an application that uses EGL. It creates an EGLSurface in the normal manner, draws on it, etc. Then the user presses the HOME button. The EGL spec says this: Following a power management event, calls to

[android-developers] Re: How to read resource based on the current theme

2009-11-23 Thread Stefan
Yes... I was not feeling very comfortable with having to index the items in the array either. For some reason I did not make the connection that R.styleable actually is the array of integers I need. Just to make sure I did it correct this time: In attrs.xml I have: declare-styleable

[android-developers] Re: MediaStore returning loop of images and not entire directory

2009-11-23 Thread Mihai Fonoage
Hi Jason, Have you tried the updated version of my code (http:// mihaifonoage.blogspot.com/2009/11/displaying-images-from-sd-card- in.html) ? I am curious if you'll encounter the same problem with it. I am still using MediaStore, so you might. It would also be interesting to know what is wrong

[android-developers] Debug config not stopping at break points

2009-11-23 Thread Pierre Henry
All hi, Breakpoints in code arent efficient, debugger doesnt stop at it. __ Eclipse 3.5.2, Android sdk 2.0 Windows XP __ Is this a know problem ? -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this

[android-developers] Re: 2.0 AccountManager - Implementing a new account type with Google, Facebook and Exchange

2009-11-23 Thread Jerry Brady
I'm going to be trying it on a Droid this morning. On Nov 21, 10:07 pm, Dan Dumont ddum...@gmail.com wrote: I get that exception in the emulator ( doesn't reboot though ) I thought it was due to missing pieces of the emulator...  does logcat output anything? On Sat, Nov 21, 2009 at 7:07

[android-developers] Share XMPPConnection

2009-11-23 Thread Bobbie
I need to be able to post XMPP messages in my main activity AND a service that I am running in the background. My question is this: How can I pass all the XMPP information (including XMPPConnection) to the service so it can use it without twice logging in? Currently I have it setup so I am

[android-developers] Re: Securing a paid app

2009-11-23 Thread jax
I am still trying to get my head around this. How would I go about generating the hash code? I am intending on using the ime. Do I need public private keys? confused... On Nov 15, 3:39 am, Pooper code...@gmail.com wrote: What you can do is make your user enter serial #, the serial number

[android-developers] SDK 2.0 Auto Dim Control?

2009-11-23 Thread bklik
Has a way been added to the Android 2.0 SDK to disable auto dimming on the Motorola Droid? Brenton -- 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

[android-developers] Re: Securing a paid app

2009-11-23 Thread jax
How do you get hold of the users google account from your app? On Nov 17, 10:03 pm, Streets Of Boston flyingdutc...@gmail.com wrote: What would happen if someone gets a new android phone? The app's authentication will fail. You should hash/key on the user's google-account, the same key that

Re: [android-developers] Share XMPPConnection

2009-11-23 Thread Mark Murphy
Bobbie wrote: I need to be able to post XMPP messages in my main activity AND a service that I am running in the background. My question is this: How can I pass all the XMPP information (including XMPPConnection) to the service so it can use it without twice logging in? Have the service

Re: [android-developers] Share XMPPConnection

2009-11-23 Thread Mark Murphy
Also, I should note that wherever XMPPConnection comes from, it might not be thread-safe. Read the documentation for that class to see if it is; if it is not, be sure to take steps to synchronize access to the connection. Mark Murphy wrote: Bobbie wrote: I need to be able to post XMPP messages

[android-developers] custom dialog crashing

2009-11-23 Thread Jags
I have written below code for showing a custom dialog void CheckHighScore() { AlertDialog.Builder builder; AlertDialog alertDialog; Context mContext = getApplicationContext(); LayoutInflater

[android-developers] Re: Saving service killing without startForeground

2009-11-23 Thread Ash
Hi!! First of all I am extremely sorry for not providing the logs. (Kindly the find the logs below) Let me provide some more information about the service. Initially my test environment was full build, when I could successfully test the functionality I switched to SDK. The same software without

[android-developers] Re: Share XMPPConnection

2009-11-23 Thread Bobbie
XMPPConnection is from the Smack XMPP Library. Any chance you could provide me with a simple sample code of passing the XMPPConnection back to the Activity from the Service? The example you posted is different than mine, I'm using an Intent to run my service, my service is going to keep running

[android-developers] Re: custom dialog crashing

2009-11-23 Thread Jags
yeah i referred this tutorial of oogle http://developer.android.com/guide/topics/ui/dialogs.html#ShowingADialog On Nov 23, 8:11 pm, Jags jag...@gmail.com wrote: I have written below code for showing a custom dialog         void CheckHighScore() {                        

[android-developers] Re: custom dialog crashing

2009-11-23 Thread Jags
I understand that this is coming null because my current activity layout is main.xml. but is it that i need to do a setlayout to mydialog before starting any of my code ? On Nov 23, 8:11 pm, Jags jag...@gmail.com wrote: I have written below code for showing a custom dialog         void

[android-developers] Re: SDK 2.0 Traceview in The Droid.

2009-11-23 Thread davemac
Yes. You need to add a uses-permission to your AndroidManifest.xml file for android.permission.WRITE_EXTERNAL_STORAGE. - dave On Nov 20, 9:39 pm, JHandal jhand...@gmail.com wrote:  HI I'm running the basic HelloActivity from the SDK 2. samples. When I try Trace view in the DDMS prespective

[android-developers] ActivityGroup and subactivities Lifetime.

2009-11-23 Thread chentschel
Hi!, I'm extending ActivityGroup class and implemented a custom tabHost and widgets for my app. Can someone shed a light on how are the Activities fife-time inside an ActivityGroup?. Im getting a weird behavior when using the following code to send a new intent to the current sub-activity,

Re: [android-developers] Re: MediaStore returning loop of images and not entire directory

2009-11-23 Thread Jason Mallet-Prevost
Hi Mihai, I have an HTC G1 running Android 1.6. I'm working on getting your new code implemented this morning. I'll let you know how it goes. And thank you. On Mon, Nov 23, 2009 at 7:56 AM, Mihai Fonoage fonoag...@gmail.com wrote: Hi Jason, Have you tried the updated version of my code

[android-developers] contentView Required

2009-11-23 Thread Pierre Henry
Hello, regarding the trace dump following, what does mean 'contentView required' ? __ java.lang.RuntimeException: Unable to create service com.comp.app.MyService: java.lang.IllegalArgumentException: contentView required: pkg=com.comp.app id=1 notification=Notification

Re: [android-developers] Re: MediaStore returning loop of images and not entire directory

2009-11-23 Thread Jason Mallet-Prevost
Do I need to be including any other classes for this to run? What is a PuzzleView? Is that something in Android 2.0? On Mon, Nov 23, 2009 at 9:59 AM, Jason Mallet-Prevost hyperje...@gmail.comwrote: Hi Mihai, I have an HTC G1 running Android 1.6. I'm working on getting your new code

[android-developers] Re: custom dialog crashing

2009-11-23 Thread Jags
ok! i moved the code to onCreateDialog and even tough vg is null, it created the alert. but should vg be null ? but it crashed again ! here is code protected Dialog onCreateDialog(int id) { AlertDialog.Builder builder; AlertDialog alertDialog = null;

[android-developers] Re: How to remove sms notifications in status bar

2009-11-23 Thread Muhammad Bilal
here you go http://stackoverflow.com/questions/419184/how-to-delete-sms-from-inbox-in-android-programmatically this link provide great detail how to retrieve messages form in box and delete them . regards MB On Nov 14, 8:33 am, Sean Liao wirelessw...@gmail.com wrote: You guys are ahead of

Re: [android-developers] Re: Securing a paid app

2009-11-23 Thread David Given
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 jax wrote: [...] How would I go about generating the hash code? I am intending on using the ime. If you're in the UK and you want to keep track of customers' IMEIs, you may need to get legal advice --- there's a good chance you'll be liable under

[android-developers] Re: MediaStore returning loop of images and not entire directory

2009-11-23 Thread Mihai Fonoage
No, you can take that line out (I updated the code with this change). Thanks for noticing that. Mihai Fonoage On Nov 23, 10:04 am, Jason Mallet-Prevost hyperje...@gmail.com wrote: Do I need to be including any other classes for this to run?  What is a PuzzleView?  Is that something in Android

[android-developers] Re: ActivityGroup and subactivities Lifetime.

2009-11-23 Thread chentschel
Update on this: Setting 'android:launchMode=singleTop' at the sub- activity definition on the manifest file. Solves my problem. Can someone shed a light on this?. Thanks. CH On Nov 23, 11:59 am, chentschel chentsc...@gmail.com wrote: Hi!,    I'm extending ActivityGroup class and implemented a

Re: [android-developers] Re: MediaStore returning loop of images and not entire directory

2009-11-23 Thread Jason Mallet-Prevost
Mihai, It works! Like a charm too. Thanks for your help on this. I'll have to tinker around with it and see how it works exactly. On Mon, Nov 23, 2009 at 10:27 AM, Mihai Fonoage fonoag...@gmail.com wrote: No, you can take that line out (I updated the code with this change). Thanks for

[android-developers] Re: Securing a paid app

2009-11-23 Thread Fred Grott(Android Expert, http://mobilebytes.wordpress.com)
I agree getting IMEI to store on a server not in telecoms control bad idea..both security wise and legally.. Fred Grott Android Developer | http://mobilebytes.wordpess.com | http://twitter.com/sharemefg | http://www.linkedin.com/in/shareme | gtalk: fred.grott | skype: fred.grott | googlewave:

[android-developers] Re: custom dialog crashing

2009-11-23 Thread Jags
is it because i am calling it from a handler ? this handler is a private member variable of my activity private Handler myhandler = new Handler() { /* (non-Javadoc) * @see android.os.Handler#handleMessage(android.os.Message) */ @Override

[android-developers] Re: MediaStore returning loop of images and not entire directory

2009-11-23 Thread Mihai Fonoage
Happy it does. I posted a very brief description of the code at the beginning of the blog; that, together with code comments should help a bit. Let me know if you have any questions. Mihai Fonoage On Nov 23, 10:52 am, Jason Mallet-Prevost hyperje...@gmail.com wrote: Mihai, It works!  Like a

[android-developers] Re: OpenGL gluUnProject

2009-11-23 Thread Streets Of Boston
http://groups.google.com/group/android-developers/browse_frm/thread/9d2bf53e3a798cb6/07cfa3ee11507fc1?lnk=gstq=gluUnproject#07cfa3ee11507fc1 On Nov 22, 3:35 am, Anfernee anfernee2...@gmail.com wrote: i want to get the 3D coordinate from the android screen x,y coordinate i choose to use the

[android-developers] Re: Picture location on HTC sense phones

2009-11-23 Thread Streets Of Boston
If you do a ContentResolver.insert, instead of a MediaStore.Images.Media.insertImage, you have to provide the fully qualified path to the image-file in the ContentValues as well: // fullyQualifiedPathName is the absolute/canonical path-name to the JPEG file.

[android-developers] Re: custom dialog crashing

2009-11-23 Thread Jags
ok, this worked, but i dont know what was wrong in my aproach, for the sake of meeting deadline i will use this for now http://www.anddev.org/viewtopic.php?p=12915 in the above example, can I remove the edit text and show some scrollable text info full screen ? any helps are thanked regards

[android-developers] Re: custom dialog crashing

2009-11-23 Thread Lance Nanek
http://developer.android.com/guide/topics/ui/dialogs.html#ShowingADialog There was a thread recently about how that part of the documentation was wrong, actually. At the minimum you're going to have to replace this line: builder = new AlertDialog.Builder(mContext); With this: builder = new

[android-developers] embeded web browser with custom width and height

2009-11-23 Thread lei
I try to create a web browser with custom width and height rather than fill screen, is that possible to do in android? Below is my snippet code: AbsoluteLayout.LayoutParams params = new AbsoluteLayout.LayoutParams( 180, 180,

Re: [android-developers] Re: Picture location on HTC sense phones

2009-11-23 Thread Dianne Hackborn
Or you can just explicitly ask the media scanner to scan the file: http://developer.android.com/reference/android/media/MediaScannerConnection.html On Mon, Nov 23, 2009 at 8:49 AM, Streets Of Boston flyingdutc...@gmail.comwrote: If you do a ContentResolver.insert, instead of a

[android-developers] AlarmManager - scheduled alarms after updating app canceled?

2009-11-23 Thread chrisonline
App xy schedules 2 alarms in 1 hour. The app xy is updated with a newer version. The already scheduled 2 alarms are gone?! Why? It seems the updating or deinstalling of an app does include to cancel all active alarms sent from this app. Is this right? -- You received this message because you

Re: [android-developers] Re: ActivityGroup and subactivities Lifetime.

2009-11-23 Thread Dianne Hackborn
It is trying to mimic the the behavior of normal activities -- if you start an activity, this will start on top (or here replace) the current one, unless its launch mode is singleTop. It seems there is a bug where it is ignoring the single top flag. This should be fixed, but note that activity

Re: [android-developers] Re: SDK 2.0 Traceview in The Droid.

2009-11-23 Thread Dianne Hackborn
You can also use the new adb shell am profile ... commands to start and stop profiling in a process. On Mon, Nov 23, 2009 at 6:40 AM, davemac davemac...@gmail.com wrote: Yes. You need to add a uses-permission to your AndroidManifest.xml file for android.permission.WRITE_EXTERNAL_STORAGE. -

Re: [android-developers] Running a service once per day

2009-11-23 Thread Dianne Hackborn
Yes that is what you have to do; the alarm manager does not persist alarms across boots. On Sun, Nov 22, 2009 at 10:36 PM, Armond Avanes armond...@yahoo.com wrote: Hi Folks, I want to run a background service once per day (after the date changed at midnight) and I don't want this schedule to

Re: [android-developers] How to allow user to remove an activity form the Launcher

2009-11-23 Thread Dianne Hackborn
Use the PackageManager to disable that component. On Sun, Nov 22, 2009 at 8:58 PM, Ob1 obinw...@gmail.com wrote: Hi. I am creating an alternative keyboard. In order to help users understand how to set up the IME after it is installed I have added a simple Main Activity that appears in the

[android-developers] Re: MediaStore returning loop of images and not entire directory

2009-11-23 Thread JasonMP
I implemented a bit of code at the end there before you recycle the bitmap to open a fileoutput stream and write the image to the /data/ data/package/file directory and save it there after the scaling. What I need to figure out is how to grab that images URI so that I can bind it to a

Re: [android-developers] Android 2.0 bluetooth

2009-11-23 Thread Nick Pelly
The Android framework will handle this automatically for you. For example, if you attempt to establish a connection that requires pairing, a pairing notification will be shown to the user. Nick On Sat, Nov 21, 2009 at 11:46 PM, george george.gam...@gmail.com wrote: Hi i want to pair with a

[android-developers] Keeping an Activity alive instead of destroying it?

2009-11-23 Thread Mark Wyszomierski
Hi, Is there a way to keep an Activity in memory after the user hits the back button on it? Example: ActivityMainMenu (entry point) | --- ActivitySearch ActivitySearch is used frequently in my app, however after the user starts it up, then hits the back button, it's destroyed, and

[android-developers] Appropriate way to implement a list of GridView(s)

2009-11-23 Thread bhatt4982
Please suggest the most appropriate way to implement a list of GridView (s), having different number of items. First problem was to have differnt height for each GridView. So, I have successfully tried to create the GridView dynamically and appending them to the ScrollView. Is this appropriate?

[android-developers] adsense account $20 only within 1hour

2009-11-23 Thread devi
adsense account $20 only within 1hour www.equityloanshop.com for sale $500 dollars only contact no +919866357079 chinnamnaidu hyderabad india -- You received this message because you are subscribed to the Google Groups

[android-developers] Re: Improving the Donut VoiceDialer

2009-11-23 Thread R.
It's a safety issue, and probably No1. reason for returns. On Nov 13, 2:09 am, Zoide andreso...@gmail.com wrote: The Voice Dialer issue has now gone up to #3 in priority for the overall Android issues:http://code.google.com/p/android/issues/list Could anyone lend me a hand please? Thanks!

[android-developers] Asynchronous Server Call

2009-11-23 Thread mornindew
Hi all, I am relatively new to android development. I am attempting to build an app that will have to make asynchronous server calls. Is there a recommended way to do this in android? I haven't found too much information by googling. Thank you, Craig -- You received this message

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

2009-11-23 Thread WilliamEnjoy
I am using Ubuntu Karmic Koala. I created file ~/.android/androidtool.cfg and and sdkman.force.http=true Now I can download the Repository,But I still cannot download any platform file or doc CAN I DOWNLOAD THE PLATFORM ZIP FILE FROM A DIRECT LINK? On 10月28日, 上午7時31分, Xavier Ducrohet

[android-developers] Re: Flicker problem with animation

2009-11-23 Thread Larry
I figured out a solution to this problem. The clue came from the fact that when showing the view, everything worked fine. Apparently, when the animation is running, the update that would be forced by the show happens in the background and doesn't cause the flicker. Adding a short animation to

[android-developers] Re: SDK 1.6, ADT 0.9.3, Eclipse 3.4.2: Problem with Android Editors

2009-11-23 Thread Rob Y.
I could just revert to my old configuration and everything worked again. What if I don't have an old configuration to revert to? I'm running a fresh Eclipse install, and got the WST stuff by letting eclipse download it from the ganymede site to satisfy dependencies when installing the Android

[android-developers] openInputStream(uri) vs openFileDescriptor(uri, r)

2009-11-23 Thread Yong
Hi there, To decode an image from an uri, which of the following is the preferred way: InputStream in = cr.openInputStream(uri); Bitmap bm = BitmapFactory.decodeStream(in, null, sBitmapOptions); ParcelFileDescriptor fd = cr.openFileDescriptor(uri,

[android-developers] Re: How to configure your application to ensure proper display on Motorola Droid?

2009-11-23 Thread Alex
Hi Dexter. Take a look at the technical spec sheet for the Droid where the screen size and other technical information is detailed: http://developer.motorola.com/products/droid/ Obviously Droid is Eclair so you will need to ensure that the Android SDK and ADT Plugin (if you are using Eclipse) are

[android-developers] DDMS from Eclipse doesn't send geo location to emulator.

2009-11-23 Thread razor
I was struggling one day. I was not sure if my app is wrong or emulator doesn't work. I have simple app with requestLocationUpdates (all permissions added). Sending geo location (manual) from DDMS 'emulator console' doesn't work, my app gets coords only once, and its 0,0 location. (maybe thats why

[android-developers] Re: Repository Grief

2009-11-23 Thread 夏華
I got the same error on the same project prebuilt which is the 128th of 142 On Nov 21, 3:25 am, Guy Cole guyc...@gmail.com wrote: I have only recently tried to build Android from the repository. repo sync keeps failing (example below), does anybody know of a workaround? Thank you.

[android-developers] Re: Repository Grief

2009-11-23 Thread 夏華
I got the same error at the 128th project, after checking, it is prebuilt. It may be the problem of the server.. I am still trying. On Nov 21, 3:25 am, Guy Cole guyc...@gmail.com wrote: I have only recently tried to build Android from the repository. repo sync keeps failing (example below),

[android-developers] Post Your Business Opportunities Here

2009-11-23 Thread Abrahim
According to me sales and business increase by marketing.So market place need to be clean and powerful.Take a step for clear business. place ad @ http://www.adplacebd.com your trustful partner.visit http://www.adplacebd.com -- You received this message because you are subscribed to the Google

[android-developers] Re: Incoming calls

2009-11-23 Thread Matt
Carlos, Could this be a simple race condition? What happens if you delay a couple of seconds before displaying your activity? Does it work under both scenarios? Matt On Nov 12, 10:19 am, Carlos Pérez takut...@gmail.com wrote: I've got an awesome result. If I call my emulator as this: -

[android-developers] AIDL to Connect to a server

2009-11-23 Thread mornindew
Hi all, I am new to android development and I have a question about AIDL. I have a requirement to call some functions and perform quite a bit of processing remote server. Most of my calls will be made from the ListActivity class. Is it possible to use AIDL to call functions on my server

[android-developers] adsense account $20 only within 1hour

2009-11-23 Thread devi
adsense account $20 only within 1hour www.equityloanshop.com for sale $500 dollars only contact no +919866357079 chinnamnaidu hyderabad india -- You received this message because you are subscribed to the Google Groups

[android-developers] Re: New to android and java - Cannot run or debug with eclipse 3.5.1 on windows

2009-11-23 Thread Seraieis
I'm experiencing the same problem (I just installed the SDK into Eclipse and installed the AVD). It compiles correctly, opens the AVD, but I can't get the text within the AVD to change. Were you successful in fixing this? -- You received this message because you are subscribed to the Google

[android-developers] Re: How to get all contact's name phone number, email for 2.0

2009-11-23 Thread Padma
Rachel: My understanding is that the contact Id in the Phone/Email table actually refers to the _ID in the ContactsContract.RawContacts table. You might want to first get the list of all Raw Contacts associated with the particular contact id and then query the Phone table based on the RawContact

[android-developers] RSSI like indicator in notification area

2009-11-23 Thread Jay
Hi, Is it possible to display indicator similar to RSSI in notification area i.e. in status bar area in Android? Regards, Jay -- 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: Encrypting in PHP and Decrypting in Android

2009-11-23 Thread sixones
Find a common encryption / decryption library that has been implemented in PHP and Java (or Python or C). Base64 is encryptable and decryptable by both but isnt really secure. On Nov 23, 10:38 am, Fabio piuc...@gmail.com wrote: What about SSL/TLS ? On Nov 22, 2:47 pm, jax jackma...@gmail.com

[android-developers] Re: Fetch IMSI or detect SIM change?

2009-11-23 Thread vasanthmatrix
Hi Roman, I'm trying to get the IMSI using TelephonyManager.getSubscriberId(), but all I'm getting is MCC(Mobile Country Code ),MNC(Mobile Network Code ) and not MSIN(Mobile Network Code ). Can you please help me with fetching the MSIN. Thanks, Vasanth On Oct 30, 11:50 pm, Roman (

[android-developers] How to play two videos gapless using MediaPlayer.

2009-11-23 Thread milind
Hi, I'm trying to play number of short .mp4 files gapless, one after another. The steps is do are : mMediaPlayer = new MediaPlayer(); mMediaPlayer.setDataSource(1.mp4); mMediaPlayer.setDisplay(holder); mMediaPlayer.prepare(); The same way i initialize mMediaPlayer1 object with 2.mp4 and set

[android-developers] Unsubscribe

2009-11-23 Thread Dale Dyer
-- 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+unsubscr...@googlegroups.com For more options, visit

[android-developers] Warning when using BufferedInputStream

2009-11-23 Thread esc_tid
Hi everybody, We are developing an application which uses the BufferedInputStream class several times, and we are getting an annoying message in the logcat: I/global ( 749): Default buffer size used in BufferedInputStream constructor. It would be better to be explicit if an 8k buffer is

[android-developers] Tapping activity after startActivityForResult

2009-11-23 Thread Michael Scott
Hi, I have two buttons in an activity/view A0, b1 and b2 that respectively starts (for result) the activities A1 and A2. After tapping/clicking b1 I quickly tap b2 aswell. The result will be that both A1 and A2 are launched. Is there any obvious way to not have this behaviour, i.e. to lock A0? I

[android-developers] free directory submission site

2009-11-23 Thread krish
we provide a directory listing site which allow any site approve within minutes. http://vinayakholidays.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@googlegroups.com To

[android-developers] handle back button

2009-11-23 Thread albertsmus
working with notepad3 from NotepadCodeLab i saw that if you opened the note_edit form to add or update a note and you pressed the Back button the changes where committed in the database before you got back to the main form. is there anyway to handle the back button event to get asked if you want

[android-developers] Re: Prevent full-screen behaviour via the InputMethodManager

2009-11-23 Thread Michael
Or, to put it another way, perhaps there is a way to bring up the software keyboard and suppress this behaviour? Bottom line, is that it looks awful on larger resolutions. I can overload the right events within the control to prevent this behaviour, but I would still need to manually invoke the

[android-developers] Programmatically setting the layout_above value

2009-11-23 Thread Becca
Hello, I need to dynamically change the layout_above value for a ListView within a RelativeLayout. I know that within the XML, all you need is android:layout_above=@id/myid, but what is the equivalent if I want to do this in my java code? Thanks, Becca -- You received this message because

[android-developers] How can I access a data provider where permission is null?

2009-11-23 Thread Bamsen
Hi, I have as an example, this provider information from the PackageManager. 1:[14]= ProviderInfo (id=830058701400) applicationInfo= ApplicationInfo (id=830058701752) authority= sms (id=830058702720) enabled= true exported= true grantUriPermissions=

[android-developers] Re: SDK 2.0 Auto Dim Control?

2009-11-23 Thread Wes
Good question. I'd like to know too because I find the placement (or actions) of the ambient light sensor to be arbitrary and erratic :-/ On Nov 23, 8:40 am, bklik brenton.k...@gmail.com wrote: Has a way been added to the Android 2.0 SDK to disable auto dimming on the Motorola Droid? Brenton

[android-developers] Raw Audio Capture?

2009-11-23 Thread Wes
I've read a lot of posts in this group regarding raw audio processing. Most of them include references by Mr. Sparks about support for this in future releases. I hope maybe he was referring to Android 2.0? To be clear, all I want to do is obtain audio data from the microphone in as high a

[android-developers] Sending binary signals on the USB port

2009-11-23 Thread Joakim K
Hi! Is it possible to send binary signals (high/low) on the cellphone's USB port using the Android SDK, or perhaps the NDK? If so: has anyone done it? What should I google for? Which package is used? Thank you! -- You received this message because you are subscribed to the Google Groups

Re: [android-developers] Tapping activity after startActivityForResult

2009-11-23 Thread Mark Murphy
Michael Scott wrote: Hi, I have two buttons in an activity/view A0, b1 and b2 that respectively starts (for result) the activities A1 and A2. After tapping/clicking b1 I quickly tap b2 aswell. The result will be that both A1 and A2 are launched. Is there any obvious way to not have this

[android-developers] Re: Keeping an Activity alive instead of destroying it?

2009-11-23 Thread Mark Wyszomierski
Hi Mark, It's only causing a slight annoyance to the user. Although the UI takes about 1.5 seconds to completely build, I am doing a staggered load. This lets the user see content immediately, but they're wondering why every time they leave the search activity, then come back, all the content

Re: [android-developers] Keeping an Activity alive instead of destroying it?

2009-11-23 Thread Mark Murphy
Mark Wyszomierski wrote: If after its first construction, I could just request it be paused instead of destroyed on the back button, then I could reuse it. Is there a sensible way of doing this? Is it causing you particular problems? If you are not experiencing problems, this feels a bit like

[android-developers] startActivity in another package

2009-11-23 Thread Tomas
I have splitted my Android project in 2 packages, lets say: test.current and test.another. From an activity in test.current I want to start an activity in the package test.another Intent i = new Intent(); i.setClassName(test.another, test.another.MyActivity); startActivity(i);

Re: [android-developers] Re: Keeping an Activity alive instead of destroying it?

2009-11-23 Thread Dianne Hackborn
What are you doing that is making it so heavy to build the UI? 1.5 second just to get the basic activity UI up is pretty long, for example. You would probably be best off first looking at optimizing this work (such as by simplifying view hierarchies etc). On Mon, Nov 23, 2009 at 10:03 AM, Mark

Re: [android-developers] Re: SDK 2.0 Auto Dim Control?

2009-11-23 Thread Dianne Hackborn
Go to the screen settings and turn it off. On Mon, Nov 23, 2009 at 7:01 AM, Wes wes.beli...@gmail.com wrote: Good question. I'd like to know too because I find the placement (or actions) of the ambient light sensor to be arbitrary and erratic :-/ On Nov 23, 8:40 am, bklik

Re: [android-developers] Re: Prevent full-screen behaviour via the InputMethodManager

2009-11-23 Thread Dianne Hackborn
This is up to the input method. Note that most of the platform UI has not been optimized for larger screens (only normal medium density and normal long high density), so I wouldn't spend a lot of time trying to tweak systemish behavior for them. When someone does a large screen device they will

Re: [android-developers] Re: Keeping an Activity alive instead of destroying it?

2009-11-23 Thread Mark Murphy
Mark Wyszomierski wrote: It's only causing a slight annoyance to the user. Although the UI takes about 1.5 seconds to completely build, I am doing a staggered load. This lets the user see content immediately, but they're wondering why every time they leave the search activity, then come back,

Re: [android-developers] startActivity in another package

2009-11-23 Thread Dianne Hackborn
You are starting the package test.another but your manifest declares it as test.current. On Mon, Nov 23, 2009 at 10:07 AM, Tomas tomas.c.hjelmb...@gmail.com wrote: I have splitted my Android project in 2 packages, lets say: test.current and test.another. From an activity in test.current I

[android-developers] Re: Encrypting in PHP and Decrypting in Android

2009-11-23 Thread strazzere
If you want something secure, do a RSA encryption using a private key on your server. Your application will fetch this and decrypt using the public key. You could throw some extra things in there if you'd like, but that would probably be your best bet. On Nov 23, 8:41 am, sixones sixo...@me.com

[android-developers] Re: Keeping an Activity alive instead of destroying it?

2009-11-23 Thread Mark Wyszomierski
I definitely agree with just working on making the UI faster to load - I rewrote the activity so the UI loads in a staggered manner. It's a ScrollView with several irregularly shaped sub views (which don't fit nicely in a ListView). Therefore I am adding each subview one at a time to the

[android-developers] Re: Programmatically setting the layout_above value

2009-11-23 Thread Lior
Hi Becca, It's very simple, you can do something like the following: LayoutParams layoutParams = new RelativeLayout.LayoutParams (LayoutParams.WRAP_CONTENT, LayoutParams.WRAP_CONTENT); layoutParams.addRule(RelativeLayout.ABOVE, myView.getId()); Where myView is the view you want to be above.

  1   2   3   >