I couldn't get that one to work so I'm trying something else.
Here's where the button is pressed:
btnMP.setOnClickListener(new Button.OnClickListener() {
public void onClick(View v) {
memNum = memNum +
txt is declared inside your if (hasChanged) { scope. Then you use it
after the corresponding }.
Yusuf Saib
Android
·T· · ·Mobile· stick together
The views, opinions and statements in this email are those of the
author solely in their individual capacity, and do not necessarily
represent those
Can you explain more about what you are trying to do?
On Fri, Aug 14, 2009 at 6:09 AM, RustedApple kim00...@gmail.com wrote:
I am trying to understand what data is saved when I change the phone's
orientation.
For instance, I have a couple guys walking around and when I flip the
orientation,
Thank you Jack,
It works.
On Aug 11, 5:16 pm, Jack Ha jack...@t-mobile.com wrote:
Context.openFileOutput() opens a private file associated with this
Context's application package for writing and the name of the file to
open can not contain path separators.
Try this:
try {
Context.openFileOutput() opens a private file associated with this
Context's application package for writing and the name of the file to
open can not contain path separators.
Try this:
try {
File root = Environment.getExternalStorageDirectory();
if
You need to get an instance of the SharedPreferences.Editor and carry
out all your operations on it.
Try this.
SharedPreferences.Editor editor = getPreferences(MODE_PRIVATE).edit();
editor.putString( DrinkName , chai);
editor.commit();
SharedPreferences prefs = getPreferences(MODE_PRIVATE);
I changed my code to :
FileOutputStream fos = new FileOutputStream(filepath + / +
filename);
This allowed me to save the image, I loaded the device using DDMS and
noticed the image had been saved. I've tried using the
MediaScannerConnection to refresh the sd card so that I can view the
image, I
Search for SharedPreferences class.
http://code.google.com/android/reference/android/content/SharedPreferences.html
Cheers.
On Dec 31 2008, 4:53 am, Neelima neelima.neelu...@gmail.com wrote:
Hi..
Is it possible to store application specific data in android phone.
Please help if anyone
8 matches
Mail list logo