Android: i want to create service by extending a Service class which i start when application get started and all activities can share its state and when i want stop it from other activity and when i want start it again from any activity ?
...
Hi, I have read some post about apps programming for Iphone and Android, but I have one question. Is it posible when there is a mobile website optimized for mobile phones, that I can create apps for Iphone, Android, Win 7 and Blackberry, that only statrts the browser as instance and display the mobile website? What do you think, is this ...
Hi,
I've a listView Activity where user could open a dialog to display more information about a line of the list.
On the Dialog user could modify a line. So my purpose is to refresh listView when User modify it by the Dialog.
The problem is that I couldn't use myArrayAdapter.notifyDataSetChanges() so How I could do that ?
...
Dear all,
I have videos that should be run on android. and those videos will be host on web server - so my android app will hit the web server to play the video.
I try several way to encode the video and the result is not good enough, sometimes the sound and the video is not align or sometimes the video is not shown but i can still he...
Please throw some light on How the prelinking or preloading is handled in Android-x86 platform. Because, I am seeing only prelink-linux-arm.map in the code. The x86 loader is also using the same filename? If so, Is the loading address in the map file is same for both x86 and ARM platform?
...
Dear developer,
I would like to implement some sort of remote assistance tool (like vnc) for Android. Is there the possibility to capture a screen programmatically on the device?
Thanks a lot
Wolfgang
...
Hi All,
I have the following error but cannot workout the problem, i am READING MP3 files and the below error seems to come as it tries to WRITE MP4 files.
AudioFile f = AudioFileIO.read(m_file.get(x));
Error comes after calling the above and passing the first MP3 file
08-27 09:51:47.671: ERROR/dalvikvm(4485): Could not find class ...
Hi all!
I am developing a multi-player game for android. I already have all the mechanical part of the game done and for now, I have to handle the requests between players.
So, imagine the follow situation. The player A choose his opponent and make his move. He only can play x or y. The player B have to receive a notification that the ...
hi,
I have implemented application in which i am using tabs and want to fetch the images,audio,video from server and show on appropiate tab.
can anybody help me ..
Thanks Rakesh
...
Hi,
In my application, I have problem with activity management.
Indeed, consider I have 3 activities :
- Splashscreen
- SignIn
- Home
I would see :
- First launch (user not logged) : Splashscreen -> SignIn -> Home (log in valid)
- Other launch (user registered) : Splashscreen -> Home (auto log)
The problem is :
Back from SignIn or Hom...
When I start a new Android project in Eclipse (Helios), the strings.xml has 2 strings, app_name and hello (which is normal, of course), but they're not shown in the resources view. They seem blank and on clicking anywhere or typing in either views brings up an error dialog, saying "An error occured.. java.lang.NullPointerException. I'm a...
Hello.
I got one question regarding the intent action "ACTION_CALL".
What is the correct way of getting back to the own application/activity after the user ends the call?
The only way that came to my mind uses a PhoneStateListener in a background services that waits for the CALL_STATE_IDLE event starting up the application again. B...
What is the most efficient way to deliver the same set of functions on different mobile platforms (Windows, Blackberry & Android, possibly iPhone)?
What are your real life experience of the conversion of a common design to the minimum possible sets of source code? What are the good/bad tools?
...
I'm using a lot of animation drawables on my app and not all frames are gettings played. I'm wondering if there is another, more efficient method of doing frame by frame animations than AnimationDrawable?
...
Hi guys.I've created a web view app, the page that is displayed features market:// links but upon clicking them I get the 404 screen along with the error that the protocol is not supported. I've tried looking through documentation but was unable to find anything relating to this. Any help is much appreciated.
...
Hi, I have problem with ExpandableListView refreshing. Everything is ok until I click on the list after calling onDataChanged(). I call this method in another class.
public class OnlineVisitorsView extends ExpandableListActivity{
MyAdapter adapter;
//SINGLETON
private static OnlineVisitorsView ourInstance;
public static OnlineVisitors...
Hi all
I'm trying to record video from the Camera using the MediaRecorder. Here's a code snippet
snip..
mr.setAudioSource( MediaRecorder.AudioSource.MIC );
mr.setVideoSource( MediaRecorder.VideoSource.CAMERA);
mr.setOutputFormat( MediaRecorder.OutputFormat.THREE_GPP );
mr.setAudioEncoder( MediaRecorder.AudioEncoder.AMR_NB );
...
I'm trying to store the index of the currently selected tab in onSaveInstanceState so I can restore it. However the getCurrentTab apparantely gives me back the String I used in the etTabHost().newTabSpec, which I find a bit weird since the documentation says it returns an int and setCurrentTab also taking an int.
Does anyone know how I c...
I have an activity, on which when I press the Keyguard lock button, the onDestroy() function is called. At then when I disable the keyguard lock, that activity is shown no more as I get a RuntimeException in Illegal View State. How can I prevent from onDestroy() to be called? Please help.
...
I in my android application I want to track GPS information and use this information in all activity.
Is it a good way to use onLocationChanged, in the Application class?
I also want to have a timer that will measure the elapsed time, and use in all applications not only in one Activity
The information onLocationChanged and timer and ...