Re: [android-developers] customized date picker

2011-11-07 Thread arun kumar
can u change sdk version. your code supports all devices change to manifest file and send to me. then only i have to check On Mon, Nov 7, 2011 at 12:44 PM, vani reddy vani.reddy.bl...@gmail.comwrote: I have already sent the code. On Fri, Nov 4, 2011 at 6:55 PM, ramesh mandare

[android-developers] Re: ThreadPoolExecutor stop tasks onPause

2011-11-07 Thread viktor
Thanks, it is exactly what I need. On 4 Лис, 16:06, Streets Of Boston flyingdutc...@gmail.com wrote: shutDownNow will cancel all the pending tasks and make the Executor unavailable for any future task submissions. Instead, you'd have to keep track to any Future you have scheduled (the value

Re: [android-developers] Re: Animations in ListView (Android 3+)

2011-11-07 Thread BoD
Kostya: I tried animating the item directly and it didn't work as I wished, but I admit I didn't go too far to see why. I'll look more into it as soon as I have a bit of time. Thank you everybody for your replies. I'll post a follow-up here if I manage to do anything good looking ;) -- BoD

[android-developers] Voice input

2011-11-07 Thread Omollo Ateng
hi there, please i need a code to enable voice where by if it is recognized, the texts show on the EditText not on the List View as described by other groups. Thank you -- Be good to not only people but also machines -- You received this message because you are subscribed to the Google Groups

[android-developers] add a button on lock screen

2011-11-07 Thread Eugene Enikeev
Hi Everyone. For my application, I must add a button on lock screen (like during incoming call user can sand sms). May be in API Level 14 added this option? -- 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] parsing XML

2011-11-07 Thread Tom
It says that I need to add a cast to element, but even when I do that it doesn't work NodeList productNL = element.getElementsByTagName(ProductName); full method : public void dumpTitles() { String sUrlBase = http://webdev4.matcmadison.edu/mbtest/mab/ AmazonXML/; String

[android-developers] Cursor LifeCycle

2011-11-07 Thread Júlio Cesar Bueno Cotta
Hi people, I think I need some help here. I did some search in the group and found this few topicshttps://groups.google.com/forum/#%21searchin/android-developers/startManagingCursor$20deprecatedabout my questions, so sorry if I am being silly. First, When should I close my Cursors? I always

[android-developers] Re: Adding Slide Button on Key lock screen

2011-11-07 Thread Eugene Enikeev
Maybe this option added in API Level 14? -- 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] android SQLite query

2011-11-07 Thread samarkand
hello! i don't know how to view my DB file as list. there's an SQLite data base file prepared and already passed to my comp from droid device. and has been opened in sqlite browser. the browser has a window where :'SQL string' textbox and 'SQL quiary' button. there are three column in my DB:

[android-developers] ACTION_TIME_CHANGED and ACTION_DATE_CHANGED old time detection

2011-11-07 Thread Eugene Paschenko
I am using ACTION_TIME_CHANGED and ACTION_DATE_CHANGED. onReceiver calling after time was changed and I call System.currentTimeMillis() and got new time. How I can get old time or delta time? -- You received this message because you are subscribed to the Google Groups Android Developers group.

[android-developers] How to control width of textview

2011-11-07 Thread Akhil
Hi, I am showing 3 textview within a listview. I want to have first Texeview to use 80% of screen width and remaining two to have 10% each. Is there is a way to achieve this ? Regards Akhil Bansal -- You received this message because you are subscribed to the Google Groups Android

[android-developers] Sending 15KB Data via HTTP POST and got java.io.FileNotFoundException !! ?

2011-11-07 Thread Nassem Zaher
Hi I am trying to send data via HTTP POST from my android application and i got java.io.FileNotFoundException ! Note : 1) i tried to send smallest data +- 1KB and it successes ! 2) in small data Server reached and data revived 3) in the 16KB , server doesn't reached - got exception while trying

[android-developers] Re: How to ues getRotationMatrix to translate the Sensor.TYPE_ACCELEROMETER values from device coordinate to world coordinate?

2011-11-07 Thread Lork
That's the question that make me mad for at least 3 days! Please help me! I have your same problem. IDENTIC! Have you solved it? I think that rotation matrix is not usefull, because doing so, i have too, the first and second absolute component of acceleration are always 0, and the third

[android-developers] I need to add google search option to my android application

2011-11-07 Thread aruna sameera
I have developed a android application.It is working fine.There is a search option.I need to add Google search option to my application.Is there any way to add it ? -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send

[android-developers] Using and Identifying Group labels.

2011-11-07 Thread kcsin
I would like some clarification/verification on using groups. I am looking at using ContactContracts.Groups as a means for setting up different contact properties. It would seem this is the best means of controlling and adding custom contract data. As I understand it - Groups do no span different

[android-developers] Automatic MMS sending

2011-11-07 Thread prateek
Hi hello I want to send a mms automatically,i am using the following code ,but its asking user to press a button Intent intent = new Intent(Intent.ACTION_SENDTO); intent.putExtra(address, 12134567899); intent.putExtra(sms_body, See attached picture);

Re: [android-developers] help pls

2011-11-07 Thread Hamid Ghasemi
hi my freind ashamed of i dont know java i like just android thanks and best regard hamid ghasemi On Wed, Nov 2, 2011 at 2:13 PM, Hamid hamid...@gmail.com wrote: what s up Developers, i hope u r well, sorry if i have any wrong spelling :( coz i'm not good in english . i'm student, and

[android-developers] please stop logcat autoscroll

2011-11-07 Thread Salvador
In eclipse indigo for mac it always autoscrolls when using the touchpad to manually scroll in the log, so using the touchpad won't stop autoscrolling :( I have to click a log line and then use the arrow keys to move up/ down. Hope there is a fix soon for mac or an option to disable autoscroll.

[android-developers] Re: Emulator ICS : add account

2011-11-07 Thread Brian
As a workaround, you can add your Google account as an activesync account. Use your gmail.com address at first, but you'll need to change the server to be m.google.com when it complains it can't connect. See here: http://www.google.com/support/mobile/bin/answer.py?hl=enanswer=138636topic=14299

[android-developers] Re: No luck with new ICS CalenderContract

2011-11-07 Thread Brian
As a workaround, you can add your Google account as an activesync account. Use your gmail.com address at first, but you'll need to change the server to be m.google.com when it complains it can't connect. See here: http://www.google.com/support/mobile/bin/answer.py?hl=enanswer=138636topic=14299

[android-developers] Mixing OpenGL with Android Lifecycle.

2011-11-07 Thread millerni...@hotmail.com
Hey I tried posting this before but I don't think it went through. So I'll explain my error again. When I run my app after installation, textures don't load. The second time i run it, textures work properly. I think that this has to do w/ the lifecycle because it seems textures havent finished

[android-developers] Mixing OpenGL with Android Lifecycle.

2011-11-07 Thread millerni...@hotmail.com
Hello, everytime I start a heavy OpenGL application for Android, I come across some sort of loading or cleaning error. As of now my problem is that when my application makes it's first run after installation, no textures are present. Thus geometry is not visible. I have tried to render with

[android-developers] How to customize the home screen of android

2011-11-07 Thread Saurabh Patel
Hi All i want to launch my customize home screen of default . for some specific requirement I am required to change Android Default Home application with my customized Home application ( a setting inside my app that will toggle default home = my application or previous home) I don't want the

[android-developers] Fwd: Sending 15KB Data via HTTP POST and got java.io.FileNotFoundException !! ?

2011-11-07 Thread Nassem Zaher
Please need advise ! -- Forwarded message -- From: Nassem Zaher nasse...@gmail.com Date: Sat, Nov 5, 2011 at 9:06 PM Subject: Sending 15KB Data via HTTP POST and got java.io.FileNotFoundException !! ? To: Android Developers android-developers@googlegroups.com Hi I am trying to

[android-developers] Re: Strange error

2011-11-07 Thread Kira Qian
look at this thread. http://stackoverflow.com/questions/6450738/failed-to-install-apk-on-device-local-path-doesnt-exist -- 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] Re: Problem in facebook logout

2011-11-07 Thread Mitul Patel
Thanks for sharing these. Me too having same problem. Thanks alot. It really works. -- 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,

[android-developers] Development platform

2011-11-07 Thread anup
Hello i am newbee for the android development can anyone suggest suitable linux platform to develop application for android phone... -- 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] Need help on connecting android app to remote database.

2011-11-07 Thread Charan
Hello members, I am a novice android app developer. As of now i'm developing an app, that needs to communicate with remote database. I tried using web service but that not working to me. Please provide me complete information from A to Z steps in conencting, communicating, get response from

[android-developers] simulating specific LAC and CellIDs in the emulator

2011-11-07 Thread Geoffrey
Hello all, I am working on an app that is performing some activity based on the current cellID and/or LAC. I would like to test this behavior in the emulator by sending some CellIDs/LAC combinations to the emulator for simulation. Is this possible? could not find something about this in other

[android-developers] c2dm suddenly stopped working

2011-11-07 Thread serpent403
I have just started using the c2dm service, and it was working perfectly fine for quite some time.. but suddenly i started getting this error message Error=InvalidRegistration when sending a message to a device from my server. I don't think i have changed any of my codes(server/application). Can

[android-developers] How to delete contacts from SIM card?

2011-11-07 Thread Oxgen
I'm a greenhand for Android developing, now I find after I delete a contact which is saved in SIM card, the contact will be there if reseting the mobile phone ,or after setting the airplane mode! I just want to know how to delete the contact from SIM card compeletly, anyone help me? --

[android-developers] Customize Android Source Code to run multiple Application on same Screen.

2011-11-07 Thread Pawan Singh Rathore
Hi All, I need to customize Android Source code in a such a way that, It can run multiple Application on the same screen. Is that possible? Please share your thoughts and Ideas... Thanks BR, Pawan -- You received this message because you are subscribed to the Google Groups Android

Re: [android-developers] Development platform

2011-11-07 Thread Pawan Singh Rathore
Best Regards, Pawan Rathore Ubuntu is best one. I am using 11.04 On Sat, Nov 5, 2011 at 4:28 PM, anup anupwattam...@gmail.com wrote: Hello i am newbee for the android development can anyone suggest suitable linux platform to develop application for android phone... -- You received this

[android-developers] How to move a OpenGL square with the finger? (Android 1.5 and OpenGLES 1)

2011-11-07 Thread saex
Actually i have an application for Android 1.5 with a GLSurfaceView class that shows a simple square polygon on the screen. I want to learn to add a new functionality, the functionality of moving the square touching it with the finger. I mean that when the user touches the square and moves the

[android-developers] Samsung Galaxy Tab 10.1 Android Source Code

2011-11-07 Thread s.rawat
HI . Is there an official site for it.I found this -- https://github.com/GalaxyTab101/samsung-kernel-galaxytab101 , but is this the official one ?.Also pointers to flashing /rooting will be life saver. Rgds, Saurabh -- You received this message because you are subscribed to the Google Groups

[android-developers] How to Support Res/Skin Update

2011-11-07 Thread nicefuture
Hi, All: I want to Support Res/Skin Update in my android App by OTA, and i am not very clear about Android's Res Manage/Access mechanism, so is hard to implement it. then i have below questions: 1. in Run-Time, How Android App access its Res? Will Android unZip the APK file into some

[android-developers] Re: point me in the right direction?

2011-11-07 Thread Ali Chousein
If you are moving from iPhone to Android you are already in the right direction :-D Hahaha:-D - Ali Chousein Weather-Buddy http://weatherbuddy.blogspot.com/ | http://twitter.com/weather_buddy Geo-Filtered Assistant

Re: [android-developers] Development platform

2011-11-07 Thread Omollo Ateng
I use Ubuntu 11.10 (Oneiric Ocelot) Linux - for my android application development platform to have the application running well and good. just need jdk running that is openjdk-6-jdk and eclipse SDK for linux that is Helios, and android SDK. Best Regards all the best On Mon, Nov 7, 2011 at

[android-developers] ERROR/libEGL(206): call to OpenGL ES API with no current context

2011-11-07 Thread saex
First of all, this is not a duplicate of other questions with similar error, because in these questions, the solution of the error is that there are various threads and there is a problem with various threads, but i'm not using various threads, my problem is not the same. I have a simple Square

[android-developers] Re: gps device on/off listener

2011-11-07 Thread Ali Chousein
Study the intent actions in the following link. Probably you'll find what you need there. http://developer.android.com/reference/android/content/Intent.html - Ali Chousein Weather-Buddy http://weatherbuddy.blogspot.com/ |

Re: [android-developers] How to control width of textview

2011-11-07 Thread Júlio Cesar Bueno Cotta
Hello, Android does not work with %, mas you can get something like this using LinearLayout and android:layout_weight=1 The wieght value can be greater than 1 for some textview and lower to another. From: http://developer.android.com/resources/tutorials/views/hello-linearlayout.html Good luck.

[android-developers] Re: SensorEvent timestamp doesn't always update

2011-11-07 Thread markus
Hi, I only saw your answer today, thanks for it. It appears do make a difference, now it works. I still don't get why, though. The method always gets invoked by the same thread (which I've checked by outputting Thread.currentThread().getName() to the log), so it doesn't get invoked concurrently

Re: [android-developers] Development platform

2011-11-07 Thread Júlio Cesar Bueno Cotta
Ubuntu is a good one. I also use it. 2011/11/7 Omollo Ateng omollo.at...@gmail.com I use Ubuntu 11.10 (Oneiric Ocelot) Linux - for my android application development platform to have the application running well and good. just need jdk running that is openjdk-6-jdk and eclipse SDK for linux

Re: [android-developers] Customize Android Source Code to run multiple Application on same Screen.

2011-11-07 Thread Júlio Cesar Bueno Cotta
Hello, I think it's not possible. I think you can run multiple threads, and can run multiple Services, but just one screen layout. 2011/11/7 Pawan Singh Rathore pawan.s.rath...@gmail.com Hi All, I need to customize Android Source code in a such a way that, It can run multiple Application

[android-developers] Re: SensorEvent timestamp doesn't always update

2011-11-07 Thread markus
Hi again, sorry to spam. I just found the following note in http://developer.android.com/reference/android/hardware/SensorEventListener.html#onSensorChanged(android.hardware.SensorEvent) NOTE: The application doesn't own the event object passed as a parameter and therefore cannot hold on o it.

Re: [android-developers] Fwd: Sending 15KB Data via HTTP POST and got java.io.FileNotFoundException !! ?

2011-11-07 Thread Júlio Cesar Bueno Cotta
I just guess..I am not sure...but When you close the output..don't you close the connection? Have you monitoring the server side to any problens with this greater size? Good luck 2011/11/5 Nassem Zaher nasse...@gmail.com Please need advise ! -- Forwarded message -- From:

[android-developers] Pick Contacts from pre- filtered list (ContentFilter?!)

2011-11-07 Thread Danny S.
Hey, I want to show the contacts using Intent intent = new Intent(Intent.ACTION_PICK, Contacts.CONTENT_URI); But I want to show only contacts that have address data. I searched for this and I think I have to use content filters. Is this correct and how to do this? I dont want to iterate

Re: [android-developers] Pick Contacts from pre- filtered list (ContentFilter?!)

2011-11-07 Thread Mark Murphy
AFAIK, you will need to roll your own pick-style activity for this, by querying the content provider to get the information you need and presenting it in a ListView. There is no concept of content filter in Android -- leastways, it does not show up in the documentation. On Mon, Nov 7, 2011 at

Re: [android-developers] How to customize the home screen of android

2011-11-07 Thread Mark Murphy
You cannot force your home screen upon the user, except by distributing your own firmware. a setting inside my app that will toggle default home = my application or previous home is not supported. If you create an alternative home screen, the *user* can elect to start it when the user presses

Re: [android-developers] How to customize the home screen of android

2011-11-07 Thread Saurabh Patel
Hi Mark Murphy Thanks for reply Yes i want to create my own firmware. than i can force to user to use my own home screen? After making these things on sample code we have to deploy home screen on android source code. So its possible or not? Thanks Saurabh Patel On Mon, Nov 7, 2011 at 5:48

[android-developers] Suse Linux Enterprise Server 11 sp 1

2011-11-07 Thread deepak gusain
Dear Friends, I need help about Suse Linux Enterprise Server 11 sp 1 documents.exp:- installation,troubleshooting,server configuration files setup,RAID, LVM and many more -- Regards Deepak Gusain RHCSA, MCITP, CCNA M.no:- 9417248523 -- You received this message because you are subscribed to

Re: [android-developers] How to customize the home screen of android

2011-11-07 Thread Mark Murphy
On Mon, Nov 7, 2011 at 7:32 AM, Saurabh Patel saurabh.ce1...@gmail.com wrote: Yes i want to create my own firmware. than i can force to user to use my own home screen? It is more that yours can be the default home screen in the firmware, so yours will be the first one they see and the one they

Re: [android-developers] point me in the right direction?

2011-11-07 Thread Pepijn Van Eeckhoudt
AFAIK there is no equivalent widget for a UITableView in Android. I emulated it using a ListView and a custom ListAdapter implementation that wraps the tree data model. Pepijn On 07/11/2011 00:09, bob wrote: I'm working on converting an app from iPhone to Android. Here's a screenshot of the

Re: [android-developers] parsing XML

2011-11-07 Thread TreKing
On Sun, Nov 6, 2011 at 12:43 PM, Tom jeffkbreu...@gmail.com wrote: It says that I need to add a cast to element, but even when I do that it doesn't work What says you need to add a cast? What does doesn't work mean? http://catb.org/~esr/faqs/smart-questions.html

Re: [android-developers] Customize Android Source Code to run multiple Application on same Screen.

2011-11-07 Thread TreKing
On Mon, Nov 7, 2011 at 12:48 AM, Pawan Singh Rathore pawan.s.rath...@gmail.com wrote: I need to customize Android Source code in a such a way that, It can run multiple Application on the same screen. Is that possible? Please share your thoughts and Ideas... Sure, that's possible. This is

Re: [android-developers] Customize Android Source Code to run multiple Application on same Screen.

2011-11-07 Thread Rafael Maas
Fragments? http://developer.android.com/guide/topics/fundamentals/fragments.html =android 3.0 2011/11/7 TreKing treking...@gmail.com: On Mon, Nov 7, 2011 at 12:48 AM, Pawan Singh Rathore pawan.s.rath...@gmail.com wrote: I need to customize Android Source code in  a such a way that, It can

Re: [android-developers] Customize Android Source Code to run multiple Application on same Screen.

2011-11-07 Thread Pawan Singh Rathore
Hi Rafel, Now we can use Fragments in any API level, But using fragments how can we run app, inside fragment. Can you please explain tad more. Best Regards, Pawan Rathore On Mon, Nov 7, 2011 at 6:24 PM, Rafael Maas rafaelm...@gmail.com wrote: Fragments?

Re: [android-developers] Development platform

2011-11-07 Thread Marcelo Henrique
This is going to taste, with any distro you can develop well 2011/11/7 Pawan Singh Rathore pawan.s.rath...@gmail.com Best Regards, Pawan Rathore Ubuntu is best one. I am using 11.04 On Sat, Nov 5, 2011 at 4:28 PM, anup anupwattam...@gmail.com wrote: Hello i am newbee for the android

Re: [android-developers] Proguard problem

2011-11-07 Thread Marcelo Henrique
In your project folder browse to the folder bin / it will be an apk that was installed in the emulator, as to look at a problem if not proguard.cfg nengum contains error 2011/11/6 André pha...@hotmail.com I have a problem when I'm trying to export my project in eclipse. While trying to

[android-developers] Re: Development platform

2011-11-07 Thread aesptux
I suggest Fedora 15 (Fedora 16 is coming out in two days) as the best option. I'm currently using it (I changed from Ubuntu) and I'm happier with it. Best regards, Adrián. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this

Re: [android-developers] Customize Android Source Code to run multiple Application on same Screen.

2011-11-07 Thread Pawan Singh Rathore
Can you please share your idea, that how can I achieve this? Best Regards, Pawan Rathore On Mon, Nov 7, 2011 at 6:17 PM, TreKing treking...@gmail.com wrote: On Mon, Nov 7, 2011 at 12:48 AM, Pawan Singh Rathore pawan.s.rath...@gmail.com wrote: I need to customize Android Source code in a

[android-developers] Directing user to webpage, then back to app

2011-11-07 Thread Neilz
Hi all. From my app I want to send the user to a web page to complete some action, and then return to the app with some kind of code, depending upon the success or failure of their action. How can I achieve this? Will I have to use a WebView within the app, or is there a way I can use the stock

[android-developers] How can I allocate multiple instances of the emulator per each CPU?

2011-11-07 Thread SangWon Kim
I have a quadcore CPU, but when I'm running multiple emulators, only run cpu0(first cpu) is running 100% it seems that the other cores are not used at all. is this a bug or limitation by design? if anyone has any solutions, let me know Thanks. -- You received this message because you are

Re: [android-developers] Customize Android Source Code to run multiple Application on same Screen.

2011-11-07 Thread Mark Murphy
On Mon, Nov 7, 2011 at 8:03 AM, Pawan Singh Rathore pawan.s.rath...@gmail.com wrote: But using fragments how can we run app, inside fragment. You can't. This would require substantial modifications to Android itself. -- Mark Murphy (a Commons Guy) http://commonsware.com |

Re: [android-developers] Directing user to webpage, then back to app

2011-11-07 Thread Mark Murphy
On Mon, Nov 7, 2011 at 8:14 AM, Neilz neilhorn...@gmail.com wrote: Hi all. From my app I want to send the user to a web page to complete some action, and then return to the app with some kind of code, depending upon the success or failure of their action. How can I achieve this? Will I have

Re: [android-developers] How can I allocate multiple instances of the emulator per each CPU?

2011-11-07 Thread Mark Murphy
On Mon, Nov 7, 2011 at 7:10 AM, SangWon Kim best...@gmail.com wrote: I have a quadcore CPU, but when I'm running multiple emulators, only run cpu0(first cpu) is running 100% it seems that the other cores are not used at all. is this a bug or limitation by design? It is a limitation of the

Re: [android-developers] Cursor LifeCycle

2011-11-07 Thread Júlio Cesar Bueno Cotta
Can someone try to help me please? I really preciate if it happen. I am stuck with the Android documentation. Should I convert all my SQLite methods to use Content Providers? Thanks in advance. 2011/11/5 Júlio Cesar Bueno Cotta juliocbco...@gmail.com Hi people, I think I need some help here.

[android-developers] Android and WinXP: look for some tips

2011-11-07 Thread SL@maxis
I want to query an Android phone connected to a winxp PC via an USB cable. 1. Would socketing programming do the work ? Any better method ? 2. When, say an SMS comes in, I want the phone to notify the pc. Do I have to implement socket on Android as well ? Thanks. -- Using Opera's

[android-developers] zoom zoom?

2011-11-07 Thread bob
I read that if I make my app for Android 1.5 and designed for a 320x480 device, Android will zoom the screen if it's run on a tablet. However, this did not work when I tried it. Anyone know about this? -- You received this message because you are subscribed to the Google Groups Android

Re: [android-developers] Android and WinXP: look for some tips

2011-11-07 Thread J Handal
Google is my friend http://developer.android.com/guide/developing/debugging/ddms.html -- 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] zoom zoom?

2011-11-07 Thread Kostya Vasilyev
You're talking about compatibility mode version 1. It's enabled if minSdk or targetSdk are not set, or set to 3 or less. http://developer.android.com/guide/practices/screen-compat-mode.html It's not something to aim for, really. -- Kostya 07.11.2011 18:31, bob пишет: I read that if I make

[android-developers] Re: Directing user to webpage, then back to app

2011-11-07 Thread Neilz
Thanks Mark. Now that I know what to be searching for, I've found several similar topics mostly on stackoverflow. Most topics have a response by Hackbod, stating not to do it that way, but I'm struggling a little to understand what it is he's suggesting instead.

Re: [android-developers] Re: Directing user to webpage, then back to app

2011-11-07 Thread Mark Murphy
On Mon, Nov 7, 2011 at 9:55 AM, Neilz neilhorn...@gmail.com wrote: Thanks Mark. Now that I know what to be searching for, I've found several similar topics mostly on stackoverflow. Most topics have a response by Hackbod, stating not to do it that way, but I'm struggling a little to understand

[android-developers] Delegate TouchEvents from WebView

2011-11-07 Thread Philipp
Hi, I have a problem: I have a ViewGroup (LinearLayout) that holds one or more Fragments, each containing a WebView. I have a custom OnTouchListener for my ViewGroup that will react to special events like touches on the screen borders. If none of these special events is detected, the touch event

[android-developers] Real-time audio capture and streaming on Android ... the latency problem ?

2011-11-07 Thread Emre A. Yavuz
Hi, We would like to capture audio using the MIC on the phone and stream it to a laptop/desktop to play it in real-time. We have a RTSP server on the phone and a RTSP client on the laptop/desktop. The client side is supported by the Live555 streaming library and the MPlayer. We have a code

Re: [android-developers] Digest for android-developers@googlegroups.com - 25 Messages in 13 Topics

2011-11-07 Thread Hazel Dayawon
-- 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] Re: Directing user to webpage, then back to app

2011-11-07 Thread Neilz
On Nov 7, 3:11 pm, Mark Murphy mmur...@commonsware.com wrote: FYI, hackbod is Dianne Hackborn. Ah, thought so... Finally, you may want to set the package of the intent to your app with this:http://developer.android.com/reference/android/content/Intent.html#se...) Um, that seems

[android-developers] Re: ACTION_TIME_CHANGED and ACTION_DATE_CHANGED old time detection

2011-11-07 Thread Eugene Paschenko
Any idea? On Nov 7, 10:51 am, Eugene Paschenko epasche...@gmail.com wrote: I am using ACTION_TIME_CHANGED and ACTION_DATE_CHANGED. onReceiver calling after time was changed and I call System.currentTimeMillis() and got new time. How I can get old time or delta time? -- You received this

Re: [android-developers] Re: Directing user to webpage, then back to app

2011-11-07 Thread Mark Murphy
On Mon, Nov 7, 2011 at 11:00 AM, Neilz neilhorn...@gmail.com wrote: Hmm, I don't get it, I'm missing something obvious :-/ At the moment I have a webview (which is mimicking what may be a stock browser) which has a link, such as: webView.loadData(a

[android-developers] Re: A quick hint as to where to start for a sliding box?

2011-11-07 Thread DismalSeas
Another thought is that there is the potential to build a flash application outside the Android platform and then import that flash application and run it. I still haven't gotten the grasp around when to use external graphical options such as OpenGL and when to use Flash applications. Are these

[android-developers] button

2011-11-07 Thread bob
I have a button with some white text. When pressed, the text needs to change to dark gray. Anyone know the best way to do this? -- 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: Nfc Foreground Dispatch

2011-11-07 Thread bjthe4th
Okay, I found out what I believe to be the proper way to format The external type (It is stored as a uri) but it doesn't seem to want to work. This is how I set up the Foreground Dispatch for my tag: mPendingIntent = PendingIntent.getActivity(this, 0, new Intent(this,

[android-developers] Re: button

2011-11-07 Thread Chrystian Vieyra
Button.setTextColor(color); -- 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] Incorrect output values with gluUnProject… why?

2011-11-07 Thread saex
I have a simple Square with openGL es 1 and Android 1.5. The square is painted on the center of the screen. I want that when the user press on the screen, or moves the finger on the screen, the square get's moved to that position. For do this i tryed with GLuUnProject, i tryed to obtain the

[android-developers] Re: Directing user to webpage, then back to app

2011-11-07 Thread Neilz
Right, I see. No, the path option doesn't make a difference, it still offers me a choice of apps to open with. Ok, it's the other approach that I'm struggling to find an example for. Just lots of messages discussing it! The appears to be an example on the following page, but it simply doesn't

Re: [android-developers] Incorrect output values with gluUnProject… why?

2011-11-07 Thread Daniel Drozdzewski
You coordinates are wrong for the screen/window coordinates, but how do you know that those are not the object coordinates? Daniel On 7 November 2011 16:34, saex elpablos...@gmail.com wrote: I have a simple Square with openGL es 1 and Android 1.5. The square is painted on the center of the

Re: [android-developers] Re: Directing user to webpage, then back to app

2011-11-07 Thread Mark Murphy
I have one in http://github.com/commonsguy/cw-advandroid/Introspection/URLHandler (though that URL is from memory, as I am sitting in a conference keynote right now...) Mark Murphy mmur...@commonsware.com On Nov 7, 2011 8:35 AM, Neilz neilhorn...@gmail.com wrote: Right, I see. No, the path

Re: [android-developers] Incorrect output values with gluUnProject… why?

2011-11-07 Thread Latimerius
I haven't ever used gluUnProject() myself but unless your geometry is glued right to the near plane I'm pretty sure it's wrong to pass zero for your window space Z. Unless you have special knowledge of your Z I guess you'll need to read that value from the depth buffer. On Mon, Nov 7, 2011 at

[android-developers] Re: Incorrect output values with gluUnProject… why?

2011-11-07 Thread saex
Yes Latimerius, i think that i dont have to pass 0 as winZ parameter, but i dont know how to get the Z value from the depth buffer. I'm programming for Android 1.5 and openGL ES1, i didn't find a working way to obtain winZ value on google after hours of searching :( Did you know how to do it?

[android-developers] Re: Directing user to webpage, then back to app

2011-11-07 Thread Neilz
Right, so if I'm looking at the correct part of the sample, you end up logging a strange 'intent' url, like this: intent:#Intent;action=com.commonsware.android.MY_ACTION;end I'm not sure what I do with this... I've tried using it in a link, as another sample suggested, but I just get a 'Web page

[android-developers] Re: Custom file viewer

2011-11-07 Thread chrisn
Mike Murphy: Thanks for the reply, writing my own *second* activity is the path I will go down if I can't get this to work. I don't think that this is good general practice if the intent filter API is working as documented. It pollutes the android device with needless activities that work like

Re: [android-developers] Re: Directing user to webpage, then back to app

2011-11-07 Thread Kostya Vasilyev
07.11.2011 21:11, Neilz пишет: Right, so if I'm looking at the correct part of the sample, you end up logging a strange 'intent' url, like this: intent:#Intent;action=com.commonsware.android.MY_ACTION;end That strange URL is the result of calling intent.toUri().

Re: [android-developers] Re: Directing user to webpage, then back to app

2011-11-07 Thread Mark Murphy
I can't speak for WebView. Point a browser at http://commonsware.com/sampleto see a page that uses links to be picked up by the sample app's activity. Mark Murphy mmur...@commonsware.com On Nov 7, 2011 9:12 AM, Neilz neilhorn...@gmail.com wrote: Right, so if I'm looking at the correct part of

[android-developers] Re: Directing user to webpage, then back to app

2011-11-07 Thread Neilz
Ah... it works when I run it from your sample page, yes. It doesn't work from a WebView, hence my initial confusion. At least I have the principle working... I can't actually test it in full, as I want to pass parameters too, but don't have a webpage I can manipulate at this moment. Thanks for

[android-developers] remap hardware buttons for UI navigation

2011-11-07 Thread lbendlin
On the Parrot Asteroid there is only a scroll wheel that creates the keycodes 19 and 20 for vertical navigation. The device also has media buttons, specifically 87 and 88. I would like to translate these into the horizontal dpad keys to allow users the selection of buttons that are in a row.

[android-developers] Tools for adding print Logs inside the Android Code

2011-11-07 Thread s.rawat
HI, I am trying to understand the android code flow for camera module.Is there any script to insert the print logs(FILENAME_FUNCTIONNAME_LINENUMBER) inside the android code(java , cpp and c files) .I am planning to do this and compile the image and run it and logcat the output while I run the

Re: [android-developers] Re: No luck with new ICS CalenderContract

2011-11-07 Thread Michael Chan
Hi, Are you saying there is no way to help the user subscribe to a public google calendar via the new calendar api? There just isn't a *supported* way via the Android Calendar API. (You can always do some reverse engineering and get something that work for now. But it may break suddenly one

[android-developers] Re: Need help on connecting android app to remote database.

2011-11-07 Thread fba
Hi Charan, There isn't an easy way in Android to access a remote database. I suppose you could dig around and figure out how mysql communicates across the network, and then develop an interface from there. However, it seems that would be pretty involved. I had a need to do something similar

[android-developers] The new KeyChain API

2011-11-07 Thread fba
Has anyone out there attempted to use the new KeyChain APIs? They don't seem to work the way I would expect. I am able to install a certificate easily enough using KeyChain.createInstallIntent(), and passing it a PEM formatted certificate. The documentation indicates that you need the

Re: [android-developers] ACTION_TIME_CHANGED and ACTION_DATE_CHANGED old time detection

2011-11-07 Thread Marcin Orlowski
On 7 November 2011 09:51, Eugene Paschenko epasche...@gmail.com wrote: I am using ACTION_TIME_CHANGED and ACTION_DATE_CHANGED. onReceiver calling after time was changed and I call System.currentTimeMillis() and got new time. How I can get old time or delta time? You can't as there's no old

  1   2   >