[android-developers] Re: android Telephony API access levels

2010-03-18 Thread saru
Hi i am searching the same feature (specially accepting call) from last 3 months but found nothing significant 1.Some tell to change android source code and relative permission to avail this feature.(fruitless) 2.some tell you should build your own application to accept call. Can you imagine how

Re: [android-developers] Re: glBufferData crash

2010-03-18 Thread Andres Colubri
your suggestions solved the problem. Thanks! Mario Zechner wrote: Oh and one more thing final int siz = testBuffer.capacity() * Integer.SIZE; should really be final int siz = testBuffer.capacity() * Integer.SIZE / 8; as Integer.SIZE gives you the number of bits an integer occupies. On 17

[android-developers] Re: Application wake up

2010-03-18 Thread Andreas
Hi, No, if you register a broadcast reciever in the manifest, it will be started if the intent matches. From there you can either implement your functionality, or start a service or an activity. Best regards, Andreas On Mar 18, 2:49 pm, SAM gulati...@gmail.com wrote: hi, I found a

[android-developers] Re: Handler is not using seperate Thread

2010-03-18 Thread Nithin
Thanks for all replies, it really helps. It helps me to dig deep into handler... Till now i thought, handler will create in a seperate thread.. Thanks Lance for providng the link and of course Mark murphy, always there to help us(Android Developers).. Nithin On Mar 17, 6:57 pm, Lance Nanek

[android-developers] Re: Application wake up

2010-03-18 Thread Raj
Hi SAM, As per the link that gives the sample application of handling the SMS, you registers your application to the Android OS by mentioning in the manifest file, the intended receiver on any incoming SMS message. So your application need not be active for this. The moment device receives an SMS,

[android-developers] Re: Problem about GPS

2010-03-18 Thread Andreas
Hi, I'm not sure what you mean, and I think it would help if you would elaborate a bit. GPS is generally wireless, since the problem of getting a cable to connect to objects in low earth orbit is still not solved. ( *_^) The connection to GPS satellites is generally a _lot_ better outside, since

[android-developers] Re: Answer automatically to Incoming Call

2010-03-18 Thread saru
if NY ONE OUT THEIR FIND ANY CLUE PLEASE POST HERE. it is a long desired question On Mar 18, 6:43 am, phillip phtp...@gmail.com wrote: Hi, I got the same problem as you do. I'm trying to look atthe original Phone app fromgoogle, but have no clue. The app manifest doesn't have Action_answer.

[android-developers] Re: Game Developers: Some general questions about high scores, achievements, multi player support and in game ads.

2010-03-18 Thread Robert Green
Kevin, First of all, let me clarify some numbers: Your average EA game costs a lot more than 10s of thousands of dollars. I bet no iphone port of any game cost them less than 100k to do. I wouldn't be surprised if they spent 100k-500k on an iphone version of an existing title. They deal with

[android-developers] is Styled.java been removed?

2010-03-18 Thread luo ian
but which one replaced this class? can anyone give me some clue? Thanks -- ian.luo -- 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] Re: Accessing External Database

2010-03-18 Thread Bob Kerns
OK, it seems there's several things going on here. From your URL, it looks like you can download a copy of a sqllite database file. If this is just static content, that you're treating as a document -- then you don't need any of what I've been talking about so far. At this level, you have a

[android-developers] Re: Http proxy settings not working in Android Emulator 2.1

2010-03-18 Thread Tony
Any idea for this problem? On Mar 17, 8:42 pm, ademiguelglez ademiguelg...@gmail.com wrote: I'm stuck with the same problem. Any help? Regards, Alejandro. On 22 feb, 10:19, Vibhor Mahajan mahajan.vib...@gmail.com wrote: I am not able to access Internet from Android web browser but

[android-developers] Re: Answer automatically to Incoming Call

2010-03-18 Thread Andreas
Hi, I have not tried this, but it seems to me that you use the ACTION_CALL_BUTTON in your code, rather than the ACTION_ANSWER, and you should probably broadcast it using Context.sendBroadcast rather than startActivity. Just my cents. Regards Andreas On Mar 18, 7:40 am, midoub

[android-developers] The auto-generated R.java generation is invalid. Can't compile a new APK.

2010-03-18 Thread Agus
Hi all, When I opened my old project, but surprisingly it generates non-compilable R.java , I have checked all layout xml files for incorrect id attribute of this form: android:id=@+id/, and found out that I am using all the the correct values. In the auto-generated R.java, it has this line:

[android-developers] Re: AVD which resembles the Nexus One?

2010-03-18 Thread petter
On Mar 16, 6:07 pm, Kumar Bibek coomar@gmail.com wrote: Try with WVGA800 and SDK 2.1 or 2.0 Thank you for your reply. But what about flash size, ram size, touchscreen, and other properties? -- You received this message because you are subscribed to the Google Groups Android Developers

[android-developers] Re: The auto-generated R.java generation is invalid. Can't compile a new APK.

2010-03-18 Thread Maps.Huge.Info (Maps API Guru)
Try deleting the R.java source file. That usually clears this problem. -John Coryat -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group,

Re: [android-developers] Re: The auto-generated R.java generation is invalid. Can't compile a new APK.

2010-03-18 Thread Agus
I did. I generates the same R.java with errors. On Thu, Mar 18, 2010 at 12:48 AM, Maps.Huge.Info (Maps API Guru) cor...@gmail.com wrote: Try deleting the R.java source file. That usually clears this problem. -John Coryat -- You received this message because you are subscribed to the

Re: [android-developers] Re: The auto-generated R.java generation is invalid. Can't compile a new APK.

2010-03-18 Thread Agus
Interestingly, if i delete the bin folder, the Android plugin generates the apk automatically just fine. but the R.java is still invalid. On Thu, Mar 18, 2010 at 12:48 AM, Maps.Huge.Info (Maps API Guru) cor...@gmail.com wrote: Try deleting the R.java source file. That usually clears this

[android-developers] Re: Basic program structure questions

2010-03-18 Thread a2ronus
Interesting indeed that it freezes. Could you copy-paste the adb logcat output? Furthermore, you might wanna take a look at http://www.warriorpoint.com/blog/2009/05/24/android-how-to-switch-between-activities/ On Mar 17, 8:30 am, Andreas andreas.bex...@gmail.com wrote: I think it is

[android-developers] Re: Help regarding Logging

2010-03-18 Thread MobDev
well preferably I wouldn't use a 3rd party library, simply because I don't want to be dependable from someone else.. As in, if the service ceases to exist, and obviously it is a possible security leak... After all I am sending my debugging logs to them... On 16 mrt, 19:51, chris harper

[android-developers] FLAG_ONLY_ALERT_ONCE not working in notification at all

2010-03-18 Thread yidongsoft
I check the flag and find the bit is set. But nothing happens at all. Related information: Pick the sound using system ringtone picker Vibrate once keep playing the ringtone ceaselessly. Touch the title area and stop playing Would anyone help me? thanks! -- You received this message because

[android-developers] Re: Windows Phone and XNA. Nightmare is real. What we do with that ?

2010-03-18 Thread Piotr
On 18 Mar, 05:18, Kevin Duffey andjar...@gmail.com wrote: [...]The screen touch issue that is causing massive lag on input and slowing games down greatly, and the buggy multi-touch capabilities... yes, this event-driven approach is not good for games, and even for most applications with their

[android-developers] HistoryRecord - Activity instance

2010-03-18 Thread sheng wang
Hi This may sounds weird. I have a HistoryRecord variable, which stand for an activiy (I think). How to get the real activity instance from it ? Regards, Shawn. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send

[android-developers] Re: How to find out when any activity starts or get focus

2010-03-18 Thread Csenteri Barna
I understand this scenarios Bob and I agree with You. But what you say is DOABLE right now very-very easy with a background service which is polling the current task (current activity) periodically using the ActivityManager.getCurrentTasks function (ofc GET_TASKS right is needed for it). This

[android-developers] Re: OpenGL Circle drawing

2010-03-18 Thread tarin
Loki, you can try this: Paint paint = new Paint(Paint.ANTI_ALIAS_FLAG); paint.setColor(Color.BLUE); paint.setStyle(Style.STROKE); paint.setStrokeWidth(2); c.drawCircle(100, 100, 60, paint); On Mar 16, 11:38 pm, Loki117 thomas.sheppar...@gmail.com wrote: Afternoon all, I hope someone can

[android-developers] IPSEC for Android

2010-03-18 Thread Ofer Goren
Hi. I have a linux C application I need to port to Android. The application has some IPSec features that need to be supported as well. I looked in the latest NDK (1.6), but couldn't find ipsec.h header file. Does Android support IPSec? Any ideas how should I continue? Thanks, Ofer -- You

[android-developers] Re: Accessing External Database

2010-03-18 Thread uday kiran
On Mar 18, 11:49 am, Bob Kerns r...@acm.org wrote: OK, it seems there's several things going on here. From your URL, it looks like you can download a copy of a sqllitedatabasefile. If this is just static content, that you're treating as a document -- then you don't need any of what I've

答复: [android-developers] Re: How to launch YouTu be with specified keywords?

2010-03-18 Thread David
App1 calls the youtube search and can get the right result list as your solution, when press back key, the result list disappears, but the Youtube's main window appears automatically, we have to press back again to come back to the App1. Anyone knows how to skip the second step? Thanks in

[android-developers] accessing database on server side

2010-03-18 Thread sid
Hi All, I'm having a problem in accessing a database on remote server from my android application. In some blogs i found that by using Webservices we can do it. but i dont know what are webservices? Can any one help me how do i do that? Thanks in advance Sid -- You received this message

[android-developers] Re: Some Queries about ListView

2010-03-18 Thread SheikhAman
Well, your example is quite good. but i need to be more aware of android to fully understand it LoL still im unclear about how to add images to the row,and feed them with image data, and add text views to a row, and feed them with data. any examples? On Mar 16, 10:15 pm, Kumar Bibek

Re: [android-developers] Re: Some Queries about ListView

2010-03-18 Thread Mark Murphy
SheikhAman wrote: Well, your example is quite good. but i need to be more aware of android to fully understand it LoL still im unclear about how to add images to the row,and feed them with image data, and add text views to a row, and feed them with data. any examples?

Re: [android-developers] accessing database on server side

2010-03-18 Thread Mark Murphy
sid wrote: I'm having a problem in accessing a database on remote server from my android application. In some blogs i found that by using Webservices we can do it. but i dont know what are webservices? http://en.wikipedia.org/wiki/Web_service Can any one help me how do i do that? Here are

Re: [android-developers] accessing database on server side

2010-03-18 Thread Néstor Pavón Puro
As its name aims webservice are services that a client can access through internet. If you googling a bit you'll find lot of information. There are two ways of accesing to an external database: SOAP and REST. I did it (access to the external database) with a REST architecture which is an easy

[android-developers] Re: Some Queries about ListView

2010-03-18 Thread SheikhAman
I want this thing from my list view- http://lh3.ggpht.com/_o9EYB0b5APY/S6IYbRBvOcI/CoA/Kv94dWitZXY/custom%20listview.PNG On Mar 18, 4:44 pm, Mark Murphy mmur...@commonsware.com wrote: SheikhAman wrote: Well, your example is quite good. but i need to be more aware of android to fully

[android-developers] Re: Some Queries about ListView

2010-03-18 Thread SheikhAman
thanks for the resource. how much the book costs? is it the famous USD$40 subscription every developer keeps talking about?? :-) On Mar 18, 4:44 pm, Mark Murphy mmur...@commonsware.com wrote: SheikhAman wrote: Well, your example is quite good. but i need to be more aware of android to fully

[android-developers] Google Analytics for Android: Dispatcher thinks it finished, but there were 65 failed events

2010-03-18 Thread Stefan Klumpp
I get this strange error message: W/googleanalytics(29930): Dispatcher thinks it finished, but there were 65 failed events Anyone an idea where this comes from and what the solution/workaround is? -- You received this message because you are subscribed to the Google Groups Android Developers

Re: [android-developers] Re: Some Queries about ListView

2010-03-18 Thread Mark Murphy
SheikhAman wrote: I want this thing from my list view- http://lh3.ggpht.com/_o9EYB0b5APY/S6IYbRBvOcI/CoA/Kv94dWitZXY/custom%20listview.PNG You can achieve that with a RelativeLayout for your rows. In fact, here's a project that uses a row almost identical to that:

Re: [android-developers] Re: Some Queries about ListView

2010-03-18 Thread Mark Murphy
SheikhAman wrote: thanks for the resource. how much the book costs? is it the famous USD$40 subscription every developer keeps talking about?? :-) That book is available in print as _Beginning Android 2_ from Apress, or as _The Busy Coder's Guide to Android Development_ under the 40 USD

[android-developers] onFling

2010-03-18 Thread Ajay
Hi, I am having two horizontal scroll views in my app. If I do a scroll/ fling in one view, I have to scroll/fling the other view. It does work, but it has a minor mismatch sometimes in the amount of scroll. I suspect this might be because the onFling listener callback has a float velocity,

Re: [android-developers] Re: android Telephony API access levels

2010-03-18 Thread David Ashwood
The Fring Android app does much of this already - which indicates that it's possible. On 18 March 2010 07:09, saru sarucs...@gmail.com wrote: Hi i am searching the same feature (specially accepting call) from last 3 months but found nothing significant 1.Some tell to change android source

[android-developers] Re: How do i check app close gracefully during shutdown scenario

2010-03-18 Thread extrapedestrian
I also wonder is there shutdown event in 2.0 maybe? I could save some service data to file, before shutdown. On Mar 13, 9:20 am, James Wang jameswangc...@gmail.com wrote: I think Not unregisterReceiver is no harm to system because power down. I believe the foreground activity's onDestroy will

Re: [android-developers] Re: How do i check app close gracefully during shutdown scenario

2010-03-18 Thread Csenteri Barna
Did You tried this? http://developer.android.com/reference/android/content/Intent.html#ACTION_SHUTDOWN I also wonder is there shutdown event in 2.0 maybe? I could save some service data to file, before shutdown. On Mar 13, 9:20 am, James Wang jameswangc...@gmail.com wrote: I think Not

[android-developers] screen flickering in GLSurfaceView

2010-03-18 Thread ac
Hello, I'm using GLSurfaceView to create a simple OpenGL drawing application. Since the elements drawn in each frame must remain on screen in order to be composed into the whole drawing, I don't use gl.glClear(GL10.GL_COLOR_BUFFER_BIT) at the beginning of each frame. But not clearing the color

[android-developers] Re: Manually set preferences being overwritten by a subclass of PreferenceActivity

2010-03-18 Thread Pete
Thanks for the reply. In answer to your questions: Are you calling commit() on the editor to actually save your preferences? Yeah, the bespoke preference screen that isn't backed by a subclass of PreferenceActivity has buttons which allow the user to persist their preference changes. The codes

[android-developers] Re: Some Queries about ListView

2010-03-18 Thread SheikhAman
ohh thanks!! What is a warescription? a subscription to an ebook? will it be getting updates? how long this subscription will last for? On Mar 18, 5:23 pm, Mark Murphy mmur...@commonsware.com wrote: SheikhAman wrote: thanks for the resource. how much the book costs? is it the famous USD$40

[android-developers] How to choose connection type

2010-03-18 Thread badzio
Hi, in my application I need sometimes send data via http (using HttpClient, HttpGet and HttpPost). Can I choose (from source code) connection which is used? For example, I'd like to use only gprs, not wifi, not bluetooth. Or only wifi, not gprs. Thanks for replies :) -- You received this

[android-developers] Re: screen flickering in GLSurfaceView

2010-03-18 Thread Mario Zechner
The problem is that there's actually to targets you render to, the back and the frontbuffer of the OpenGL surface. In each call to Renderer.onDrawFrame() you actually render to the back buffer while the front buffer is presented on screen. Once you leave the onDrawFrame method the back buffer

[android-developers] Re: Application losing SharedPreferences and Sqlite database on Droid

2010-03-18 Thread Matt (preinvent)
Out of curiosity, why? Have you tried not doing this, and just using PreferenceManager.getDefaultSharedPreferences() everywhere, to see if this is somehow contributing to your woe? That's what the docs said when I read them! I'm loathe to change as all my disgruntled users who upgrade will

[android-developers] Re: Application losing SharedPreferences and Sqlite database on Droid

2010-03-18 Thread Matt (preinvent)
Well, it could point to a different application, if you make the mistake of calling getApplicationContext() rather than getApplication(). So make sure to use getApplication() instead! I only see getApplication() for services and activities - how do I get this in my widget code and my

Re: [android-developers] Re: screen flickering in GLSurfaceView

2010-03-18 Thread Andres Colubri
What happens in your case is the following (as far as i can tell). In the first onDrawFrame() call you render some elements to the initially black back buffer. The front buffer is also black. Now you leave onDrawFrame() and the back buffer gets presented while the front buffer becomes your new

[android-developers] Android mapview getbounds

2010-03-18 Thread veradis
Hi, How can we get latitude and longitude values of northwest and southeast coordinates points of the mapview. Please help!. In GMap JS/AS API, ders getbounds() property. i want the same in android mapview. Thanks Veradis -- You received this message because you are subscribed to the

[android-developers] recording volume indicator

2010-03-18 Thread manigault
Hi i have an application that records audio and i want to add an indicator which shows the volume of the recorded audio ( in real time ). Any ideas how to do is. Thanks -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group,

[android-developers] Re: Problem about GPS

2010-03-18 Thread Kevin S.
I think what he means is that Google Maps can still get your approximate location by knowing which cell towers you are closest too. It uses this to get a general location when the GPS doesn't have enough signal. -Kevin On Mar 18, 2:27 am, Andreas andreas.bex...@gmail.com wrote: Hi, I'm not

[android-developers] Re: File operation in Android

2010-03-18 Thread dillipk
Hi Mark, I tried the same. Along with that I also set the WRITE_EXTERNAL_STORAGE permission, it(file.mkdir()) still returns false. Am I missing something? Thanks, DK On Mar 17, 4:18 pm, dillipk codersnet2...@gmail.com wrote: Thanks Mark for the info. Let me try these On Mar 17, 1:25 

[android-developers] Re: screen flickering in GLSurfaceView

2010-03-18 Thread Mario Zechner
oh, i tried that once with OpenGL ES. I didn't use the backbuffer but drew directly to a texture using an intermediate Bitmap as the drawing surface and reuploading only those parts of the texture that changed. You can find a video and an apk of that at

[android-developers] Re: Accessing External Database

2010-03-18 Thread cellurl
Look at line 395 of this sql access. It hits a php file I can send you if you go this route. Good Luck. jp http://code.google.com/p/speedlimit/source/browse/BackSeatDriverV-X-Ship-Pulp/src/org/wikispeedia/backseatdriverV/TranslateTask.java -- You received this message because you are subscribed

Re: [android-developers] Re: File operation in Android

2010-03-18 Thread Mark Murphy
dillipk wrote: I tried the same. Along with that I also set the WRITE_EXTERNAL_STORAGE permission, it(file.mkdir()) still returns false. Am I missing something? You might be missing an SD card. If you are using the emulator, and you did not set up an SD card image, you won't have a

[android-developers] How to use scroller in an application?

2010-03-18 Thread satish bhoyar
Hello all, How to use Scroller in an application? do anyone have any reference? please help . Thanks, satish -- 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

Re: [android-developers] Re: screen flickering in GLSurfaceView

2010-03-18 Thread Andres Colubri
ok, I see... thanks for the link. So I guess that finding a way to disable the double buffering, at least temporarily, should be the best way to go then... Mario Zechner wrote: oh, i tried that once with OpenGL ES. I didn't use the backbuffer but drew directly to a texture using an

Re: [android-developers] Re: Game Developers: Some general questions about high scores, achievements, multi player support and in game ads.

2010-03-18 Thread Kevin Duffey
I agree full heartedly Robert. I can't imagine EA spending a few hundred grand on a game for mobile, knowing that they likely won't recoup the costs.. unless it's just a brand recognition thing and an exepected loss. I am well aware of the costs for large scale games, have a few friends in the

[android-developers] How to show a ScrollView with button anchored to bottom of screen?

2010-03-18 Thread I.E.
Hello, I'm trying to show a ScrollView with a button anchored to bottom of screen. This is coded programmatically (without using XML layout for now). The trouble is when the ScrollView has many items (requiring scrolling), it prevents the button at the bottom from showing. The bottom button is

[android-developers] Re: Want to execute arm compiled executable file on Android adb shell

2010-03-18 Thread Tim
On Mar 17, 11:20 am, Parse paritosh6...@gmail.com wrote: I stuck in a problem. I want a chmreader executable file to be used in android application. Now whenever I tried to execute it from adb shell, it gives error permission denied # su /sdcard/extract_chmLib /sdcard/docs/HArdcore.chm I

Re: [android-developers] recording volume indicator

2010-03-18 Thread kyle smith
what are you using for the recording functions? On Thu, Mar 18, 2010 at 9:54 AM, manigault manig...@gmail.com wrote: Hi i have an application that records audio and i want to add an indicator which shows the volume of the recorded audio ( in real time ). Any ideas how to do is. Thanks --

Re: [android-developers] recording volume indicator

2010-03-18 Thread Martin Obreshkov
Thanks for the answer. I am using AudioRecord. On Thu, Mar 18, 2010 at 4:47 PM, kyle smith ksmithanimat...@gmail.comwrote: what are you using for the recording functions? On Thu, Mar 18, 2010 at 9:54 AM, manigault manig...@gmail.com wrote: Hi i have an application that records audio and i

[android-developers] Life cycle

2010-03-18 Thread Anzi
Hi, 1. I want to know the behavior of activity for the cases where onStop and onDestroy were not called like low memory situations. 2. I was registered my handler in onCreate() and unregistring in onDestroy, what is the behavior if other thread sends messages to the registrants after the

Re: [android-developers] Re: Http proxy settings not working in Android Emulator 2.1

2010-03-18 Thread David Turner
It looks like I can't reproduce this on Linux and OS X, I guess you're all on Windows, right ? On Wed, Mar 17, 2010 at 11:50 PM, Tony liuguolong...@gmail.com wrote: Any idea for this problem? On Mar 17, 8:42 pm, ademiguelglez ademiguelg...@gmail.com wrote: I'm stuck with the same problem.

[android-developers] ADEProxy.exe and adb server out of date?

2010-03-18 Thread Cheryl Sedota
I have a process running called ADEProxy.exe - it runs automatically upon windows startup, and I think it is the core reason that I keep repeatedly getting the error: adb server is out of date. killing... Can someone tell me why this adb server is out of date. killing... error occurs, how I

[android-developers] Brand New Troubles Building on Mac OSX

2010-03-18 Thread Brion Emde
I just got a new computer, a Mac-mini, and I'm working on getting my Android development going on the new machine. I'm migrating from Vista, where my application currently runs correctly. It does not build correctly on OSX. I can create a new project, like HelloAndroid from the samples and run

Re: [android-developers] Brand New Troubles Building on Mac OSX

2010-03-18 Thread Michael MacDonald
On 03/18/10 11:11, Brion Emde wrote: I just got a new computer, a Mac-mini, and I'm working on getting my Android development going on the new machine. I'm migrating from Vista, where my application currently runs correctly. It does not build correctly on OSX. I can create a new project, like

Re: [android-developers] Life cycle

2010-03-18 Thread Mark Murphy
Anzi wrote: 1. I want to know the behavior of activity for the cases where onStop and onDestroy were not called like low memory situations. The process is destroyed, so the activity has no more behavior. 2. I was registered my handler in onCreate() and unregistring in onDestroy, what is the

[android-developers] Re: Brand New Troubles Building on Mac OSX

2010-03-18 Thread Brion Emde
Wow, thanks Michael. That indeed did fix the problem. I knew it had to be something simple. You are right. I am building with Java 6 on Windows and apparently Java 5 (didn't pay attention) here. On the other hand, I'm now sure that I've never seen this problem before. I am so grateful! Despite

[android-developers] GPS without gps signal

2010-03-18 Thread David Toledo
Hi All Is possible that can using the signal GPS without signal the telephony active. I need save the gps location in the sqllite when the telephony is disabled Thanks David -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this

[android-developers] Re: Application losing SharedPreferences and Sqlite database on Droid

2010-03-18 Thread Matt (preinvent)
(thought I posted this, can't see the post!) Well, it could point to a different application, if you make the mistake of calling getApplicationContext() rather than getApplication(). So make sure to use getApplication() instead! I only see getApplication on services and activities.. how do

[android-developers] Re: ADEProxy.exe and adb server out of date?

2010-03-18 Thread Cheryl Sedota
I have a little more info now - this ADEProxy.exe process starts up when the device is first attached via USB data cable... I had the device attached at windows startup previously. Anyone know where I can go to disable this? On Mar 18, 10:08 am, Cheryl Sedota cherylsed...@gmail.com wrote: I

[android-developers] need suggestion on how to create views at run time and efficiently

2010-03-18 Thread social hub
Hi, I have a case where I have add to listview textview based on no of messages. 1) I am doing like this for(int i=0;i10;i++) { TextView tv=new TextView(context); linearlayout.add(tv); } this seems fine but it seems to be very slow especially where there are

[android-developers] Re: Samsung Moment does not return anything in parameters.getSupportedFlashModes()

2010-03-18 Thread Streets Of Boston
Sorry for this bump... I have no idea where else to ask this question... On Mar 10, 7:53 am, Streets Of Boston flyingdutc...@gmail.com wrote: Thank you Dianne, But wouldn't there be a value/name pair that one can set in the Camera.Parameters instance, e.g. 'cameraParms.set(flash- mode,auto)'

[android-developers] BOOT_COMPLETED broadcast sent much later on some devices than others

2010-03-18 Thread justinh
One of my applications relies heavily on a speedy BOOT_COMPLETED broadcast action. The original devices I designed it on, and the emulator, each send BOOT_COMPLETED before the lock screen even appears. I designed my app with this assumption. As the months go by I received a few comments such as

[android-developers] Re: Samsung Moment does not return anything in parameters.getSupportedFlashModes()

2010-03-18 Thread justinh
This is what I have for it: BRAND: Samsung DEVICE: SPH-M900 MODEL: SPH-M900 VER: 3 PRODUCT: Samsung On Mar 18, 11:48 am, Streets Of Boston flyingdutc...@gmail.com wrote: Sorry for this bump... I have no idea where else to ask this question... On Mar 10, 7:53 am, Streets Of Boston

[android-developers] Receive Binary SMS on a specific port?

2010-03-18 Thread timo prill
hey there, is it possible to receive a binary SMS on a specific port? i am currently receiving SMS via Action: android.provider.Telephony.SMS_RECEIVED from a BroadcastReceiver. But i have no luck with binary SMS. I only get notified for text messages. any suggestions? cheers timo -- You

[android-developers] How to Create a List with Overlapping Items

2010-03-18 Thread kjantz
Hello, I'm trying to create a list with items that overlap. It should look something like this: http://docs.google.com/View?id=dk3w58n_18dv34mcs6 Does anyone have suggestions on the best way to achieve this? Things I've tried or considered so far: 1) Using negative margins. The items just end

Re: [android-developers] GPS without gps signal

2010-03-18 Thread mike
On 03/18/2010 08:29 AM, David Toledo wrote: Hi All Is possible that can using the signal GPS without signal the telephony active. I need save the gps location in the sqllite when the telephony is disabled GPS works fine without the cellular network. If there's no network AGPS won't be of

Re: [android-developers] GPS without gps signal

2010-03-18 Thread David Toledo
I refered , is in the montains without signal telephony Thanks 2010/3/18 mike enervat...@gmail.com On 03/18/2010 08:29 AM, David Toledo wrote: Hi All Is possible that can using the signal GPS without signal the telephony active. I need save the gps location in the sqllite when the

Re: [android-developers] Receive Binary SMS on a specific port?

2010-03-18 Thread tauntz
Listen to android.intent.action.DATA_SMS_RECEIVED instead of android.provider.Telephony.SMS_RECEIVED. This will give you all data SMS messages. Now you have to parse the destination port out of the raw PDU to determine if the SMS was for the specific port that you are interested in (there's a

Re: [android-developers] BOOT_COMPLETED broadcast sent much later on some devices than others

2010-03-18 Thread Mark Murphy
justinh wrote: I've come to find out that on some devices this intent is not sent for almost 5 minutes after the lock screen appears! Which devices? -- Mark Murphy (a Commons Guy) http://commonsware.com | http://twitter.com/commonsguy _The Busy Coder's Guide to Android Development_ Version

Re: [android-developers] GPS without gps signal

2010-03-18 Thread mike
On 03/18/2010 09:12 AM, David Toledo wrote: I refered , is in the montains without signal telephony Then yes, definitely, from much first hand experience :) Mike Thanks 2010/3/18 mike enervat...@gmail.com mailto:enervat...@gmail.com On 03/18/2010 08:29 AM, David Toledo wrote:

[android-developers] CAMERA permission features

2010-03-18 Thread Paolo
I have to develop an app which can take a picture and do some work with it. I have read I need to set the permission on the manifest file, for using camera. I would like to use also the autofocus and flash feature, but Android explains to use a lot of permission can limit the number of compatible

Re: [android-developers] CAMERA permission features

2010-03-18 Thread Mark Murphy
Paolo wrote: Is there a way to know at runtime if the specified mobile has the autofocus or flash features and to enable the app to use them? There are methods for that on Camera.Parameters, added in Android 2.0. So, for newer phones, yes, you can figure that out at runtime. -- Mark Murphy (a

[android-developers] Re: Game Developers: Some general questions about high scores, achievements, multi player support and in game ads.

2010-03-18 Thread Robert Green
Thank you for the compliment. I was intimidated by the math at first but it keeps getting easier and easier the more I do. I've also met people like Mario Zechner who is very knowledgeable and helpful. Just yesterday I was writing something and it wasn't working right. We talked, he mentioned

[android-developers] Filter in ExpandableListView

2010-03-18 Thread tikky
Hi, I have an ExpandableListView with several groups and each group contains several children. I want to make this list searchable, just like a regular list view. I have a SimpleCursorTreeAdapter (mAdapter) for this expandlable list. I tried to use the built in list filter using:

[android-developers] Re: Filter in ExpandableListView

2010-03-18 Thread Al
You can enable filtering using setTextFilterEnabled (see http://min.ie/3cx) tikky wrote: Hi, I have an ExpandableListView with several groups and each group contains several children. I want to make this list searchable, just like a regular list view. I have a SimpleCursorTreeAdapter

[android-developers] Re: Netbeans Profiler not working with netbeans android plugin

2010-03-18 Thread RealBadApple
I'm using netbeans with android and I don't think you can use a conventional java profiler on android because the delvik vm does not implement all the jdk tools for instrumentation. If you need to profile your app, I would use Traceview, http://developer.android.com/

[android-developers] Dismissing Custom Dialog

2010-03-18 Thread Lazarus
Hi All, I can't dismiss my custom dialog. I have XML layout with some text, pic and a button for dismissing the dialog. My onCreateDialog starts a DatePicker Dialog and About Dialog @Override protected Dialog onCreateDialog(int id) { switch (id) { case

[android-developers] SearchManager SUGGEST_COLUMN_ICON_1 for local file

2010-03-18 Thread Rik Brown
Hi there, I'm trying to display a custom icon next to each result in the search box. It's an image file at in the app's data - in this case at: /data/data/uk.ac.nott.cs.rxb06u.Prediction.AndroidUI/files/ __cache_b3e4775cfbd30cd1e8fd7ad379ff9f04.jpg I'm building a URI like this: String

[android-developers] ADT Eclipse Plugin won't let me put in a Target

2010-03-18 Thread Shaken Earth
I've been trying to make a new Android project in Eclipse. But whenever I try to do so, it won't let me select a build target. Here's a screenshot: http://twitpic.com/198od6 -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this

Re: [android-developers] Application wake up

2010-03-18 Thread Vaibhav Kulkarni
Hi Sam, I think you should create a service for that!!! You can use Intent for SMS in following way public class RespToSMS extends IntentReceiver { /* package name for Intent */ static final String ACTION = android.provider.Telephony.SMS_RECEIVED; public void

[android-developers] Mute Microphone

2010-03-18 Thread Matt P
Hi All, I'm new to the forum, very happy to be here! I'm also relatively new to Android development and have been reading and playing with the development environment. I've been able to have moderate success but have recently come across something that has stumped mehoping someone can help.

[android-developers] adb logcat skips log messages

2010-03-18 Thread Hoyle
I've am writing an app that has a major component in C++. In order to aid debugging I tend to write a lot of data to the logs from C++ (and a minimal amount from Java). The logs are written out using NDK logging facilities and also written to files on the device. It seems that, at least under

[android-developers] Re: SD Card File I/O

2010-03-18 Thread dfisher
Also, you will need uses-permission android:name=android.permission.WRITE_EXTERNAL_STORAGE / in your manifest, if you are using Android 1.6 and beyond. On Mar 16, 10:33 pm, sumit asok dont.follow.me@gmail.com wrote: I think openFileOutput() method is used to write to applications private

[android-developers] I am not able to update contact on android 2.1 emulator

2010-03-18 Thread Rishabh
Hi, I have written an application and added 2 contacts on emulator, but i am not able to update their names on android 2.1, code is working on android 1.6 platform with the following code. ContentValues contactValues = new ContentValues(); contactValues.put(Contacts.People.NAME, firstName+

[android-developers] Application taking over Phone app call

2010-03-18 Thread Fabio
Hello all, I have a task at sight but need some expert help: is it possible to place a phone call within an Activity without bringing up the native Phone app? I need to place a call from the app I am developing, so what I would like to do is to pass a phone number through an Activity that may or

[android-developers] attractive a soap

2010-03-18 Thread kumar
webpage; http//123maza.com/50/latha50 -- 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

  1   2   3   >