Update UK G1 not showing paid apps STAY ON TOPIC

by Justin Allen Jaynes » Fri, 06 Mar 2009 05:19:39 GMT


Sponsored Links
 This is a DEVELPER forum.  Please keep to DEVELOPMENT topic.  A quote 
from the description of the forum:
    This is the not the right place to discuss user issues (use 
android-discuss for that).






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



Other Threads

1. Can't find file with OpenFile

Hi,
I've a problem with method openFileOutput(), I can't find the file or
the directory where the file is stored..the code is:
import java.io.BufferedWriter;
import java.io.FileNotFoundException;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.OutputStreamWriter;
import java.io.PrintWriter;

import android.app.Activity;
import android.app.AlertDialog;
import android.content.Context;
import android.os.Bundle;
import java.io.*;
import java.net.*;
import java.util.NoSuchElementException;
import java.util.Scanner;

public class C extends Activity {
    /** Called when the activity is first created. */
        private PrintWriter savedpoint;

    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.main);
        try{

        savedpoint = new PrintWriter(openFileOutput
("Data.dat",MODE_APPEND));


        for(int i=0;i<20;i++)
        {
                savedpoint.println(-78.443221+"i"+" "+120.344423+"i");

        }

        }catch (FileNotFoundException e) {
                        e.printStackTrace();
                }
    }
}

and the manifest is:

<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
      package="prova.client"
      android:versionCode="1"
      android:versionName="1.0">
    <application android:icon="@drawable/icon" android:label="@string/
app_name">
        <activity android:name=".C"
                  android:label="@string/app_name">
            <intent-filter>
                <action android:name="android.intent.action.MAIN" />
                <category
android:name="android.intent.category.LAUNCHER" />
            </intent-filter>
        </activity>
    </application>
    <uses-sdk android:minSdkVersion="3" />
</manifest>

Any idea?where can I find the directory where is stored the file?
thanks
--~--~---------~--~----~------------~-------~--~----~

2. Spent 3 weeks building 'Launcher'(Home) application. Please help. T_T

Hi. Thank you for the fast reply.

build the Android source tree from where I got Launcher's source ?

I assume that can't be done in Windows, correct? according to this
message from http://source.android.com/download

:

"To build the Android source files, you will need to use Linux or Mac
OS. Building under Windows is not currently supported."



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

3. Spent 3 weeks building 'Launcher'(Home) application. Please help. T_T

4. Spent 3 weeks building 'Launcher'(Home) application. Please help. T_T

5. Sqlite problem, urgent request!

6. how to disable Android Keyboard (by default)

7. MediaScannerConnection cant connect!