Affichage des articles dont le libellé est down. Afficher tous les articles
Affichage des articles dont le libellé est down. Afficher tous les articles

vendredi 7 mars 2014

[Q] looking for a power down screen with recovery options etc topic




Hello,

I have seen in some roms that there is a custom power off screen with reboot and recovery in it. I'd like to have that. Is there a mod to download somewhere???

thx!





Wifi down after flashing wrong kernel topic




Hi guys,

My wifi is completely down, for 5 days, after flashing this kernel

It is for stock ROM and I realized only too late and I was on CM11. The author made no mention of that in his post as well. What can I do to resurrect my wifi? It just says "turning wifi on" in wifi settings, and doesn't turn on.

Will a factory reset solve this? Or reverting back to stock rom? I'd rather not do these as I'll need to redo my homescreens and folders again. Please help, thanks!!!





dimanche 23 février 2014

[Q] Note 3 random powers down topic




For about a Week my note 3 started to just power down. Sometimes it happens when I deactivate the lock screen or it might happen when Im just using my phone.

I have updated it to kitkat N9005XXUENB3_N9005OXXENB1_XEO and have tried other custom roms and it still is doing the same. PLEASE any advice would be awesome!

thanks in advance.





[Q] app slow down when using sqlite database topic




I am trying to create a circular buffer using sqlite. For some reason every time I instantiate my db access class, the os start skipping frames (I am using the emulator to run my code).

02-22 20:22:03.172: I/Choreographer(860): Skipped 628 frames! The application may be doing too much work on its main thread.

I do not understand what I am doing wrong. I am calling the database class from an intentService (I assume this should not slow down the main thread at all) as follows:

Code:


private SqliteLog mSqliteLog;
mSqliteLog = new SqliteLog(context);
mSqliteLog.writelogInformation("sleepMode", "ON");


I added my code at the end of this message

Code:


/**
 * SqliteLog
 *
 *
 * Base class for sqliteLog control
 *
 *
 */
public class SqliteLog {

    // Debug log tag
    private static final String tag = "SqliteLog";

    // Version of database
    private static final int DATABASE_VERSION = 1;

    // Name of database
    private static final String DATABASE_NAME = "log";

    // Table of database
    private static final String TABLE_NAME = "log";

    public static final String ROWID_NAME = "id";
    public static final String PREFERENCE_NAME = tag + "Pref";

    public static final String COLUMN_LOGNUMBER = "logNumber";
    public static final String COLUMN_TIME = "time";
    public static final String COLUMN_FUNCTION = "function";
    public static final String COLUMN_DESCRIPTION = "description";
    public static final int TABLE_SIZE = 20;

    private static final String DATABASE_CREATE ="create table " + TABLE_NAME + " (" + ROWID_NAME + " integer primary key autoincrement, " +
                                                                                    COLUMN_LOGNUMBER + " INTEGER NOT NULL, " +
                                                                                    COLUMN_TIME + " TEXT NOT NULL, " +
                                                                                    COLUMN_FUNCTION + " TEXT NOT NULL, " +
                                                                                    COLUMN_DESCRIPTION + " TEXT NOT NULL " +
                                                                                  ");";

    //The context of the calling class;
    private Context thisContext;

    /**
    * <p>Constructor for SqliteLog
    * @param context :- Context of calling class
    *
    */
    public SqliteLog(Context context) {
        Log.d(tag,"SqliteLog constructor called");

        thisContext = context;
    }

    /**
    * writelogInformation :- Writes a row into the log table
    *
    */
    public void writelogInformation(String functionName, String descriptionInfo) {
        // Retrieve preferences
        SharedPreferences SqliteLogPref = thisContext.getSharedPreferences(PREFERENCE_NAME,  Context.MODE_PRIVATE);
        int logNumber = SqliteLogPref.getInt("logNumber", 1);

        // Open database for writing
        DatabaseHelper databaseHelper = new DatabaseHelper(thisContext);
        SQLiteDatabase sQLiteDatabase = databaseHelper.getWritableDatabase();

        // Define the column name and data
        ContentValues values = new ContentValues();
        values.put(COLUMN_LOGNUMBER, logNumber);
        values.put(COLUMN_TIME, getTime());
        values.put(COLUMN_FUNCTION, functionName);
        values.put(COLUMN_DESCRIPTION, descriptionInfo);

        // Update database
        sQLiteDatabase.update(TABLE_NAME, values, null, null);

        // Close database
        databaseHelper.close();

        // Test if next database update will need to be wrapped around
        logNumber = (logNumber % TABLE_SIZE) + 1;

        // Store preferences
        SharedPreferences.Editor editor = SqliteLogPref.edit();
        editor.putInt("logNumber", logNumber);
        editor.commit();
    }

    /**
    * clearLog :- Erase all information from table
    *
    */
    public void clearLog() {
        // Retrieve preferences
        SharedPreferences SqliteLogPref = thisContext.getSharedPreferences(PREFERENCE_NAME, 0);

        // Store preferences
        SharedPreferences.Editor editor = SqliteLogPref.edit();
        editor.putInt("logNumber", 1);
        editor.commit();

        // Delete all rows
        DatabaseHelper databaseHelper = new DatabaseHelper(thisContext);
        SQLiteDatabase sQLiteDatabase = databaseHelper.getReadableDatabase();
        sQLiteDatabase.delete (TABLE_NAME, null, null);
    }

    /**
    * readlogInformation :- Read the whole table
    *
    */
    public String[] readlogInformation() {
        // Create string array of appropriate length
        String[] returnArray;

        // Retrieve preferences
        SharedPreferences SqliteLogPref = thisContext.getSharedPreferences(PREFERENCE_NAME, 0);
        int logNumber = SqliteLogPref.getInt("logNumber", 0);

        // Open database for reading
        DatabaseHelper databaseHelper = new DatabaseHelper(thisContext);

        try {
            SQLiteDatabase sQLiteDatabase = databaseHelper.getReadableDatabase();

            // Get a cursor to the correct cell
            Cursor cursor = sQLiteDatabase.query(TABLE_NAME, null, null, null, null, null, null);

            // Get number of rows in table
            int lengthOfTable = 0;

            // Move cursor to where it needs to be
            if (cursor != null) {
                lengthOfTable = cursor.getCount();

                // If count is less than max, then we have not wrapped around yet
                if(lengthOfTable < TABLE_SIZE) {
                    cursor.moveToFirst();
                }

                // Position cursor appropriately
                else {
                    cursor.moveToPosition(logNumber-1);

                }

                // Create string array of appropriate length
                returnArray = new String[lengthOfTable];

                for(int i=1; i<=lengthOfTable; i++) {

                    returnArray[i] = cursor.getString(1) + "; " + cursor.getString(2) + "; " + cursor.getString(3);
                }
            }
            else {
                Log.e(tag,"Cursor null");

                // Create string array of appropriate length
                returnArray = new String[0];
            }
        } catch(SQLiteException e) {
            Log.d(tag,"SQLiteException when using getReadableDatabase");

            // Create string array of appropriate length
            returnArray = new String[0];

        }


        // Close database
        databaseHelper.close();

        return returnArray;
    }

    /**
    * readlogInformation :- Read the whole table
    *
    */
    public String getTime() {
        // Create a new time object
        Time currentTime = new Time(Time.getCurrentTimezone());

        // Get current time
        currentTime.setToNow();

        return currentTime.toString();
    }


    /**
    * DatabaseHelper
    *
    *
    * Class to help control database
    *
    *
    */
    private static class DatabaseHelper extends SQLiteOpenHelper {
        /**
        * <p>Constructor for DatabaseHelper
        * @param context :- Context of calling class<p>
        *
        */
        DatabaseHelper(Context context) {
            super(context, DATABASE_NAME, null, DATABASE_VERSION);

            Log.d(tag,"DatabaseHelper constructor called");
        }

        /**
        * <p>onCreate
        * @param db :- Pass an sqlite object
        *
        */
        @Override
        public void onCreate(SQLiteDatabase db) {
            Log.d(tag,"onCreate called");

            // Create database
            db.execSQL(DATABASE_CREATE);

            // Insert a new row
            ContentValues values = new ContentValues();

            // Create a certain number of rows
            for(int i=1; i<=TABLE_SIZE; i++) { 
                values.clear();
                values.put(COLUMN_LOGNUMBER, i);
                values.put(COLUMN_FUNCTION, "empty");
                values.put(COLUMN_DESCRIPTION, "empty");
                db.insert(TABLE_NAME, "null", values);         
            }

            Log.d(tag,"database created");
        }

        /**
        * <p>onUpgrade
        * @param db :- Pass an sqlite object
        * @param oldVersion :- Old version of table
        * @param newVersion :- New version of table
        *
        */
        @Override
        public void onUpgrade(SQLiteDatabase db, int oldVersion, int newVersion) {
            Log.d(tag,"onUpgrade called");

            // Not used, but you could upgrade the database with ALTER
            // Scripts
        }
    }
}


I have been trying to figure this out for a while now. I would appreciate any insight, Amish





mercredi 19 février 2014

[Q] HELP Google Play Services Down topic




Attachment 2588377 I went to go sign in to the Play Store and it gave me this message. I cant access any of my contacts because I tried signing out and signing back in and I cant sign in. Thanks will be given.








Attached Thumbnails


Click image for larger version<br/><br/>Name:	uploadfromtaptalk1392811212051.jpg<br/>Views:	N/A<br/>Size:	51.6 KB<br/>ID:	2588377
 
















mercredi 12 février 2014

Re: Top down Python topic




I've realised that the best way to do this is to use a web browser for
the graphical front end: high end graphics are simply not a necessity
here, so one does not need to leave the confines of the browser. Thus
we need a simple server script.

I'm still minimalist, so I guess we want xmlrpc and a python server,
with a bit of javascript in the browser to sort out the drawing end.
This now seems way simpler than trying to play with Gtk or Qt.

Basically the lesson is to use a web browser engine as a graphics engine
unless you have performance issues. Hopefully in future html rendering
engines will not be so strongly coupled to browsers, or even to the html
format itself, but will be a general purpose user graphics engine (an
ncurses for bitmapped displays).

Can anybody suggest the quickest way to learn the bits of xmlrpc (in
python) that I need to do this. Once it's working, I'll stick a source
code download on my website. There will be only one version released:
the one that works properly. Thus there is no need to github this.

All the best,

def my_sig():
print("--")
print(signame(['n','o','h',uppercase('j')]).written_backwards)

On 12/02/2014 07:05, John Allsup wrote:
> What is needed for proper learning is near-absolute simplicity.
> Even one toy too many to play with is an intolerable distraction,
> but one too few massively hampers learning and induces boredom.
>
> I want to be able to say:
> 1. Put a nice picture on the background.
> 2. Put a terminal window with, say, 64x20 lines, dead centre.
> 3. Run a simple REPL program written in Python or Ruby within it.
> I do not really want to write any more lines of code than I need to.
> Why do we not have langauges and libraries that can do the above
> with only five lines of code (line 0 == setup, line 4 == cleanup).
>
> Programming should be that efficient if we learn to make things
> beautiful and not tolerate wastes of lines and characters, on
> a global scale as well as locally to our projects.
>
> Consider
> ====
> #!/usr/bin/env python3
>
> from myappfw import app
> from myapp1 import repl
> app.background = "Moutains1"
> t = app.terminal.open(title="Typing commands One Oh One",position="centre",
> width="80%",height="72%",rows="20",columns="64")
> exit(t.run(repl))
> ====
>
> What Python would I need to write, as concise but readable as
> practically possible, so that the above program works as desired (for
> any repl that obeys the basic input-process-output behaviour of a repl)?
>
> This is top-down design done right IMO (as described in Thinking Forth,
> by the way).







jeudi 30 janvier 2014

Update center down? topic




Is the LG update center down? I just returned to stock and I want the LTE update being pushed out by my carrier (Three UK) but I keep getting an error.

"Could not connect to update-server. Please check network connection and try again"

Even though I have data connection. WiFi is giving me the same error as well





Sent from my LG-D802 using XDA Premium 4 mobile app





mercredi 29 janvier 2014

Cracked screen by setting it face down on the desk topic




I just looked at my phone a few minutes ago and saw that the bottom part of my screen had one crack going from left to right. It's below the soft keys, so it's not a big deal unless it spreads, which it probably will with any drop at all. It was fine this morning. I must have set it face down on the desk and something hard and small was between the desk and my phone because there is a pen-head sized spot right along the crack. Just sucks to see after all this time of not dropping it, it cracks when I set it down on something.

Any advice? Where can I get the cheapest replacement screen? Should I just sell it and buy another? Wait for a new phone that's coming out soon?

Thanks





Case Show Down topic




As the title states, which case would you choose and why out of the three of them. Looking at the slim armor but want opinions from others who have any of them.

- Spigen Slim Armor White

http://www.amazon.com/SPIGEN-Infinit...im+armor+lg+g2




- Otterbox Commuter White

http://www.amazon.com/OtterBox-Commu...otterbox+lg+g2



- Incipio DualPro White

http://www.amazon.com/Incipio-DualPr...io+lg+g2+white





[Q] Rooting and Installing Cyanogenmod 11 Cut my internal memory down to only 4GB topic




I'm not sure really, but I thought that the amount of memory was originally 16GB, after rooting and installing cyanogenmod11 I only have a 4.65GB
and 1.5GB left as I also have a backup installed.

Why has this happened?





mardi 28 janvier 2014

[Q] xperia t shuts down when on 3g without power topic




Hi guys,

Yesterday i was working in pretty warm weather, and my phone shuts down and started to reboot. But it coudnt and started to get in a bootloop. Now back home i plugged my phone in the power socket and it works fine, and when i turn my internet off it works too without power. I completely teinstalled my phone Yesterday But that didnt seem to do the trick. You guys got any ideas? Please let me know!

Cheers,





samedi 25 janvier 2014

[Q] Help! Screen flickering and blue stripe down side topic




Well my 3 year old was using my xoom tablet as his Nextbook tablet is being sent out to be repaired(so this is the second one he has broken!). I believe he has dropped it and now we are getting a screen that is flickering and is showing a blue stripe down the left side. The screen pulls up and I am able to swipe around but its very touchie. Not responsive at times. I did a hard reboot(vol up + power) and no luck. I also reset the whole tablet. I've also plugged in the tablet to the tv via hdmi and it works fine using a bluetooth key board. So my question is will replacing the screen make this tablet fully functional again. I don't believe the software has any issues. Thoughts?
thanks for any help!!!!





[TIP] [HOW TO TURN SOUND DOWN] in bootanimation topic




Hi guys...

Many if us are using new bootanimation from D6503 and as we all know, there's a music/sound in it.

Some of you asked how to turn that sound down or even turn it off.

You have two options to do that.

1. Disable sound permanently
* Open bootanimation.zip in winzip, winrar or 7zip.
* Delete file bootanim.mp3

2. Turn the music down (it'll be louder or quieter
* Open settings
* Go to "sound"
* Go to "volumes"
* Set the middle slider to level you wish ;)
(you could turn it off also, so it won't be heard on next reboot)





Sent from my C6903 using Tapatalk