Hey guys!
When you are taking a picture on an and device, you can send it. There are apps, which are pushing their actions into these send-list (Like Twidroid, which adds a listitem called "Send Tweet" in that menu).
So, how is it possible to add such a menu point into that menu?
For my app, I want to make it possible to take pictures f...
Hi,
The first activity in my app is a splash screen with a Progress Dialog in which I load data from a Web Service.
When this is done I start the next activity and call finish() in the first activity's onPause(), in order for it to not appear again.
The next activity is my main menu and on from there I browse the application.
The proble...
Hi,
I have this piece of code that I would like to shorten...
PackageManager p = context.getPackageManager();
final List<PackageInfo> appinstall = p.getInstalledPackages(PackageManager.GET_PERMISSIONS);
PackageManager pro = context.getPackageManager();
final List<PackageInfo> apllprovides = pro.getInstalledPackages(Pack...
Basically I'm asking about the Client Id - How do I contact someone without having them contact me first?
...
I'm writing a toy car-navigation app for Android, mostly to learn the Android SDK.
While testing my application, it worked fine for a few hours. Then, suddenly, it reported my position as being in a town 100km south of my real position, travelling at 300km/h. I was in fact travelling at approximately 120km/h.
I changed application to G...
Hi all,
I want to ask about how to auto refresh the Google Maps?
So i have an activity with radio button inside that user can choose about the interval of the auto refresh. Then I create a class with a map view with class that extends the CountDownTimer. The problem is MyCountDownTimer has a constructor that display it own interface. H...
I can't believe this code doesn't work - because I've written several other apps that use location services like this... but apparently I've missed something and I can't figure out what it is. Any help would be greatly appreciated...
My output log check for the tag "GPS" just shows the following:
07-19 05:50:34.567: DEBUG/GPS(4883): L...
As the title, I create a ByteArray to store the file in blob like this:
byte[] red_buf = myCursor.getBlob(1);
And I wanna use FileOutputStream to open.
But I don't know how to do.
Can anyone give me a example or website please ??
...
HI i developed application in android 1.5 and i make it for support screens in large and medium and small through coding if i release android 1.5 on market it will appear in all android version phone market (android 1.5 +) .am i get application in droid,small device market and it is work fine or not
Thanks in Advance
Aswan
...
I made a custom alert dialog box to be displayed at the end of my game so that the player can enter its name to save it. The problem is when I call show() on the dialog appears but it's not vertically centered! It's a bit lower than it should and no matter what properties I set in the xml or when using setGravity().
I think it's the sam...
hi
I have used LastKnownLoaction at the start-up Activity of my app to get the location ,if it returns null then i register for a Location Listener for both gps and network providers.After requesting for Listener to listen for any location change i switch over to main Activity page using startActivity.Further in the startup Actyivity's...
package com.VideoRecord;
import java.io.File;
import java.io.IOException;
import android.app.Activity;
import android.content.ContentResolver;
import android.content.ContentValues;
import android.content.Intent;
import android.media.MediaPlayer;
import android.media.MediaRecorder;
import android.net.Uri;
import android.os.Bundle;
impo...
hello,
Am using sonyericsson MBW-150 Bluetooth watch,i couldn't connect with my android 1.6 Xperia Mini SE phone.. wot happened to android 1.6 device bluetooth.. is this API level Problem,how can i overcome this problem... am finding solution for this every where... can yo help me? PLZ
...
I know how to change the value of a CheckBoxPreference, but I can't get it to work for a ListPreference.
Here is how my preference screen is built:
one CheckBox for the default
A ListPreference to select a color other than the default.
The ListPreference is defined with the key "titleColor", as follows :
CharSequence[] entries = ...
Hello,
I'm making an application that is posting some information to your facebook wall using facebook sdk for android. This works, but I can't seem to get new lines on the posts. I have tried \n but it doesent work. Any suggestions?
Here is my code:
Bundle parameters = new Bundle();
String temp = "";
for (int i = 0; i < mArrayAdapte...
Hello,
I'm trying to get the names of my folders in "assets". I can get the names of the files with an AssetManager by using the method assetManager.list(). But the problem is that it return only files' name and not folders' names. So I'm trying to use the listFiles() method but i can't access to the Assets directory; I've try the follo...
Hello, how can I implement algorithms such as Dijkstra or backtracking on Google Maps integrated in Android ? For example I want to compute a route from city A to city B such that I pay the lowest price for gas.
...
Hello stackoverflow, I have been running into some troubles recently and I think I need your help :).
I am currently trying to show a menu on top of a dialog, I know that it could be far easier to launch a new activity yet doing so would compell me to store/pass a lot of data.
I managed to show an optionmenu by writing a custom dialog an...
How to Attach video file to my application , and how to show video in videoview ?
have any idea about send sms with attached videofile means(mms) in android?
if possible , any body give me the Sample code about it??
...
Hi to All,
I need to record audio and video files in 3gp/mp4 format at the same file and same time.
When i run my application file is created with videofile.3gp but video does not record in sd card on the emulator.please let me clear one thing does video records on the emulator? if i run this code on android supported device do these...