[android-developers] [IMPORTANT] Requesting feedback for App Engine connected Android support in Google Plugin for Eclipse (GPE) !

2012-02-29 Thread Sriram Saroop
Hi folks, I was wondering if any of you played around with the App Engine connected Android support we introduced in GPE http://code.google.com/eclipse/last year. Here's the link to get started: http://code.google.com/eclipse/docs/appengine_connected_android.html It allows you to define a App

[android-developers] Re: How to make this complex view

2012-02-29 Thread Ali Chousein
You can easily search http://developer.android.com/sdk/index.html yourself. Anyway: Dragging: http://developer.android.com/reference/android/view/View.html Search for drag within the page. Using two fingers - Multitouch:

[android-developers] You have joined the group android-developers@googlegroups.com

2012-02-29 Thread Android Developers
Hello android-developers@googlegroups.com, You are now a member of the android-developers group. If you have questions related to this or any other Google Group, visit the Help Center at http://groups.google.com/support/?hl=en. Thanks, Google Groups -- You received this message because you

[android-developers] Re: how to set the preferred rotation ?

2012-02-29 Thread Ali Chousein
Maybe my blog will be useful for you: http://android-screen-layout.blogspot.com/ - Ali Chousein http://www.codeproject.com/KB/android/PayGol-Android.aspx http://weatherbuddy.blogspot.com | http://twitter.com/weather_buddy

[android-developers] how to get the link speed in the specified application

2012-02-29 Thread Hiko
Hi, I develop the application which the link speed(Rx) displayed in the activity. But, I faced the problem that I do not know how to calculate/get the link speed... I guess the TrafficStats class is used in order to perform such an implementation. Is it wrong? Could you provide me any

[android-developers] Re: how to set the preferred rotation ?

2012-02-29 Thread mobidyc
Le mardi 28 février 2012 20:55:14 UTC+1, Yan a écrit : Add to your manifest android:screenOrientation=landscape On Feb 26, 1:13 pm, mobidyc mobi...@gmail.com wrote: Hi, I want to set the preferred orientation for the system, How can I define it ? I tried to define in

Re: [android-developers] Re: spinner background problems going from 4.0.3 to 2.3.3

2012-02-29 Thread Ray Tayek
At 11:26 PM 2/28/2012, you wrote: Being a newbie is no excuse for not reading the documentation. There is a long one describing themes right in the SDK. my vision is not so great. i did find http://developer.android.com/guide/topics/ui/themes.html, but no mention of how to change the color

[android-developers] What happend on 02/14 on Verizon?

2012-02-29 Thread Mirko Schenk
Hi, maybe it's just some strange coincidence, but thanks to the improved statistics I noticed that according to those stats, about 10,000 users uninstalled my app on 02/14 - almost all of them being Verizon users. All other countries and providers remained stable. I also didn't do an update or

[android-developers] Re: Avoiding FAILED BINDER TRANSACTION error when updating lots of widget bitmaps

2012-02-29 Thread Efi Merdler-Kravitz
I think that medium density is being used by default. The only way I found to bypass it is by using explicit width and height in the xml layout, e.g. ImageView         android:id=@+id/imageView1         android:layout_width=480px         android:layout_height=200px / other, better ideas are

Re: [android-developers] Locate data in the different architecture levels in the Android.

2012-02-29 Thread marie chatti
I mean how can I locate the different data which be propagated into the different architecture levels of android (eg. data captured by the camera, text written by the keyboard, received sms...) 2012/2/29 TreKing treking...@gmail.com On Mon, Feb 27, 2012 at 3:52 AM, marie marmoh...@gmail.com

[android-developers] Re: Push Notification

2012-02-29 Thread moktarul anam
Hi Sugan , there s something C2DM. Funda is u hav to connect ur device to some server . and there will be one background service will be running. whenever new message will come to server ... service will through notification. in android there c2dm already there. u can use decona and metero

[android-developers] Re: what kind of database should I use

2012-02-29 Thread moktarul anam
do u want to server side database or client side db? for client side db u can use default sqlite db moktarul On Sunday, 26 February 2012 21:29:10 UTC+5:30, d1343 wrote: Hi, I am trying to make a app that would generate names, I want to manually add the names, currently I am using case

[android-developers] Re: ContentProvider

2012-02-29 Thread moktarul anam
In android database is private to application. and if u want to share db in another application u hav 2 use ContentProvider funda. Moktarul On Tuesday, 28 February 2012 19:58:32 UTC+5:30, bob wrote: Anyone know of a good example of a ContentProvider serving out a movie? (maybe a 20 meg

[android-developers] Re: an error

2012-02-29 Thread moktarul anam
remove android.R from top Moktarul On Tuesday, 28 February 2012 14:27:23 UTC+5:30, needoo wrote: ? how to solve this error as it gives me this message id cannot be resolved or is not a field when i write this.. add = (Button) findViewById(R.id.bAdd); sub = (Button)

[android-developers] complex layout in expandableListView

2012-02-29 Thread Sebastien Tiscar Astasio
Hi there am a noob in android and i already have a problem i can't solve basically I have an expandableListView displaying a linearLayout in each groupView this linearLayout is composed of a checkbox, image on the left, a central text, and 2 different images on the right this layout is a custom

[android-developers] View height changes when image set as background by 1.25 times of the image height

2012-02-29 Thread Reddy
Hi, I have a .png file. I set this as the background of a TextView and the height and width of the TextView are wrap context. The ideal behavior here is that the height and width of the textview should be of height and width of the .png file. But what i am getting is that size of text view is

[android-developers] Re: View height changes when image set as background by 1.25 times of the image height

2012-02-29 Thread moktarul anam
hi Murali , use *android*:*scaleType*=*fitXY* Moktarul On Wednesday, 29 February 2012 16:58:35 UTC+5:30, Reddy wrote: Hi, I have a .png file. I set this as the background of a TextView and the height and width of the TextView are wrap context. The ideal behavior here is that the

[android-developers] Re: View height changes when image set as background by 1.25 times of the image height

2012-02-29 Thread Reddy
Hi Moktarul, Still i am facing the same problem. Let me clarify my problem clearly. My .png height is 53px. When png set as BG of TextView, and the textview properties are wrap context, the height of the textview is becoming big. When i set the textview height to 53px then the height of the

[android-developers] Query regards InApp product unamanged item.

2012-02-29 Thread raveesh L
I have implemented in-app in my application. the scenario is like this. Once user click the buy button we are giving 5 mp3 songs to user. If the user played all the 5 songs his plan will be over and again the user needs to click buy button to buy 5 more songs. My question is, i created an in-app

[android-developers] GPS hot and cold start determination

2012-02-29 Thread viktor
Hello, is it possible to determine GPS starting mode, known as cold and hot starts? I would like to create a little GPS manager, and I have to decide some power managements. Thanks. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post

[android-developers] Re: How to get coordinates of the button programmatically?

2012-02-29 Thread viktor
AbsoluteLayout.addView(View, new AbsoluteLayout.LayoutParams(LayoutParams.WRAP_CONTENT, LayoutParams.WRAP_CONTENT, int x, int y)); On 29 Лют, 07:27, android developer android.developer4...@gmail.com wrote: I have one button in an AbsoluteLayout in an XML file. From there I am able to set the

Re: [android-developers] switching views

2012-02-29 Thread vani reddy
Hey, I dont want to show multiple activities in a screen i want to show multiple views in a single activity On Tue, Feb 28, 2012 at 11:39 AM, abhijeet tomar abhijeet...@gmail.comwrote: Hi...you have to try TabHost it is a better option for show multiple activities in one screen or as your

Re: [android-developers] switching views

2012-02-29 Thread vani reddy
Hey Treking, I am developing apps for api level 10 onwards.How can I use Fragments in 2.3.5?? On Wed, Feb 29, 2012 at 6:41 PM, vani reddy vani.reddy.bl...@gmail.comwrote: Hey, I dont want to show multiple activities in a screen i want to show multiple views in a single activity On Tue,

[android-developers] reading pdf

2012-02-29 Thread Jags
hi all, i am trying to read a pdf file in my android app. i realised, unlike safari in iphone android webview does not render pdf file as a local url . hence i am exploring itextpdf. i followed following tutorial http://www.vogella.de/articles/JavaPDF/article.html#installation while reading

[android-developers] reading pdf in my android app

2012-02-29 Thread Jags
hi all, i am trying to read a pdf file in my android app. i realised, unlike safari in iphone android webview does not render pdf file as a local url . hence i am exploring itextpdf. i followed following tutorial http://www.vogella.de/articles/JavaPDF/article.html#installation while reading

[android-developers] reading pdf file in my android app

2012-02-29 Thread Jags
hi all, i am trying to read a pdf file in my android app. i realised, unlike safari in iphone android webview does not render pdf file as a local url . hence i am exploring itextpdf. i followed following tutorial http://www.vogella.de/articles/JavaPDF/article.html#installation while reading

Re: [android-developers] Re: EditText input into array

2012-02-29 Thread TreKing
On Wed, Feb 29, 2012 at 12:53 AM, minnie me mgm...@gmail.com wrote: This is my new updated code, it prints out blank input in the array...so why is it not storing my user input? Your variable player is never set to the text after clicking your button. I think you need to spend some time

Re: [android-developers] switching views

2012-02-29 Thread T.M.S.VIJAYKUMARR
Hi Vani, Create own framework and try it. On Wed, Feb 29, 2012 at 6:43 PM, vani reddy vani.reddy.bl...@gmail.comwrote: Hey Treking, I am developing apps for api level 10 onwards.How can I use Fragments in 2.3.5?? On Wed, Feb 29, 2012 at 6:41 PM, vani reddy vani.reddy.bl...@gmail.comwrote:

[android-developers] switching views using viewflipper

2012-02-29 Thread vani reddy
Hi , In the attached snapshot , i need to create that kind of view in viewfilpper , and need to switch views using viewflipper. How to acheive that? -- Regards, Vani Reddy -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this

[android-developers] Re: conversion to dalvik format failed error 1

2012-02-29 Thread Todd Sjolander
I've seen this happen from time to time in Eclipse. It's not a code issue. I would recommend trying a few things: 1. Make sure you have the right SDK version and APIs included in your project. Sometimes Eclipse will change these on you. Once or twice when seeing this error, I've had to change

[android-developers] Re: Custom IME for custom component

2012-02-29 Thread Todd Sjolander
I did have another thought about this, which I think is a dead end: Would it be possible to have the app change the IME on the fly as the control gains focus? I noticed InputMethodManager:setInputMethod(), but I haven't seen any examples of its use. And then I saw a post by Dianne Hackborn

Re: [android-developers] Re: How to make this complex view

2012-02-29 Thread Farhan Tariq
I realize that I need to look into multitouch and dragging, just can't figure out how to get only those values from the listView that the box is covering. Any suggestions? On Wed, Feb 29, 2012 at 1:41 PM, Ali Chousein ali.chous...@gmail.comwrote: You can easily search

[android-developers] Notification area remains open on ICS

2012-02-29 Thread bt
Hi, My app creates an ONGOING notification and when I click on it an intent is executed which opens an application. On ICS the notification area remains open and must be closed manually. Is there any solution to close it automatically after click? Thanks, Tamas -- You received this message

Re: [android-developers] spinner background problems going from 4.0.3 to 2.3.3

2012-02-29 Thread TreKing
On Tue, Feb 28, 2012 at 6:51 PM, Ray Tayek rta...@ca.rr.com wrote: don't bother setting the background. i did not have to set the background for the spinner in 4.0.3. You do not have to set it on 2.3.3 either. I, for example, am using various Spinners in my app, targeting 2.3.3, and have

Re: [android-developers] switching views

2012-02-29 Thread abhijeet tomar
yes...u have to show multiple views withthe help of TabHostgenrally all the apps used TabHost... -- 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

Re: [android-developers] switching views

2012-02-29 Thread TreKing
On Wed, Feb 29, 2012 at 7:13 AM, vani reddy vani.reddy.bl...@gmail.comwrote: I am developing apps for api level 10 onwards.How can I use Fragments in 2.3.5?? Yes, there is a compatibility library in the SDK.

Re: [android-developers] Locate data in the different architecture levels in the Android.

2012-02-29 Thread TreKing
On Wed, Feb 29, 2012 at 3:57 AM, marie chatti marmoh...@gmail.com wrote: I mean how can I locate the different data which be propagated into the different architecture levels of android (eg. data captured by the camera, text written by the keyboard, received sms...) I, for one, have no idea

[android-developers] Re: Confusion over Services / Singletons / Static data

2012-02-29 Thread Streets Of Boston
It is much like regular java: 1. It really depends on the hardware, but you have to assume that your app's process can get killed. And if you have background tasks/threads running, they'll be killed automatically with the process (just like in Java). 2. Yes, just like Java. If java object

[android-developers] Re: Confusion over Services / Singletons / Static data

2012-02-29 Thread Streets Of Boston
It is much like regular java: 1. It really depends on the hardware, but you have to assume that your app's process can get killed. And if you have background tasks/threads running, they'll be killed automatically with the process (just like in Java). 2. Yes, just like Java. If java object

Re: [android-developers] Re: How to send DTMF?

2012-02-29 Thread santhosh b
Hi, use below int Constants ToneGenerator class in android api TONE_DTMF_Phttp://developer.android.com/reference/android/media/ToneGenerator.html#TONE_DTMF_Pinstead of key # TONE_DTMF_Shttp://developer.android.com/reference/android/media/ToneGenerator.html#TONE_DTMF_Sinstead of key * may

[android-developers] Re: How to get coordinates of the button programmatically?

2012-02-29 Thread jamesc
AbsoluteLayout is deprecated. If you're using this ViewGroup, then you're probably 'doing it wrong'. Android UI programming avoids absolute placement values for components because there are so may different screen types (resolutions, densities etc). On Feb 29, 5:27 am, android developer

[android-developers] I want to learn the android os ,have any suggestion?

2012-02-29 Thread ttgdz
I have seen some applications in android ,and I know something about the upper development,now I want to learn deeper in the native,any suggestion? -- 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] ActionBar and Tabs question:

2012-02-29 Thread Mark Winchester
I'm having trouble with the ActionBar and tabs, trying to get the look and feel that I've got in mind. I want an action bar, at the top, with a couple of Spinners, TextViews, and a button. Underneath that, I'd like a row of Tabs, and below that the actual content. The top portion of my

[android-developers] Re: Mute button in call

2012-02-29 Thread brian lee
Here is the code that I am using mute within a broadcast receiver to capture the button: if(inCall==true){ mAudioManager = (AudioManager)context.getSystemService(Context.AUDIO_SERVICE); if(mAudioManager.isMicrophoneMute()==true){

[android-developers] Service running in background that monitors the sensor data calls onDestroy despite it's startForegound and STICKY.

2012-02-29 Thread Guillermo Polonsky
Hi! In my application onCreate I check some conditions and then I start an Activity like this: Intent startIntent = new Intent(getApplicationContext(), EnableLocationProviderActivity.class); startIntent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK);

Re: [android-developers] I want to learn the android os ,have any suggestion?

2012-02-29 Thread luciofm
Read the documentation maybe? Lúcio Maciel luci...@gmail.com On Wed, Feb 29, 2012 at 12:05, ttgdz ttgdztu...@gmail.com wrote: I have seen some applications in android ,and I know something about the upper development,now I want to learn deeper in the native,any suggestion? -- You

Re: [android-developers] Notification area remains open on ICS

2012-02-29 Thread TreKing
On Wed, Feb 29, 2012 at 7:52 AM, bt barta...@gmail.com wrote: Is there any solution to close it automatically after click? You have this flag set? http://developer.android.com/reference/android/app/Notification.html#FLAG_AUTO_CANCEL

Re: [android-developers] Google Map API usage

2012-02-29 Thread Krishna Kumaar Natarajan
I started my basic application. Followed this video lecture. http://www.youtube.com/watch?v=vgr4l1nsFdUfeature=g-histcontext=G2d64a1fAHT05jLwADAA 3 chapters. At the end, he was using R.id attribute but no such attribute available in my R.java file. Any solution for this ? On Mon, Feb 20, 2012

Re: [android-developers] I want to learn the android os ,have any suggestion?

2012-02-29 Thread Kristopher Micinski
Not for this list: you want to check out source.android.com There are a few things: the vm, the framework, and the OS. The OS is linux, kernel development isn't that easy, so hopefully you've got some C experience. The vm is nontrivial, though not that bad. However, reading the frameworks are

[android-developers] Re: is there a way to know the length of an streaming audio file?

2012-02-29 Thread IS SOA
anybody? On Wednesday, February 29, 2012 12:02:55 AM UTC-5, IS SOA wrote: i am streaming the audio files and wondering is there a way in the code can find out the length (time) of the song for displaying purpose something like this: Song Name 05.20 -- You received this message

Re: [android-developers] I want to learn the android os ,have any suggestion?

2012-02-29 Thread Mark Ayers
Agreed. Android uses a lot of defaults and it's nice to have access to the source. It's worth more to have the source than 2 or 3 extra AVDs. On Wed, Feb 29, 2012 at 10:24 AM, Kristopher Micinski krismicin...@gmail.com wrote: Not for this list: you want to check out source.android.com

[android-developers] Re: Losing memory on tablet but not phone

2012-02-29 Thread Mark Ayers
I've noticed a LOT of memory management issues with Honeycomb on my ASUS Transformer. I think there might be a defect in Honeycomb, because after my ICS OTA got pushed, all of those issues are gone. On Monday, February 27, 2012 8:53:30 PM UTC-8, Yan wrote: The following eats away the heap on

Re: [android-developers] What happend on 02/14 on Verizon?

2012-02-29 Thread Mark Ayers
No news articles I can find. On Wed, Feb 29, 2012 at 1:35 AM, Mirko Schenk m...@sto-helit.de wrote: Hi, maybe it's just some strange coincidence, but thanks to the improved statistics I noticed that according to those stats, about 10,000 users uninstalled my app on 02/14 - almost all of

[android-developers] Re: EditText input into array

2012-02-29 Thread minnie me
got it..i put it after the button click now..and i don't have tiime to learn java first..i need to do both. thanks On Feb 29, 8:27 am, TreKing treking...@gmail.com wrote: On Wed, Feb 29, 2012 at 12:53 AM, minnie me mgm...@gmail.com wrote: This is my new updated code, it prints out blank input

[android-developers] BrowserFrame Class

2012-02-29 Thread JoeyZee
What is the purpose of BrowserFrame.java in the webkit code within frameworks/base? I see that it is instantiated by WebViewCore and seems to handle the frame related functions of webview, but what exactly is its purpose ? What is meant by a frame in this context? Is it equivalent to a tab in

[android-developers] WMV Easter Egg?

2012-02-29 Thread bob
I tried playing back a WMV file on my VIZIO Tablet in a VideoView, and it worked. Any ideas why it works? As far as I can tell, Android only supports MP4 and 3GP according to the docs. -- You received this message because you are subscribed to the Google Groups Android Developers group.

[android-developers] Re: fragment transactions in onLoadFinished()

2012-02-29 Thread Nadeem Hasan
I have this in my base Activity: protected View createContentView( int id ) { View view = inflate( id ); return createContentView( view ); } public View createContentView( View view ) { FrameLayout root = new FrameLayout( this );

Re: [android-developers] WMV Easter Egg?

2012-02-29 Thread Mark Murphy
On Wed, Feb 29, 2012 at 4:33 PM, bob b...@coolfone.comze.com wrote: I tried playing back a WMV file on my VIZIO Tablet in a VideoView, and it worked.  Any ideas why it works? Because they licensed codecs for it. As far as I can tell, Android only supports MP4 and 3GP according to the docs.

Re: [android-developers] BrowserFrame Class

2012-02-29 Thread Mark Murphy
On Wed, Feb 29, 2012 at 4:12 PM, JoeyZee joeyze...@gmail.com wrote: What is the purpose of BrowserFrame.java in the webkit code within frameworks/base? Questions regarding the Android source code belong on a list hosted at http://source.android.com. This list is for developing apps with the

[android-developers] Re: Differences in USB Host support between Embedded Linux and Android phone

2012-02-29 Thread Chris Stratton
On Tuesday, February 28, 2012 1:40:18 AM UTC-5, David Henning wrote: I'm looking for some help understanding the current USB Host capabilities of the latest Android smartphones versus an embedded processor running a standard Linux build. I've done quite a bit of driver-level Linux

[android-developers] Re: USB serial with D2XXSamplefrom FTDI doesn't detect my device.

2012-02-29 Thread Chris Stratton
On Monday, February 27, 2012 4:28:46 PM UTC-5, Gett wrote: I'm trying to use an FTDI USB chip on Android following the instructions at: http://www.ftdichip.com/Android.htm http://www.ftdichip.com/Support/Documents/TechnicalNotes/TN_134_FTDI_Android_D2XX_Driver.pdf The problem is

[android-developers] Re: USB serial with D2XXSamplefrom FTDI doesn't detect my device.

2012-02-29 Thread Chris Stratton
On Monday, February 27, 2012 4:28:46 PM UTC-5, Gett wrote: I'm trying to use an FTDI USB chip on Android following the instructions at: http://www.ftdichip.com/Android.htm http://www.ftdichip.com/Support/Documents/TechnicalNotes/TN_134_FTDI_Android_D2XX_Driver.pdf The problem

Re: [android-developers] Re: How to get the DB File from real android device

2012-02-29 Thread Chris Stratton
On Friday, February 24, 2012 5:52:51 AM UTC-5, Sridhar Reddy wrote: Hi.. Only in emulator we can able to access the db files, but it is not possible on Real devices? How to access the db file on real device? If you have non-root ADB but your app is debug-able you have to use the run-as command

[android-developers] switching between api level targets in eclipse

2012-02-29 Thread Ray Tayek
hi, i have an app that i was developing in 4.0.3. works fine. i need to target a note, so i made a 2.3.3 target and selected it in eclipse|prject properties|android. works fine. i wanted to switch back to 4.0.3, but eclipse seems to be stuck on the 4.0.3 target. rebooting doesn't help. i

[android-developers] Re: ADB over WiFi

2012-02-29 Thread Chris Stratton
On Wednesday, February 22, 2012 5:12:21 PM UTC-5, Bret Foreman wrote: I'm considering running ADB over a WiFi connection rather than via the USB cable. I've read a lot of blog posts about it but I want to verify a few things: 1) Is it true that the phone must be rooted? If so, is

[android-developers] Re: File Explorer

2012-02-29 Thread Chris Stratton
On Thursday, February 23, 2012 7:49:45 AM UTC-5, bob wrote: If I create a file like so, is there a way for me to access this thru the File Explorer? FileOutputStream fos = openFileOutput(notes.txt, 0); If you set the permissions on the file (and any parent folders) to be world readable,

[android-developers] Re: Ethernet jack?

2012-02-29 Thread Chris Stratton
On Wednesday, February 22, 2012 1:04:16 PM UTC-5, bob wrote: Anyone know if there's a way to hook a tablet PC up to an Ethernet jack? Buy whichever wireless router is on sale this week? -- You received this message because you are subscribed to the Google Groups Android Developers

[android-developers] Android Market - Test Marketing

2012-02-29 Thread JJ B
Hello, Is it allowable (or possible) to test market apps by sending out to a few colleagues prior to full publication. I understand that Google allows Beta publication on Android Market but, to me, that may be less useful than controlling the test market population. Thanks in Advance, JJ --

Re: [android-developers] Android Market - Test Marketing

2012-02-29 Thread Kostya Vasilyev
Just email them the apk files (or links), then bump the version code in the manifest before publishing so Market picks up the update (I know this works for free apps). 01.03.2012 3:29 пользователь JJ B jjbjmanagem...@gmail.com написал: Hello, Is it allowable (or possible) to test market apps

[android-developers] Android Project

2012-02-29 Thread Ahmed Mahmoud
Hi guys i'm CS student and on my way to start the graduation project but i dont hava an idea yet so i hope to find anyone here to help me to choise a good idea -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send

[android-developers] Importing source code from book

2012-02-29 Thread BiPoLar
Hi I'm completely new to Android game development and tried to search within the group to find an answer to my question without any luck. My problem is I bought the book Beginning Android Games and I'm trying to use the source code they provide here http://www.apress.com/9781430230427 in their

[android-developers] monkeyrunner device.type() dropping characters

2012-02-29 Thread John
trying to learn how to write monkeyrunner scripts in python: device.startActivity( component='com.android.calculator2/.Calculator' ) time.sleep(1) device.type( '2*3=' ) starts the calculator, accepts the input and displays the proper result. However device.startActivity(

[android-developers] Re: USB serial with D2XXSamplefrom FTDI doesn't detect my device.

2012-02-29 Thread Flavien Aubelle
This is a question I myself have !! I'd like to get an answer on that as well. On 27 fév, 22:28, Gett gabriel.detibe...@gmail.com wrote: Hello, I'm trying to use anFTDIUSB chip on Android following the instructions at:

[android-developers] Android 4.x issue: Notification disappear when some time has elapsed, each of all

2012-02-29 Thread Miguel del Amor
Only occurs in Android 4.x. We raise one notification with app in background when some time has elapsed, notification disappear; when this ocurrs the logcat looks this: 02-28 18:12:27.711: I/RegisteredComponentCache(464): ComponentInfo: ResolveInfo{41884668 com.android.apps.tag.TagViewer p=0 o=0

[android-developers] Re: How to Intercept Post request in Android WebView?

2012-02-29 Thread Chris Stratton
If you don't figure out anything at the java level, you could probably build a proxy into your app and configure the webview to work through it On Thursday, February 23, 2012 3:58:21 AM UTC-5, xu xuzhuo wrote: Hi guys, I am trying to use WebView to intercept post request. I found in the

[android-developers] hola

2012-02-29 Thread federico federico
diculpe mi telefono no me quiere aceptar la cuenta google en es el u20a -- 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 do I speeding up a click notification from GridView inside a Fragment to an Activity Listener?

2012-02-29 Thread emil10001
For prettier formatting of this message, this question has been posted on StackOverflow - http://stackoverflow.com/q/9490558/974800 . I am posting here due to a lack of response there. I am writing an app that has a couple of fragment views managed by an activity. The fragments are basically a

[android-developers] Error : Security Exception : android.permission.CALL_PHONE. INSTRUMENTATION_CODE: 0

2012-02-29 Thread sangam
Hi, I just wrote a instrumentation test case for the Contacts app, my test app is just to make a phone call, i used the ITelephony API,s to make a call , code : private void doITelephonyCall() { log(doITelephonyCall()...); // Get a phone number from the EditText widget

[android-developers] Migrate Android Code error

2012-02-29 Thread Atif Farrukh
I am making a menu for my menu... i am using the following code.. switch(item.getItemId()){ case R.id.aboutUs break; case R.id.feedback: break; } gave an error, Migrate Android Code , eclipse converted it into if else statment as below, from the android site, still getting the same error

[android-developers] Re: ActionBar and Tabs question:

2012-02-29 Thread Craig Smith
Just put the modes in drop down beside the category in the Action Bar. It still looks good that way, even with another set of clicks. -Craig On Feb 29, 9:07 am, Mark Winchester mwinches...@gmail.com wrote: I'm having trouble with the ActionBar and tabs, trying to get the look and feel that

[android-developers] Re: View height changes when image set as background by 1.25 times of the image height

2012-02-29 Thread emil10001
It may be easier to do this programmatically. You can build your bitmap image first, figure out the dimensions of that and resize it if needed. Then, change the dimensions of the TextView, if necessary, to match the size of the image, probably using LayoutParams. Finally, you can set it as the

[android-developers] want to add some more buttons to the android default keyboard

2012-02-29 Thread chalavadi sagar
Can anybody please explain me is there any procedure for adding few more buttons to the android default keyboard and changing the button position from one place to another place -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this

[android-developers] Re: ActionBar and Tabs question:

2012-02-29 Thread emil10001
I just posted a sample project on my github that demos how to do this: https://github.com/emil10001/SimpleActionBarTabs -John On Wednesday, February 29, 2012 10:07:42 AM UTC-5, Mark Winchester wrote: I'm having trouble with the ActionBar and tabs, trying to get the look and feel that I've

[android-developers] Android widget: dinamically list from own combiled string (as template)

2012-02-29 Thread Stan Prihodko
HI, I'm now develop my first widget (not application) and I want to generate dynamically strings, there each string should be as: image(left)+text(left)+text(right). I has been prepared this string in layout, and I want to use my template-string as template to generate all strings a few

[android-developers] wonder of face lock: The code is open and complete?

2012-02-29 Thread cnisme
hi,all I have got android 4.0 has face lock, when I search the android code, I just have found the code of face lock in application layer, but I did not get any code in frameworks or others paths, and it needs com.android.facelock. Then I ask engineer in QCOM, They said it't part of GMS which

Re: [android-developers] Re: conversion to dalvik format failed error 1

2012-02-29 Thread Chalavadi Sagar
right click on project and then select the JavaBuildPath in that select the libraries tab and check whether there are two android jar files .If yes delete one of them and then save the project and clean it after that your error may get disappeared. Kind Regards. Ch.B.Sagar On Wed, Feb 29, 2012

[android-developers] Livestreams on Android 2.2 and above

2012-02-29 Thread Patrick Gregorio
There are 2 types of videos that I want to be able to play on a project I've been working on. One is live streams and the other one is video on demand. I was able to make the video on demand fully functional using WebView. My problem now is with the live streams. I couldn't make the WebView and

[android-developers] Arduino ADK

2012-02-29 Thread lazer
I am trying to use a button on an arduino board to reload a webview. Unfortunately I am having a very hard time understanding how Android parses the data from the arduino board. Can anyone clarify how I would go about using a button on an arduino board to reload a webview? Thanks -- You

[android-developers] monkeyrunner device.type() dropping characters

2012-02-29 Thread John
trying to write a simple demo monkeyrunner python script device.startActivity( component='com.android.calculator2/.Calculator' ) time.sleep(1) device.type( '2*3=' ) this works as I expect, starts the calculator and it displays the correct result, having some difficulty with the

[android-developers] Focus problem

2012-02-29 Thread Markus Lindner
Hello, In my small application I have 2 EditTexts and a Button. If something is entered in EditText1 and confirmed by Enter, the focus should be set to EditText-Field2. Therefore I use an OnKeyListener on the first EditText. The method requestFocus is called in onKey on the second EditText. But

[android-developers] Re: ActionBar and Tabs question:

2012-02-29 Thread emil10001
Take a look at the demos available for ActionBarSherlockhttp://actionbarsherlock.com/samples.html. It may not be exactly the same if you aren't using that lib, but he tries to get very close to the normal experience. Anyway, from what I've seen (I'm using a Nav List in my ActionBar), you get

[android-developers] .JPEG to .MP4 Conversion

2012-02-29 Thread NAVI NEW
Hello Android Developers, I having pictures .JPEG file, I want to convert it in video format .mp4. There is ffmpeg command for .mp4 typecast ffmpeg -r 30 -i foo-%03d.jpeg -r 30 -b 8973kb -minrate 8973kb -maxrate 8973kb -bufsize 1kb foo2.mp4 Please help me how to convert images in form of

[android-developers] Can you give me the answer...about 'Unable to stop activity'...

2012-02-29 Thread Jae-young Yun
Logcat 02-29 21:19:31.765: E/AndroidRuntime(5374): java.lang.RuntimeException: Unable to stop activity {com.android.sinsunby/com.android.sinsunby.SevenActivity}: java.lang.IllegalStateException 02-29 21:19:31.765: E/AndroidRuntime(5374): at

Re: [android-developers] Re: USB Webcam

2012-02-29 Thread Bhasker Raj
Perumal I am interested in buying Novo 7 Advanced or ELF Tablet. Did you buy from any Indian selling company or from abroad? Please send the source and the contacts. Where are you staying? Waiting for your reply Best Wishes A. S. Bhasker Raj Secunderabad Mobile: +919247332574 On Wed, Feb

Re: [android-developers] WMV Easter Egg?

2012-02-29 Thread Riley Porter
File re-named to wmv? Perhaps it is a mp4 really? Riley On Wed, Feb 29, 2012 at 4:33 PM, bob b...@coolfone.comze.com wrote: I tried playing back a WMV file on my VIZIO Tablet in a VideoView, and it worked. Any ideas why it works? As far as I can tell, Android only supports MP4 and 3GP

[android-developers] Drawing 2D

2012-02-29 Thread Анастасия Сергеевна
Hello. I want creates shapes(rectangle, oval, square, etc) in runtime. Also I want drag and drop shapes that I create. My question is: may I for my goals create one class named, for example, Shape extended View and simply provide different constructors for each kind of shape or I must create

[android-developers] Re: Confusion over Services / Singletons / Static data

2012-02-29 Thread John Sheehy
Thanks for the reply. For my 4th question I had read somewhere (perhaps stackoverflow) that after android (ActivityManager?) unloads Application, Activities, Services etc., it doesn't kill the actual kernel process but instead somehow keeps it around in a pool to avoid the overhead of new linux

[android-developers] Re: MediaPlayer setDisplay

2012-02-29 Thread Pierre Souchay
Hi Cliffus, I have exactly the same issue here. A service handing the MediaPlayer, and I would like to disconnect/reconnect the video when activities are launched/stopped. I tried several strategies : - creatig a false Surface Holder that would hide the surface destroyed and delegating to the

[android-developers] Routing TTS to SCO bluetooth headset

2012-02-29 Thread RedBullet
I am trying to get my android app to use the TTS engine to send the audio to my old BT headset. I have tried starting SCO, then setting it to on. Nothing. Audio still comes out the speakers... Anyone ever done this? I am sure there is just something I am missing... -- You received this message

[android-developers] Application Licensing for 7 days trial period in Android

2012-02-29 Thread Prince Kumar
Where i have to change in the Server Managed Policy class so that it works only for 7 days trial and after that user have to buy the app from android market place? -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send

  1   2   >