Re: [android-developers] Force ndk-build to use c++ compiler

2012-01-20 Thread Mark Murphy
You may have better luck asking that on the android-ndk Google Group. On Fri, Jan 20, 2012 at 10:54 AM, M J wrote: > Hey guys, > > I have another problem. I want to compile all my files (*.c and *.cpp) > with a c++ compiler. How can I tell ndk-build to do that? Currently it > decides to use a nor

Re: [android-developers] Re: Accelerometer not working when screen turns off

2012-01-20 Thread Mark Murphy
On Fri, Jan 20, 2012 at 10:52 AM, crennie wrote: > I would prefer a way to do it that wouldn't drain the battery. You act as though you have a choice. You do not. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.co

[android-developers] Re: ContentProvider - Update Field with multiplication result of other

2012-01-20 Thread Lester Quintero
Hi, Ok I believe that i make wrong question, i think that content provider take that and transform To UPDATE ORDERLINE SET TOTAL = Quantity * Price There is way to do that, and yes i need known more of java. Thanks On 20 ene, 10:16, Yahel wrote: > > but my surprise was find in column total t

[android-developers] Force ndk-build to use c++ compiler

2012-01-20 Thread M J
Hey guys, I have another problem. I want to compile all my files (*.c and *.cpp) with a c++ compiler. How can I tell ndk-build to do that? Currently it decides to use a normal c-compiler to compile *.c files and a c++- compiler to compile *.cpp files. -- You received this message because you are

Re: [android-developers] How to manually dispatch key event for power button in android

2012-01-20 Thread Kristopher Micinski
Additionally, it's not even possible to "lock" the phone at all, by code, in any ways that can't be easily defeated and are essentially nothing more than parlor tricks. kris On Fri, Jan 20, 2012 at 8:21 AM, Mark Murphy wrote: > On Fri, Jan 20, 2012 at 1:42 AM, ashiq sayyad wrote: >> I have an i

Re: [android-developers] Re: Accelerometer not working when screen turns off

2012-01-20 Thread crennie
I would prefer a way to do it that wouldn't drain the battery. -- 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-d

Re: [android-developers] How to iterate Class

2012-01-20 Thread Kristopher Micinski
Still doesn't make any sense... You know the elements you want out of the class, so just get them, don't write it in some strange hacky way just to use a for, if you want the values, this has nothing to do with an adapter. (Theoretically you could use reflection here, but using an array and for i

Re: [android-developers] FragmentTransaction commitAllowingStateLoss problem

2012-01-20 Thread Mark Murphy
On Fri, Jan 20, 2012 at 10:41 AM, Nick Parker wrote: > I am using the Google compatibility library for Fragments.  I have a > ListFragment that upon selection from a context menu performs a fragment > transaction replace to display another fragment.  This operation works fine, > however following

Re: [android-developers] Dashboard Application

2012-01-20 Thread James Black
You can instantiate the buttons from Java and add it to the table row you would also create. Look at the ask for the button widget. On Jan 20, 2012 10:29 AM, "Ubiracy Santos" wrote: > How can I create dynamic buttons? > > -- > You received this message because you are subscribed to the Google >

[android-developers] FragmentTransaction commitAllowingStateLoss problem

2012-01-20 Thread Nick Parker
I am using the Google compatibility library for Fragments. I have a ListFragment that upon selection from a context menu performs a fragment transaction replace to display another fragment. This operation works fine, however following a screen rotation the the commit operation fails giving th

Re: [android-developers] Dashboard Application

2012-01-20 Thread Ubiracy Santos
How can I create dynamic buttons? -- 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...@googleg

[android-developers] Re: ContentProvider - Update Field with multiplication result of other

2012-01-20 Thread Yahel
> but my surprise was find in column total this > content: "Price * Quantity" Hi, Why is it a surprise ? That is exactly what you are asking Android to do : Put the STRING : OrderLineContract.Columns.PRICE + " * " + OrderLineContract.Columns.QUANTITY in the column total. Your question shows a re

[android-developers] Re: how to resolve this promblem

2012-01-20 Thread Jeremy Dagorn
As it said : add implements view.onClickListener at first line of your activty. Implements th onClick method from the onclicklistener interface to manage click evrnts. best, On Jan 20, 7:05 am, Pradeep wrote: > Multiple markers at this line >         - The method onClick(View) of type new View.On

[android-developers] ContentProvider - Update Field with multiplication result of other

2012-01-20 Thread Lester Quintero
Hi everybody, Create a content provider that updates a SQLite table with columns Quantity, Price and Total. There are other columns but are not important. I try update the column Total with result multiplication of columns Price and Quantity but my sorprise was find in column total this content:

Re: [android-developers] Dashboard Application

2012-01-20 Thread James Black
It looks like you are using a table. You will need to update a file on an SD card or store this in preferences or a database, but the buttons and links should not be in your layout. I would suggest the app be empty then it gets an update and places the buttons. You may need to specify button col

Re: [android-developers] Re: Copyright question: Can I remix a Final Fantasy song and use it in my game?

2012-01-20 Thread Chihwah
Hello, I am sure that is not legal, you would still be using parts of an original song, so you need permission. Don't think this is the right place to ask such questions. An organisation about copyright will be able to answer your question more accurate. Cwli Op 20-1-2012 14:51, Jim Graha

Re: [android-developers] Starting with game development

2012-01-20 Thread TreKing
On Wed, Jan 18, 2012 at 7:29 AM, Rohit Sharma wrote: > Now please let me know about how to embed objects into games. Does it > require using some game engine or we need to manually do this b > performing lots of coding. > A) That doesn't make much sense. B) That doesn't sound like it has anythin

Re: [android-developers] remove logs after market

2012-01-20 Thread TreKing
On Tue, Jan 17, 2012 at 12:31 PM, Leno Britto wrote: > but why would you do that? the user won't see those unless he plugs the > phone to the pc and if he does, so what? those messages are meant for > troubleshooting rather then testing things out, isn't that how you're you > using them? because

[android-developers] Re: Supporting Galaxy Note Issues Due To It Displaying Itself as a LARGE screen layout.

2012-01-20 Thread Chris
Thanks I will just exclude , can't find any other stupid devices like the note. Kindle sales are in the 100's per day , not doing all that change for a few Galaxy Note's. It's a shame Google did not sort this mess out on an earlier release , it's becoming a real pain On Jan 20, 1:45 pm, Mark Murp

Re: [android-developers] Net Work slow

2012-01-20 Thread Chihwah
Hello, In a few cases you will need to create a seperate thread. You could get an message that your app is not responding. If that's the case, create a new thread, Inside this new thread you execute your code. Might be handy to send some code, so that people can have a look. Hope this help

Re: [android-developers] Re: Copyright question: Can I remix a Final Fantasy song and use it in my game?

2012-01-20 Thread Jim Graham
On Thu, Jan 19, 2012 at 12:50:30PM -0800, hzakimoto wrote: > I'm also a musician. You've no doubt already done some composition, then, so why not just write your own? Or just ad lib. Either way, it's a LOT easier, as a musician, to just write your own music than to get out of legal trouble for

Re: [android-developers] Supporting Galaxy Note Issues Due To It Displaying Itself as a LARGE screen layout.

2012-01-20 Thread Mark Murphy
On Fri, Jan 20, 2012 at 8:40 AM, Chris wrote: > I am having issues support the Galaxy Note > > My app runs on Android 2.1+ , so I can't use the DPI based screen > differentiation , and the Galaxy note is 2.3.5 I believe. > > My app has a normal display size which works great for small/normal , > I

Re: [android-developers] Installing Android SDK

2012-01-20 Thread Chihwah
Hello, A small guide for Eclipse and SDK: 1) unpack SDK and place it somewhere. 2) install ADT plugin from https://dl-ssl.google.com/android/eclipse/ or http instead of https. ADT plugin will ask you where the SDK directory is 3) after restart, Eclipse will have 2 green buttons. One of th

[android-developers] Supporting Galaxy Note Issues Due To It Displaying Itself as a LARGE screen layout.

2012-01-20 Thread Chris
I am having issues support the Galaxy Note My app runs on Android 2.1+ , so I can't use the DPI based screen differentiation , and the Galaxy note is 2.3.5 I believe. My app has a normal display size which works great for small/normal , I also have a large display layout that has been working gre

[android-developers] why is onDoubleTap being called before second tup's up action?

2012-01-20 Thread skink
hi, i'm using GestureDetector to detect double tup actions and having a little problem when trying to startActivity() inside onDoubleTap listener. namely i have observed when onDoubleTap is empty i see the following: D/GestureActivity( 987): onTouchEvent action=0 D/GestureActivity( 987): onTou

Re: [android-developers] best adnetwork

2012-01-20 Thread Christopher Van Kirk
Try it and see? On 1/20/2012 9:25 PM, aru wrote: Hi guys, would you tell me the best adnetwork that exist on Android platform. currently I use Admob, but I feel their CPM is low, and I want to change to greystripe but I don't know it's gonna be going well or not. Thanks, Aru -- You received

[android-developers] Dashboard Application

2012-01-20 Thread Ubiracy Santos
Hello Android Developers!!! I have a dashboard application wich will be updated outside with a web application such as webservice. What is the best form to develop this application? I will update

[android-developers] App fire on pressing lock key of phone

2012-01-20 Thread Dhaval Varia
I want to fire my app on lock/unlock key press for few times. how to do it? thanx -- 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

[android-developers] best adnetwork

2012-01-20 Thread aru
Hi guys, would you tell me the best adnetwork that exist on Android platform. currently I use Admob, but I feel their CPM is low, and I want to change to greystripe but I don't know it's gonna be going well or not. Thanks, Aru -- You received this message because you are subscribed to the Google

Re: [android-developers] Re: Android codesearch replacement?

2012-01-20 Thread Mark Murphy
On Fri, Jan 20, 2012 at 2:27 AM, joebowbeer wrote: > Thanks. The android.jar source code can also be downloaded via SDK > Manager and integrated with an IDE. > > I'm looking for a deeper search into android.git.kernel.org (aka > github.com/android). The aapt source, for example. > > I thought that

Re: [android-developers] How to manually dispatch key event for power button in android

2012-01-20 Thread Mark Murphy
On Fri, Jan 20, 2012 at 1:42 AM, ashiq sayyad wrote: > I have an implementation to lock the phone .I checked the device admin > API.It is introduced after 2.1.So to have lock functionality for all > versions devices,I am planning to dispatch power button event through code. Fortunately, this is n

Re: [android-developers] Vivaz and Android

2012-01-20 Thread Mark Murphy
This has nothing to do with this list. This list is for Android SDK app development, not how to put Android on arbitrary pieces of plastic and silicon. 2012/1/18 Δημήτρης Σιγάρας : > Hello  Android Developers, > I am an owner of a Sony Ericsson Vivaz running Symbian OS. > The company i work asked

Re: [android-developers] Home screen icon dimensions

2012-01-20 Thread Mark Murphy
On Fri, Jan 20, 2012 at 6:29 AM, bt wrote: > I would like to display application icons in my app with the same > dimension as they are visible on the home screen. > > Is there any way to get that information. No, because each of the countless home screen implementations is perfectly welcome to sh

[android-developers] Re: Newbie question about Content Provider

2012-01-20 Thread Lester Quintero
Hi, I see the example and I did not find where using insert - Select to put data into database. I assume then that this can not be done, as I searched many examples and have not found anything like. Thanks, for your help. On 20 ene, 06:02, Ricardo Santos wrote: > Do the notepad tutorial, on

[android-developers] Re: How does Chronometer work??

2012-01-20 Thread rachana govilkar
hmm not yet.I will check it out. Thanks for help. On Jan 20, 1:00 pm, skink wrote: > rachana govilkar wrote: > > I did write this code but its of no use as my Chronometer is not > > getting displayed only. > > And hence this time ticking is not taking place. > > Do I need to add some code in code

[android-developers] IPC peformace suggestions

2012-01-20 Thread Mika
Hi all, In my app the process number 1 generates around 1KB of data every couple of seconds and passes this to process number 2. To my understanding there are three ways to pass data between processes: publishing IPC interface using Binder, using Messeger or using Broadcasts. I would like to get s

[android-developers] Downloaded .apk file always gives package parsing error on installations

2012-01-20 Thread rahul verma
hi everyone, i am caught in a big problem... I have made a downloading app. it works fine ,but one big problem is there. When i am downloading a .apk file using my code,on installing the downloaded file i am always getting a package parsing error My code: try {

[android-developers] Re: Can't update browser bookmarks

2012-01-20 Thread H
The browser uri changed from Honeycomb onwards. It still responds to Browser.BOOKMARKS_URI ("content://browser/...") for legacy, but it realistically uses the new BrowserContract.AUTHORITY_URI ("content:// com.android.browser/...") to access the correct database. There's code in the Honeycomb+ Bro

[android-developers] Re: Avoid android taking screenshot/snapshot of activity while going in background

2012-01-20 Thread Johan Appelgren
A quick search in this group gave me this: https://groups.google.com/d/msg/android-developers/363Au8CqdLY/UhsUnEgZViIJ http://developer.android.com/reference/android/view/WindowManager.LayoutParams.html#FLAG_SECURE -- You received this message because you are subscribed to the Google Groups

[android-developers] how to resolve this promblem

2012-01-20 Thread Pradeep
Multiple markers at this line - The method onClick(View) of type new View.OnClickListener(){} must override a superclass method - implements android.view.View.OnClickListener.onClick -- You received this message because you are subscribed to the Google Groups "Android Dev

[android-developers] Runtime exception while audio recording

2012-01-20 Thread Raneez
I get the following error while trying to record audio: E/AndroidRuntime(759): java.lang.RuntimeException: setAudioSource failed. E/AndroidRuntime(759): at android.media.MediaRecorder.setAudioSource(Native Method)). Please help me out. -- You received this message because you are subs

Re: [android-developers] Avoid android taking screenshot/snapshot of activity while going in background

2012-01-20 Thread Harri Smått
On Jan 20, 2012, at 1:25 PM, tegbird wrote: > If you press the task-switcher button, you > can see the snapshot of your app. Does this happen also if you jump to another task, and press task-switcher button from that other task again? Is your application still available there? -- Harri -- You

[android-developers] Home screen icon dimensions

2012-01-20 Thread bt
Hi, I would like to display application icons in my app with the same dimension as they are visible on the home screen. Is there any way to get that information. I mean it would be fine if there were an attribute or style I could use, for example: Thanks, Tamas -- You received this message b

[android-developers] Avoid android taking screenshot/snapshot of activity while going in background

2012-01-20 Thread tegbird
In 3.0+ and 4.0+, When user switches applications Android takes a screenshot of the current activity before moving the application in background. If you press the task-switcher button, you can see the snapshot of your app. I want to avoid that android takes snapshot of my activity as it has sensit

Re: [android-developers] Augmented Reality

2012-01-20 Thread Ricardo Santos
You will need more than 7 days for that... My advice it for you to go beyond wikipedia and see some real image processing books. I had this on college a few years ago and do not remember the name of the subject, but I know that with some real research you can do it. Hope you don't have a deadline

[android-developers] Re: How to create a binary file stored on the cache of the app and delete it after the use?

2012-01-20 Thread skink
saex wrote: > i have a android app that gets a binary file from a php script. > > I need to store the binary file returned by the remote php script into > a binary file on the cache mem of the app. And after i use the binary > file, i need to remove it. > > How can i achieve it? > you can achiev

Re: [android-developers] Newbie question about Content Provider

2012-01-20 Thread Ricardo Santos
Do the notepad tutorial, on the developers page, it will help you a lot. On Tue, Jan 17, 2012 at 1:37 PM, Lester Quintero wrote: > Hello everybody, > > Its possible with content providers make insert-select in SqlIte > database. > would be something like: > > Insert into Table(t1, t2) > Select tx

Re: [android-developers] overlay webcam

2012-01-20 Thread Ricardo Santos
I have never done anything similar to it, but I would advise you to subclass the component you are using and extend the onCanvas() method to put a circle on the place desired. But, as I said, I have never done anything like that, so if I said anything wrong, someone please correct me. 2012/1/18 E

[android-developers] How to create a binary file stored on the cache of the app and delete it after the use?

2012-01-20 Thread saex
i have a android app that gets a binary file from a php script. I need to store the binary file returned by the remote php script into a binary file on the cache mem of the app. And after i use the binary file, i need to remove it. How can i achieve it? thanks -- You received this message beca

[android-developers] contacts retrieve

2012-01-20 Thread ANKUR GOEL
hi all ' i am retriving contacts from android phone ...but its taking the contacts of gmail also how to avoid the gmail contacts . thanks urgent -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-

Re: [android-developers] Augmented Reality

2012-01-20 Thread Raghav Sood
This is currently not possible. Unless you are willing to write code that can efficiently describe to AndAR how every possible bulb you will be use looks from every angle, then I'd suggest you drop it. Thanks On Thu, Jan 19, 2012 at 10:37 AM, tofeeq ahmad wrote: > I am working on Augmented Reali

[android-developers] Re: Problem in Asynctask Execution in standby mode

2012-01-20 Thread sktniran
Thanks Guys.. i solved this problem. the solution is we need to dismiss the progressDialog and set this to null in onPause method. And in onPostExecute method we have to check progressDialog!=null before dismiss this dialog... Thnak you for your response -- You received this message because

[android-developers] widget stop working after force close in setting page

2012-01-20 Thread dara kok
A Simple app with a widget that once a button on the widget is clicked, it will lead back into the app. My issue is that when the app is force close using a button in the application setting page, my widget becomes actionless. I've put a few log statement within the widget provider. after the f

[android-developers] Re: Forcing an item in a GridView to remain highlighted after clicking

2012-01-20 Thread jamesc
Create a new selector (see http://developer.android.com/guide/topics/resources/drawable-resource.html#StateList) for the item, and then configuring the colour/background values depending on state. By state, I mean, your item could be 'Checkable' (i.e. only a single item in the whole GridView can b

Re: [android-developers] Re: DevicePolicyManager LockNow problem

2012-01-20 Thread ashiq sayyad
Thanks all. For earlier version devices, I tried dispatching power button key event via code to lock the phone.But its not dispatching the key event for. Thanks & Regards, Ashiq Sayyad On 20 January 2012 14:17, Mukesh Srivastav wrote: > @Albnok, > > I had tried decompiling the required libr

[android-developers] Regarding integration of ffmpeg libraries with android sdk

2012-01-20 Thread Himanshi Saxena
Hi all, I am doing a college project on "adaptive video streaming on android". I need to integrate ffmpeg libraries with android sdk to use. I surfed but could not find detailed guidelines to do so. I am new to android programming and dont have much experience. I would really appreciate any help in

[android-developers] How to Encode frames from onPreviewFrame??

2012-01-20 Thread muhammad.ume...@hotmail.com
hi, I want to encode each frame and these encoded frame send to network and save it in a video file. please tell me which encoder i have to use, that supported by Android. and also suggest the link for it. Thanks and Regards umer -- You received this message because you are subscribed to

Re: [android-developers] Net Work slow

2012-01-20 Thread Ratheesh Valamchuzhy
catch the timed out exception and solve the issue. -- 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-developers] Net Work slow

2012-01-20 Thread aru padam
Hi all, I am using internet connection in android application.Suppose net connection is slow ,then the app is force closed . How can i rectify this problem .Please help me .urgent... Thanks in Advance Deepesh C -- You received this message because you are subscribed to the Google Gr

Re: [android-developers] Re: DevicePolicyManager LockNow problem

2012-01-20 Thread Mukesh Srivastav
@Albnok, I had tried decompiling the required library and had spend lots of time, but not succeeded. I Love to hear if some one is doing this. Warm Regards, *Mukesh Kumar*, Android Consultant/Freelancer, India,Hyderabad. On Fri, Jan 20, 2012 at 2:10 PM, albnok wrote: > Well it says it's only

[android-developers] Re: DevicePolicyManager LockNow problem

2012-01-20 Thread albnok
Well it says it's only on API Level 8 so I can't help you there. If you know it works in another app, on Android 2.1 or below, you might try decompiling that app, but I have no experience with that so I can't say whether it is possible to find an undocumented API that works. On Jan 20, 2:35 pm, as

Re: [android-developers] Voip issue

2012-01-20 Thread Mukesh Srivastav
I had succefully done the voip app on sip protocol. I had make use of PJSIP open source and i had tested on g729 codec as well. here is the link. http://code.google.com/p/csipsimple/ -- Warm Regards, *Mukesh Kumar*, Android Consultant/Freelancer, India,Hyderabad. On Thu, Jan 19, 2012 at 2:48

Re: [android-developers] Problem in listview with images in it

2012-01-20 Thread Mukesh Srivastav
Pleae check with the lazyload apps. secondly you need to store or cache the downloaded images so that next time it should read it from the cache not again from the server. Warm Regards, *Mukesh Kumar*, Android Consultant/Freelancer, India,Hyderabad. On Tue, Jan 17, 2012 at 3:56 PM, ravi wrote

[android-developers] startActivitiesForResult problem

2012-01-20 Thread vani reddy
HI friends, In my app i am traversing between 4 activities A,B,C,D . in Activity A i am going to B and then C and D Intent intent = new Intent(A,B); startActivityForResult(intent,0); >From D i need to go to activity A from Activity D i am doing Intent intent = new Intent(); intent.putExtra(

[android-developers] Voip issue

2012-01-20 Thread TalkTalk
What my problem is while I write a VOIP solution APP, The Audio Source of recording is always from camcorder. That make me echo . I think it is a problem for all application developer engineer. Please give a suggestion or hint me which api I can use to turn off cancorder in oerder to use mic. Thank

[android-developers] Problem in listview with images in it

2012-01-20 Thread ravi
Hi, I have a list view with image and some textviews in each row. Initially when the listview is loaded all works properly. But when I scroll down the listview and come up again the background image changes. Can someone tell me the reason why its happening so? Hope to get the reply soon. Thanks

[android-developers] Included javax JNDI Factory built successfully but can't be instantiated

2012-01-20 Thread EnNuages
Hi Android folks, I'm trying to port: Apache Qpid Client, JMS and JNDI -- to Android. I'm able to get a successful compile/build of my QpidDroid project when running the ant debug install targets after passing Dalvik the -- core-library parameter to allow javax packages for JMS/JNDI. I'm hoping

[android-developers] Submit username and password to website

2012-01-20 Thread n3d!m
I am trying to post login and username to the website. How to do that? Here is the code: if (v.getId()==R.id.loginBtn) { HttpClient client = new DefaultHttpClient(); HttpPost post = new HttpPost("http://ius.edu.ba:8080/sis/ index.php"); try {

[android-developers] Class File Collision?

2012-01-20 Thread PSchuette of Ignite
Hello all, I am a relatively new developer and I have encountered a problem which I have been unable to solve for the past few days. Basically, the issue is that My auto-generated R.java file has an error in the first line (on a comment) saying "Class file collision: A resource exists with a differ

[android-developers] Android "USB Host" and ISOC (Isochronus)

2012-01-20 Thread Marius Maximus
I found this "USB Host" API at page http://developer.android.com/guide/topics/usb/host.html "android.hardware.usb.UsbRequest" "A class representing USB request packet. This can be used for both reading and writing data to or from a UsbDeviceConnection. UsbRequests can be used to transfer data on b

[android-developers] Why need post method in TouchDelegate Sample

2012-01-20 Thread Michelle Wang
I found a sample about TouchDelegate. And the link(Using a TouchDelegate) is as below: http://groups.google.com/group/android-developers/browse_thread/thread/178af525ab84b371 I did as the sample did, and found out that the run method of Runnable would not be executed before any event. But the me

[android-developers] Relative Layout, buttons are being hidden behind image on orientation change

2012-01-20 Thread Mark Turkel
Hi, I'm having an issue with screen sizes and compatibility. I wrote an app for a tablet, and now trying to convert it to run on phones as well. All is fine, going to the 2.2 minimum platform, but when I go from landscape to portrait mode, or even just start in portrait mode, I can't see the

[android-developers] Webservice in android

2012-01-20 Thread Pradeep
I want to create a webservice in android. To export data from the device on demand. I need to call it from .net. Do any have any idea about how to create a webservice in android. Where to deploy it? If possible, send me the link or sample program to create it. -- You received this message because

[android-developers] Flipping pages

2012-01-20 Thread Borealis
Hi, I am a newbie to Android-development. I know this question might have come up before, but somehow I could not find the right search-terms to find a solution... Here's what I want to do: I want to have some "cards" that I can flip back and forth. For better understanding, let's think of a set

[android-developers] errors

2012-01-20 Thread vishal patel
i m connecting with facebook API... i followed the steps given in http://developers.facebook.com/docs/mobile/android/build/ this link when i m running application i found log messages like 05-14 15:09:08.410: WARN/ActivityManager(192): Launch timeout has expired, giving up wake lock! 05-

[android-developers]

2012-01-20 Thread shefali chopkar
-- Forwarded message -- From: shefali chopkar Date: Wed, Jan 18, 2012 at 10:58 AM Subject: To: android-developers@googlegroups.com I am doing a project on ECG. I have to display ECG on grid and scroll it to the left automatically. I don't want to add a scroll bar to it. i just wa

[android-developers] Real time video streaming Andro 2.3 or higher? mob or tab any device

2012-01-20 Thread NIRANJAN TIRKEY
Hey my application requires real time streaming from the camera..so what should be the platform sdk to work ..i read android 4 supports low level streaming..what about tablet platforms 3 and higher? -- You received this message because you are subscribed to the Google Groups "Android Developers"

[android-developers] Can not draw after onPause/onResume

2012-01-20 Thread decastro
I am writing my first android game. It is working fine in almost every respect, but when the screen timeout kicks in and I press the button to get back to the game, I find the image of the game state frozen. It appears the main thread is still alive - I can tell this because I have a set of sounds

[android-developers] CursorLoaderSupport example not responding to content provider notifications?

2012-01-20 Thread siwatson
I'm updating an Android 2.2 application to use CursorLoader (using the v4 compatibility library) and I'm using the CursorLoaderSupport example (http://developer.android.com/resources/samples/Support4Demos/ src/com/example/android/supportv4/app/LoaderCursorSupport.html) to help me. My question is s

[android-developers] [Q] Derived sensors not working

2012-01-20 Thread naga radhesh
In gingerbread derived sensor use to work fine. After porting ICS, derived sensors are not working.when i browse through SensorService code, i found that in ICS derived sensor data is computed only if accelerometer, magnetometer and gyro are present.I dont have gyro in my device. Is this the reason

[android-developers] SQLite and AsyncTask

2012-01-20 Thread Philip Frank
Hi everyone, I'm accessing a SQLite database from AsyncTasks, several of them, but as I understand that should be fine. We received reports from users that our app is lagging and sometimes even freezing up the whole phone to a point where they can only pull the battery. The reports come from very

رد:[android-developers] Re: How to measure activity load time

2012-01-20 Thread msg.lgsi
MghhjjFrom : JPTo : Android Developers; Subject : [android-developers] Re: How to measure activity load time I've used Traceview in the past. http://developer.android.com/guide/developing/debugging/debugging-tracing.html On Jan 18, 8:29 pm, PMS  wrote: > I have an application. some activity/scree

[android-developers] Bind an Android ViewFlipper containing ListViews to a ContentProvider with multiple ArrayLists

2012-01-20 Thread sethyx
Hi All, I’d like to implement a home screen widget which displays system infromation. The whole application is based on Google's example WeatherListWidget. I am using a ViewFlipper which has 5 childs, each one is a ListView. The data is contained in a ContentPovider, which has 5 ArrayLists. Can I

[android-developers] I encountered a error

2012-01-20 Thread nashuwu
error is [2012-01-18 22:02:37 - LearnActivities] Android Launch! [2012-01-18 22:02:37 - LearnActivities] adb is running normally. [2012-01-18 22:02:37 - LearnActivities] Performing com.nash.activities.Main activity launch [2012-01-18 22:02:37 - LearnActivities] Automatic Target Mode: launching new

[android-developers] how to show up the voice recognition settings in my app?

2012-01-20 Thread Pargat Singh
I am working on an android application in which i have implemented voice recognition and TTS. I have implemented TTS settings successfully by using following code: intent = new Intent(); intent.setAction("com.android.settings.TTS_SETTINGS"); intent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK); this.sta

[android-developers] problem: two instances of the app are running- only on start up

2012-01-20 Thread SVRP VARMA
Hi, I am using a Tegra tablet for my tablet running Android 2.2. I am facing a strange issue. Two instances of the app are running when I configure the app to run on-boot. I've the flags as below. intent2.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK | Intent.FLAG_ACTIVITY_CLEAR_TOP| Intent.FLAG_ACTIVI

[android-developers] How to send DTMF signal even if its way is compulsory.

2012-01-20 Thread okp
There is one question. Please teach me if someone have any related information. And I'm sorry for my poor English. I wanna send DTMF signals to the IVR in my app when press the my app's UI button. But it was impossible in program code.And I tried my cellphone generate DualTone and its mic pick up

[android-developers] Vivaz and Android

2012-01-20 Thread Δημήτρης Σιγάρας
Hello Android Developers, I am an owner of a Sony Ericsson Vivaz running Symbian OS. The company i work asked me to install an application but doesnt work because it isnt supported from Symbian, only for Android and Windows mobile. This application is a bridge of our ERP Software. They cant make i

[android-developers] overlay webcam

2012-01-20 Thread Etienne Le Néchet
Hello, I develop an application which use camera...but I want an overlay. I want draw a circle which allows a person to place his head properly for face recognition. What are method to implement that? -- You received this message because you are subscribed to the Google Groups "Android Developer

[android-developers] add radio button in table

2012-01-20 Thread issac balaji
i'm trying to add radio button in the table roa as dynamically i'm getting error -- 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 e

Re: [android-developers] remove logs after market

2012-01-20 Thread Leno Britto
I don't get it, what logs? the ones you created for logcat? yeah, you can always remove or comment them, but why would you do that? the user won't see those unless he plugs the phone to the pc and if he does, so what? those messages are meant for troubleshooting rather then testing things out, i

[android-developers] Problem with show a cursor into a listview

2012-01-20 Thread José María Tristán Martín
Hi, I only speak a little english, so I wait that you can understandme. I get the phone numbers and I want to show into a listview. My code is: Uri uri = Uri.withAppendedPath(PhoneLookup.CONTENT_FILTER_URI, Uri.encode("325-741-886")); ContentResolver cr = this.getContentResolver(); Cursor curso

[android-developers] Newbie question about Content Provider

2012-01-20 Thread Lester Quintero
Hello everybody, Its possible with content providers make insert-select in SqlIte database. would be something like: Insert into Table(t1, t2) Select tx, ty >From Table or Insert into Table(t1, t2) Select tx, ty WHERE NOT EXISTS ... Thanks. -- You received this message because you are subs

[android-developers] Android's CheckJNI: How to turn it off/on (on an emulator)? Documentation seems to be faulti

2012-01-20 Thread Jon Bonbon Jovi
I have spent some time examining the checkjni mode using an Android emulator with my app. Altough it is written (in http://android-developers.blogspot.com/2011/11/jni-local-reference-changes-in-ics.html) that CheckJNI is on by default if debuggable="true" & targetSdkVersion is at least Ice Cream S

[android-developers] Re: Google Code Project

2012-01-20 Thread IS SOA
he must be asking to upload his android development apps, i am interested too On Jan 17, 4:54 pm, TreKing wrote: > On Tue, Jan 17, 2012 at 3:13 PM, 7600onair <7600on...@gmail.com> wrote: > > What is the easiest way to upload Source code files to a Google > > Code Project so they are editable? > >

[android-developers] How to get the real device screen size

2012-01-20 Thread Eric Tseng
While I'm developing my app, I need to get my device physical size. But the current functions like display.getSize() or heightPixels in DisplayMetrics return the sizes which exclude the decorations like status bar. Like my device, I'd like to get 1280*800 not 1280*752(which excludes status bar). Is

[android-developers] How I use Web Services in android.?

2012-01-20 Thread Harpreet Singh
I am creating an app for a website's directory services, there are wide category of online submission forms on their database, how can i add those services to my app? How can I communicate with the database which that site is using? -- You received this message because you are subscribed to the

[android-developers] Android - How to add audio play/stop/pause buttons

2012-01-20 Thread IS SOA
i have been looking to implement the mediaplayer/mediacontroller class which includes the basic control like play, pause, stop, forward, reverse, seeker etc? is there any built-in functionlity out there? or any third party control? -- You received this message because you are subscribed to th

Re: [android-developers] Re: Is Application.onCreate() always called when broadcast receiver gets onReceive()?

2012-01-20 Thread Ganeshji Marwaha
Alex, When your BOOT_COMPLETE Broadcast receiver is called, your application subclass's onCreate() method would have been called for sure. Of course it is going to be called only once, but if you already have your data initialized and cached, there should be no reason why you could not access it.

[android-developers] "Telugu" Font is not rendered in Android OS....?

2012-01-20 Thread RD
Hi There are 11 to 12 Crores of people around the world who speak one of the INDIAN Languages called *TELUGU*. For such kind of language there is not rendering / display support given in *"Google+"* app of Android platform. In iPhone IOS 4+, *Google+ app*, it is displayed / rendered v

<    1   2   3   >