(),
R.drawable.test);
Uri uri = getContentResolver().insert(sourceBitmap, values);
Or
First create an empty file in the directory Media.EXTERNAL_CONTENT_URI
and provide the full path of this file for the insert method.
On Aug 26, 5:58 am, Dany BREARD dany.bre...@gmail.com wrote:
I try to make
it's a path of database and not just a path !
Dany
On 27 août, 11:40, Dany BREARD dany.bre...@gmail.com wrote:
Thanks for your response.
So I try to make your code:
Bitmap sourceBitmap = BitmapFactory.decodeResource(getResources(),
R.drawable.test);
Uri uri = getContentResolver().insert
): at
android.app.ActivityThread.performLaunchActivity(ActivityThread.java:
2231)
08-26 07:49:39.154: ERROR/AndroidRuntime(779): ... 11 more
On Aug 25, 9:17 am, Dany BREARD dany.bre...@gmail.com wrote:
Hi
Why I have this error, please ? It' s the same java code than the
following url:
http
I try to make everything to fix that but its too complicated !!!
If somebody has a solution, please help me I'm sure its very
simply !!!
On Aug 26, 10:01 am, Dany BREARD dany.bre...@gmail.com wrote:
Hi
I change EXTERNAL_CONTENT_URI to INTERNAL_CONTENT_URI, and I have an
other error that I
Hi
Why I have this error, please ? It' s the same java code than the
following url:
http://developer.android.com/intl/fr/guide/topics/providers/content-providers.html
/
/
package dany.android.databasejpeg;
import
is you are calling this on an Activity or
Service before onCreate() is called.
On Fri, Aug 21, 2009 at 7:16 AM, Dany BREARD dany.bre...@gmail.com wrote:
Hi
I try to use a lot of permission to use
ContentResolver cr = getContentResolver();
but i always have an ERROR Exception
I'm so lost to choice the true name and description of wav file which
I want to add into Android database:
ContentResolver cr = getContentResolver();
try
{
// byte[] is the decoded message
byte[] decoded = Base64.decode( oClient.getMsg(0).getMsgBase64() );
ContentValues
Hi
I try to use a lot of permission to use
ContentResolver cr = getContentResolver();
but i always have an ERROR Exception: java.lang.NullPointerException
my code is just :
try {
ContentResolver cr = getContentResolver();
}
What kind of permission I have to implement into
AndroidManifest.xml ???
here my sample xml:
*** AndroidManifest.xml
**
uses-permission
android:name=android.permission.INTERNET
I also try to add more and more permission but nothing run my
getContentResolver()
**
uses-permission
android:name=android.permission.INTERNET
I try to catch error with
ContentValues values = new ContentValues();
values.put(Media.DISPLAY_NAME, Voicemail);
// values.put(Media.MIME_TYPE, Audio/wav);
values.put(Media.CONTENT_TYPE, Audio/wav);
values.put(Media._ID, 1);
Same with that
***
uses-permission
android:name=android.permission.INTERNET
/uses-permission
uses-permission
android:name=android.permission.SUBSCRIBED_FEEDS_WRITE
/uses-permission
Same with that
***
uses-permission
android:name=android.permission.INTERNET
/uses-permission
uses-permission
android:name=android.permission.SUBSCRIBED_FEEDS_WRITE
/uses-permission
I have an exception error here
08-20 09:20:43.868: VERBOSE/(3568): ERROR Exception:
java.lang.NullPointerException
with:
try{
ContentResolver cr = getContentResolver();
}
catch(Exception e)
{
Log.v(TAG, ERROR
How can I take: Create a wav file and stock this into a data storage
with Content Providers
I try to use the same thing like the following exemple:
http://developer.android.com/intl/fr/guide/topics/providers/content-providers.html
with a Bitmap:
import
How can I take: Create a wav file and stock this into a data storage
with Content Providers
I try to use the same thing like the following exemple:
http://developer.android.com/intl/fr/guide/topics/providers/content-providers.html
with a Bitmap:
import
How can I take: Create a wav file and stock this into a data storage
with Content Providers
I try to use the same thing like the following exemple:
http://developer.android.com/intl/fr/guide/topics/providers/content-p...
with a Bitmap:
import android.provider.MediaStore.Images.Media;
I think it's possible to make that but I can't coding easily, it's
very hard to code my application without more instruction about how to
create and save wav file with Content Providers
--~--~-~--~~~---~--~~
You received this message because you are subscribed to
I just want to save my byte[]
into a .vaw audio file. on android emulator.
i'm going to try everything
Thanks everyone
see you
On Aug 17, 12:02 pm, TomTasche tomtas...@gmail.com wrote:
If you want to create a file on your device (or emulator), you have to
change the path.
try this:
---
am, Dany BREARD dany.bre...@gmail.com wrote:
I just want to save my byte[]
into a .vaw audio file. on android emulator.
i'm going to try everything
Thanks everyone
see you
On Aug 17, 12:02 pm, TomTasche tomtas...@gmail.com wrote:
If you want to create a file on your device (or emulator
FileOutputStream fStream = new FileOutputStream(WAV);
Stream.write(decoded);
fStream.close();
MediaPlayer mp = MediaPlayer.create(context, uri);
mp.start();
dany
On Aug 18, 2:56 pm, Dany BREARD dany.bre...@gmail.com wrote:
I just have a question :
Is it possible to when i create my byt
Ok, so I started to make the following code but I can't find
the ?? line adapted for wav file
What are you thninking about my started code to save my wav file on a
database :
byte[] decoded = Base64.decode( tabMsg[0].getMsgBase64() );
ContentValues values = new ContentValues();
Ok, so I started to make the following code but I can't find
the ?? line adapted for wav file
What are you thninking about my started code to save my wav file on a
database :
byte[] decoded = Base64.decode( tabMsg[0].getMsgBase64() );
ContentValues values = new ContentValues();
Hi I want to create new File into android or in my workspace but a
FileNotFoundException is thrown.
[syntax=java]
byte[] decoded = Base64.decode( StringBase64 );
File oText = new File(C:/Documents and Settings/.../workspace/
SocketInterface, File);
//or: File oText = new File( File);
): at
com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run
(ZygoteInit.java:782)
08-17 07:50:30.163: WARN/System.err(860): at
com.android.internal.os.ZygoteInit.main(ZygoteInit.java:540)
08-17 07:50:30.163: WARN/System.err(860): at
dalvik.system.NativeStart.main(Native Method)
On Aug 17, 9:29 am, Dany BREARD
Hi
Please help me I'm really blocked, I think my code is too simple.
Maybe I forgot a significant thing but I didn't find it.
Dany
On Aug 17, 9:53 am, Dany BREARD dany.bre...@gmail.com wrote:
All Errors:
08-17 07:50:29.964: WARN/System.err(860):
java.io.FileNotFoundException: /C:/Documents
Maybe is about Security and Permissions or User IDs and File Access
On Aug 17, 9:53 am, Dany BREARD dany.bre...@gmail.com wrote:
All Errors:
08-17 07:50:29.964: WARN/System.err(860):
java.io.FileNotFoundException: /C:/Documents and Settings/.../
workspace/SocketInterface/File
08-17 07:50
I try to us File.exists() = False.
Why my File is not create ?
On Aug 17, 11:32 am, Dany BREARD dany.bre...@gmail.com wrote:
Maybe is about Security and Permissions or User IDs and File Access
On Aug 17, 9:53 am, Dany BREARD dany.bre...@gmail.com wrote:
All Errors:
08-17 07:50:29.964
wrote:
and also set permission writeOwnerData
On Mon, Aug 17, 2009 at 3:39 PM, dillirao malipeddi dillir...@arijasoft.com
wrote:
Hi Dany BREARD
you have no permissions to access windows file system through emulator
if u want to create a file use
byte[] decoded = Base64.decode
File doesn't create so i thin k my /sdcard is not recongnized but when
i launch emulator with
emulator -avd my_avd -sdcard C:\SDCard
I have no error.
On Aug 17, 2:48 pm, Dany BREARD dany.bre...@gmail.com wrote:
Ok thanks dillirao
So firslty, to create my File, I have to launch my AVD
Hi
I have the same issue but I can't change my /sdcard permission.
I have windows xp, I try to change /sdcard permission as this url:
http://www.vulgarisation-informatique.com/droits-acces.php
but permission don't change.
please help me how can I change this permisson in windows xp ?
It's
BREARD dany.bre...@gmail.com wrote:
File doesn't create so i thin k my /sdcard is not recongnized but when
i launch emulator with
emulator -avd my_avd -sdcard C:\SDCard
I have no error.
On Aug 17, 2:48 pm, Dany BREARD dany.bre...@gmail.com wrote:
Ok thanks dillirao
So firslty, to create my
Hi everybody
I want to decode a wav string base 64 encoded to a file or other to
listen after with a anrdoid media player.
Firstly I going to make file decoded but andoid don't allow me that.
byte[] decoded = Base64.decode( Base64String );
File oText = new File(File);
FileOutputStream
Thanks Mark
So my code is complete but I have an issu when I want to choice the
icon on getView().
I want to choice my icon like thre following code. But I have to use
the oClient object to find Flag.
oClient is on TabVoicemail class.
But IconicAdapter is a class and I can't touch oClient.
So
its Fixed
On Aug 11, 2:24 pm, Dany BREARD dany.bre...@gmail.com wrote:
Thanks Mark
So my code is complete but I have an issu when I want to choice the
icon on getView().
I want to choice my icon like thre following code. But I have to use
the oClient object to find Flag.
oClient
);
**
This code just add string into mAdapter
Thanks
Dany
On Aug 7, 3:55 pm, Mark Murphy mmur...@commonsware.com wrote:
Dany BREARD wrote:
I want to know if its possible to make a listview (text+icon) on a
class extends Activity and not on a class extends
think about please mark
Dany
On Aug 10, 3:27 pm, Dany BREARD dany.bre...@gmail.com wrote:
thanks Mark
I think I have to use listView with my class extends Activty because
in my layout I add 2 buttons at the bottom.
Do you Think I can't use my class extends ListActivity.
here my xml. And I
10, 3:50 pm, Mark Murphy mmur...@commonsware.com wrote:
Dany BREARD wrote:
I think I have 2 methode:
- Take my list(icon+text) with my class extends ListActivity without
buttons and i will find a methode to add my button later
- Or conitnuous my code that i made with buttons and my class
Hi
I want to know if its possible to make a listview (text+icon) on a
class extends Activity and not on a class extends ListActivity.
So I make a little code with class extends.
on the onCreate:
ListView list=(ListView) findViewById(R.id.list1);
ArrayList mStrings = new ArrayList();
Hi
you can go to this url
http://www.anddev.org/viewtopic.php?p=25173#25173
I think you have to replace: @+id/list to @android:id/list
help me please
about my issu on the preview url
thanks
Dayn
On Jul 31, 5:22 am, Jack Ha jack...@t-mobile.com wrote:
Can you post your logcat output
Hi everybody
I just to make a simple list view and display it.
I can't dispaly my list, maybe I forgot something.
Java:
package m.dany.android.testandroid;
import android.app.Activity;
import android.os.Bundle;
import android.widget.ArrayAdapter;
import android.widget.ListView;
public class
see you later
Dany BREARD a French novice android develloper
Date: Wed, 29 Jul 2009 11:28:56 -0400
From: mmur...@commonsware.com
To: android-developers@googlegroups.com
Subject: [android-developers] Re: Button into a Tab error of xml
Dany BREARD wrote:
the error is
07-29 15:19
the error is
emulator dislpay:
the application interface graphique has stopped unexpectedly , please try again.
in DDMS we can watch:
-29 15:19:15.558: INFO/ActivityManager(568): Start proc
m.dany.anrdoid.inertfacegraphiquevvm for activity
43 matches
Mail list logo