Re: [android-developers] Listview notification?

2011-07-02 Thread Simon Platten
() in getView(). On Sat, Jul 2, 2011 at 9:39 AM, Simon Platten simonaplat...@googlemail.com wrote: I believe thats exactly what I'm doing: public View getView(int position, View convertView, ViewGroup parent) { View v

Re: [android-developers] Listview notification?

2011-07-02 Thread Simon Platten
understand what you were saying in your last post, can you please clarify? Thank you, Simon On Sat, Jul 2, 2011 at 3:25 PM, Mark Murphy mmur...@commonsware.com wrote: On Sat, Jul 2, 2011 at 10:14 AM, Simon Platten simonaplat...@googlemail.com wrote: I can't call rotateThumbnail directly from

Re: [android-developers] Listview notification?

2011-07-02 Thread Simon Platten
Ok, Thank you, that makes sense, I'll have a play and see what I can come up with. On 02/07/2011 9:13 PM, Kostya Vasilyev wrote: This has to do with list view item recycling. Here is a good tutorial with pictures: http://android.amberfog.com/?p=296 -- Kostya 03.07.2011 0:10, Simon Platten

[android-developers] Photos Folder (DCIM)

2011-06-29 Thread Simon Platten
Is the folder DCIM a standard on all Android phones? Can I rely on it being call this or is there a call I can make to determine what it is? Thank you -- Regards, Sy -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group,

Re: [android-developers] Re: Photos Folder (DCIM)

2011-06-29 Thread Simon Platten
(java.lang.String) Regards On Jun 30, 5:45 am, Simon Plattensimonaplat...@googlemail.com wrote: Is the folder DCIM a standard on all Android phones? Can I rely on it being call this or is there a call I can make to determine what it is? Thank you -- Regards, Sy -- You received this message because you

Re: [android-developers] TabHost and TabWidget ?

2011-06-20 Thread Simon Platten
the preview versions of the backports of the layout library to 2.x - see http://tools.android.com/download . -- Tor On Sun, Jun 19, 2011 at 10:44 AM, Simon Platten simonaplat...@googlemail.com wrote: I am trying to create a layout using the TabHost and TabWidge views as described here

Re: [android-developers] TabHost and TabWidget ?

2011-06-20 Thread Simon Platten
Thank you, I think I'll give it a miss in that case until its fixed for older API's, as I want to make the application available to a wider audience. On 20/06/2011 6:36 PM, Tor Norbye wrote: On Mon, Jun 20, 2011 at 10:26 AM, Simon Platten simonaplat...@googlemail.com wrote: According

Re: [android-developers] TabHost and TabWidget ?

2011-06-20 Thread Simon Platten
Ok, Thank you for explaining that, I'll take a look. Regards, Sy On 20/06/2011 7:23 PM, Tor Norbye wrote: On Mon, Jun 20, 2011 at 11:06 AM, Simon Platten simonaplat...@googlemail.com wrote: Thank you, I think I'll give it a miss in that case until its fixed for older API's, as I want to make

[android-developers] Re: Does android os 2.1 support bluetooth printing

2011-06-20 Thread Simon Jackson
Should be something like 1. Find UUID of printer device service 2. Open encrypted rfcomm to already paired device (so don't need BT admin permission only BT permission) 3. Send byte stream over the socket 4. Close socket. You will need the escape codes for the printer too depending on if it

[android-developers] Setting text colour programmatically

2011-06-19 Thread Simon Platten
I am adding some views to a linear layout in code, I have set the colour of the text view as follows: TextView tvImagesTitle = new TextView(this); tvImagesTitle.setTextColor(R.color.blue); tvImagesTitle.setText(Some text); m_llImages.addView(

Re: [android-developers] Setting text colour programmatically

2011-06-19 Thread Simon Platten
...@googlemail.comwrote: Hello Simon, For a button in a recent project I used: How to set a button as transparent and blue: button1.setBackgroundColor(Color.argb(125, 0, 0, 255)); the 1st set of digits (125) is the translucency. Did you try dropping the '#' off your code in xml before asking? Fred

[android-developers] TabHost and TabWidget ?

2011-06-19 Thread Simon Platten
I am trying to create a layout using the TabHost and TabWidge views as described here: http://developer.android.com/resources/tutorials/views/hello-tabwidget.html My XML so far looks like this: ?xml version=1.0 encoding=utf-8? TabHost xmlns:android=http://schemas.android.com/apk/res/android;

[android-developers] Re: LVL and WIFI-only tablets

2011-06-18 Thread Simon Jackson
Don't rent. Buy. Then go sub-prime ;) -- 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] Re: Using jbcrypt in app

2011-06-14 Thread Simon
Its the same on an actual device and on the emulators. On Jun 13, 11:08 pm, Streets Of Boston flyingdutc...@gmail.com wrote: Is the slowness on an actual device or on the emulator. Anyways...it seems that you need to calculate the hash on a background thread as not to hang your app and risk an

[android-developers] SQLite problem

2011-06-14 Thread Simon Platten
I have written a class 'clsDB', please see source below. I'm testing it in the emulator and the first time around it runs fine without error, then on the second run eclipse jumps into the Class File Editor for SQLiteCursor.class. The application continues to run without exception or error, but

[android-developers] Re: Using jbcrypt in app

2011-06-14 Thread Simon
Yeah, this unfortunately seems to be the case. I'm still curious as to why its so much slower running in the Davlik VM as compared to a standard Java VM, however. Is it simply less available memory causing the issue? On Jun 14, 9:19 am, Streets Of Boston flyingdutc...@gmail.com wrote: Then

Re: [android-developers] SQLite problem

2011-06-14 Thread Simon Platten
()) { ... get data using the column indices . } cursor.close(); } This works because a cursor's initial position is -1 (before the first record). -- Kostya 2011/6/14 Simon Platten simonaplat...@googlemail.com I have written a class 'clsDB', please see source below. I'm testing

[android-developers] Cancelling and Alarm

2011-06-14 Thread Simon Platten
When I update an alarm I call the alarm manager cancel method before setting it up...However this doesn't always cancel the old alarm and sometimes I seem to get more than one alarm scheduled at different rates. In my activity I let the user change the alarm time interval, this is then applied to

Re: [android-developers] Cancelling and Alarm

2011-06-14 Thread Simon Platten
anyone to set it that low. Regards, Simon On 14/06/2011 8:29 PM, Mark Murphy wrote: On Tue, Jun 14, 2011 at 3:23 PM, Mark Murphymmur...@commonsware.com wrote: On Tue, Jun 14, 2011 at 3:16 PM, Simon Platten simonaplat...@googlemail.com wrote: In my activity I let the user change the alarm time

Re: [android-developers] Cancelling and Alarm

2011-06-14 Thread Simon Platten
Ty Mark, I'll try it! On 14/06/2011 8:37 PM, Mark Murphy wrote: On Tue, Jun 14, 2011 at 3:34 PM, Simon Platten simonaplat...@googlemail.com wrote: The application schedules wall-paper changes, originally I was using Timers, but this meant the application had to be resident all the time, now

[android-developers] Using jbcrypt in app

2011-06-13 Thread Simon
suggestions as to what else I could try? Thanks, Simon -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers

[android-developers] Re: Using jbcrypt in app

2011-06-13 Thread Simon
I have. Its within the 'private byte[] crypt_raw(byte password[], byte salt[], int log_rounds)' method, within the for loop where key(password) and key(salt) are being called. It never gets past this loop. Simon On Jun 13, 3:06 pm, Mark Murphy mmur...@commonsware.com wrote: Have you set

[android-developers] Services and Alarm Manager

2011-06-13 Thread Simon Platten
I finally got my application to continue after a reboot, however if I use a task manager to kill the application the scheduled alarms also appear to stop. I have scheduled a repeating alarm in the alarm manager and this goes off at regular intervals, after a reboot the alarm is set-up again and

Re: [android-developers] Services and Alarm Manager

2011-06-13 Thread Simon Platten
Ty, makes sense I guess, but then how does the alarm clock keep its scheduled alarms? I'm sure that no alarm clock is running or at least it does appear to be... Regards,Sy On 13 Jun 2011 21:58, Mark Murphy mmur...@commonsware.com wrote: On Mon, Jun 13, 2011 at 4:52 PM, Simon Platten simonaplat

[android-developers] Re: Using jbcrypt in app

2011-06-13 Thread Simon
is causing the issue. Thanks, SImon On Jun 13, 3:24 pm, Mark Murphy mmur...@commonsware.com wrote: On Mon, Jun 13, 2011 at 3:10 PM, Simon simon.wilkin...@gmail.com wrote: I have.  Its within the 'private byte[] crypt_raw(byte password[], byte salt[], int log_rounds)' method, within the for loop

Re: [android-developers] Services and Alarm Manager

2011-06-13 Thread Simon Platten
, Mark Murphy mmur...@commonsware.com wrote: On Mon, Jun 13, 2011 at 5:21 PM, Simon Platten simonaplat...@googlemail.com wrote: Ty, makes sen... Correct. A user can only task-kill or force-stop you when your code is actively running. That's what you did to your own app, and it nuked the scheduled

Re: [android-developers] Services and Alarm Manager

2011-06-13 Thread Simon Platten
My alarm clock just went off 6:30 am, no sign of any process left running after I dissmiss it, yet tomorrow it will go off again, thats what I want to achieve. Regards,Sy On 14 Jun 2011 06:17, Simon Platten simonaplat...@googlemail.com wrote: Ok, so how do you schedule an alarm in the same way

[android-developers] Waking up after reboot

2011-06-12 Thread Simon Platten
Hi, I've managed to find out why my application wasn't restarting correctly after a boot up and it was an uninitialised array that is normally set-up by the main activity when the application starts. The question now ishow do I get the main application activity? The reason it isn't so

Re: [android-developers] Waking up after reboot

2011-06-12 Thread Simon Platten
to the application resources from the library / onreceiver method. Thank you, Simon On 12/06/2011 11:14 AM, Kostya Vasilyev wrote: Really depends on what kind of array it is and where it originaly comes from (a constant in the code, or from a file). It sounds like you already have correct

Re: [android-developers] Waking up after reboot

2011-06-12 Thread Simon Platten
the array from the SQLLite database, the name of the category appropriate to the applicaiton will be stored with the application preferences. Regards, Simon On 12/06/2011 11:36 AM, Kostya Vasilyev wrote: Well, you can define a placeholder resource in the library (so its code can reference

Re: [android-developers] Re: How can I know when the home button has been pressed?

2011-06-11 Thread Simon Jackson
But he probly needs to make a political irritation screen for the department of grope safety. With a casino link. -- 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

[android-developers] RECEIVE_BOOT_COMPLETED problem

2011-06-11 Thread Simon Platten
, sender); Toast.makeText(context, Wall-paper: + Long.toString(lngInterval), Toast.LENGTH_SHORT).show(); } } The toast near the end does come up after a reboot and the interval I've set is 5 seconds, so it displays 5000 milliseconds. Thanks for any help... Simon -- You

Re: [android-developers] RECEIVE_BOOT_COMPLETED problem

2011-06-11 Thread Simon Platten
(); wpService.sendWakefulWork( context ); } Although it is getting into the onReceive every 5 seconds, it is not performing the service...this is the same code that is scheduled when running normally and it works then but not after a reboot. Thank you, Simon On 11/06/2011 9:23 PM, Mark

Re: [android-developers] RECEIVE_BOOT_COMPLETED problem

2011-06-11 Thread Simon Platten
Sorry, Yes the onReceive is certainly being called, which I discovered after adding the Toast, but the call: wpService.sendWakefulWork( context ) Doesn't appear to be working after a reboot... On 11/06/2011 9:38 PM, Mark Murphy wrote: On Sat, Jun 11, 2011 at 4:33 PM, Simon Platten

Re: [android-developers] RECEIVE_BOOT_COMPLETED problem

2011-06-11 Thread Simon Platten
Hi Mark, I just tried to send you a reply in: cw-andr...@googlegroups.com mailto:cw-andr...@googlegroups.com But I'm not sure if the group is correct, I got an email back telling me I may not have the right to post. Regards, Simon On 11/06/2011 9:52 PM, Mark Murphy wrote: On Sat, Jun 11

Re: [android-developers] RECEIVE_BOOT_COMPLETED problem

2011-06-11 Thread Simon Platten
Ty, done! On 11/06/2011 10:12 PM, Mark Murphy wrote: On Sat, Jun 11, 2011 at 5:07 PM, Simon Platten simonaplat...@googlemail.com wrote: I just tried to send you a reply in: cw-andr...@googlegroups.com But I'm not sure if the group is correct, I got an email back telling me I may not have

Re: [android-developers] Delete a variable

2011-06-09 Thread Simon Platten
Java may not garbage collect until resources are low and it knows that an object is no longer in use. Make sure that you assign your object to null or ensure it goes out of scope then java wilĺ treat it as no longer referenced. Regards,Sy On 9 Jun 2011 04:11, TreKing treking...@gmail.com wrote:

Re: [android-developers] Re: text color

2011-06-08 Thread Simon Platten
Select the textview, then click on the properties tab, scroll down to text coloryou have to create a colors.xml file in your resources and put all your color definitions in it. Regards,Sy On 8 Jun 2011 18:07, James Ots james...@gmail.com wrote: What part of colour setting are you having

Re: [android-developers] Loading Bitmaps in native heap

2011-06-08 Thread Simon Platten
Java doesnt support pointers or direct access to memory which is why native routines exist...why dont you open the files as streams and only render what is require for the view orrescale the image? Regards,Sy On 8 Jun 2011 18:21, Erik R ejwrobert...@gmail.com wrote: I'm working on a simple

Re: [android-developers] Great Problem

2011-06-08 Thread Simon Platten
Add try and catch clauses to your methods that should help you locate the problem. Regards,Sy On 8 Jun 2011 15:49, Diogo Salaberri caxix...@gmail.com wrote: hi guys, I need a help please. I got this error on my app: 06-08 14:42:33.584: ERROR/AndroidRuntime(269): java.lang.RuntimeException:

[android-developers] Alarm Manager

2011-06-07 Thread Simon Platten
. Is there any way to make the alarm persist even through a shutdown of the device? Thank you, Simon -- 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] Alarm Manager

2011-06-07 Thread Simon Platten
Thank you Mark, Works like a charm :) On Tue, Jun 7, 2011 at 8:26 PM, Mark Murphy mmur...@commonsware.com wrote: On Tue, Jun 7, 2011 at 3:23 PM, Simon Platten simonaplat...@googlemail.com wrote: Thanks to pointers from Mark Murphy I now have an applicaiton than schedules alarms and works

[android-developers] Alarm Manager...spoke to soon

2011-06-07 Thread Simon Platten
, settings.m_intScaling, settings.m_intRotation, settings.m_lngInterval); Toast.makeText(context, Wall-paper onBootReceiver, Toast.LENGTH_SHORT).show(); } } Thank you, Simon -- You received this message

Re: [android-developers] Alarm Manager...spoke to soon

2011-06-07 Thread Simon Platten
Internally that routine installs the alarm, I will post the code tomorrow...on mobile now... Regards,Sy On 7 Jun 2011 22:27, Mark Murphy mmur...@commonsware.com wrote: You are not setting an alarm. You are calling startService(). On Tue, Jun 7, 2011 at 4:48 PM, Simon Platten simonaplat

[android-developers] Repeating alarm service

2011-06-05 Thread Simon Platten
the exception is raised, but I cannot view it, the debug session stops before I have time to analysis the problem, is there something I can do to pause the state of the system so I can debug it? Thank you, Simon -- You received this message because you are subscribed to the Google Groups Android

Re: [android-developers] Repeating alarm service

2011-06-05 Thread Simon Platten
is called, this allows the onRecieve to return almost instantly and so far, since doing this I haven't had any problems. Thank you, Simon On 05/06/2011 1:37 PM, Kostya Vasilyev wrote: Use the logcat to see the stack trace. You might want to run it in a command line window to see it more

Re: [android-developers] Repeating alarm service

2011-06-05 Thread Simon Platten
Thanks Mark, I have that sample application from a previous query, I'll take another look. Regards, Simon On 05/06/2011 2:38 PM, Mark Murphy wrote: On Sun, Jun 5, 2011 at 9:27 AM, Simon Platten simonaplat...@googlemail.com wrote: I think I may have fixed it, I looked around for some

[android-developers] CWAC Demo

2011-06-05 Thread Simon Platten
android:smallScreens=true android:resizeable=false android:anyDensity=true/ /manifest [/code] Thank you, Simon -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email

Re: [android-developers] CWAC Demo

2011-06-05 Thread Simon Platten
Thank you so much, that was it! Regards, Simon On Sun, Jun 5, 2011 at 7:41 PM, Kostya Vasilyev kmans...@gmail.com wrote: The offending line is this: public myService(String name) { super(name); setIntentRedelivery(true); } Android instantiates components

[android-developers] Re: A tricky but simple solution for who requires modal dialog

2011-06-03 Thread Simon Jackson
Any droid developer would consider an activity, with a check for the modal activity in the app being displayed, and so switch to it, and finish. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to

Re: [android-developers] Is there any way to run small bits of code from a console to check simple results?

2011-06-01 Thread Simon Platten
Why not use the toast method to display data? Regards,Sy On 1 Jun 2011 23:45, Spooky spooky1...@gmail.com wrote: Ok, maybe that didn't make sense What I'm looking for, *IF* it exists for Android/Java, is some way to open up, say, a console, load the code, and check the value returned by

[android-developers] Market sales stuck again

2011-05-31 Thread Simon Platten
This is happening to frequently and there doesn't seem to be anything that I can do about it. Several of my sales have failed to charge and are over 24 hours. Why is this happening? Thank you, Simon -- You received this message because you are subscribed to the Google Groups Android

[android-developers] Preferences class help needed

2011-05-30 Thread Simon
Hello again, I'm having problems getting my preferences activity to start a new activity when a region is selected by the user. the call comes from a submenu: public boolean onOptionsItemSelected(MenuItem item){ pob = new Prefs();// public Prefs pob; in field vars

Re: [android-developers] Re: Purchases stuck again in Google Checkout

2011-05-24 Thread Simon Platten
Over 48 hrs now and still not charged...do they still get the app? Regards,Sy On 24 May 2011 16:15, niko20 nikolatesl...@yahoo.com wrote: Same here, many sales that don't Clear until way late the next day On May 23, 5:24 pm, Zsolt Vasvari zvasv...@gmail.com wrote: Locking - Lucky On May

[android-developers] Market not charging...

2011-05-23 Thread Simon Platten
This has happen twice now and I've no idea whyon two occasions a sale has shown in My Sales with both Charge and Post showing as grey for over 24 hours, normally after 24 hours the sale is either cancelled or has been confirmed and shows green. Whats happening? Thank you, Simon -- You

[android-developers] Alarm and onReceive in library?

2011-05-22 Thread Simon Platten
? At the moment its a child of the application. Thank you, Simon -- 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

Re: [android-developers] Alarm and onReceive in library?

2011-05-22 Thread Simon Platten
whats going wrong. Kumar Bibek http://techdroid.kbeanie.com http://www.kbeanie.com On Sun, May 22, 2011 at 2:15 PM, Simon Platten simonaplat...@googlemail.com wrote: I have created an Android library which has a layout in it and several classes, one of which is an activity. In my

Re: [android-developers] Alarm and onReceive in library?

2011-05-22 Thread Simon Platten
, May 22, 2011 at 9:54 AM, Simon Platten simonaplat...@googlemail.com wrote: Thanks for the response, I've just taken a look at the LogCat whilst running in debug, unfortunately they're is nothing being shown there at all. On Sun, May 22, 2011 at 9:48 AM, Kumar Bibek coomar@gmail.com wrote

Re: [android-developers] Alarm and onReceive in library?

2011-05-22 Thread Simon Platten
http://www.kbeanie.com On Sun, May 22, 2011 at 2:28 PM, Simon Platten simonaplat...@googlemail.com wrote: Just a thought, could it be the receiver statement in the XML manifest? It currently reads: receiver android:process=:remote android:name=myReciever/ myReciever is actually a class

Re: [android-developers] Alarm and onReceive in library?

2011-05-22 Thread Simon Platten
...@gmail.com wrote: On Sun, May 22, 2011 at 5:58 PM, Simon Platten simonaplat...@googlemail.com wrote: Just a thought, could it be the receiver statement in the XML manifest? It currently reads: receiver android:process=:remote android:name=myReciever/ myReciever is actually a class in my

Re: [android-developers] Alarm and onReceive in library?

2011-05-22 Thread Simon Platten
, Simon On Sun, May 22, 2011 at 11:56 AM, Mark Murphy mmur...@commonsware.comwrote: Step #1: Get rid of android:process=:remote. Step #2: Double-check your LogCat. If AlarmManager (or anything) tries to broadcast an Intent that cannot be resolved, a message is logged (at warning level, IIRC

[android-developers] Layouts in Jars?

2011-05-21 Thread Simon Platten
that Jar file but do not have they're own layout in the local project? My application activity would be derived from the base class activity in my Jar file. Thank you for any help.. Kind Regards, Simon Platten -- You received this message because you are subscribed to the Google Groups Android

Re: [android-developers] Layouts in Jars?

2011-05-21 Thread Simon Platten
Thank you, I'll take a look On 21/05/2011 7:23 PM, Mark Murphy wrote: On Sat, May 21, 2011 at 2:13 PM, Simon Platten simonaplat...@googlemail.com wrote: I have several applications that are very similiar in framework, but different in content. I would like to standardise these applications

[android-developers] Re: Problem when coming back to activity after changing font in Galaxy S

2011-05-19 Thread Simon Jackson
how about to singleton something static Activity me; oncreate() if(me==null) me = this docreate else me.focus finish(); or such Cheers Jacko -- 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] Re: How to close all activities on android app

2011-05-19 Thread Simon Jackson
make a parent Activity class to derive all your app classes from, and have a static Activity head, and a private Activity linkField. Then a static void closeListOfActivity() method This also allows next activity in class jump functionality. Well it would if the instance would stay unkilled.

[android-developers] AlarmManager problem

2011-05-17 Thread Simon Platten
-scheduling itself after a number of runs and I have no idea why, if I go into the application and kick it off again it resumes without fault. What am I missing? Thank you, Simon -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group

Re: [android-developers] AlarmManager problem

2011-05-17 Thread Simon Platten
Sorry, I have a class that extends BroadcastReceiver, this class has a method called: startService The first time I kick off the alarm I call this directly from my activity, then for successive calls, it is called from the onReceive method. Thank you, Simon On 17/05/2011 6:49 PM, Mark

Re: [android-developers] AlarmManager problem

2011-05-17 Thread Simon Platten
Thank you, I will take a look. Regards, Simon On 17/05/2011 7:12 PM, Mark Murphy wrote: You need to acquire your WakeLock before calling startService(), then release the WakeLock in the service itself. You can see this in the WakefulIntentService pattern: https://github.com/commonsguy/cwac

[android-developers] Deleting Contact leaves (Unknown) entry in Contacts app

2011-05-06 Thread Simon MacDonald
to be replaced by one called (Unknown). Does anyone know why this is the case and if there is anything I can do so that the contact is deleted cleanly and I don't seen (Unknown) in the contact app anymore? Thanks... Simon Mac Donald http://hi.im/simonmacdonald -- You received this message because you

[android-developers] Android: Get Recently used Apps

2011-04-27 Thread Simon
application you've executed is '+task.id +' and the PID is '+task.toString()+'; But it didnt work out well. I think im on the right track with ActivityManager to track the latest app. Thank you! And ye i only need to get enough information so i can run/start them later. //Simon -- You received

Re: [android-developers] Re: Wallpaper size

2011-04-25 Thread Simon Platten
android:smallScreens=true android:anyDensity=true / |On 25/04/2011 2:46 AM, Dianne Hackborn wrote: Have you made sure you are not running in screen density compatibility mode? On Sun, Apr 24, 2011 at 11:05 AM, Simon Platten simonaplat...@googlemail.com mailto:simonaplat

[android-developers] Wallpaper size

2011-04-24 Thread Simon Platten
the image: m_intFinalWidth = (int)((float)m_intImgWidth * m_fltSFbyHeight); m_intFinalHeight = (int)((float)m_intImgHeight * m_fltSFbyHeight); Thank you, Simon -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group

[android-developers] Re: Wallpaper size

2011-04-24 Thread Simon Platten
When using the code on Android 1.6 platforms, the bitmaps are re-sized as aspected, however when used on Android 2.1 its as if the function to rescale has no effect what so ever, the wallpapers always come out the wrong size. On Sun, Apr 24, 2011 at 9:12 AM, Simon Platten simonaplat

[android-developers] Re: Wallpaper size

2011-04-24 Thread Simon Platten
, false); On 24/04/2011 6:34 PM, Simon Platten wrote: When using the code on Android 1.6 platforms, the bitmaps are re-sized as aspected, however when used on Android 2.1 its as if the function to rescale has no effect what so ever, the wallpapers always come out the wrong size

[android-developers] Re: Wallpaper size

2011-04-24 Thread Simon Platten
and scaled in the middle of it. Thank you. On Sun, Apr 24, 2011 at 6:39 PM, Simon Platten simonaplat...@googlemail.com wrote: Sorry, I should have included the code to resize, once I calculate the new width and height I call: return Bitmap.createScaledBitmap(m_bmpImage

[android-developers] Check if device is online or offline

2011-04-21 Thread Simon
would like to store an event that indicates there is data to send once the device is online again. But I can't seem to find in the API how to query for the current online/offline status of the device. Is there something like this available? Thanks, Simon -- You received this message because

[android-developers] Re: Running camera in background

2011-04-07 Thread Simon-Lennert Raesch
I have tried several IP Webcam Applications but they all stop updating the frames as soon as you leave the app (i.e. the app still running in the background, webserver still responsive, etc) So it either isn't possible or only on some devices, as they say in the description it was, but with my

[android-developers] Bluetooth file push folder

2011-02-22 Thread Simon Macneall
Hi, Our app needs to scan the bluetooth inbox/folder looking for a particular type of file. Is there a way to find the bluetooth folder location? On the Galaxy it's /mnt/sdcard/bluetooth, and on the Desire it seems to be /mnt/sdcard/downloads/bluetooth. Thanks Simon -- You received

[android-developers] Receive Bluetooth Push

2011-02-15 Thread Simon Macneall
= adapter.listenUsingRfcommWithServiceRecord(appName, appUuid); socket = serverSocket.accept(); Anyone got any suggestions on what I'm missing? I'm testing on a GalaxyS. Cheers Simon -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android

[android-developers] Re: api used for connecting to the exchange sever on android

2011-02-03 Thread Simon
There is Java API for Exchange server with Android support: http://www.independentsoft.de On Dec 28 2010, 8:40 am, kampy narasimha1...@gmail.com wrote: hi i found an email app on the emulator by which we can synchronize our mail andexchangeaccounts to the mobile . can anyone help me that

[android-developers] Locking and SQLIte

2011-01-19 Thread Simon Dean
. Or I've heard about synchronized but I really don't have any experience with this and Im looking for some good (android related) theory about what it is, how it works, why you do it, and how you do it? Thanks Simon -- You received this message because you are subscribed to the Google Groups Android

[android-developers] Re: Locking and SQLIte

2011-01-19 Thread Simon Dean
) Is synchronized a good way to get over this problem? And do you have any links to real world examples? I've had a quick Google but Im coming up with blanks. Thanks Simon On Jan 19, 9:52 pm, DanH danhi...@ieee.org wrote: http://www.sqlite.org/lockingv3.html On Jan 19, 8:00 am, Simon  Dean sjd

[android-developers] Re: unable to set gps geo fix

2011-01-13 Thread Simon Haines
Yes I also have tried setting the emulator location via 'geo fix' with the same result: emulator crash. Sorry I can't be of further help. On Dec 14 2010, 1:00 pm, doles sachin.d...@gmail.com wrote: Hello Folks, Has anyone else tried setting location in the emulator at all? When I try to set

[android-developers] (Unknown) contact showing up after a modify

2011-01-12 Thread Simon MacDonald
there is a new contact called (Unknown) that shows up after I do a modify. I can insert as many contacts as I want but every modify creates a new (Unknown) contact. Anyone have any ideas? Simon Mac Donald http://hi.im/simonmacdonald -- You received this message because you are subscribed

[android-developers] Re: (Unknown) contact showing up after a modify

2011-01-12 Thread Simon MacDonald
Sorry all, there was a newInsert() as part of the larger function that was causing this problem. Simon Mac Donald http://hi.im/simonmacdonald On Wed, Jan 12, 2011 at 5:28 PM, Simon MacDonald simon.macdon...@gmail.com wrote: Hi all, I have a weird issue on an Android 2.2 device.  I have

[android-developers] New mobile number | Neue Handynummer

2011-01-04 Thread Simon Broenner
Hi everyone, As of today, I've got a new mobile number: +49 176 39160894 Home number: +49 241 53808454 Kind regards, Simon - Hallo in die Runde, Ab heute habe ich eine neue Handynummer: +49 176 39160894 Festnetz: +49 241 53808454 Gruß, Simon -- You

Re: [android-developers] 3D Figures in Android

2010-12-18 Thread Simon Platten
Search for min3D excellent java class library with examples for OpenGL ES. Check out My MRU (Motion Reference Unit) Created using it. Regards,Sy On 18 Dec 2010 20:56, harishsyndrome harishsyndr...@gmail.com wrote: Hello All Am a android new bie, but am good in java. My immediate requirement is

[android-developers] Access to MapView and MapActivity source codes?

2010-12-15 Thread Simon
Hi folks, I am trying to implement my version of MapView that does not rely on Google Map services, but instead uses offline maps. I think the best way to start off will be to refer to the Mapview and MapActivity codes to have a rough idea of how I can get started, especially with the

[android-developers] Re: Access to MapView and MapActivity source codes?

2010-12-15 Thread Simon
: On Tue, Dec 14, 2010 at 11:40 PM, Simon simon...@gmail.com wrote: May I know if their source codes are available for public? They're not. --- -- TreKing http://sites.google.com/site/rezmobileapps/treking

[android-developers] Getting System Colours

2010-11-17 Thread Simon Dean
I've seen references on how to SET system colours, but I need to find out how you GET them - how do you find out what they are? On the Samsung Galaxy S for example, the Tab views, the ListView highlights, Menu Items and Summary line on the Preference Screen are all blue. There are many apps

[android-developers] French character encoding issues

2010-11-08 Thread Simon MacDonald
/FileUtils( 485): Default decoded: hockey,march�,football* I get the same issue if I change the locale of my phone to French (Canada) as well. It doesn't seem like French characters are getting encoded properly. Any thoughts? Simon Mac Donald http://hi.im/simonmacdonald -- You received this message

[android-developers] Query audio and video codecs

2010-10-21 Thread Simon MacDonald
Hi all, This may be a very dumb question but is there anyway to determine programatically through the API the data that is in the table: http://developer.android.com/guide/appendix/media-formats.html Thanks... Simon Mac Donald http://hi.im/simonmacdonald -- You received this message because

[android-developers] Re: OpenGL lockups in 2.2

2010-10-13 Thread Simon
I have the same f** problem on my HTC Desire 2.2 . Everytime i start it on my device it crashs at the beginning. On my emulator 2.2 it works fine. Set an glFinish() on the end of the OnDrawFrame don't work. Any new information about the bug ? Im not so hard in these scene. On 2 Okt., 23:42,

Re: [android-developers] Can't Find R.java

2010-10-05 Thread Simon Platten
Hi, R.java is generated by the IDE. Regards, Simon On Tue, Oct 5, 2010 at 3:51 PM, adel zalok adel.zalok...@gmail.com wrote: Hello, I wanted to use the ApiDemos in the SDK samples but I have a problem in finding the R.java file, I don't know why is it missing ?? Thanks in advance

Re: [android-developers] ImageView slow when using SetImageResource and MediaPlayer

2010-10-05 Thread Simon Platten
Hi, Why don't you play your audio in one thread and play your animation in another thread? The way you have it now, its single synchronous process. Regards, Simon On Tue, Oct 5, 2010 at 3:50 PM, ArcDroid jacobrjohn...@gmail.com wrote: Hello, I am trying to play a sound and also show a new

[android-developers] Evaluating javascript URLs in WebView fails at first attempt

2010-09-24 Thread Simon Haines
. All other subsequent loads evaluate the javascript just fine. This is consistently repeatable whenever I launch my application for the first time. Has anyone else encountered this issue, or am I the first one hitting it? I'm testing on a Nexus One with Android 2.2. Thanks, Simon. -- You received

Re: [android-developers] Re: Is anyone's active install % dropping like a rock lately?

2010-08-31 Thread Simon Platten
As google take a percentage of every sale surely its in there interest to get this right? Kind regards, Sy On 31 Aug 2010 09:01, Tomáš Hubálek tom.huba...@gmail.com wrote: Hello, I believe that this is some systemic issue with Android Market. Look at average deltas of my two apps. Both dropped

Re: [android-developers] What is the proper way to close an activity/application?

2010-08-30 Thread Simon Platten
Call finish() but if you launch any other threads make sure you set flags so they can exit cleanly. Kind regards, Sy On 30 Aug 2010 23:38, Dianne Hackborn hack...@android.com wrote: On Mon, Aug 30, 2010 at 1:53 PM, Frank Weiss fewe...@gmail.com wrote: That tab does not mean what you think

[android-developers] Re: Background apps (Instant Messaging) being killed without user notification

2010-08-12 Thread Simon Broenner
. using Settings-Applications-Running Services ) b) what did you mean with 2.x -API ?     I use notify nd cancel normally. Thanks a lot !    Frank On 23 Jun., 19:17, Kostya Vasilyev kmans...@gmail.com wrote: Simon, Android 2.x framework has an important change in this area, trying

[android-developers] Are Android apps developed with the NDK slower than their counterparts on other OS's?

2010-07-06 Thread Simon Broenner
Hello developers! I've been wondering lately, about the sad situation of media playback on Android - namely: Video that isn't supported in hardware and/ or natively supported by Android OS. Coming from Windows Mobile devices, I was suprised (and frankly, dismayed) to see that things like simple

<    1   2   3   4   >