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

Re: [android-developers] Listview notification?

2011-07-02 Thread Simon Platten
can see that the image in the listview is rotating, however when the row goes out of view the rotation is ignored. I don't 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 wrote: > On Sat, Jul 2, 2

Re: [android-developers] Listview notification?

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

Re: [android-developers] Listview notification?

2011-07-02 Thread Simon Platten
e when it goes out of view. On 02/07/2011 2:20 PM, Mark Murphy wrote: On Sat, Jul 2, 2011 at 9:07 AM, Simon Platten wrote: I have a listview which has an ImageView in each item and a couple of buttons. The buttons allow the user to rotate the image clockwise and counter clockwise by 90 degr

[android-developers] Listview notification?

2011-07-02 Thread Simon Platten
I have a listview which has an ImageView in each item and a couple of buttons. The buttons allow the user to rotate the image clockwise and counter clockwise by 90 degrees on each press. This works find and the ImageView is rotated, however if I scroll the item off view, when I scroll it back int

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

2011-06-29 Thread Simon Platten
ublicDirectory(java.lang.String) Regards On Jun 30, 5:45 am, Simon Platten 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 are subscribed

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

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

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 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 the applic

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 wrote: According to the Android lin

Re: [android-developers] TabHost and TabWidget ?

2011-06-20 Thread Simon Platten
, or, install 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 > wrote: > > I am trying to create a layout using the TabHost and

[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: http://schemas.android.com/apk/res/android"; android:id="@android:id/tabhost" android:layout_

Re: [android-developers] Setting text colour programmatically

2011-06-19 Thread Simon Platten
Thanks for the reply, actually after reading your response I realised what the problem was, I was passing the resource ID, not the colour. I fixed it by: tvImagesTitle.setTextColor( getResources().getColor(R.color.blue) ); On Sun, Jun 19, 2011 at 4:18 PM, Fred Niggle wrote: > Hello Si

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

[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+unsubscr...@goog

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 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 I'm using the Alarm

Re: [android-developers] Cancelling and Alarm

2011-06-14 Thread Simon Platten
n't expect 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 Murphy wrote: On Tue, Jun 14, 2011 at 3:16 PM, Simon Platten wrote: In my activity I let the user change the alarm time interval, this is then applied to th

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

2011-06-14 Thread Simon Platten
cursor.moveToNext()) { > ... 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 > >> I ha

[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 wrote: > Then you're stuck with what you

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

[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 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 ANR force-close. --

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" wrote: Ok, so how do you schedule an alarm in the same way the alarm cloc

Re: [android-developers] Services and Alarm Manager

2011-06-13 Thread Simon Platten
, "Mark Murphy" wrote: On Mon, Jun 13, 2011 at 5:21 PM, Simon Platten 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 alarms. One imagines that if

[android-developers] Re: Using jbcrypt in app

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

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" wrote: On Mon, Jun 13, 2011 at 4:52 PM, Simon Platten wrote:

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

[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 wrote: > Have you set breakpoints

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

Re: [android-developers] Waking up after reboot

2011-06-12 Thread Simon Platten
load 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 referen

Re: [android-developers] Waking up after reboot

2011-06-12 Thread Simon Platten
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
activitiy will be 1) constructed 2) initialized with onCreate 3) go on doing its thing, interacting with the user. Until then, no. -- Kostya 2011/6/12 Simon Platten <mailto:simonaplat...@googlemail.com>> During testing, I have shutdown all processes including the application

Re: [android-developers] Waking up after reboot

2011-06-12 Thread Simon Platten
method. -- Kostya 2011/6/12 Simon Platten <mailto:simonaplat...@googlemail.com>> 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 t

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

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 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 the right to post. You

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

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
GTH_SHORT).show(); 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/

[android-developers] RECEIVE_BOOT_COMPLETED problem

2011-06-11 Thread Simon Platten
ngInterval, 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 a

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 u

Re: [android-developers] Delete a variable

2011-06-08 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" wrote: On Wed, Jun 8, 20

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" 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: Unable to start act

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" wrote: I'm working on a simple image manipulation ap

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" wrote: What part of colour setting are you having difficulty with? Ja

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" wrote: You are not setting an alarm. You are calling startService(). On Tue, Jun 7, 2011 at 4:48 PM, Simon Platten wrote: > Hi, > >

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

2011-06-07 Thread Simon Platten
settings.m_intNextImg, settings.m_intScaling, settings.m_intRotation, settings.m_lngInterval); Toast.makeText(context, "Wall-paper onBootReceiver", Toast.LENGTH_SHO

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 wrote: > On Tue, Jun 7, 2011 at 3:23 PM, Simon Platten > wrote: > > Thanks to pointers from "Mark Murphy" I now have an applicaiton than > > schedules alarms and works even when th

[android-developers] Alarm Manager

2011-06-07 Thread Simon Platten
alarm. 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 u

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 wrote: > The offending line is this: > > public myService(String name) { > super(name); > setIntentRedelivery(true); > } > > Android instantia

[android-developers] CWAC Demo

2011-06-05 Thread Simon Platten
t;; package="com.myPackage" android:versionName="1.1" android:versionCode="1"> [/code] Thank you, Simon -- You received this message

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 wrote: I think I may have fixed it, I looked around for some information on BroadcastRec

Re: [android-developers] Repeating alarm service

2011-06-05 Thread Simon Platten
n the onRecieve 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 w

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

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

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" 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 some line in the cod

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

[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" wrote: Same here, many sales that don't "Clear" until way late the next day On May 23, 5:24 pm, Zsolt Vasvari wrote: > Locking -> Lucky > > On May 24, 6:... > > > I've had this happe

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

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

2011-05-22 Thread Simon Platten
gards, Simon On Sun, May 22, 2011 at 11:56 AM, Mark Murphy wrote: > 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 l

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

2011-05-22 Thread Simon Platten
I've also tried (In the project manifest): Where the packageReference is the actual package library package name, but this hasn't solved it either. On Sun, May 22, 2011 at 10:34 AM, Nikolay Elenkov wrote: > On Sun, May 22, 2011 at 5:58 PM, Simon Platten > wrote: > >

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

2011-05-22 Thread Simon Platten
This is how its declared in the project manifest: On Sun, May 22, 2011 at 10:02 AM, Kumar Bibek wrote: > Have you declared the receiver in the manifest of your project? > > > Kumar Bibek > http://techdroid.kbeanie.com > http://www.kbeanie.com > > > > On Sun,

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

2011-05-22 Thread Simon Platten
Just a thought, could it be the receiver statement in the XML manifest? It currently reads: myReciever is actually a class in my library which is in a different package, I'm not sure I have to change anything to reflect this. On Sun, May 22, 2011 at 9:54 AM, Simon Platten wrote: >

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 se

[android-developers] Alarm and onReceive in library?

2011-05-22 Thread Simon Platten
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-

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 wrote: I have several applications that are very similiar in framework, but different in content. I would like to standardise these applications as much as possible.

[android-developers] Layouts in Jars?

2011-05-21 Thread Simon Platten
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 &qu

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

[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 else me. 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@goo

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

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:4

[android-developers] AlarmManager problem

2011-05-17 Thread Simon Platten
some reason the alarm stops re-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

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

2011-05-06 Thread Simon MacDonald
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 messa

[android-developers] Android: Get Recently used Apps

2011-04-27 Thread Simon
last 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

Re: [android-developers] Re: Wallpaper size

2011-04-25 Thread Simon Platten
4, 2011 at 11:05 AM, Simon Platten mailto:simonaplat...@googlemail.com>> wrote: I can get the size of the wallpaper from the wallpaper manager: m_context = app.getApplicationContext(); WallpaperManager wpMngr = WallpaperManager.getIns

[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 wrote: > Sorry, I should have included the code to resize, once I calculate the new > width and height I call: > > return Bitmap.createScaledBitma

[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
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 wrote: > On Andr

[android-developers] Wallpaper size

2011-04-24 Thread Simon Platten
en to scale 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" gro

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

2011-04-21 Thread Simon
ne, I 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 messa

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

[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
rverSocket = 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 thi

[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 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 > what is theapithat us

[android-developers] Re: Locking and SQLIte

2011-01-19 Thread Simon Dean
mand on the Activity) 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 wrote: > http://www.sqlite.org/lockingv3.html > >

[android-developers] Locking and SQLIte

2011-01-19 Thread Simon Dean
ing performed. Perhaps I should disable the service while the update is in progress. 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

[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 wrote: > Hello Folks, > > Has anyone else tried setting location in the emulator at all? When I > try to set location in the em

[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 wrote: > Hi all, > > I have a weird issue on an Android 2.2 device.  I have an existing >

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

2011-01-12 Thread Simon MacDonald
look in my Contacts app 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 -- Y

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

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" wrote: Hello All Am a android new bie, but am good in java. My immediate requirement is to draw 3D figures, li

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

2010-12-15 Thread Simon
at 11:40 PM, Simon wrote: > > May I know if their source codes are available for public? > > They're not. > > --- > -- > TreKing <http://sites.google.com/site/rezmobi

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

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

[android-developers] French character encoding issues

2010-11-08 Thread Simon MacDonald
et: *D/FileUtils( 485): UTF-8 decoded: hockey,march�,football* *D/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 tho

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

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 wrote: > Hello, > I am trying to play a sound and also show a new picture. T

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

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

2010-09-24 Thread Simon Haines
s not evaluated. 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, Simo

<    1   2   3   4   >