iPhone to get BT tethering, will we get it on the G1?

by Muthu Ramadoss » Fri, 13 Mar 2009 15:21:27 GMT


Sponsored Links
 Isn't there an bluetooth tethering app on android market?





 http://www.boygeniusreport.com/2009/03/12/apple-iphone-30-os-event-march-17th-we-got-some-info/ 

Now when can we expect this on the G1? For me it's an absolute block on
the G1 becoming my primary phone.

Al.

--

* Written an Android App? - List it at  http://andappstore.com/  *

======
Funky Android Limited is registered in England & Wales with the
company number  6741909. The registered head office is Kemp House,
152-160 City Road, London,  EC1V 2NX, UK.

The views expressed in this email are those of the author and not
necessarily those of Funky Android Limited, it's associates, or it's
subsidiaries.



--~--~---------~--~----~------------~-------~--~----~



iPhone to get BT tethering, will we get it on the G1?

by Al Sutton » Fri, 13 Mar 2009 15:29:45 GMT


 There's  http://androidactivity.com/ but it needs to be run on a rooted  
'phone.

I'd rather stick with the stock T-Mob firmware to ensure I get the same 
experience as any other T-Mob user, and to make sure that I can get 
copy-protected apps if Google decide to up their copy-protection 
protection measures and lock out rooted G1s as well as ADP1s.

Al.






-- 

* Written an Android App? - List it at  http://andappstore.com/  *

======
Funky Android Limited is registered in England & Wales with the 
company number  6741909. The registered head office is Kemp House, 
152-160 City Road, London,  EC1V 2NX, UK. 

The views expressed in this email are those of the author and not 
necessarily those of Funky Android Limited, it's associates, or it's 
subsidiaries.


--~--~---------~--~----~------------~-------~--~----~


Sponsored Links


Other Threads

1. How to use my own sqlite database, LOG.E show the java.lang.Error: Error copying database message.

I have a sqlite database, and i put this file  in "assets" folder. The
code like below, Pls help and tell what's wrong in this code, How to
use my own sqlite database.

public class DataBaseHelper extends SQLiteOpenHelper {
        private static String DB_PATH = "/data/data/com.SGMalls/databases/";

        private static String DB_NAME = "mallMapv2.sqlite";

        private SQLiteDatabase myDataBase;

        private final Context myContext;

        public DataBaseHelper(Context context) {

                super(context, DB_NAME, null, 1);
                this.myContext = context;
        }

        public void createDataBase() throws IOException {
                  File dbDir = new File(DB_PATH);
                if (!dbDir.exists()) {
                    dbDir.mkdir();
                }
                boolean dbExist = checkDataBase();

                if (dbExist) {

                } else {
                        this.getReadableDatabase();

                        try {
                                copyDataBase();
                        } catch (IOException e) {

                                throw new Error("Error copying database");

                        }
                }
                close();
        }

        private boolean checkDataBase() {

                SQLiteDatabase checkDB = null;
         boolean isnull=false;
                try {
                        String myPath = DB_PATH + DB_NAME;
                        checkDB = SQLiteDatabase.openDatabase(myPath, null,
                                        SQLiteDatabase.OPEN_READONLY);

                } catch (SQLiteException e) {

                        // database does't exist yet.

                }

                if (checkDB != null) {
           isnull=true;
                        checkDB.close();

                }

                return isnull;
        }

        private void copyDataBase() throws IOException {
                InputStream myInput = myContext.getAssets().open(DB_NAME);

                String outFileName = DB_PATH + DB_NAME;

                OutputStream myOutput = new FileOutputStream(outFileName);

                byte[] buffer = new byte[1024];
                int length;
                while ((length = myInput.read(buffer)) > 0) {
                        myOutput.write(buffer, 0, length);
                }

                // Close the streams
                myOutput.flush();
                myOutput.close();
                myInput.close();

        }

        public void openDataBase() throws SQLException {

                // Open the database
                String myPath = DB_PATH + DB_NAME;
                myDataBase = SQLiteDatabase.openDatabase(myPath, null,
                                SQLiteDatabase.OPEN_READONLY);

        }

        @Override
        public synchronized void close() {

                if (myDataBase != null)
                        myDataBase.close();

                super.close();

        }

        @Override
        public void onCreate(SQLiteDatabase db) {

        }

        @Override
        public void onUpgrade(SQLiteDatabase db, int oldVersion, int
newVersion) {

        }

}
public class GetData {
        private static String DB_PATH = "/data/data/com.SGMalls/databases/
mallMapv2.sqlite";

        // private static String DB_NAME = "mallMapv2.sqlite";
        public static ArrayList<Mall> getMalls() {
                ArrayList<Mall> mallsList = new ArrayList<Mall>();
                SQLiteDatabase malldatabase = 
SQLiteDatabase.openDatabase(DB_PATH,
                                null, SQLiteDatabase.OPEN_READONLY);
                 String queryString="select id,title from malls order by title";
                 Cursor cursor=malldatabase.rawQuery(queryString, null);
                  if(cursor!=null){
                           cursor.moveToFirst();
                           while(!cursor.isLast()){
                                   Mall mall=new Mall();
                                  mall.setMallid(cursor.getInt(0));
                                   mall.setMallname(cursor.getString(0));
                                   mallsList.add(mall);
                                   cursor.moveToNext();
                           }
                   }
                  malldatabase.close();
                return mallsList;
        }
}

The error message:


ERROR/Database(725): sqlite3_open_v2("/data/data/com.SGMalls/databases/
mallMapv2.sqlite", &handle, 1, NULL) failed
03-15 22:34:11.747: ERROR/AndroidRuntime(725): Uncaught handler:
thread main exiting due to uncaught exception
03-15 22:34:11.766: ERROR/AndroidRuntime(725): java.lang.Error: Error
copying database

Thanks very much

-- 

2. Activity non-responsive after calling and finishing another Activity

Hallo all,

I have a game with an Activity that holds my menu, where at some point
you can click a 'Start Game' button which launches the GamePlay
Activity. After the GamePlay activity finishes the menu screen pops-up
again, which is exactly what I want. The problem is that now the
Activity doesnt respond to my input anymore, and gives the Android non-
responsive message.
If it helps I can post the relevant code here but it is pretty
straight forward, and the same as described in the FAQ. I use
startActivityForResult to start my GamePlay Activity, and after
finishing this activity the results are passed into onActivityResult
the way it should.
Everything is as I want it to be, the only problem is my menu Activity
not responding anymore.

Hopefully someone can help me out with this problem,
Thanks in advance!

Peter

-- 

3. Java Script Engine in Nexus One

4. want to send mail and get back result?

5. Scale control

6. Enabling code for earlier OS versions under the 2.1 SDK?

7. OnPause() - how to resume to an activity which has a Bundle passed to it when it is created