Re: [android-developers] Invoke Download APK from my Application

2010-09-20 Thread Jim Blackler
*Intent intent = new Intent(android.intent.action.VIEW, Uri.parse(
http://www.myDomain.com/myApp_01.apk;));
startActivity(intent);*

Jim

On 20 September 2010 09:19, Markus rookee1...@googlemail.com wrote:

 Hello!

 I developed a simple Application.. So I want to implement a automatic
 update. If anybody starts the app, they start a request to a
 webservice where a new file path is found or not if the app is up to
 date.

 But if not I want to start the download (http://www.myDomain.com/
 myApp_01.apk) but I have no idea how?
 I think I must invoke an Intent... or something else.

 Can anybody help me?

 Regards Markus

 --
 You received this message because you are subscribed to the Google
 Groups Android Developers group.
 To post to this group, send email to android-developers@googlegroups.com
 To unsubscribe from this group, send email to
 android-developers+unsubscr...@googlegroups.comandroid-developers%2bunsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] Re: Invoke Download APK from my Application

2010-09-20 Thread Jim Blackler
You're fighting against the way Android Intents work. The idea is that apps
can register to handle certain types of content, this is what the user has
chosen so it is best to not interfere with that process.

In practice, an out-of-the-box handset will always send http links to the
browser app, which will recognise the .apk extension and treat them as apps.
The user will still need to enable non-Market downloads, but the OS will
take them to the screen to do that so it is reasonably pain-free.

Jim

On 20 September 2010 10:25, Markus rookee1...@googlemail.com wrote:

 But with this invoke I redirect to any Application on the Device that
 could use this URL or? This could not only be the Downloadmanager...
 Is there a way to download this file only by the download manager?

 Regards Markus

 --
 You received this message because you are subscribed to the Google
 Groups Android Developers group.
 To post to this group, send email to android-developers@googlegroups.com
 To unsubscribe from this group, send email to
 android-developers+unsubscr...@googlegroups.comandroid-developers%2bunsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en


-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] Facebook chat application

2010-07-27 Thread Jim Blackler
Does an exception fire, and if so could you paste it here?

On 27 July 2010 13:59, kostaspap kostaspa...@gmail.com wrote:

 Hello all,

 I am trying to create a facebook chat android app based on the
 information here:
 http://davanum.wordpress.com/2008/12/29/updated-xmpp-client-for-android/
 [the source code can be downloaded right after the screenshots]

 The app and code works just fine when I try to login to the gmail xmpp
 instant messaging server.
 However I cant get myself to login to the facebook chat server.

 I used this:
 http://www.facebook.com/help/?faq=16739
 in my configuration so:

 facebook chat server: chat.facebook.com
 port: 5222
 service: chat.facebook.com I'm not entirely sure about this so I have
 tried without the service parameter:
 ConnectionConfiguration connConfig =
 new ConnectionConfiguration(host, Integer.parseInt(port));
 username: I have tried both:
 my fb username
 and my fb username@chat.facebook.com
 password: my fb password

 I have noticed the request for no ssl so just in case I added to the
 code:
 connConfig.setSASLAuthenticationEnabled(false);


 Any help or any pointer to a working facebook example would be
 appreciated.

 Thank you very much

 --
 You received this message because you are subscribed to the Google
 Groups Android Developers group.
 To post to this group, send email to android-developers@googlegroups.com
 To unsubscribe from this group, send email to
 android-developers+unsubscr...@googlegroups.comandroid-developers%2bunsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] Problem installing your own developed app

2010-05-11 Thread Jim Blackler
A signed and an unsigned version of your app are seen as different
applications by the device. You have to uninstall one before you can install
the other.

Jim

On 11 May 2010 09:18, nep0x nespap...@yahoo.es wrote:

 Hi all!

 I m trying to understand the different ways you can install your app
 on your device. It's clear for me that we have to use the .apk file
 and the command adb install packagename. One of my question is which
 is the difference between an unsigned app and a signed one?
 Other doubt is related with eclipse commands. When you run your app
 into a real device, are you installing it?and when you are debugging?i
 would like to clear these concepts:

 1.- run your app with eclipse plugin is the same that execute the
 command adb install package name
 2.- Which the difference between debug and run an app if the result is
 the same: install it on your device

 I have been developing an app and i have used the command run the
 app into a real device many times to see the results and i have had
 no problem but now i finished the app i want the .apk file and install
 it through the command adb but i get the next error:

 C:\adb install C:\myapp\ConexionWebcam.apk
 775 KB/s (12400 bytes in 0.015s)
 scandir: Permission denied
 cannot create /sys/module/yaffs/parameters/yaffs_auto_checkpoint:
 permission den
 ied
 Can't dispatch DDM chunk 46454154: no handler defined
 Can't dispatch DDM chunk 4d505251: no handler defined
pkg: /data/local/tmp/ConexionWebcam.apk
 Failure [INSTALL_PARSE_FAILED_NO_CERTIFICATES]

 Please help me because i have no idea what the meaning of this
 errors.

 Thank you in advanced

 Néstor

 --
 You received this message because you are subscribed to the Google
 Groups Android Developers group.
 To post to this group, send email to android-developers@googlegroups.com
 To unsubscribe from this group, send email to
 android-developers+unsubscr...@googlegroups.comandroid-developers%2bunsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] Application not installed on Hero

2010-03-26 Thread Jim Blackler
Run adb logcat, attempt to install the app and examine the log carefully.
I'd wager the error is in there somewhere.

Jim

On 26 March 2010 09:23, John Edwards mobilesen...@googlemail.com wrote:


 Our app installs fine on phones running v1.5 and has been sucessfully
 installed on G1's and Nexus, however for some reason when we try and
 istall the app on a HTC Hero we see error

 Application not installed, XX could not be installed on this
 phone

 has anyone else had any issue running apps on the Hero, even though it
 runs 1.5 ? Any thoughts would be appreciated

 --
 You received this message because you are subscribed to the Google
 Groups Android Developers group.
 To post to this group, send email to android-developers@googlegroups.com
 To unsubscribe from this group, send email to
 android-developers+unsubscr...@googlegroups.comandroid-developers%2bunsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en

 To unsubscribe from this group, send email to android-developers+
 unsubscribegooglegroups.com or reply to this email with the words REMOVE
 ME as the subject.


-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

To unsubscribe from this group, send email to 
android-developers+unsubscribegooglegroups.com or reply to this email with the 
words REMOVE ME as the subject.


Re: [android-developers] Re: Application Crashing OutOfMemory .Restructuring Help Needed

2010-03-23 Thread Jim Blackler
 i need to show a List of around 8000 to 1 elements at the same time on
the UI

OK that's mad. How can the user reasonably navigate that many entries in a
single list? Search and pagination are your friends here.

Jim

On 23 March 2010 10:17, Alok Kulkarni kulsu...@gmail.com wrote:

 Hi,
 Thanks for your responses..
 Actually i found out  that i was checking the PSS section and not the USS
 section. So the UI size is not 10 mb , but its still 8 mb. :( I think there
 might be something going really wrong in the app.There is one case where i
 restart the App .In this case i have a single Activity in my app and i start
 the same activity from this activity.So i believe there is some memory leak
 present there..
 Regarding inflating the views from the XML , yes i have around 15 XML
 layout files.
 But i believe tht when i do a setContentView() over a previous
 setContentView() the previous screen is automatically GC'd..
 The structure is that within one Activity i do setContentView of different
 layouts  depending upon current Screen(Using Enums for different
 screens)according to user response.
 Problem with storing in database is that i need to show a List of around
 8000 to 1 elements at the same time on the UI.If i keep things in DB
 only then it will take a lot of time loading the Screen which is not
 acceptable.
 So any suggestions regarding
 1) how i can check for memory leaks of incorrect layout usage
 2)how to optimise logic for showing around 1 elements at the same time
 (I see that android takes care of inflating for the list item as per
 scrolling on the list )
 Thanks,
 Alok.

 On Tue, Mar 23, 2010 at 3:59 AM, Yahel kaye...@gmail.com wrote:

 I have to agree with Jim.

 The 16mb(24 on some devices) enforcement is there for a reason.

 Beside you might run into weird behavior, since if an app is not
 showing it can be murdered dead and simple to release memory. This
 leads to a scenario where your server could be killed leaving your
 main app in a not too stable state.

 Would you mind sharing with us how you achieve a layout that weight 10
 mb ?
 Maybe we can find a way to lighten it.

 Good luck

 Yahel

 --
 You received this message because you are subscribed to the Google
 Groups Android Developers group.
 To post to this group, send email to android-developers@googlegroups.com
 To unsubscribe from this group, send email to
 android-developers+unsubscr...@googlegroups.comandroid-developers%2bunsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en

 To unsubscribe from this group, send email to android-developers+
 unsubscribegooglegroups.com or reply to this email with the words REMOVE
 ME as the subject.


  --
 You received this message because you are subscribed to the Google
 Groups Android Developers group.
 To post to this group, send email to android-developers@googlegroups.com
 To unsubscribe from this group, send email to
 android-developers+unsubscr...@googlegroups.comandroid-developers%2bunsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en

 To unsubscribe from this group, send email to android-developers+
 unsubscribegooglegroups.com or reply to this email with the words REMOVE
 ME as the subject.


-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

To unsubscribe from this group, send email to 
android-developers+unsubscribegooglegroups.com or reply to this email with the 
words REMOVE ME as the subject.


Re: [android-developers] Re: Device Seeding Program for Top Android Market Developers

2010-03-22 Thread Jim Blackler
Tattoo runs Sense on 1.6, so they have converted it.

Jim

On 22 March 2010 13:50, Justin Giles jtgi...@gmail.com wrote:

 Sense UI conversion I believe.  2.0 came out a month after these phones
 did, so they started migrating towards 2.0, then 2.1 came out...the old snow
 ball effect I suppose.  Supposed to get 2.1 sometime in April according to
 rumors.


 On Mon, Mar 22, 2010 at 7:47 AM, Blake La Pierre 
 blakelapie...@gmail.comwrote:

 Why didn't they get 1.6 like the G1?

 On Mon, Mar 22, 2010 at 9:45 AM, Justin Giles jtgi...@gmail.com wrote:

 HTC Hero on Sprint, HTC Eris on Verizon to name a few.

 2010/3/22 Blake La Pierre blakelapie...@gmail.com

 What phone only has 1.5?

 2010/3/22 Justin Giles jtgi...@gmail.com

  Android adventurers log:
 Date: 2010-03-22

 Day 20,

 It's been 20 days since I got stranded on this thread.  I sent a
 distress signal to Google right after I found this thread and have only
 received one response from them: Help will arrive in 2-4 weeks.

 I'm not sure how much longer I can survive out here in this forum.
  Rations are running low.  v1.5 can barely get me through the day now.  At
 night, I hear noises.  I think the iPhone trolls have found my location.  
 I
 hear their spotty service and dropped calls as I sleep.  My only hope is 
 for
 the Droid or Nexus to get here soon.  Maybe with their Android 2.1 I can 
 use
 the improved Maps app to get me out of this thread.

 Must hold on a few more days



 2010/3/22 Lucky-dog honglian...@gmail.com

 I'm still waiting(HK).

 On 3月22日, 下午8时39分, Matt (preinvent) m...@preinvent.com wrote:
  I'm still waiting (US).  I'm updating my info here:
 http://blog.preinvent.com/free_droid_or_nexus_one

 --
 You received this message because you are subscribed to the Google
 Groups Android Developers group.
 To post to this group, send email to
 android-developers@googlegroups.com
 To unsubscribe from this group, send email to
 android-developers+unsubscr...@googlegroups.comandroid-developers%2bunsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en

 To unsubscribe from this group, send email to android-developers+
 unsubscribegooglegroups.com or reply to this email with the words
 REMOVE ME as the subject.


  --
 You received this message because you are subscribed to the Google
 Groups Android Developers group.
 To post to this group, send email to
 android-developers@googlegroups.com
 To unsubscribe from this group, send email to
 android-developers+unsubscr...@googlegroups.comandroid-developers%2bunsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en

 To unsubscribe from this group, send email to android-developers+
 unsubscribegooglegroups.com or reply to this email with the words
 REMOVE ME as the subject.


  --
 You received this message because you are subscribed to the Google
 Groups Android Developers group.
 To post to this group, send email to
 android-developers@googlegroups.com
 To unsubscribe from this group, send email to
 android-developers+unsubscr...@googlegroups.comandroid-developers%2bunsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en

 To unsubscribe from this group, send email to android-developers+
 unsubscribegooglegroups.com or reply to this email with the words
 REMOVE ME as the subject.


  --
 You received this message because you are subscribed to the Google
 Groups Android Developers group.
 To post to this group, send email to android-developers@googlegroups.com
 To unsubscribe from this group, send email to
 android-developers+unsubscr...@googlegroups.comandroid-developers%2bunsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en

 To unsubscribe from this group, send email to android-developers+
 unsubscribegooglegroups.com or reply to this email with the words
 REMOVE ME as the subject.


  --
 You received this message because you are subscribed to the Google
 Groups Android Developers group.
 To post to this group, send email to android-developers@googlegroups.com
 To unsubscribe from this group, send email to
 android-developers+unsubscr...@googlegroups.comandroid-developers%2bunsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en

 To unsubscribe from this group, send email to android-developers+
 unsubscribegooglegroups.com or reply to this email with the words REMOVE
 ME as the subject.


  --
 You received this message because you are subscribed to the Google
 Groups Android Developers group.
 To post to this group, send email to android-developers@googlegroups.com
 To unsubscribe from this group, send email to
 android-developers+unsubscr...@googlegroups.comandroid-developers%2bunsubscr...@googlegroups.com
 For more options, visit this 

Re: [android-developers] Problem with sqlite database

2010-03-22 Thread Jim Blackler
This doesn't look familiar to me. It could be an issue peculiar to the
particular emulator or device you are using to test 1.6.

I'd advice using the debugger to step right down into SQLiteOpenHelper to
see what the full path it is trying to use for the db. Then I'd use the file
browser on ddms to see if that path exists.

Jim

On 22 March 2010 12:26, mudit mudit.a...@gmail.com wrote:

 hi all

 i am developing an application which uses sqlite db for storing
 records. I am developing this application on SDK 1.5.. when i test the
 application on 1.5 device it works good but when i try to run it on a
 1.6 device i get a force close message with following logcat output:

 03-19 09:31:35.206: ERROR/AndroidRuntime(224): Uncaught handler:
 thread main exiting due to uncaught exception

 03-19 09:31:35.226: ERROR/AndroidRuntime(224):
 java.lang.RuntimeException: Unable to start activity
 ComponentInfo{com.abc.android/com.abc.android.app}:
 android.database.sqlite.SQLiteException: unable to open database file

 03-19 09:31:35.226: ERROR/AndroidRuntime(224): at
 android.app.ActivityThread.performLaunchActivity(ActivityThread.java:
 2454)

 03-19 09:31:35.226: ERROR/AndroidRuntime(224): at
 android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:
 2470)

 03-19 09:31:35.226: ERROR/AndroidRuntime(224): at
 android.app.ActivityThread.access$2200(ActivityThread.java:119)

 03-19 09:31:35.226: ERROR/AndroidRuntime(224): at
 android.app.ActivityThread$H.handleMessage(ActivityThread.java:1821)

 03-19 09:31:35.226: ERROR/AndroidRuntime(224): at
 android.os.Handler.dispatchMessage(Handler.java:99)

 03-19 09:31:35.226: ERROR/AndroidRuntime(224): at
 android.os.Looper.loop(Looper.java:123)

 03-19 09:31:35.226: ERROR/AndroidRuntime(224): at
 android.app.ActivityThread.main(ActivityThread.java:4310)

 03-19 09:31:35.226: ERROR/AndroidRuntime(224): at
 java.lang.reflect.Method.invokeNative(Native Method)

 03-19 09:31:35.226: ERROR/AndroidRuntime(224): at
 java.lang.reflect.Method.invoke(Method.java:521) 03-19 09:31:35.226:
 ERROR/AndroidRuntime(224): at com.android.internal.os.ZygoteInit
 $MethodAndArgsCaller.run(ZygoteInit.java:860)

 03-19 09:31:35.226: ERROR/AndroidRuntime(224): at
 com.android.internal.os.ZygoteInit.main(ZygoteInit.java:618)

 03-19 09:31:35.226: ERROR/AndroidRuntime(224): at
 dalvik.system.NativeStart.main(Native Method)

 03-19 09:31:35.226: ERROR/AndroidRuntime(224): Caused by:
 android.database.sqlite.SQLiteException: unable to open database file

 03-19 09:31:35.226: ERROR/AndroidRuntime(224): at
 android.database.sqlite.SQLiteDatabase.dbopen(Native Method)

 03-19 09:31:35.226: ERROR/AndroidRuntime(224): at
 android.database.sqlite.SQLiteDatabase.(SQLiteDatabase.java:1697)

 03-19 09:31:35.226: ERROR/AndroidRuntime(224): at
 android.database.sqlite.SQLiteDatabase.openDatabase(SQLiteDatabase.java:
 738)

 03-19 09:31:35.226: ERROR/AndroidRuntime(224): at

 android.database.sqlite.SQLiteDatabase.openOrCreateDatabase(SQLiteDatabase.java:
 760)

 03-19 09:31:35.226: ERROR/AndroidRuntime(224): at

 android.database.sqlite.SQLiteDatabase.openOrCreateDatabase(SQLiteDatabase.java:
 753)

 03-19 09:31:35.226: ERROR/AndroidRuntime(224): at

 android.app.ApplicationContext.openOrCreateDatabase(ApplicationContext.java:
 473)

 03-19 09:31:35.226: ERROR/AndroidRuntime(224): at
 android.content.ContextWrapper.openOrCreateDatabase(ContextWrapper.java:
 193)

 03-19 09:31:35.226: ERROR/AndroidRuntime(224): at

 android.database.sqlite.SQLiteOpenHelper.getWritableDatabase(SQLiteOpenHelper.java:
 98)

 03-19 09:31:35.226: ERROR/AndroidRuntime(224): at
 com.abc.android.DbAdapter.open(DbAdapter.java:101)

 03-19 09:31:35.226: ERROR/AndroidRuntime(224): at
 com.abc.android.class1.onCreate(class1.java:105)

 03-19 09:31:35.226: ERROR/AndroidRuntime(224): at
 android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:
 1047)

 03-19 09:31:35.226: ERROR/AndroidRuntime(224): at
 android.app.ActivityThread.performLaunchActivity(ActivityThread.java:
 2417)

 03-19 09:31:35.226: ERROR/AndroidRuntime(224): ... 11 more

 DBAdapter.java

 public DbAdapter open() throws SQLException {

Log.d(DbAdapter, in DbAdapter open());

mDbHelper = new DatabaseHelper(mCtx);
mDb = mDbHelper.getWritableDatabase();// line 101
return this;
}

  DatabaseHelper(Context context) {
  super(context, DATABASE_NAME, null, DATABASE_VERSION);
  }

  @Override
  public void onCreate(SQLiteDatabase db) {
db.execSQL(DATABASE_QUERY);
  }

 class1.java

 mDB = new DbAdapter(Class1.this);
 mDB.open(); // line 105

 Please help..what do i do

 --
 You received this message because you are subscribed to the Google
 Groups Android Developers group.
 To post to this group, send email to android-developers@googlegroups.com
 To unsubscribe from this group, send email to
 android-developers+unsubscr...@googlegroups.comandroid-developers%2bunsubscr...@googlegroups.com
 For more 

Re: [android-developers] Application Crashing OutOfMemory .Restructuring Help Needed

2010-03-22 Thread Jim Blackler
 It takes 10 mb for the UI (I have a single Activity ,but many layout
files)

That sounds wrong to me. Unless you have a really, really complex UI.

 And the data which comes from the server is stored in memory arrays for
logical representation  on UI (As well as database)and it takes 6 mb of the
memory

If you have a local database you should be able to engineer your app to
fetch data using queries as required for display, rather than
loading monolithic arrays.

  have two seperate applications , one of which will fetch the data from
the server and keep it in memory as well as database and another App will be
used for showing the UI and it will do an inter Application communication to
fetch the data and display it on the UI in this App.

Whether or not this is possible, this sounds awful from a user-experience
point of view.

I'd rethink your design. In my view, given the scale constraints imposed by
an Android device (screen, input, memory) 16MB ought to be enough for
anybody.

Jim

On 22 March 2010 09:45, Alok Kulkarni kulsu...@gmail.com wrote:

 Hi guys,
 I have an application which fetches data from server and shows it in
 different lists in my application.
 I used the adb shell procrank command to find out the memory usage of my
 application
 It takes 10 mb for the UI (I have a single Activity ,but many layout
 files), And the data which comes from the server is stored in memory arrays
 for logical representation  on UI (As well as database)and it takes 6 mb of
 the memory .So  application's runtime size reaches to 16 mb and then many a
 times its crashing after that with OutOfMemoryException.
 Another major problem is that later for the next client release , the data
 comming from the server will be around 12 mb.. :( :( So i need to do a major
 restructuring in the App.I beleive that i cannot increase my App size from
 16 mb to more
 So my question here is , can i have two seperate applications , one of
 which will fetch the data from the server and keep it in memory as well as
 database and another App will be used for showing the UI and it will do an
 inter Application communication to fetch the data and display it on the UI
 in this App.
 So the 1st App wil be a backgrond App which will handle Server
 communication as well as data storage , the second App will start this 1st
 App .
 Thanks,Alok.

 --
 You received this message because you are subscribed to the Google
 Groups Android Developers group.
 To post to this group, send email to android-developers@googlegroups.com
 To unsubscribe from this group, send email to
 android-developers+unsubscr...@googlegroups.comandroid-developers%2bunsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en

 To unsubscribe from this group, send email to android-developers+
 unsubscribegooglegroups.com or reply to this email with the words REMOVE
 ME as the subject.


-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

To unsubscribe from this group, send email to 
android-developers+unsubscribegooglegroups.com or reply to this email with the 
words REMOVE ME as the subject.


Re: [android-developers] How to find out when any activity starts or get focus

2010-03-17 Thread Jim Blackler
As a general rule it is not possible to get information about, or influence
other applications on an un-rooted Android. The exception is where the
application is designed for external interaction and has prepared public
intents or broadcasts to allow this.

Jim

On 17 March 2010 11:51, Mark Murphy mmur...@commonsware.com wrote:

 Csenteri Barna wrote:
  Hi
 
  I would need to know when one activity starts or get's focus.
  I need this notification for any activity regardless of his type, name
  or whatever - not searching for one specific activity.
 
  Checked the ActivityMonitor and the Intent and I haven't found a
  generic intent for this purpose. Or I hadn't understood well the
  descriptions from the Intent ACTION_x ...
 
  Is it possible at all?

 No, sorry.

 --
 Mark Murphy (a Commons Guy)
 http://commonsware.com | http://twitter.com/commonsguy

 _Android Programming Tutorials_ Version 2.0 Available!

 --
 You received this message because you are subscribed to the Google
 Groups Android Developers group.
 To post to this group, send email to android-developers@googlegroups.com
 To unsubscribe from this group, send email to
 android-developers+unsubscr...@googlegroups.comandroid-developers%2bunsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en


-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] Accessing External Database

2010-03-17 Thread Jim Blackler
Hi Uday

Is there an existing, specific external database that you wish to access? Or
do you wish to set up a new database?

Jim

On 17 March 2010 13:32, uday kiran uday.pic...@gmail.com wrote:

 Hi folks,

 Im new bie to android.. i want to access external database from my
 android application..
 I've searched so much time in the internet but could not get exact
 idea how to implement??

 Please help me If any one is having idea on that and post if u have
 any code related to it...

 Thanks for the information in advance..


 Cheers
 Uday

 --
 You received this message because you are subscribed to the Google
 Groups Android Developers group.
 To post to this group, send email to android-developers@googlegroups.com
 To unsubscribe from this group, send email to
 android-developers+unsubscr...@googlegroups.comandroid-developers%2bunsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] Re: Accessing External Database

2010-03-17 Thread Jim Blackler
OK what can you tell us about this database. Is it on the internet? What
software is it running?

On 17 March 2010 13:54, uday kiran uday.pic...@gmail.com wrote:

 Thanks for ur quick reply jim..

 I want to access an existing database which is present on some
 server..

 Cheers
 Uday

 On Mar 17, 6:51 pm, Jim Blackler jimblack...@gmail.com wrote:
  Hi Uday
 
  Is there an existing, specific external database that you wish to access?
 Or
  do you wish to set up a new database?
 
  Jim
 
  On 17 March 2010 13:32, uday kiran uday.pic...@gmail.com wrote:
 
 
 
   Hi folks,
 
   Im new bie to android.. i want to access external database from my
   android application..
   I've searched so much time in the internet but could not get exact
   idea how to implement??
 
   Please help me If any one is having idea on that and post if u have
   any code related to it...
 
   Thanks for the information in advance..
 
   Cheers
   Uday
 
   --
   You received this message because you are subscribed to the Google
   Groups Android Developers group.
   To post to this group, send email to
 android-developers@googlegroups.com
   To unsubscribe from this group, send email to
   android-developers+unsubscr...@googlegroups.comandroid-developers%2bunsubscr...@googlegroups.com
 android-developers%2bunsubs­cr...@googlegroups.com
   For more options, visit this group at
  http://groups.google.com/group/android-developers?hl=en- Hide quoted
 text -
 
  - Show quoted text -

 --
 You received this message because you are subscribed to the Google
 Groups Android Developers group.
 To post to this group, send email to android-developers@googlegroups.com
 To unsubscribe from this group, send email to
 android-developers+unsubscr...@googlegroups.comandroid-developers%2bunsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en


-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] Re: Accessing External Database

2010-03-17 Thread Jim Blackler
Provided the database exposes an HTTP-based API, yes.

On 17 March 2010 14:09, uday kiran uday.pic...@gmail.com wrote:

 As of my knowledge in android we use HttpURLConnection to connect to
 the database in the internet..
 am i right Jim??



 On Mar 17, 7:05 pm, uday kiran uday.pic...@gmail.com wrote:
  YES..The database is present on the internet only..
  The database should be in SQLite..OS is windows..
 
  On Mar 17, 6:59 pm, Jim Blackler jimblack...@gmail.com wrote:
 
 
 
   OK what can you tell us about this database. Is it on the internet?
 What
   software is it running?
 
   On 17 March 2010 13:54, uday kiran uday.pic...@gmail.com wrote:
 
Thanks for ur quick reply jim..
 
I want to access an existing database which is present on some
server..
 
Cheers
Uday
 
On Mar 17, 6:51 pm, Jim Blackler jimblack...@gmail.com wrote:
 Hi Uday
 
 Is there an existing, specific external database that you wish to
 access?
Or
 do you wish to set up a new database?
 
 Jim
 
 On 17 March 2010 13:32, uday kiran uday.pic...@gmail.com wrote:
 
  Hi folks,
 
  Im new bie to android.. i want to access external database from
 my
  android application..
  I've searched so much time in the internet but could not get
 exact
  idea how to implement??
 
  Please help me If any one is having idea on that and post if u
 have
  any code related to it...
 
  Thanks for the information in advance..
 
  Cheers
  Uday
 
  --
  You received this message because you are subscribed to the
 Google
  Groups Android Developers group.
  To post to this group, send email to
android-developers@googlegroups.com
  To unsubscribe from this group, send email to
  android-developers+unsubscr...@googlegroups.comandroid-developers%2bunsubscr...@googlegroups.com
 android-developers%2bunsubs­­cr...@googlegroups.com
android-developers%2bunsubs­cr...@googlegroups.com
  For more options, visit this group at
 
 http://groups.google.com/group/android-developers?hl=en-Hidequoted
text -
 
 - Show quoted text -
 
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to
 android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.comandroid-developers%2bunsubscr...@googlegroups.com
 android-developers%2bunsubs­­cr...@googlegroups.com
For more options, visit this group at
   http://groups.google.com/group/android-developers?hl=en-Hide quoted
 text -
 
   - Show quoted text -- Hide quoted text -
 
  - Show quoted text -

 --
 You received this message because you are subscribed to the Google
 Groups Android Developers group.
 To post to this group, send email to android-developers@googlegroups.com
 To unsubscribe from this group, send email to
 android-developers+unsubscr...@googlegroups.comandroid-developers%2bunsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en


-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] Re: Accessing External Database

2010-03-17 Thread Jim Blackler
Hi Uday, I have to bow out here because this is too general a question for
this list really. There are a great many ways to do what you are describing.
I'd recommend getting a textbook or two on the topic.

On 17 March 2010 14:13, uday kiran uday.pic...@gmail.com wrote:

 OK... u have any example code which is used to work on this concept??


 On Mar 17, 7:11 pm, Jim Blackler jimblack...@gmail.com wrote:
  Provided the database exposes an HTTP-based API, yes.
 
  On 17 March 2010 14:09, uday kiran uday.pic...@gmail.com wrote:
 
 
 
   As of my knowledge in android we use HttpURLConnection to connect to
   the database in the internet..
   am i right Jim??
 
   On Mar 17, 7:05 pm, uday kiran uday.pic...@gmail.com wrote:
YES..The database is present on the internet only..
The database should be in SQLite..OS is windows..
 
On Mar 17, 6:59 pm, Jim Blackler jimblack...@gmail.com wrote:
 
 OK what can you tell us about this database. Is it on the internet?
   What
 software is it running?
 
 On 17 March 2010 13:54, uday kiran uday.pic...@gmail.com wrote:
 
  Thanks for ur quick reply jim..
 
  I want to access an existing database which is present on some
  server..
 
  Cheers
  Uday
 
  On Mar 17, 6:51 pm, Jim Blackler jimblack...@gmail.com wrote:
   Hi Uday
 
   Is there an existing, specific external database that you wish
 to
   access?
  Or
   do you wish to set up a new database?
 
   Jim
 
   On 17 March 2010 13:32, uday kiran uday.pic...@gmail.com
 wrote:
 
Hi folks,
 
Im new bie to android.. i want to access external database
 from
   my
android application..
I've searched so much time in the internet but could not get
   exact
idea how to implement??
 
Please help me If any one is having idea on that and post if
 u
   have
any code related to it...
 
Thanks for the information in advance..
 
Cheers
Uday
 
--
You received this message because you are subscribed to the
   Google
Groups Android Developers group.
To post to this group, send email to
  android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.comandroid-developers%2bunsubscr...@googlegroups.com
 android-developers%2bunsubs­cr...@googlegroups.com
   android-developers%2bunsubs­­cr...@googlegroups.com
  android-developers%2bunsubs­cr...@googlegroups.com
For more options, visit this group at
 
  http://groups.google.com/group/android-developers?hl=en-Hidequoted
  text -
 
   - Show quoted text -
 
  --
  You received this message because you are subscribed to the
 Google
  Groups Android Developers group.
  To post to this group, send email to
   android-developers@googlegroups.com
  To unsubscribe from this group, send email to
  android-developers+unsubscr...@googlegroups.comandroid-developers%2bunsubscr...@googlegroups.com
 android-developers%2bunsubs­cr...@googlegroups.com
   android-developers%2bunsubs­­cr...@googlegroups.com
  For more options, visit this group at
 
 http://groups.google.com/group/android-developers?hl=en-Hidequoted
   text -
 
 - Show quoted text -- Hide quoted text -
 
- Show quoted text -
 
   --
   You received this message because you are subscribed to the Google
   Groups Android Developers group.
   To post to this group, send email to
 android-developers@googlegroups.com
   To unsubscribe from this group, send email to
   android-developers+unsubscr...@googlegroups.comandroid-developers%2bunsubscr...@googlegroups.com
 android-developers%2bunsubs­cr...@googlegroups.com
   For more options, visit this group at
  http://groups.google.com/group/android-developers?hl=en- Hide quoted
 text -
 
  - Show quoted text -

 --
 You received this message because you are subscribed to the Google
 Groups Android Developers group.
 To post to this group, send email to android-developers@googlegroups.com
 To unsubscribe from this group, send email to
 android-developers+unsubscr...@googlegroups.comandroid-developers%2bunsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en


-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] Any free weather APIs for android?

2010-03-17 Thread Jim Blackler
Yahoo offer a good one I believe.

Jim

On 17 March 2010 11:32, Ankita ankita.kashyap@gmail.com wrote:

 Hello Everyone,

 I just wanted to know if there were any free weather APIs available
 for commercial use without any issue of license or open-source or etc.

 Any help is gratefully appreciated.

 Thanks and Regards,
 Ankita

 --
 You received this message because you are subscribed to the Google
 Groups Android Developers group.
 To post to this group, send email to android-developers@googlegroups.com
 To unsubscribe from this group, send email to
 android-developers+unsubscr...@googlegroups.comandroid-developers%2bunsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] Re: Need a Nexus One tester with logcat

2010-03-11 Thread Jim Blackler
The user has to press Send. This is as it should be, as they get a chance to
review the message contents first. And a record of the message in their
inbox. This is perfect for privacy concerns.

I have used this method on BBC News with some success.

Jim

On 11 March 2010 17:20, Funksta geoff.sim...@gmail.com wrote:

 This assumes that the user will follow through with the email though,
 right? Or can apps send emails without any kind of ok from the user?
 If that were the case, it would open up a world of spam apps.

 -Geoff

 On Mar 9, 9:10 pm, Farproc farp...@gmail.com wrote:
   I would have to add INTERNET permission
 
  No, you do not need this permission for just sending emails. Because
  you can starting an email app(def exists in almost every android
  phone) to send email, it is the email app who needs INTERNET not your
  app!!! This is why I prefer this to 3rd party log services!
 
  Intent intent = new Intent(Intent.ACTION_SEND);
  intent.putExtra(Intent.EXTRA_EMAIL, new String[]{your_email_address})
  .putExtra(Intent.EXTRA_SUBJECT, getString(bug report))
  .putExtra(Intent.EXTRA_TEXT,errorMessage)
  .setType(message/rfc882);
  intent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
  startActivity(intent);
 
  On Mar 10, 9:04 am, Funksta geoff.sim...@gmail.com wrote:
 
 
 
   Hi, Thanks for the great input and suggestions. Unfortuneately, the
   app does work on the emulator using a nexus one skin I got from:
 
  http://blog.mathiaslin.com/nexus-one-emulator-skin-updated
 
   I do like the idea of having a catch all error handler that sends the
   stack trace either to your email, or perhaps just a log service (I
   could implement one quickly with the GAE). Of course, I would have to
   add INTERNET permission, but users may decide against installing based
   on what looks like a suspicious permission. Though it seems like
   pretty much every app requires it, whether to support ads or to track
   analytics.
 
   I will definitely try the camera fix that @mscwd01 mentions. I suspect
   that is likely the case and the emulator is not having the same
   problems as the real device. So it's still kind of a shot in the dark
   to add the code and wait and see. So if anybody does have a stack
   trace they could share, that would still be ideal.
 
   Thanks again,
   Geoff
 
   On Mar 9, 3:24 am, mscwd01 mscw...@gmail.com wrote:
 
I think I may know why your app doesn't work on the Nexus. It's to do
with setting the preferred size of the Camera view on the Surface
View.
 
I have a similar augmented reality app and had to use a reflection to
solve the issue.
 
Take a look at the code a developer posted here:
 http://groups.google.com/group/android-developers/browse_thread/threa...
 
The good news is I have a friend who tested my app on a Nexus after
the update and it worked fine; however, I then had someone else
mention it still doesn't work - it's possible they never updated
though...
 
On Mar 9, 10:51 am, Lance Nanek lna...@gmail.com wrote:
 
 I was thinking you could test it on an Android 2.1 emulator device
 at
 least, but it force closes due to not finding a sensor. Maybe if
 you
 fixed that, just make it show a static view or something when it
 can't
 get the sensor, you could at least do a little testing there. Might
 catch the issue if it is Android 2.1 related rather than Nexus One
 related.
 
 On Mar 9, 2:15 am, Funksta geoff.sim...@gmail.com wrote:
 
  Hello,
 
  I am trying to figure out why my app forces close immediately on
 a
  nexus one (recurring comment which is dragging my rating down).
 
  Ironically, I heard a rumor that if I had just a half star more
 (up to
  3.5 from 3), I would qualify to get a free nexus one from google.
 
  If anybody has a nexus one and can connect it up to get thelogcat
  dump of the stack trace of the error, I would be very thankful.
 
  You can find my app by searching for Compass Ball on the
 market.
 
  Thanks in advance,
  Geoff- Hide quoted text -
 
- Show quoted text -- Hide quoted text -
 
  - Show quoted text -

 --
 You received this message because you are subscribed to the Google
 Groups Android Developers group.
 To post to this group, send email to android-developers@googlegroups.com
 To unsubscribe from this group, send email to
 android-developers+unsubscr...@googlegroups.comandroid-developers%2bunsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en


-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] Re: What phone to buy for development?

2010-03-11 Thread Jim Blackler
If you want to see what your app looks like with QVGA (and appears in the
Market for QVGA users) get a Tattoo. I strongly recommend developing on a
low-end phone. If it works on that, it's all a bonus thereafter. Tattoo is
currently on 1.6.

To test (relatively) low RAM, and 1.6, get a G1.

To test handsets still in the wild with 1.5, get a Hero. This will also help
you test against Sense UI (HTC proprietary extensions). There are tons of
Heros out there, and they have their own radio quirks so this is a useful
phone to have.

For the 2.*, slightly flaky radio (in my experience) and Motorola extensions
get a Droid.

For the LG extensions you could also get a GW620 but these are pretty rare.
The LG handsets also have low RAM.

For high res screens and 2.* there is of course the beautiful Nexus One.

Re. versions of course you can flash anything onto anything but there is no
substitute for the actual binaries consumers are using.

This chart is a very useful resource:

http://www.androphones.com/all-android-phones.php

Jim


On 11 March 2010 16:35, Yahel kaye...@gmail.com wrote:

 Just to add a nuance here, any phone will do but some are noticibly
 more prone to weird behaviors like the Motorola Droid for example
 which for a lot of us is a nightmare but is one of the most used in
 the US according to the statistics of Radar Now.

 So I'm not sure how to handle that, you should either just avoid it.
 Will making your app works on the Droid automagically makes it work on
 more standard devices(hero, magic) or will it break on those.

 Just like when developing for the web, if you write your code against
 IE then it will usually works on other browsers, but not the other way
 around :D

 I would think that the fact that the Droid has more constraints it
 makes you write better, no not better, more compatible code across all
 devices.

 But just wanted to let you know.

 Have fun coding.

 Yahel

 --
 You received this message because you are subscribed to the Google
 Groups Android Developers group.
 To post to this group, send email to android-developers@googlegroups.com
 To unsubscribe from this group, send email to
 android-developers+unsubscr...@googlegroups.comandroid-developers%2bunsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en


-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] Re: What phone to buy for development?

2010-03-11 Thread Jim Blackler
There might be some broken stuff but I've debugged with mine no problem.

Mind you mine is a developer unit so that could explain that.

Jim

On 11 March 2010 19:19, Dan S danstow...@gmail.com wrote:

 Well tattoo is ok but the 'dev tools app' doesn't work on it, which
 prevents you from doing certain dev work

 http://groups.google.com/group/android-developers/browse_thread/thread/9c57df28e4164737/b20202476f6b02f3

 Dan

 On Mar 11, 5:39 pm, Jim Blackler jimblack...@gmail.com wrote:
  If you want to see what your app looks like with QVGA (and appears in the
  Market for QVGA users) get a Tattoo. I strongly recommend developing on a
  low-end phone. If it works on that, it's all a bonus thereafter. Tattoo
 is
  currently on 1.6.
 
  To test (relatively) low RAM, and 1.6, get a G1.
 
  To test handsets still in the wild with 1.5, get a Hero. This will also
 help
  you test against Sense UI (HTC proprietary extensions). There are tons of
  Heros out there, and they have their own radio quirks so this is a useful
  phone to have.
 
  For the 2.*, slightly flaky radio (in my experience) and Motorola
 extensions
  get a Droid.
 
  For the LG extensions you could also get a GW620 but these are pretty
 rare.
  The LG handsets also have low RAM.
 
  For high res screens and 2.* there is of course the beautiful Nexus One.
 
  Re. versions of course you can flash anything onto anything but there is
 no
  substitute for the actual binaries consumers are using.
 
  This chart is a very useful resource:
 
  http://www.androphones.com/all-android-phones.php
 
  Jim
 
  On 11 March 2010 16:35, Yahel kaye...@gmail.com wrote:
 
   Just to add a nuance here, any phone will do but some are noticibly
   more prone to weird behaviors like the Motorola Droid for example
   which for a lot of us is a nightmare but is one of the most used in
   the US according to the statistics of Radar Now.
 
   So I'm not sure how to handle that, you should either just avoid it.
   Will making your app works on the Droid automagically makes it work on
   more standard devices(hero, magic) or will it break on those.
 
   Just like when developing for the web, if you write your code against
   IE then it will usually works on other browsers, but not the other way
   around :D
 
   I would think that the fact that the Droid has more constraints it
   makes you write better, no not better, more compatible code across all
   devices.
 
   But just wanted to let you know.
 
   Have fun coding.
 
   Yahel
 
   --
   You received this message because you are subscribed to the Google
   Groups Android Developers group.
   To post to this group, send email to
 android-developers@googlegroups.com
   To unsubscribe from this group, send email to
   android-developers+unsubscr...@googlegroups.comandroid-developers%2bunsubscr...@googlegroups.com
 android-developers%2bunsubscr...@googlegroups.comandroid-developers%252bunsubscr...@googlegroups.com
 
   For more options, visit this group at
  http://groups.google.com/group/android-developers?hl=en

 --
 You received this message because you are subscribed to the Google
 Groups Android Developers group.
 To post to this group, send email to android-developers@googlegroups.com
 To unsubscribe from this group, send email to
 android-developers+unsubscr...@googlegroups.comandroid-developers%2bunsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en


-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] Re: Semi-urgent request for testing help re. my BBC News app

2010-03-05 Thread Jim Blackler
On 5 March 2010 04:52, Maps.Huge.Info (Maps API Guru) cor...@gmail.com
 wrote:

 I certainly can feel your pain. Radar Now! (125,000 users), which is
 in your same category, just down the line a few slots, has made me
 very nervous about updating. The last update I released, about a month
 ago, seems very stable and has generated very few complaints. I'm in
 the if it ain't broke, don't fix it mode now, which kind of stinks
 as it could use some new features. When I get my new N1/Droid, I'll
 work on an update but not until then.

 -John Coryat


It would be ideal if the Market had a checkbox users could set to 'receive
Beta versions', then you could push a preview to only those users.

If users could elect to revert, stats on how many people were reverting
could be very useful too.


Jim

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

[android-developers] Semi-urgent request for testing help re. my BBC News app

2010-03-04 Thread Jim Blackler
Hi all,

I have an app in the Market, BBC News, which has really taken off much to my
delight. Unfortunately however having 175,000+ users means that when I put
out an update, any bugs with it can break thousands of user's installs even
if the bug only affects 1% of users.

At the weekend I updated BBC News with an update I'd been working on for
about two months. Previously the app downloaded and displayed the headlines
on demand which meant you always needed a working internet connection. The
update added a local database so articles were cached. Combined with
pre-caching the app seems faster and much more resilient to flaky
connections (i.e. real life connections).

That's if it worked. Shortly after the update I got a lot of email from HTC
Hero users saying the app had stopped working. I have a Hero but couldn't
recreate. I added a diagnostics-by-email feature, and sent replies to some
users with a test version. Because the app does a lot of background loading
which it needs to suddenly interrupt for users' requests, I have had to
tweak the network settings somewhat. It seems that lowering the connection
timeout to one second was fatal. It seems some phones can rarely connect in
under a second. The Hero is particularly badly affected but it is dependent
on a number of factors including local radio conditions.

Yesterday I put out an update that put the timeout back to the default. The
reports from Hero users stop abruptly. However after a few hours my inbox is
lit up with reports from Droid/Milestone users. These users report being
stuck on the loading screen, messages indicating the download queue is
stuck. This stuck queue problem is what led me to experiment with timeout
settings to begin with.

Anyway I would really appreciate it if people who have either of these
handsets (or indeed any handset) could try out an experimental version v.
2.1.10 on my website at http://jimblackler.net/NewsWidget.apk

This has a compromise 5 second timeout
(urlConnection.setConnectTimeout(5000)
.. urlConnection.setReadTimeout(5000)) and I hope that this setting works
well on Hero and Droid/Milestone.

I would really like to make my next Market push reliable and not cause
problems for my app's users.

JIm

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] Which Flavour of Linux

2009-11-05 Thread Jim Blackler
I develop with Ubuntu 8 at work and on OS X 10.5 at home. For regular
Android development they are pretty much interchangeable. I can't imagine
Windows is much different. So I wouldn't change your workstation OS solely
to make Android development easier - it's unlikely it will.

Jim

2009/11/5 André Charles Legendre andre.legen...@gmail.com

 Hi

 I use kubuntu 9.10 and it works good.
 But probably others also

 Andre


 On Thu, Nov 5, 2009 at 12:10 PM, Bytes toyvenu.t...@gmail.com wrote:

 Hello all:

 Greetings.

 During my very short time experience with Android, I found that Linux
 is most suitable environment for development compared to Windows.
 Please correct me if I'm too inexperienced.

 My question is,

 Which version of the Linux is best suitable. [Redhat/Fedora/Ubuntu..]

 Please let me know.

 Is Linux version really matters ?

 regards
 -Bytes

 --
 You received this message because you are subscribed to the Google
 Groups Android Developers group.
 To post to this group, send email to android-developers@googlegroups.com
 To unsubscribe from this group, send email to
 android-developers+unsubscr...@googlegroups.comandroid-developers%2bunsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en


  --
 You received this message because you are subscribed to the Google
 Groups Android Developers group.
 To post to this group, send email to android-developers@googlegroups.com
 To unsubscribe from this group, send email to
 android-developers+unsubscr...@googlegroups.comandroid-developers%2bunsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en


-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

[android-developers] Reading Calendar?

2009-11-05 Thread Jim Blackler
Hey Kaj

I've had to do this for my app Quick Calendar, and I've written an article
about the process here: http://jimblackler.net/blog/?p=151

-- Forwarded message --
From: Kaj Bjurman kaj.bjur...@gmail.com
Date: Aug 14, 8:01 am
Subject: Reading Calendar?
To: Android Developers


Ok. Thanks.

Do you know roughly when it will be available? In 2.0 or later?

On 14 Aug, 00:36, Justin (Google Employee) j...@google.com wrote:

 Thecalendardataprovider is not currently exposed. Your best, albeit
 not simple, bet is to use the GoogleCalendarweb API to access the
 user'scalendardata.

 Cheers,
 Justin
 Android Team @ Google

 On Aug 10, 7:43 am, Kaj Bjurman kaj.bjur...@gmail.com wrote:

  Hi,

  I think I've seen somewhere that it's still not possible to read
  GoogleCalendarentries? I tried to search the forum, but didn't find
  any relevant threads. They mostly contain questions on
  java.util.Calendar.

  Can I read entries? I understand that it might be fragile if it still
  isn't in the public API, but I don't mind updating my code when the
  API becomes public.

  (I don't need to modify or create new entries)

  Thanks
  Kaj

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en