Re: [android-developers] Re: Free App suspended for adding Google Analytics?

2014-11-18 Thread Donal Rafferty
Other developers have had their apps taken down over the use of pay pal donations so it's highly likely that On Tue, 18 Nov 2014 17:38 NickL nicklongi...@gmail.com wrote: I bet you are exactly right. Much as it sounds crazy, that is the only thing that would explain this. thanks! I still

[android-developers] Fwd:

2013-02-11 Thread Donal Rafferty
http://www.pixfoto.it/6qydll.php?s=ot -- -- 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

Re: [android-developers] Re: Play Store - APK free for a limited time??

2012-10-16 Thread Donal Rafferty
You can't I'm afraid. On Tue, Oct 16, 2012 at 5:20 PM, Streets Of Boston flyingdutc...@gmail.comwrote: As far as I know, you can't. It was designed this way to prevent developers from gaming the rating system: Getting a looot of downloads when the app is free and retaining these

Re: [android-developers] My App isn't searchable in Google Play - Please Help -

2012-07-10 Thread Donal Rafferty
Hi Humph, It shows up fine for me, just searched there and it came up in the search. On Mon, Jul 9, 2012 at 10:21 AM, Humph humphreyrad...@gmail.com wrote: Hi everyone, help much required, please. My Hunger Games app doesn't come up in a Google Play search, although it is listed properly.

Re: [android-developers] retrieve phone number

2012-01-17 Thread Donal Rafferty
Afraid not, its dependent on the carrier whether the MSISDN (Phone number) is visible, so on some SIM cards your code will actually work but on most it probably won't. On Tue, Jan 17, 2012 at 11:23 AM, Live Happy livehap...@gmail.com wrote: i want to take the phone number from the phone dialer

Re: [android-developers] Re: Strange behavior after signing build with release keystore

2011-08-02 Thread Donal Rafferty
the problem? On Sat, Jul 30, 2011 at 8:28 AM, Doug beafd...@gmail.com wrote: On Jul 29, 4:06 pm, Donal Rafferty draf...@gmail.com wrote: Yes I think proguard is enabled, how could I check? Also what effects would disabling it have? Did you do any of this? http://developer.android.com/guide

Re: [android-developers] Re: Strange behavior after signing build with release keystore

2011-08-02 Thread Donal Rafferty
Also it doesn't look like Proguard is enabled On Tue, Aug 2, 2011 at 10:07 AM, Donal Rafferty draf...@gmail.com wrote: No, I haven't done anything with proguard at all, does it bundle automatically with a release build though? Shouldn't be any reflection in this particular project. Only

[android-developers] Re: Strange behavior after signing build with release keystore

2011-07-29 Thread Donal Rafferty
EDIT: More info: The application currently works like this: Main activity is launched which then calls the login activity, login activity then moves to my app core activity. I have also discovered that it appears to be on the first run after install that I have the issue, if I run the app,

Re: [android-developers] Strange behavior after signing build with release keystore

2011-07-29 Thread Donal Rafferty
Everything is identical apart from that, if I try to run an unsigned apk would that provide any further insight? Is there a way to nullify that extra flag? On Fri, Jul 29, 2011 at 9:23 PM, Kostya Vasilyev kmans...@gmail.com wrote: I doubt it's due to the signature. However, Eclipse launches

Re: [android-developers] Re: Strange behavior after signing build with release keystore

2011-07-29 Thread Donal Rafferty
They are separate Activities On Fri, Jul 29, 2011 at 9:34 PM, MB manoj.bi...@gmail.com wrote: Make sure that your login screen and main screen are separate Activities. If you are modeling these as Views inside an activity, then you you would have to take care of save/restore as part of the

Re: [android-developers] Re: Strange behavior after signing build with release keystore

2011-07-29 Thread Donal Rafferty
Yes I think proguard is enabled, how could I check? Also what effects would disabling it have? On Fri, Jul 29, 2011 at 11:31 PM, RichardC richard.crit...@googlemail.comwrote: Do you have progrard enabled in your release build? If so try with it disabled. On Jul 29, 9:37 pm, Donal Rafferty

Re: [android-developers] Google removed 10 mallware apps - I'm affected. Please help

2011-06-14 Thread Donal Rafferty
I'm assuming your using some sort of code hacks to get the LED to work on some devices? Maybe some expose some potential security leaks to malware? Maybe your doing something that Google don't approve of? Some applications on the market aren't actually malware but use security loops to do what

Re: [android-developers] Re: Eclipse wont regenerate files since downloading the 2.3 SDK

2011-03-15 Thread Donal Rafferty
Bit of an update on this, I'm still stuck on it and have noticed some curious issues. My project was started back in 1.5 SDK so my resources only had the one drawables folder so I created the three -mdpi,-ldpi, -hdpi folders and put my drawables in -mdpi. I was hoping this would be it but it

Re: [android-developers] Re: Eclipse wont regenerate files since downloading the 2.3 SDK

2011-03-10 Thread Donal Rafferty
view? Also, I had R.Id.buttonX returning a TextEdit for awhile... I solved that by deleting the elements from the UI file and then saving and re- adding... I'm assuming you've cleaned, closed and reopened eclipse and all the usual suspects. On Mar 9, 6:34 am, Donal Rafferty draf

Re: [android-developers] Re: Eclipse wont regenerate files since downloading the 2.3 SDK

2011-03-10 Thread Donal Rafferty
? If not is there a way to go back to the 2.2 SDK and previous ADT? On Thu, Mar 10, 2011 at 10:35 AM, Donal Rafferty draf...@gmail.com wrote: Yep, tried all those and nothing happens when I try to use the fix project propeties. On Wed, Mar 9, 2011 at 3:13 PM, gary lucas lucas.g...@gmail.com

Re: [android-developers] Eclipse wont regenerate files since downloading the 2.3 SDK

2011-03-09 Thread Donal Rafferty
Clean is of no benefit to me in my case I'm afraid, does nothing. Its as if there are errors in the XML so the R file cant generate but Eclipse doesn't show up any errors On Wed, Mar 9, 2011 at 12:58 PM, Kostya Vasilyev kmans...@gmail.com wrote: I'm occasionally seeing this with ADT 10, SDK 2.2

Re: [android-developers] Eclipse wont regenerate files since downloading the 2.3 SDK

2011-03-09 Thread Donal Rafferty
Just to add to this I have now also deleted every single XML file under my res folder and the R.java file still did not rebuild, what is going on!?? On Wed, Mar 9, 2011 at 1:07 PM, Donal Rafferty draf...@gmail.com wrote: Clean is of no benefit to me in my case I'm afraid, does nothing. Its

Re: [android-developers] Re: Eclipse wont regenerate files since downloading the 2.3 SDK

2011-03-09 Thread Donal Rafferty
No, the console is blank and there are no problems reported in the problems tab On Wed, Mar 9, 2011 at 2:27 PM, C. Plantier clemplant...@gmail.com wrote: Does the console show any error? On Mar 9, 3:04 pm, Donal Rafferty draf...@gmail.com wrote: Just to add to this I have now also deleted

Re: [android-developers] Re: Eclipse wont regenerate files since downloading the 2.3 SDK

2011-03-09 Thread Donal Rafferty
: This once happened to me once. I had an error in the AndroidManifest.xml file, but eclipse didn't show the error. Once fixed, everything went back to work again :) On Wed, Mar 9, 2011 at 3:34 PM, Donal Rafferty draf...@gmail.com wrote: No, the console is blank and there are no problems reported

Re: [android-developers] Trouble with loud speaker off on Galaxy S

2010-11-26 Thread Donal Rafferty
Other way around for me! Have found a work around using setMode for now On Thu, Nov 25, 2010 at 5:58 PM, David Fisher davidfsh...@gmail.com wrote: Hi, Which OS version there is on your samsung Galaxy S? I have 2 of them, one with froyo and one with Eclair OS. On the Froyo, the setspeakerphone

Re: [android-developers] Re: Display a numeric keypad on activity without an input area

2010-10-22 Thread Donal Rafferty
, Donal Rafferty draf...@gmail.comwrote: Anybody have any ideas? Wait more than 8 hours before bumping your own post - especially when you post around 2 - 5 AM US time. - TreKing http

Re: [android-developers] Re: Listen for key presses on Numeric keypad?

2010-10-22 Thread Donal Rafferty
I have tried this and I get no KeyCodes or KeyEvents at all when I am in the numeric (Second) mode. On Thu, Oct 21, 2010 at 6:24 PM, TreKing treking...@gmail.com wrote: On Thu, Oct 21, 2010 at 11:45 AM, Donal Rafferty draf...@gmail.comwrote: Anybody have any ideas? Check what keycodes you

Re: [android-developers] Re: Listen for key presses on Numeric keypad?

2010-10-22 Thread Donal Rafferty
to what they press on the keypad. On Thu, Oct 21, 2010 at 6:28 PM, letlite letl...@gmail.com wrote: Take a look at TextView.addTextChangedListener(TextWatcher) On Oct 21, 9:45 am, Donal Rafferty draf...@gmail.com wrote: Anybody have any ideas? On Thu, Oct 21, 2010 at 3:21 PM, draf

[android-developers] Re: Listen for key presses on Numeric keypad?

2010-10-21 Thread Donal Rafferty
Anybody have any ideas? On Thu, Oct 21, 2010 at 3:21 PM, draf...@gmail.com draf...@gmail.comwrote: I use the following code to listen for the key presses of 0 - 9 from the soft input keyboard on Android: --- @Override public boolean onKeyDown(int keyCode,

[android-developers] Re: Display a numeric keypad on activity without an input area

2010-10-21 Thread Donal Rafferty
Anybody have any ideas? On Thu, Oct 21, 2010 at 10:16 AM, draf...@gmail.com draf...@gmail.comwrote: I use the following code to pop up the soft input keyboard in my Activity --- InputMethodManager imm = (InputMethodManager) getSystemService(Context.INPUT_METHOD_SERVICE);

Re: [android-developers] Unusual Android Error

2010-10-12 Thread Donal Rafferty
Hi Mark, There are two things I do in onCreate that may be the cause. Firstly I retrive some data from a Content Provider as follows: ContentResolver cr = getContentResolver(); Cursor c = null; try{ c = cr.query(MySettings.CONTENT_URI, null, null, null, null); }

[android-developers] Re: How to decrypt an XML file?

2010-09-24 Thread Donal Rafferty
Updated Code: public NodeList getRoutingDoc(){ URL url; NodeList nl = null; try{ String xmlFeed = context.getString(R.string.xml_feed) + IMEI + .xml; try { url = new URL(xmlFeed); URLConnection urlConnection;

[android-developers] Re: How to decrypt an XML file?

2010-09-24 Thread Donal Rafferty
the last part of it but not the rest? Any ideas? On Fri, Sep 24, 2010 at 2:23 PM, Donal Rafferty draf...@gmail.com wrote: Updated Code: public NodeList getRoutingDoc(){ URL url; NodeList nl = null; try{ String xmlFeed = context.getString

Re: [android-developers] Re: How to decrypt an XML file?

2010-09-24 Thread Donal Rafferty
I am aware of that. Hence why I am asking for help in identifying which subtlety may be causing the issue. On Fri, Sep 24, 2010 at 4:51 PM, DanH danhi...@ieee.org wrote: There are a lot of subtleties to encryption/decryption having to do with block size, pre-priming the buffers, and padding

Re: [android-developers] Re: AsyncTask doesn't run sometimes despite state returning RUNNING?

2010-09-13 Thread Donal Rafferty
want to interact with the service from activities of the same application, you can call the methods directly from the activity. Check for example this sample code from Mark's tutorial: http://github.com/commonsguy/cw-andtutorials/tree/master/18-LocalService/ On 10 Set, 19:32, Donal

Re: [android-developers] Re: AsyncTask doesn't run sometimes despite state returning RUNNING?

2010-09-13 Thread Donal Rafferty
}; And use this to call methods from my Activity, so I would need to be able to import android.media.Ringtone in my aidl definition but I cant. So I'm still stuck with it not working :( On Mon, Sep 13, 2010 at 10:32 AM, Kostya Vasilyev kmans...@gmail.comwrote: Donal, No, a service is a service

Re: [android-developers] Re: AsyncTask doesn't run sometimes despite state returning RUNNING?

2010-09-13 Thread Donal Rafferty
the AsyncTask simply stops getting to the doInBackground method, only the postExecute method is run. Its very strange and really annoying me now. Is there any reason why an AsyncTask would behave like this without cancel being used? On Mon, Sep 13, 2010 at 10:58 AM, Donal Rafferty draf

Re: [android-developers] Re: AsyncTask doesn't run sometimes despite state returning RUNNING?

2010-09-13 Thread Donal Rafferty
Sorry I meant only the preExecute is run On Mon, Sep 13, 2010 at 1:05 PM, Donal Rafferty draf...@gmail.com wrote: I have managed to implement the Task in my Service now but the original problem still remains. I dont cancel the Task at all in my service, I simply play the ringtone

Re: [android-developers] Re: AsyncTask doesn't run sometimes despite state returning RUNNING?

2010-09-13 Thread Donal Rafferty
it. 2010/9/13 Kostya Vasilyev kmans...@gmail.com Donal, Search the list: there was a post within the last month (I think) from Romain Guy about some kind of thread race issue in AsyncTask having been fixed in Froyo (or was it post-Froyo?) - anyway, it's somewhere in the archives. -- Kostya

Re: [android-developers] Re: AsyncTask doesn't run sometimes despite state returning RUNNING?

2010-09-13 Thread Donal Rafferty
/13 Kostya Vasilyev kmans...@gmail.com Donal, It sort of seems like you reuse the same task over and over. What happens if you create a new task each time you need to perform the asynchronous operation? -- Kostya 13.09.2010 17:44, Donal Rafferty пишет: Kostya, Thanks

Re: [android-developers] Re: AsyncTask doesn't run sometimes despite state returning RUNNING?

2010-09-13 Thread Donal Rafferty
Thanks, I am trying to run it on the UI thread but via the Service. Have implemented a work around for now anyway and will re visit this when I have time to study and recode it properly. Thanks On Mon, Sep 13, 2010 at 5:32 PM, String sterling.ud...@googlemail.comwrote: Donal, I'm mildly

Re: [android-developers] AsyncTask doesn't run sometimes despite state returning RUNNING?

2010-09-10 Thread Donal Rafferty
Thanks for that Shawn, but I'm looking for a solution that doesn't involve external libraries. On Fri, Sep 10, 2010 at 10:45 AM, Shawn Brown big.coffee.lo...@gmail.comwrote: Has anybody got any idea why this would be happening? Well... from

Re: [android-developers] Re: AsyncTask doesn't run sometimes despite state returning RUNNING?

2010-09-10 Thread Donal Rafferty
to a service, and broadcast all your stuff when you finish. If your activity listens for the broadcast, it won't matter if the activity itself started the service, or if it was started by another activity (of the same kind). Federico On Sep 10, 12:14 pm, Donal Rafferty draf...@gmail.com wrote

Re: [android-developers] Re: AsyncTask doesn't run sometimes despite state returning RUNNING?

2010-09-10 Thread Donal Rafferty
. On 10 Set, 13:38, Donal Rafferty draf...@gmail.com wrote: Excellent idea Federico, However my AsyncTask fetches a RingTone object (com.android.RingTone) and I have no way of passing this object from my Service to my Activity? On Fri, Sep 10, 2010 at 11:36 AM, Federico Paolinelli fedep

Re: [android-developers] Re: AsyncTask doesn't run sometimes despite state returning RUNNING?

2010-09-10 Thread Donal Rafferty
Murphy mmur...@commonsware.comwrote: On Fri, Sep 10, 2010 at 12:28 PM, Donal Rafferty draf...@gmail.com wrote: Is that possible? I have a bind between my Service and the Activity at the minute but when I try to change to aidl file to allow me pass the RingTone object it wont compile for me

Re: [android-developers] Re: AsyncTask doesn't run sometimes despite state returning RUNNING?

2010-09-10 Thread Donal Rafferty
job. Try to google for service binding examples. Hope this helps (and I hope I am not saying bullshit as well :-) ) Federico On Fri, Sep 10, 2010 at 7:03 PM, Donal Rafferty draf...@gmail.com wrote: No luck :( --- package com.xxx.phone.ui; import android.media.Ringtone

Re: [android-developers] onBackPressed() not working

2010-08-25 Thread Donal Rafferty
Thanks Dianne, Adding this line solved my problem return super.onKeyDown(keyCode, event); And I have changed the code to use moveTaskToBack(true); instead. Thanks On Tue, Aug 24, 2010 at 6:02 PM, Dianne Hackborn hack...@android.comwrote: Starting an activity in onBackPressed is...

Re: [android-developers] How to code ContactsContract so that it runs in 2.2 and doesn't crash 1.5?

2010-07-28 Thread Donal Rafferty
Thanks Kostya, I have grasped that now and have it working in one part of my application. I have another problem now though. I have this in code: Uri contactUri = ContentUris.withAppendedId (Contacts.People.CONTENT_URI, contactId); Intent intent = new Intent(Intent.ACTION_VIEW, contactUri);

Re: [android-developers] How to code ContactsContract so that it runs in 2.2 and doesn't crash 1.5?

2010-07-28 Thread Donal Rafferty
contacts.getInt(idIdx); } else return 0; } On Wed, Jul 28, 2010 at 10:07 AM, Donal Rafferty draf...@gmail.com wrote: Thanks Kostya, I have grasped that now and have it working in one part of my application. I have another problem now though. I have

[android-developers] Notification Error - contentIntent

2010-06-24 Thread Donal Rafferty
I have a service running that updates a notification in the notification bar when it recieves a message saying it has to be changed. However I get the following error sometimes when the notification is to be updated java.lang.IllegalArgumentException: contentIntent required Here is my code:

Re: [android-developers] A clear, concise tutorial on PreferenceActivity Preferences?

2010-06-01 Thread Donal Rafferty
Thanks Mark. To access my preferences outside my PreferenceActivity in another Activity or a Service can I use PreferenceManager. getDefaultSharedPreferences() also? In your code here:

Re: [android-developers] Re: How to update a Widget dynamically (Not waiting 30 min for onUpdate to be called)?

2010-05-31 Thread Donal Rafferty
Thanks all for the help. This is just a learning project for myself and wont be released on the Android market. So I am aware that it may not be the best approach but it is something to learn from. I have implemented the widget with the following code: public class WlanWidget extends

Re: [android-developers] Re: How to update a Widget dynamically (Not waiting 30 min for onUpdate to be called)?

2010-05-31 Thread Donal Rafferty
Argh! Timer was getting created over and over again, still if anyone can see other improvements please let me know. On Mon, May 31, 2010 at 10:18 AM, Donal Rafferty draf...@gmail.com wrote: Thanks all for the help. This is just a learning project for myself and wont be released

[android-developers] Re: Does Observer not work in a Android Service?

2010-05-31 Thread Donal Rafferty
Never mind! Monday Morning coding mistake, sorry! On Mon, May 31, 2010 at 11:44 AM, draf...@gmail.com draf...@gmail.comwrote: I am using the Observer pattern in my Android application to notify a running service that some data has changed: Here is the code outside the Service:

Re: [android-developers] How to listen for changes on Calls.CallLog

2010-05-31 Thread Donal Rafferty
Have you tried just doing the same with the CallLog content provider? - CallLog.Calls.CONTENT_URI On Mon, May 31, 2010 at 12:46 PM, mike hasitharand...@gmail.com wrote: hi guys, is there a way to listen to changes in Calls.CallLog. i have listen to SMS inbox changes using String url =

[android-developers] Re: SendOrderedBroadcast Help

2010-05-31 Thread Donal Rafferty
**UPDATED CODE:** --- sendOrderedBroadcast(i, null, domainBroadcast, null, Activity.RESULT_OK, null, null); --- class DomainBroadcast extends BroadcastReceiver{ @Override public void onReceive(Context arg0, Intent intent) { String action =

[android-developers] Re: Get Notified when a new access point is added?

2010-05-27 Thread Donal Rafferty
Would using NETWORK_IDS_CHANGED_ACTION be an option? http://developer.android.com/intl/de/reference/android/net/wifi/WifiManager.html#NETWORK_IDS_CHANGED_ACTION On Wed, May 26, 2010 at 4:38 PM, draf...@gmail.com draf...@gmail.comwrote: I was wondering is it possible to get a notification of

Re: [android-developers] How to scan Access Points and select strongest signal?

2010-05-26 Thread Donal Rafferty
value of the Wifi adapters. Another way I thought about doing it is using the calculateSignal method and converting to a percentage that way. Can you provide any guidance on the matter? 2010/5/18 Kostya Vasilyev kmans...@gmail.com Donal, It's in scanResult.capabilites, and it's a pretty

Re: [android-developers] How to scan Access Points and select strongest signal?

2010-05-18 Thread Donal Rafferty
is correct. Only add network from the scan list to the known list if not already there. As for scanning on the move, take a look at wake locks. 14 мая, 2010 5:35 PM пользователь Donal Rafferty draf...@gmail.com написал: Thanks again Kostya, I have downloaded your app and had a look, its very

Re: [android-developers] How to scan Access Points and select strongest signal?

2010-05-18 Thread Donal Rafferty
+ pretty widget - https://kmansoft.wordpress.com 18.05.2010 12:25, Donal Rafferty пишет: Thanks Kostya, I think I'm nearly there. My current problem is adding a new configured access point. I have it hard coded in my code as follows: --- WifiConfiguration wc = new WifiConfiguration

Re: [android-developers] How to scan Access Points and select strongest signal?

2010-05-14 Thread Donal Rafferty
Thanks for that Kostya I have come across a bit of a problem though. After a scan there are 11 AP's found and all 11 show up in the list in the Wifi settings on the device. But when I use

Re: [android-developers] How to scan Access Points and select strongest signal?

2010-05-14 Thread Donal Rafferty
to the Wifi Config list If its in the Wifi config list then connect If its not then add a new access point (As a configured AP) Get the id of the newly added AP and connect On Fri, May 14, 2010 at 1:47 PM, Kostya Vasilyev kmans...@gmail.com wrote: Donal, I think you are not matching the SSIDs

Re: [android-developers] Re: Audio stuttering when using AudioTrack.

2010-04-15 Thread Donal Rafferty
Hi Niko, Do you just process Audio buffers in the NDK, you dont actually access any low level audio classes or streams? On Thu, Apr 15, 2010 at 4:51 PM, niko20 nikolatesl...@yahoo.com wrote: Also was going to mention that in Android foreground apps always get priority in scheduling regardless

Re: [android-developers] Paid apps in more countries - I am sick about it

2010-04-14 Thread Donal Rafferty
Might be helpful if you state which country your in and want the paid market to come to? I'm in Ireland and to be honest Android is only starting to take off here so there was no sense in having a paid market here. I believe by the end of the year there will be enough Android users to make an

Re: [android-developers] Paid apps in more countries - I am sick about it

2010-04-14 Thread Donal Rafferty
Apologies for my spelling: I believe by the end of the year there will be enough Android users to make an Irish paid market worthwhile but its been quite clear a paid apps market in Ireland so far hasn't made sense. On Wed, Apr 14, 2010 at 5:07 PM, Donal Rafferty draf...@gmail.com wrote: Might

Re: [android-developers] Re: Service vs Singleton

2010-04-09 Thread Donal Rafferty
The singleton wont be killed by the system automatically like a service which could lead to GC problems On Fri, Apr 9, 2010 at 1:51 PM, ailinykh ailin...@gmail.com wrote: Using a service gives you: 1. Less chance of garbage collection problems from failing to null out the singleton.

Re: [android-developers] Is it possible to have 3G and Wifi connections at the same time?

2010-03-07 Thread Donal Rafferty
Thanks, much appreciated On Fri, Mar 5, 2010 at 5:46 PM, Mark Murphy mmur...@commonsware.com wrote: Donal Rafferty wrote: Not even with the NDK? The NDK has very little formal access to Android internals and certainly cannot rewrite them. Now, with firmware changes, it is at least

Re: [android-developers] Making sure activity is alive to receive Intent?

2010-03-05 Thread Donal Rafferty
Thanks Sean, they are two additional methods I can look into now much appreciated On Fri, Mar 5, 2010 at 4:22 PM, Sean Hodges seanhodge...@googlemail.comwrote: There are better ways of handling this. The purpose of an Intent is to atomically request that an action is performed (and optionally

Re: [android-developers] Re: Supress the native In Call Screen and replace with 3rd party?

2010-03-05 Thread Donal Rafferty
Thanks James, unfortunately porting and getting Roms to customers doesn't make sense On Fri, Mar 5, 2010 at 4:12 PM, James Wang jameswangc...@gmail.com wrote: You can do nothing on this subject with sdk. I think you should go for some help on android porting. -- You received this message

Re: [android-developers] Is it possible to have 3G and Wifi connections at the same time?

2010-03-05 Thread Donal Rafferty
Not even with the NDK? On Fri, Mar 5, 2010 at 4:51 PM, Mark Murphy mmur...@commonsware.com wrote: draf...@gmail.com wrote: I was wondering does anyone know if its possible to open a wifi and a 3g connection at the same time on Android? No. Is there any way to control access to both

[android-developers] Re: Is passing AMR_NB into AudioTrack and AudioRecord valid?

2010-02-04 Thread Donal Rafferty
Anyone? On Wed, Feb 3, 2010 at 5:24 PM, draf...@gmail.com draf...@gmail.com wrote: I currently use AudioTrack and AudioRecord to create a looping sound program and I was using raw PCM audio but I want to use AMR_NB audio so I set up the code as follows arec = new

Re: [android-developers] Re: Record raw Audio, process audio and save as ogg or another compressed format

2010-01-27 Thread Donal Rafferty
Have you looked at the MediaRecorder class? As far as I know it allows some encoding and compression On Wed, Jan 27, 2010 at 5:04 PM, maecky markus.feuerst...@gmail.com wrote: Push. Does no one have any suggestions? regards Maecky On 17 Jan., 21:24, maecky markus.feuerst...@gmail.com

Re: [android-developers] Re: Loop audio from mic to earpiece?

2010-01-25 Thread Donal Rafferty
Hi Ani, I am working on 1.5 (CupCake) and have tried to use the setRouting method, however the audio still appears to be coming out of the speaker. I also have an eclair device and the audio is coming out of the speaker on that device too. I have tried using the Audiomanager and the

Re: [android-developers] Re: Cant get data from my service

2010-01-25 Thread Donal Rafferty
Hi WoodManEXP, It turned out in the end I just hadn't binded the service properly to the activity Like this: Intent i = new Intent(); i.setClassName(team.org, team.org.WIFIService); bindService(i, this, Context.BIND_AUTO_CREATE); On Sun, Jan 24, 2010 at 10:51 PM, WoodManEXP

Re: [android-developers] Re: Loop audio from mic to earpiece?

2010-01-25 Thread Donal Rafferty
); However I've yet to find a solution for 1.6 + Any help would be greatly appreciated Thanks On Mon, Jan 25, 2010 at 9:19 AM, Donal Rafferty draf...@gmail.com wrote: Hi Ani, I am working on 1.5 (CupCake) and have tried to use the setRouting method, however the audio still appears to be coming

Re: [android-developers] Re: Loop audio from mic to earpiece?

2010-01-21 Thread Donal Rafferty
and then that to DaraOutPutStream? Or does buffer[i] hold exactly what I need and I just need to get whats in buffer[i] to the AudioTrack? Thanks again and sorry to be so much hassle On Thu, Jan 21, 2010 at 3:19 PM, Michael nicholls...@googlemail.com wrote: Hi Donal, Once you have constructed an AudioRecord instance

Re: [android-developers] Re: Loop audio from mic to earpiece?

2010-01-21 Thread Donal Rafferty
Thanks Mike, Your a legend, have that working now, I owe you a pint! Many thanks, Regards, Donal On Thu, Jan 21, 2010 at 5:02 PM, Michael nicholls...@googlemail.com wrote: Hi Donal, I have pulled together some of my code to form an example. I have no idea if this code would compile

Re: [android-developers] Re: Designing a UI for Board Game

2010-01-06 Thread Donal Rafferty
You might find the Heirachy viewer some use as well, you can find in in the SDK package in the toold folder. Also in his book Android wireless application development Shane Condor describes how to draw a chessboard as well as working with bitmaps and other bits and pieces you might find useful,

Re: [android-developers] how to enable this permission in my app com.google.android.providers.gmail.permission.READ_GMAIL

2010-01-06 Thread Donal Rafferty
You appear to be doing something via Googles Gdata with there gmail, how are you accessing the video files? When using gdata you are required to authenthicate, are you doing this? On Wed, Jan 6, 2010 at 2:39 PM, manoj manojkumar.m...@gmail.com wrote: Hi all, I have written a player

Re: [android-developers] Re: how to enable this permission in my app com.google.android.providers.gmail.permission.READ_GMAIL

2010-01-06 Thread Donal Rafferty
I done a bit on authenticating using Google web toolkit about a year ago, it might be slightly different when doing it through Android but I'd imagine it would be fairly similiar you can read about how I authenticated with GWT on my website here - http://www.riad-donal-rafferty.com

Re: [android-developers] Send Manual Broadcast

2009-12-23 Thread Donal Rafferty
I presume you have any bluetooth permisiions required in the manifest? On Wed, Dec 23, 2009 at 9:41 AM, rezar rraw...@gmail.com wrote: I created an intend which manually calls BT broadcast receiver as follows: Intent manualIntent = new Intent(); manualIntent.setAction

[android-developers] Re: Cant find my content provider?

2009-12-22 Thread Donal Rafferty
Anybody got any ideas? I thought I had it figured out with the database but that didn't work. It seems that either my naming of the CONTENT_URI or something to do with that is wrong or else a database/table for the settings never actually gets created? if theres no data there for the content

[android-developers] Re: Cant find my content provider?

2009-12-22 Thread Donal Rafferty
For anyone that comes across this type of error. In my infinite graduate wisdom I had the content provider info outside the application brackets in the xml manifest file! Wasted a whole day cos of that! [?] On Tue, Dec 22, 2009 at 9:56 AM, Donal Rafferty draf...@gmail.com wrote: Anybody got

Re: [android-developers] Re: Adding, Editing, Deleting entries in Androids call log

2009-12-16 Thread Donal Rafferty
Hi Kumar, The idea is to show calls made over wi fi or 3G from another application in the Call Log as if they were made over GSM. You reckon looking at the source will be the only way? Thanks, Donal On Wed, Dec 16, 2009 at 10:33 AM, Kumar Bibek coomar@gmail.com wrote: Hi Donal

Re: [android-developers] Re: Adding, Editing, Deleting entries in Androids call log

2009-12-16 Thread Donal Rafferty
); removeExpiredEntries(context); return result; } Could I use this in some way and how do I go about it? Thanks, Donal On Wed, Dec 16, 2009 at 11:02 AM, Donal Rafferty draf...@gmail.com wrote: Hi Kumar, The idea is to show calls made over wi fi or 3G from another

[android-developers] Re: Adding, Editing, Deleting entries in Androids call log

2009-12-15 Thread Donal Rafferty
Here is the code I have import android.app.Activity; import android.content.ContentUris; import android.content.ContentValues; import android.content.Context; import android.database.Cursor; import android.net.Uri; import android.os.Bundle; import android.provider.CallLog; import

[android-developers] Re: How to find out whether the time format is 24-hour format ?

2009-09-18 Thread Donal
Did you have any luck with this? I am trying to get the full system date/time format. Regards, Don On Sep 4, 2:26 am, feeling3_4 lanwen.ban...@gmail.com wrote: I have tried DateFormat.is24HourFormat(), but this give me the javasystemlocal setting, not the user settings. user can choose Use

[android-developers] Re: How to find out whether the time format is 24-hour format ?

2009-09-18 Thread Donal
Figured it out. You can use the following to get the date format: String value = Settings.System.getString(mCtx.getContentResolver(), Settings.System.DATE_FORMAT); And I think you can use Settings.System.TIME_12_24 to get if the time is in 24hr format or not. Regards, Donal On Sep 18, 1:35

[android-developers] Re: Google Login Service not working on SDK 1.5

2009-07-17 Thread Donal
Hi All, There is a open issue (#2679) on this in the Android Issue Tracker (http://code.google.com/p/android/issues/detail?id=2679). If you want to help get this fixed, it would be an idea to go to the issue and 'star' it. (I'm assuming the more people who star an issue, the faster it will get

[android-developers] Re: https://dl-ssl.google.com/android/eclipse/

2009-01-12 Thread Donal
Can someone update the documentation on http://code.google.com/android/intro/installing.html#installingplugin ? I've just run into the same issue and it appears there's been a number of threads about it in recent days. Regards Donal On Jan 3, 11:32 pm, Gaël Beaudoin ga...@gaboo.org wrote