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

2012-01-20 Thread skink
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 I mentioned above??? hmm, have you tried:

[android-developers] Re: how to draw wave like the wave in google voice search

2012-01-20 Thread skink
cindy wrote: Hi All, I have got PCM data. I use canvas.drawLines(mPoints, mForePaint) to draw the wave data. But it doesn't like the wave in google voice search? In google voice search, the wave has round edge. Which method I can use to draw wave like that? Thanks! Cindy what about

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

2012-01-20 Thread Mukesh Srivastav
Excatly Mr.Ashiq, I did that, i am able to have the complete control like a. lock the screen. b. password change event c. wrong pass-- i am doing it for trace the mobile. d.password success, a customize screen with widget into that. Regards, Mukesh On Fri, Jan 20, 2012 at 12:05 PM, ashiq

[android-developers] SSL sessions are not resumed

2012-01-20 Thread Jonas Jalminger
Hi, I use HTTPS to connect to a server using both server and client authentication. This works fine, no problem. However, on every request made to the server I am forced to make a handshake even though it is supposed to cache authenticated sessions. I have tried the Apache HttpClient,

[android-developers] Starting with game development

2012-01-20 Thread Rohit Sharma
I am going to start with android game development (initially 2D). 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. Also let me know about some good references to start with.Thanks in

[android-developers] Re: NFC Secure Element

2012-01-20 Thread anton krasnoff
Hi, Tommy! Could you, please, build a new version your Nexus S ROM of Card Emulation with fresh patch from m0rtadelohttp://forum.xda-developers.com/member.php?u=3284560 ? http://forum.xda-developers.com/showthread.php?t=1281946 Many thanks! -- You received this message because you are

[android-developers] Re: MediaController with MediaPlayer

2012-01-20 Thread Isaac
Hi Giuseppe, You can call MediaController's show(int timeout) method and pass MediaPlayer.getDuration() as parameter to it. Something like myMediacontroller.show(myMP.getDuration()); I hope this helps. Cheers, Isaac On Jan 18, 4:19 pm, Giuseppe porcelli.giuse...@gmail.com wrote:  I would

[android-developers] Re: Need some help troubleshooting my app

2012-01-20 Thread James
Does the PHP page work when you use it from the web browser on your phone? On Jan 16, 5:53 pm, jp bears0...@gmail.com wrote: Can anyone help me get my app connected to my database. I want a user to enter information in the registration page and have that data update and store in mysql database.

[android-developers] ContentProviderOperation prevent duplicate insert

2012-01-20 Thread Lester Quintero
Hi everybody, Someone knows how to detect that an element exists and prevent the insert using ContentProviderOperation Thanks. -- 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] How can I load my custom map by using map api?

2012-01-20 Thread kyawswa aung
Hello, I would like to load my custom map by using google map api. I would like to develop a kind of map app for stand alone device. Is that possible? if it is possible, could you please give me some advices or references. Thanks to all. -- You received this message because you are

[android-developers] Choosing the CTS version for ICS

2012-01-20 Thread Kal
Hi All, I am currently working on porting android ICS ver 4.0 the CTS version in my source tree is 4.0_r1. I saw that the latest CTS version available for download is 4.0.3_r1. I want to start execution of CTS on my target. Which CTS version should I choose ? Is there a necessity that CTS

[android-developers] Re: Moving from one activity to previous activities.

2012-01-20 Thread Harpreet Singh
I am not good in android but as much i studied we can use finish(); method to destroy current activity. On Jan 19, 3:32 pm, Raneez rane...@gmail.com wrote: My application consists of 2 activities and 1 list activity. List activity -- list of titles from google rss feed. 2nd activity -- shows

[android-developers] AutoCompleteTextView with Contacts Directory Problem (Android Honeycomb)

2012-01-20 Thread BVB
Hello Everyone, I am attempting to add an AutoCompleteTextView to my Android Honeycomb application. I would like the AutoCompleteTextView to access the contacts of the primary Google account that is registered on the device. Specifically, I would it to provide suggestions for e-mail addresses

[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

Re: [android-developers] autostart of application on restart of device

2012-01-20 Thread nemi chhimpa
Hi add below lines to manifest file receiver android:name=receiverclass intent-filter action android:name=android.intent.action.BOOT_COMPLETED / /intent-filter /receiver uses-permission android:name=android.permission.RECEIVE_BOOT_COMPLETED/uses-permission and add reciver class and

[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

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] 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 cursor

[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

[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

[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 treking...@gmail.com 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

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,

[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

[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

[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).

[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

[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);

[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|

[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] 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 timeI've used Traceview in the past. http://developer.android.com/guide/developing/debugging/debugging-tracing.html On Jan 18, 8:29 pm, PMS

[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

[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

[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] 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

[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

[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!

[android-developers]

2012-01-20 Thread shefali chopkar
-- Forwarded message -- From: shefali chopkar shefalichop...@gmail.com 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

[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 bulk

[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

[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

[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

[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

[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] 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.

[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.

[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();

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

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

[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,

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 alb...@gmail.com wrote: Well

[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

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] 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

[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

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 mukicha...@gmail.com wrote: @Albnok, I had tried decompiling

[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

[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

[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

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 abdul.tof...@gmail.comwrote: I am

[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-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

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

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 lesterqu...@gmail.comwrote: Hello everybody, Its possible with content providers make insert-select in SqlIte database. would be something like: Insert into Table(t1,

[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 achievie it

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

[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

[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: ImageView

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] 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

[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

[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] 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+

[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] 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

[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 psk...@gmail.com 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

[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 ricardo.c.r.san...@gmail.com wrote:

Re: [android-developers] Home screen icon dimensions

2012-01-20 Thread Mark Murphy
On Fri, Jan 20, 2012 at 6:29 AM, bt barta...@gmail.com 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

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 Δημήτρης Σιγάρας stallion...@gmail.com: Hello  Android Developers, I am an owner of a Sony Ericsson Vivaz running Symbian OS. The

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 ashiqsay...@gmail.com 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.

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

2012-01-20 Thread Mark Murphy
On Fri, Jan 20, 2012 at 2:27 AM, joebowbeer joe.bowb...@gmail.com 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.

[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

[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] 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? https://lh5.googleusercontent.com/-2aqM99H11wQ/TxlsIOd7rxI/AGQ/CQrdzNd5MSY/s1600/HOME.png I will update

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] 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):

[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

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

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 chris.fou...@gmail.com 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

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] 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

[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

Re: [android-developers] remove logs after market

2012-01-20 Thread TreKing
On Tue, Jan 17, 2012 at 12:31 PM, Leno Britto len...@gmail.com 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

Re: [android-developers] Starting with game development

2012-01-20 Thread TreKing
On Wed, Jan 18, 2012 at 7:29 AM, Rohit Sharma hunk...@gmail.com 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

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

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

  1   2   3   >