[android-developers] App listening photo

2021-06-22 Thread Fernando Skackauskas
Hello Associates, I would like to know if there is a routine that solves my demand: I need an app that was in "listening", that is, the app is "waiting" for a photo to be taken. When the photo is taken, this app should send the photo to an IP address automatically. Thank

[android-developers] Unsubscribe app

2017-01-19 Thread Jose Fernando Rueda
hi!!! A vendor developed an application that is in a google play store, the vendor went out of the market and never gave me the accessories to administer my application. At this point the application is obsolete and it is necessary for my company to unsubscribe that application, what should I

[android-developers] Error al generar signed APK

2016-10-12 Thread Fernando Diego Rocca
Hola a todos, soy nuevo en esto de generar aplicaciones para Android y estoy teniendo un error al querer generar signed APK para luego subirla a Google Play. El error que me da al generar es el siguiente: Error:Execution failed for task ':app:transformClassesWithDexForRelease'. >

[android-developers] Google Map Issues

2016-04-09 Thread Ishan Fernando
Is there any known ethical,security,privacy,social or business issues related to Google Map. -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To unsubscribe from this group and stop receiving emails from it, send an email to

[android-developers] How Can I Insert Radiobutton Value To SQLite (radio button 1 & radio button 2 has a value of 1)

2016-01-12 Thread Fernando Nicolei Esperida
I Am Creating A Voting App For Our School And I Need A To Create A Database To Store The Votes. This Is The video This Is The Result Activity This Is The Result.java

[android-developers] Re: Automate update every x secs get data from myUrl

2012-11-28 Thread fernando arellano
I think the easy way to resolve it is create a service which always are running and notifying to the activity, this service should run a thread to check periodically the data from the web service. public class ViewSlideService extends Service { public static final String TAG =

[android-developers] how to ship data into apk as internal storage

2012-08-16 Thread Luiz Fernando Rodrigues
I have a requirement of downloading big data from a server to update my app (5 MB today but it can grow up to 40MB). In most cases it is not a problem because the backend is sending just the diff files to update the application. So this download usually runs fast. The problem occurs in the first

Re: [android-developers] Beginner question : The type of the expression must be an array type but it resolved to double

2012-08-16 Thread Luiz Fernando Rodrigues
you declared double P_N_*comp* but you are using P_N check out your P_N declaration. Luiz 2012/8/13 jg jg.ena...@gmail.com Hello, Before anything, I would like to mention that I am new to Android develoment, and java as well... So please, apologize in advance if I ask a stupid question

Re: [android-developers] how to ship data into apk as internal storage

2012-08-16 Thread Luiz Fernando Rodrigues
Yes I understand. But how can I ship application data into the apk? There should be a way to do that... 2012/8/16 Mark Murphy mmur...@commonsware.com On Thu, Aug 16, 2012 at 12:28 PM, Luiz Fernando Rodrigues emaild...@gmail.com wrote: The problem is that I'm going to double my memory use

Re: [android-developers] how to find the position of the imageview

2012-08-14 Thread Luiz Fernando Rodrigues
Take a look in the View documentation. ( http://developer.android.com/reference/android/view/View.html ) getTop(), getLeft(), getRight() and getBottom() should help. Position The geometry of a view is that of a rectangle. A view has a location, expressed as a pair of *left* and *top*

Re: [android-developers] Re: Overlay item in ImageView

2012-08-06 Thread Luiz Fernando Rodrigues
, 2012 2:00:48 PM UTC-5, Luiz Fernando Rodrigues wrote: Hi, In my application I need to show a custom popover over an ImageView. This tutorial (http://www.techjini.com/blog/**2010/11/23/creating-a-** customized-popover-for-**mapview/http://www.techjini.com/blog/2010/11/23/creating-a-customized

Re: [android-developers] Overlay item in ImageView

2012-08-03 Thread Luiz Fernando Rodrigues
that allows work with my popover as a component. 2012/7/31 ashok chakravarthy ashoki...@gmail.com subclass the ImageView and draw overlay on onDraw and handle the touch events on onTouch On Wed, Jul 25, 2012 at 12:30 AM, Luiz Fernando Rodrigues emaild...@gmail.com wrote: Hi, In my

Re: [android-developers] Beginner

2012-07-30 Thread Luiz Fernando Rodrigues
Hi Rithanya, You should try the online documentation first: http://developer.android.com/training/index.html The Busy Coder's Guide to Android Develpment is also a good source. http://commonsware.com/Android/ There several question to this group on this subject. You can search the group for

[android-developers] Intent with geo location with no maps API installed

2012-07-27 Thread Luiz Fernando Rodrigues
Hi group, In my application I launch an intent to be opened in the google maps aplication. String uri = geo:0,0?q= + announcement.getAttribute(MapRegion.ANN_GEO) + ( + announcement.getAttribute(MapRegion.ID) + ); Intent intent = new Intent(android.content.Intent.ACTION_VIEW);

Re: [android-developers] Intent with geo location with no maps API installed

2012-07-27 Thread Luiz Fernando Rodrigues
Thanks Mark, Works like a charm. Luiz 2012/7/27 Mark Murphy mmur...@commonsware.com On Fri, Jul 27, 2012 at 2:33 PM, Luiz Fernando Rodrigues emaild...@gmail.com wrote: In my application I launch an intent to be opened in the google maps aplication. String uri = geo:0,0?q

[android-developers] Timeout error when tryin to do REST

2012-07-26 Thread Fernando Juarez
Hi I need some help: I´m developing an Android app with Eclipse and ADT, It´s a very simple app. The app connects to a server via POST, it works fine when I set my IP o my localhost IP and execute on the emulator, but when I run the app in the Android Device (my cellphone) It can´t connect,

[android-developers] Overlay item in ImageView

2012-07-26 Thread Luiz Fernando Rodrigues
Hi, In my application I need to show a custom popover over an ImageView. This tutorial ( http://www.techjini.com/blog/2010/11/23/creating-a-customized-popover-for-mapview/) teaches how to do it over an MapView. I made an adaptation drawing the popover component in the ImageView since the

Re: [android-developers] Where to start learning Android Development

2012-07-26 Thread Luiz Fernando Rodrigues
I'm using the Busy Coder's Guide to Android. ( http://commonsware.com/ ) I prefer this guide than the online tutorial because it gives several examples and helps you buid a more complex application. Luiz 2012/7/20 brksotn berkarslan...@gmail.com Hi, There are similar questions on the

[android-developers] Re: disable log messages dataCallback(16, 0x11af10) when using mCamera.setPreviewCallback(this);

2012-07-24 Thread Fernando F. Gallego
I am also interested and I didn't find the way... On Friday, December 10, 2010 4:46:20 PM UTC+1, andev wrote: Im using Camera.setPreviewCallback method to retrieve all the camera frames on the onPreviewFrame on a 2.0.1 device. Im aware about the issue of GC interrupting on each frame on

[android-developers] Problem for calling ListActivity

2012-03-27 Thread Fernando Marques
I am making an application for android, and trying to create a Dashboard in this style = http://www.androidhive.info/2011/12/ android-dashboard-design-tutorial/ but I don't can call a ListActivity by clicking a button. Can anyone help me with this problem? [] 's -- You received this message

[android-developers] Re: Problem for calling ListActivity

2012-03-27 Thread Fernando Marques
Help Please. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more

[android-developers] Help me to Bluetooth

2012-03-11 Thread Thusitha Fernando
Dear All I have a problem, I write a code for blue tooth printing , after one printing bluetooth connection loss how can I solve that . -- තුසිත අසන්ත ප්‍රනාන්දු -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send

[android-developers] Help connect Bluetooth printer

2012-02-21 Thread Thusitha Fernando
Dear All, Can any one help to connect blue tooth printer . This is very argent for me Please help -- 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

[android-developers] Re: Help connect Bluetooth printer

2012-02-21 Thread Thusitha Fernando
any sample codes for blutooth printer connect in Android On Wed, Feb 22, 2012 at 11:53 AM, Thusitha Fernando thusitha...@gmail.comwrote: Dear All, Can any one help to connect blue tooth printer . This is very argent for me Please help -- තුසිත අසන්ත ප්‍රනාන්දු -- You received

Re: [android-developers] Re: NFC Secure Element

2012-02-01 Thread Fernando Miguélez
Keys are used in raw communication through APDUs On Wed, Feb 1, 2012 at 7:46 PM, malls masubha...@gmail.com wrote: I don't see any interface of passing the keys to open secure element in the android code. I am not sure how many people claims that you need google Keys to open SecureElement.

Re: [android-developers] Re: NFC Secure Element

2012-01-30 Thread Fernando Miguélez
: Fernando, Thanks I could create custom image with nfc enabled by using your help. Just to clarify myself, if we are connected to external reader, I should be able to directly read/write APDUs from my app right. should I be using NFCService.transceive(..) method to read/write from

Re: [android-developers] Re: NFC Secure Element

2012-01-26 Thread Fernando Miguélez
There must be an error with patches since other person had the same issue. Just copy it manually to the /system/lib directory of the phone (you have to remount the system partition as RW). 2012/1/27 malls masubha...@gmail.com Dear Fernando I tried to patch as per your instructions and root

[android-developers] Re: Unable to execute Bluetooth HDP Demo

2012-01-14 Thread Fernando Almeida
Hi jfernandez... i upgrade my android version to 4.03 and still can't connect... Could you please show me the changes that you made? Thank you On 13 Jan, 10:57, jfernandez jorge.fernandez.gonza...@gmail.com wrote: Hi again, Well, after upgrading my Android 4.0 to 4.03, and adding some

[android-developers] Re: Unable to execute Bluetooth HDP Demo

2012-01-13 Thread Fernando Almeida
I have a littmann 3200 and i'm using android 4.0.3... I just want this to connect :( still can't do nothing about this... On 9 Jan, 07:35, Raul Ruiz spekwh...@gmail.com wrote: Hi Fernando, What shetoscope do you have? Android version? Logcat trace? Thanks! On 8 ene, 22:29, Fernando

[android-developers] Re: Unable to execute Bluetooth HDP Demo

2012-01-08 Thread Fernando Almeida
Hi all I'm trying to connect one sthetoscope to my android device via bluetooth and always get error connecting... Hope this will correct the problem... Some new informations on this please tell me... On 5 Jan, 12:08, Raul Ruiz spekwh...@gmail.com wrote: Hi Chenchen, I'm trying

Re: [android-developers] Re: NFC Secure Element

2012-01-05 Thread Fernando Miguélez
/ActivityManager( 106): Displayed com.android.settings/.nfc.NfcSettings: +261ms Any clue on this. Rgds, Saurabh ..pain is temporary.quitting lasts forever.. 2012/1/4 Fernando Miguélez fernando.migue...@gmail.com Well, options are enabled in cascade. The problem comes because the first

Re: [android-developers] Re: NFC Secure Element

2012-01-05 Thread Fernando Miguélez
clue on this. Rgds, Saurabh ..pain is temporary.quitting lasts forever.. 2012/1/4 Fernando Miguélez fernando.migue...@gmail.com Well, options are enabled in cascade. The problem comes because the first option is not enabled. Besides, if you look at the Wireless Settings screen

Re: [android-developers] Re: NFC Secure Element

2012-01-04 Thread Fernando Miguélez
tomorrow if I find something different to the steps you followed to build the image. On Wed, Jan 4, 2012 at 9:17 AM, softy imsaurabhra...@gmail.com wrote: Hi All, Thanks Fernando Miguélez Palomo for posting the patches.I have applied it to 2.3.4-r1 Android gingerbread and compiled /flashed

Re: [android-developers] Re: NFC Secure Element

2012-01-04 Thread Fernando Miguélez
to the NFC card in card emulation mode so that it can be read by any Card Reader.is it possible after your patches are applied using teh android SDKs or do we have to write some native application. Rgds, Softy ..pain is temporary.quitting lasts forever.. 2012/1/4 Fernando Miguélez

Re: [android-developers] NFC Secure element in SIM vs internal!

2011-12-26 Thread Fernando Miguélez
Well, if you work with a SE embedded in a SIM card, if you change your phone you just have to change the SIM that is all. When working with NFC using the SIM approach you have basically two options. On one hand you can create applications that communicate directly with SIM to carry out operations

Re: [android-developers] Re: NFC Secure Element

2011-11-29 Thread Fernando Miguélez
Then the patches are not correctly applied. On Tue, Nov 29, 2011 at 9:56 AM, fuful ludwig.fulg...@gmail.com wrote: I only have a checkbox 'NFC', to activate the NFC reader. Activated (or not), the phone doesn't act as a Mifare tag on every Mifare test system I own. Is there something else I

Re: [android-developers] Re: NFC Secure Element

2011-11-28 Thread Fernando Miguélez
There should be an option in Settings Screen (NFC Settings) On Fri, Nov 25, 2011 at 11:41 AM, fuful ludwig.fulg...@gmail.com wrote: Dear all, I've downloaded rom from Tommy, but I don't see the option Fernando is speaking of, about card emulation. Wherre these options are placed ? Thanks

[android-developers] Verifying app signatures

2011-11-22 Thread Fernando T
So we want to verify that all apps on a phone come from the Android Market, because the setting to install apps only from the market can be turned on and off, in addition to apps being installed with adb, etc. One way I thought to do this is to make sure that it is signed by the developer of the

[android-developers] Re: Verifying app signatures

2011-11-22 Thread Fernando T
Thanks for the answers. The end goal is a security tool that checks to make sure a phone is configured securely based on some standard that some expert or consultant comes up with. So it checks passcodes, swipe patterns, wifi settings, bluetooth, etc. One of the checks we need is to verify that

Re: [android-developers] Menu

2011-11-17 Thread Thusitha Fernando
Yep it is good article but I want something deffer menu I have created the menu.xml under manu in my project what I want to know how can I call the menu.xml page in my main.xml page On Thu, Nov 17, 2011 at 1:59 PM, Ratheesh Valamchuzhy android...@gmail.comwrote: see this link.

[android-developers] Re: NFC Secure Element

2011-09-29 Thread Fernando Miguélez Palomo
I polished the patches so now you have some options from Settings application: Card Emulation Only Mode. This disables reader function. Card emulation mode is always enabled. Be careful because P2P mode may not work (not tested) Use External Secure Element if Available. This makes the phone to

[android-developers] Re: NFC Secure Element

2011-09-29 Thread Fernando Miguélez Palomo
For the time being I can not share the ROM but you can compile it yourself with the supplied patches. Take a look at the last ones: https://groups.google.com/d/msg/android-developers/1fw1qfFqpGc/pvhc11jVDEUJ -- You received this message because you are subscribed to the Google Groups Android

Re: [android-developers] Re: NFC Secure Element

2011-08-04 Thread Fernando Miguélez
emulated inside Nexus S using an external card reader. Is it possible to read the data inside the Mifare 4K from Android application? Is SEEK patches able to perform that? Thanks again. Regards, Xiang On Jul 19, 6:48 pm, Fernando Miguélez Palomo fernando.migue...@gmail.com wrote: I got

Re: [android-developers] Re: NFC Secure Element

2011-07-27 Thread Fernando Miguélez Palomo
)? regards, Fernando -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more

Re: [android-developers] Mifare Classic emulation using NFC on Android 2.3.4

2011-07-27 Thread Fernando Miguélez
Yes it is possible. Check this thread out: https://groups.google.com/d/topic/android-developers/1fw1qfFqpGc/discussion On Wed, Jul 27, 2011 at 9:12 AM, Ankit Maheshwari lkoan...@gmail.comwrote: Hi , has anybody tried for the Mifare Card Emulation using NFC .??? i will be really grateful if

Re: [android-developers] Re: NFC Secure Element

2011-07-21 Thread Fernando Miguélez Palomo
Hi Michael, As far as I understand sending APDUs to the SmartMX SE element is possible because the NFC Controller (PN544) is told to enable the NFC-WI interface with SE. This is carried out by calling *phHal4Nfc_Switch_SMX_Mode()*, with parameter *eSmartMx_Wired *(function

[android-developers] Re: NFC Secure Element

2011-07-19 Thread Fernando Miguélez Palomo
I got it working on 2.3.4_r1!!! The key was enabling discoverability but in card emulation mode. The strange thing is now I can detect two smart card types with an Arcontia smart card reader: - ISO14443A tag CL1 tag (This is the Mifare 4K) - FELICA RCS-885 424kbs tag (I suppose this is

[android-developers] Re: NFC Secure Element

2011-07-18 Thread Fernando Miguélez Palomo
Hi Nemik, I just applied your patches to 2.3.4_r1 version (I had to change them a little bit) but card emulation does not seem to work (an external reader detects nothing). Could you please tell us what tag of AOSP gingerbread did you use? Thanks -- You received this message because you are

[android-developers] Re: NFC Secure Element

2011-07-18 Thread Fernando Miguélez Palomo
Yes I know. I revised them manually and adapted to 2.3.4_r1. However I must be missing something. I see the Secure Element SMX selected, the embedded Mifare card is not detected by means of external readers. The external reader detects a memory card but it can not read the CSN (UID). It seems

[android-developers] Re: NFC Secure Element

2011-07-18 Thread Fernando Miguélez Palomo
For convenience I post the filtered NFC related I can see after initialization. As I said the card is detected on reader but only after phone restarts (however it can not read any UID). If I approach it latter it is not recognized. 07-18 17:01:54.800: DEBUG/NFC JNI(283): NFC Service : loading

Re: [android-developers] Re: NFC Secure Element

2011-07-14 Thread Fernando Miguélez Palomo
Have somebody activate the Card Emulation with UICC? Yes. I tryed it, with SmartMX SE it was no problem Card Emulation was running. When I tried the ID of my UICC in the Method doSelectSecureElement from NFC Service, then the Card Emulation was not running, Reader dont detect a

[android-developers] Re: NFC Secure Element

2011-07-14 Thread Fernando Miguélez
Interesting. Did you get it tweaking the code by yourself as described above or you used SEEK patches? I am currently trying to get some results myself but I am new to Android platform development and I am a little bit lost. 2011/7/14 Michael Roland mi.rol...@gmail.com Hallo, Do you mean

[android-developers] Re: Animation

2011-06-11 Thread Fernando R
There is an other way to do animation.. expanding the class ImageView... it's like adding the actual image and just on the ondraw event call the invalidate() function which allows you to show the next image of you animation... you would probably have to manage the time that you have to wait before

Re: [android-developers] Re: PDF Reader in Android OS

2011-05-23 Thread Fernando Costa
-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- *Abraços,* * * *Fernando da S. Costa* *http://twitter.com/UprisingMobile

Re: [android-developers] Re: How can I draw/move a point on screen ?!

2011-05-23 Thread Fernando Costa
There's a lot of tutorials in web for basic drawing canvas android. I think you want something like this, right? http://www.tutorialforandroid.com/2009/06/drawing-with-canvas-in-android.html Point and draw. On Thu, May 19, 2011 at 6:04 PM, Diogo Salaberri caxix...@gmail.com wrote: I want to

Re: [android-developers] Re: Building C code for Android (no Java/jni)

2011-05-05 Thread Fernando Costa
, visit this group at http://groups.google.com/group/android-developers?hl=en -- *Abraços,* * * *Fernando da S. Costa* *fernando.co...@uprising.mobi* *Phone: +55 62 81741001* *http://uprising.mobi* -- You received this message because you are subscribed to the Google Groups Android Developers

[android-developers] Progressive download with MediaPlayer

2011-04-15 Thread Fernando Valente
Hey, I'm using MediaPlayer for audio streaming. I'd like to be able to progressive download the audio and save it to the disk(i.e. record the audio). Does anyone knows a way to do that? Thanks! -- You received this message because you are subscribed to the Google Groups Android Developers

Re: [android-developers] Re: Amazon Appmarket is now open!

2011-03-28 Thread Fernando Cassia
On Fri, Mar 25, 2011 at 4:26 AM, Krischik Martin martin.krisc...@noser.com wrote: Did you actually read the terms and conditions for developers and suppliers? Or are you just an Amazon-Fanboy believing that is must be good because it is from mighty Amazon? Luckily for us with an interest in

Re: [android-developers] Re: Amazon Appmarket is now open!

2011-03-28 Thread Fernando Cassia
And your opinion is above other people´s opinions?. Opinions are like arseholes. Everybody´s got one. So either accept that or ST*U?. I certainly won´t criticize or insult others for voicing an opinion. FC On Fri, Mar 25, 2011 at 6:41 PM, niko20 nikolatesl...@yahoo.com wrote: More idiots

[android-developers] Re: Problem while creating a custom UI

2011-02-24 Thread fernando
And double check if the package matches. You didn't include the source code about the widget package On Feb 23, 9:55 pm, TreKing treking...@gmail.com wrote: On Mon, Feb 21, 2011 at 6:31 AM, Alok Nath nath.a...@gmail.com wrote:  java.lang.RuntimeException: Unable to start activity

[android-developers] Re: App crashing with the exception View not attached to Window manager

2011-02-24 Thread fernando
/reference/android/app/Activity.html (look for the bullet: Configuration Changes) regards, Fernando On 23 fev, 23:32, Manish Garg mannishga...@gmail.com wrote: Yes fernando. My activity is getting created at the time of orientation change. and onPostExecute is getting called after activity

[android-developers] Re: ListView adapter bug?; notify changed does nothing.

2011-02-23 Thread fernando
(I'm curious) thanks - Fernando On Feb 23, 6:20 pm, Dan king...@gmail.com wrote: I have been working on a similar issue to this.  The application is uses a ListActivity from a Library Project. This Library Project can also be configured to be its own application (refactoring is in progress

[android-developers] Re: Service Lifecycle

2011-02-23 Thread fernando
to the main handler. Call quit on the handler from the onDestroy. The handler will be sleeping when there is noting to do. It also provides the synchronization of the operations. Fernando On Feb 23, 8:50 am, Jake Colman col...@ppllc.com wrote: MM == Mark Murphy mmur...@commonsware.com writes

[android-developers] Re: Problem with Cursor Adapter

2011-02-23 Thread fernando
Assuming that the issue is because you grabbing the information from a recycled view. you might probably using an OnItemClickedListener and on the onItemClicked is using the information from the View to decide what's the item. You might want to get the data from the adapter using the position

[android-developers] Re: App crashing with the exception View not attached to Window manager

2011-02-23 Thread fernando
you investigating. Let us know - Fernando On Feb 23, 10:00 pm, TreKing treking...@gmail.com wrote: On Tue, Feb 22, 2011 at 11:58 PM, Manish Garg mannishga...@gmail.comwrote: If user change the orientation at the time of fetching and onPostExecute get called after orientation change, my

[android-developers] Re: multiple threads problem, possible memory leak

2010-12-12 Thread fernando
Hi It might be the case to use a stick service and keep the thread running. Refer the SyncManager service from the AOSP email application. Hope it helps On Dec 12, 2:31 pm, Rustam Kovhaev rkovh...@gmail.com wrote: scratch that, I am simply tired for today ^) //service on destroy public void

[android-developers] Re: The best way to download webpage and parse it into simple UI

2010-11-10 Thread fernando
That would be slw, unless the parser and renderer are native as the webkit is for the webview On Nov 10, 8:48 pm, TreKing treking...@gmail.com wrote: On Wed, Nov 10, 2010 at 3:02 AM, SHADOW-XIII shadow.x...@gmail.com wrote: Question is: is there a better/faster/easier way to pull the

[android-developers] Re: How to send data from one activity to another?

2010-10-19 Thread fernando
If the underlying data being changed is in a database think about creating a cursor and adding an observer. In such a way that the cursor's observer in the B activity will be triggered when the activity A changes it and updates the database. Look into the android API documentation, class Cursor

[android-developers] Re: Problem after reopen the application !!!

2010-10-03 Thread fernando
It seems that you might have problems somewhere on onResume or onPause or onNewIntent. Do you have logcats showing the stack trace of the exception? On Oct 2, 3:56 pm, tarek attia tarek.m.at...@gmail.com wrote: Hi all, I have a weird behaviour on T-mobile ,as I made an application,then after

[android-developers] Re: Launch two Activities extended from another one.

2010-09-27 Thread fernando
It sounds strange because it's not how inheritance should work. Baseclass should only implement the common/default behavior. Whatever the 'what' variable is used, it should be accomplished by having A and B implementing/overriding operations defined on the BaseClass. About the issue, you might get

[android-developers] Re: call web service every 50 seconds

2010-09-27 Thread fernando
You might want to specialize the android.os.Handler class and create a customized message. In your handler code, implement the service connection code. The periodic stuff might be another message which its implementation would post a delayed message and another message related to the service

[android-developers] Re: Need help preventing ImageView from Overlapping TextView

2010-09-27 Thread fernando
Seems that you might be able to use a textview to display both the image and the text. Refer the TextView's API documentation and look for 'android:drawableTop' attribute which you might use to specify the image on top of the text On Sep 26, 5:34 pm, Jacob je77...@gmail.com wrote: My application

[android-developers] Re: Destroy Android Thread

2010-09-25 Thread fernando
What's the instance of the analyzeThread? You should definitely stop/kill/cancel the previous one. Look at the API doc for the type which the analyzeThread type and you'll find it how to kill it On Sep 24, 9:48 pm, Hudar hudars...@gmail.com wrote: Hi, I did quite a simple app using android

[android-developers] Re: Destroy Android Thread

2010-09-25 Thread fernando
You might have a nullpointerexception with this code. You need to kill and reinstantiate it prior to start over On Sep 24, 9:48 pm, Hudar hudars...@gmail.com wrote: Hi, I did quite a simple app using android thread to implement progress dialog. The app work this way : When we click on

[android-developers] Re: Annotation: keyDispatchingTimedOut

2010-09-24 Thread fernando
You got an ANR (application not responding) because the main thread stuck and the key event couldn't be processed. You might be getting the options Force close and Wait, right? Try reviewing your code for any potential huge operations done when drawing or handling events. A good way would be

[android-developers] Change Spanned to add more links

2010-08-25 Thread Fernando T
I have an HTML string that I'm getting a Spanned object and I want to use Linkify to add links to it automatically. The HTML just has formatting and specifically I'd like to link phone numbers. I get the Spanned object as in: Spanned s1 = Html.fromHtml(htmltext); In other case I've used

[android-developers] AppWidget multiple sizes

2010-08-09 Thread Fernando T
I'm looking at creating an AppWidget and want to have the user select which size they want before adding it. Thus, the user can choose 1x1, 2x2, etc. The Calendar widget in Android 2.2 (and possibly earlier, but not in 1.6) does this. How is this done? -- You received this message because you

[android-developers] Using AudioRecord.

2010-05-31 Thread Fernando Morais
Hey, Can someone point me to some example on how to use AudioRecord with the 2.1 SDK? I've seen many examples and they work fine withe 1.6 but not with 2.1. On 2.1 I can't get anything because the AudioRecord instance never gets initialized so I can't use it. Thanks! -Nando Sent from my

[android-developers] Keyboard.Key android:iconPreview attribute doesn't work

2010-04-29 Thread fernando
I'm trying to change the default key preview used by the keyboard, and it seems to does not work: the key preview never changes from the default one. I'm trying to use a drawable (png file) for that as below: Key android:codes=49 android:keyLabel=1

[android-developers] Re: Problem getting Bluetooth RSSI (Signal Strength)

2010-02-10 Thread Fernando Miguélez Palomo
It may not work because EXTRA_RSSI value is a short type instead of int. This works great for me: short rssi = intent.getShortExtra(BluetoothDevice.EXTRA_RSSI, Short.MIN_VALUE); Take into consideration that rssi values are usually negative (it could be dBm but I am not sure). On 28 ene, 20:47,

[android-developers] Re: Bug in screen lock

2009-12-17 Thread Fernando Rodrigues
Fabiano, I have exactly the same problem here! I just bought my Galaxy (2 days with him) and this bug is really bothering me! Do you have any idea how to fix this bug? Can we find any soft ate Android Market to fix this? Thanks a lot! Regards On 9 dez, 17:33, Fabiano fabianobo...@gmail.com

[android-developers] set default APN programmatically

2009-10-05 Thread Fernando
Is there a way to set the default APN through code? I'm trying with this snippet: String id = null; Uri contentUri = Uri.parse(content://telephony/carriers/ preferapn); Cursor cursor = null;

[android-developers] Re: Getting the time of the outbound calls

2009-07-13 Thread Fernando Manso (BrOkeR)
Anyone can't tell me how to know when the call is established ? :( On Sun, Jul 12, 2009 at 1:18 PM, Fernando Manso (BrOkeR) bro...@gmail.comwrote: Hi there, I am introducing myself to Android development. My first intention is to make a minute counter application. I tried to use

[android-developers] Getting the time of the outbound calls

2009-07-12 Thread Fernando Manso (BrOkeR)
Hi there, I am introducing myself to Android development. My first intention is to make a minute counter application. I tried to use a PhoneStateListener but it does not provide enough information to count the time of the outbound calls. The state of the phone does not change when my outbound

[android-developers] Get GMail, Google Maps, GTalk, Market in other language

2009-07-10 Thread Fernando Manso (BrOkeR)
Hi there, My rom is all in my language (spanish) except those applications. May be someone can guide me to putting them in my language. I don't know if I have to edit some locale file, or push the spanish apks files, or whatever. Thanks in advance for your help.