In my app i have created an audio player (only WAV files) using
MediaPlayerhttp://developer.android.com/reference/android/media/MediaPlayer.htmlAPI.
But the player doesn't give callback to onCompletion Listener
everytime. Sometimes it gives callback but not everytime. I am doing some
My Android application needs to convert recorded audio in WAV to AMR-NB and
AMR-WB. And i am done with converting to *AMR-NB* using *AmrInputStream*.
In AmrInputStream, the value for SAMPLES_PER_FRAME is hard coded to *8000 *
20 / 1000* and the audio has no changes even after changing
I want to allocate a buffer size for a byte buffer in native code ,
depending upon the available runtime memory.
How can i get the runtime free memory using native code?
I have checked this successfully is java using the following code :
MemoryInfo mi = new MemoryInfo();ActivityManager
My application (supports 2.2 and later) needs to connect with a *wifi device
* like FlashAir http://www.toshiba-components.com/FlashAir/index.html after
scanning networks using
WifiManagerhttp://developer.android.com/reference/android/net/wifi/WifiManager.html
.
Is it possible to connect to a
I am able to connect to the device ,only if the target device's
wificonfiguration is once saved. Is it possible to create the
wificonfiguration programatically and connect to it?
On Thursday, 7 February 2013 22:05:51 UTC+5:30, Raneez wrote:
My application (supports 2.2 and later) needs
I want my android application to connect to a device like
FlashAirhttp://www.toshiba-components.com/FlashAir/index.html
over *wifi* connection and *explore* its *directories* and *download* the
selected files to the android device.
I have gone through this
I am developing an android application which records audio in *PCM* using
the *AudioRecord* API. I want to adjust the mic sensitivity to low, medium
and high as the user chooses it in the settings.
Is it possible to adjust the *mic sensitivity*? Your answers will be highly
appreciated :)
--
I want to access a webservice in android which has a complex type inside
another complex type.
An example of the soap request is
soapenv:Envelope xmlns:soapenv=http://schemas.xmlsoap.org/soap/envelope/;
xmlns:tem=http://tempuri.org/;
xmlns:pat=
Please look at this question and give me some suggestions..i hate being
stuck with something like this.
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe
@Piren That forum is inactive.
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
And you are not supposed to comment here, if you dont have any idea about
this.
Directing to a inactive forum is not a good attitude, give a hand if you
know something else go away!
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post
I have successfully accessed web services using ksoap2 but i am stuck with
calling a web service method with data contracts.
The webservice request in SoapUI is shown as :
soapenv:Envelope xmlns:soapenv=http://schemas.xmlsoap.org/soap/envelope/;
xmlns:tem=http://tempuri.org/;
In my app, i use a dual panel layout where each buttons on the left side
replaces the fragments at the right side(Frame Layout).
The FragmentTransaction.replace() method actually removes the current one
and add another fragment to the container, how can i save the fragment
instance before
Thanks Vinay!
On Saturday, 29 September 2012 15:18:27 UTC+5:30, Raneez wrote:
I use ViewPager loaded with fragments in it .The *onResume()* method of
each fragments does some logic and so i get problems when the adjacent
fragments(left and right) to the currently selected page are also
I use ViewPager loaded with fragments in it .The *onResume()* method of
each fragments does some logic and so i get problems when the adjacent
fragments(left and right) to the currently selected page are also loaded to
provide smooth scrolling between the pages.
Does the fragment recieve any
Thanks mark murphy, you are really helpfull.
Does the viewpager save data on each pages itself or do we need to save
them explicitly?
On Friday, 21 September 2012 16:21:11 UTC+5:30, Raneez wrote:
I am using a *custom viewpager* which has Listfragment's loaded with *
FragmentPagerAdapter
I am using a *custom viewpager* which has Listfragment's loaded with *
FragmentPagerAdapter*. Each ListFragment represents a *dual panel layout*,
where each list item(Left) loads some other fragments to a *framelayout*(Right
Panel).
Is this a best practice?
--
You received this message
Is there any alternate solution to implement this?
On Friday, 21 September 2012 16:21:11 UTC+5:30, Raneez wrote:
I am using a *custom viewpager* which has Listfragment's loaded with *
FragmentPagerAdapter*. Each ListFragment represents a *dual panel layout*,
where each list item(Left) loads
I have used viewpager only with fragments, how to replace listfragments
with listview in a viewpager?
On Friday, 21 September 2012 16:21:11 UTC+5:30, Raneez wrote:
I am using a *custom viewpager* which has Listfragment's loaded with *
FragmentPagerAdapter*. Each ListFragment represents
TableLayout for group position 0.
}
else if(groupPosition==1)
{
// Return TableLayout for group position 1.
}
}
am i going the right way so far?
On Tuesday, 12 June 2012 18:29:07 UTC+5:30, Raneez wrote:
Is it possible to use TableLayout to get the same function of
ExpandableListView
because , i need different table layouts for different groups in the
expandable listview, and i find it difficult to implement.
Can you please help me, i'l be happy if i could do it with expandable
listview itself.
--
You received this message because you are subscribed to the Google
Groups
I need to set different table layouts for respective group items ,also i
want to set onClick listeners to each rows in that table. How it is done?
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to
Is it possible to use TableLayout to get the same function of
ExpandableListView by dynamically adding the rows(when expanding) and
removing the rows ( when hiding) ?
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group,
I use an expandable listview in my application, where each group has
different Table Layouts. And i want to set onClick Listener to each
rows in the table. How is it possible?
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this
Let me explain the structure of my application, In my app i have 3
main tabs implemented using Fragments. And one of the main tab
contains 3 sub tabs in its fragment, and one sub tab contains
listview. Now i want to start an Activity when an item from the list
is selected.
How it is possible?
--
This is listview onClivk listener
lv.setOnItemClickListener(new OnItemClickListener()
{
public void onItemClick(AdapterView?
arg0, View view, int
position,
long id)
The app crashes when i click on list item. Actually this listview
resides in a tab which is in another tab of a fragment.
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to
no problem when changing tabs, the listview consists of details of
recorded audio files, so when any list item is clicked, it should
start new Activity player to play the audio file, but it goes wrong
when an item is clicked. :( :( :(
--
You received this message because you are subscribed to
instead of creating the intent and starting the activity, just do nothing.
-- didnt crash.
If that doesn't crash, construct the intent as before (but don't start the
activity yet). If that is OK, pop up a message with Toast after creating the
intent (so we are hopefully taking the focus
Sorry, It worked! I forgot to add the activity in manifest.
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
Thank you Jason Teagle, The error was in player activity, the player
class needed a native library and that library was missing.
You were so kind to listen me. Thankyou so much.
On May 9, 4:46 pm, Jason Teagle teagle.ja...@gmail.com wrote:
Sorry, It worked! I forgot to add the activity in
I recorded AMR audio using MediaRecorder class. The waveform for the
AMR audio looks very difficult to understand the speech data. How can
we avoid the noise and draw the waveform correctly?
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To
Anyone there to help me?
I am stuck with this part and I really need some help. Please
On Feb 19, 3:05 pm, Raneez rane...@gmail.com wrote:
My Android app records audio in both AMR and WAV format. And my
application needs to insert second recorded audio file inside the
first one at a position
My Android app records audio in both AMR and WAV format. And my
application needs to insert second recorded audio file inside the
first one at a position where it is paused. I did it right with WAV
files, but the AMR file after insertion is not able to be played in
Android MediaPlayer, it gives
My app display a waveform for the recorded audio in a
imageview. I want to display a transparent layer over this
waveform which progress with respect to the duration of
the audio when it is played.
How it is done? Or is there any UI controls in android to do
this?
--
You received this message
I am developing a voice related app. I want show the power or level of
voice being recorded at realtime. Is there any inbuilt component or
anything else to do this?
I have seen a meter in mediastore.audio.record_sound_action. I want to
use such meter in my app.
--
You received this message
I used mediaplayer to play audio files using the MediaController..its
easy to show mediacontroller from the
MediaPlayer.OnPrepared(MediaPlayer mp) method when the file is ready
for playback.
But I need to use AudioTrack as player for Wav files , how it is
possible to use it with MediaController?
I want to upgrade my app 1.0 with new version 1.1 , and also I need to
keep the previous datas(such as audio or video files) in the internal
memory after upgradation. Is it possible?
If yes, how it is done?
--
You received this message because you are subscribed to the Google
Groups Android
I have two recorded audio files record1 and record2.
I want to insert the record2 file at a position from where i
pause while playing record1.
for example record1 plays ONE THREE
record2 plays TWO
so after insertion the record1 should play like ONE TWO
THREE
PLS HELP.
--
You received this
Is there any way to pause and resume audio recording in android?
I used MediaRecorder for recording amr and AudioRecord for wav, now i
want to pause and insert a new audio after pausing and continue the
recorded audio after resume.
--
You received this message because you are subscribed to the
I have recorded two amr files using MediaRecorder. Now i want to
combine them. Please direct me to achieve this task.
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To
I want to write a wav audio file using randomacessfile, but when i
check through DDMS i find no such file in the sd card. What is the
problem with this?
I also wrote permission to write in external storage in the manifest
file: uses-permission
I get the following error while trying to record audio:
E/AndroidRuntime(759): java.lang.RuntimeException: setAudioSource
failed.
E/AndroidRuntime(759): at
android.media.MediaRecorder.setAudioSource(Native Method)).
Please help me out.
--
You received this message because you are
My application consists of 2 activities and 1 list activity.
List activity -- list of titles from google rss feed.
2nd activity -- shows the details of the item.
3rd activity -- WebView , which shows the content of the url.
From the 3rd activity i want to go back to list activity and show the
i get some error when i try to display the contents of a url.
The error shown by log cat is :
01-19 17:33:00.999: E/webkit(838): illegal format for expires:
Thursday, 19-January-2012 12:11:30 GMT
--
You received this message because you are subscribed to the Google
Groups Android Developers
My application needs to write and read data from a xml file which is
stored in Internal Storage. I wrote some data to xml by using
FileOutputStream.
FileOutputStream fout=openFileOutput(user.xml,MODE_WORLD_READABLE);
OutputStreamWriter out=new OutputStreamWriter(fout);
out.write(xml_content);
The path of xml file is /data/data/com.examples.LoginXml/files/
user.xml
InputStream in = null;
try
{
FileInputStream fis = openFileInput(user.xml);
in=new BufferedInputStream(fis);
}
catch(Exception e)
{}
Is there anything wrong? still i cant get an input stream to the file
--
You received
This is how my user.xml file looks like:
---
?xml version=1.0 encoding=UTF-8?
login
account
usernameuser1/username
passwordpass1/password
/account
account
usernameuser2/username
passwordpass2/password
/account
account
usernameuser3/username
48 matches
Mail list logo