I am desperately trying to set TextView attributes of cells within a table programmatically but can't get this to work! Whenever I set layout properties, the field will simply not appear (but not give any error or exception). I boilded this down to this simple example:
package mmo.application.listpro;
import android.app.Activity;
impor...
I am trying to create an android app that would allow any user the navigation of a set of 5 statues located in a park. However, the park itself does not have any navigable roads or paths on the Google Maps API. So, I need to create certain roads(walkable trails) within the park to each and every statue so that when a user who is at the p...
For something like a 'help I can't get up' app -- is there a way for a user to set a contact number, and then for the app to call that number in the future WITHOUT the user initiating the dialout? I've tried the below but there seems to be a problem:
private void callPhone(){
if(phoneNumber.length()>0){
try...
I am writing an android game that involves some c++.
I have a fairly repeatable crash that seems to be due to my c++ code
Looking at the page:
http://source.android.com/porting/debugging_native.html#Debug_Scenarios
(right at the end)
it says to run the output through the "stack tool" - which I can find no trace of.. nor aproto - any he...
This is very naive... but how do you stream certain bits of information from a website. From what I understand webview launches a web page, but what if I want to only stream a paragraph that was published on a site.
Example: Yahoo! Fantasy Football... Updates on players and the news feed about them.
This is obviously a lot more compli...
I defined an EditText-field and I want to be informed when the user edits that fields.
So I thought: simple - I add an OnKeyListener and so I did. But even though the text field gets edited (and even displays the entered/modified text) I don't get any callback, i.e. the LOG-output doesn't show up.
TextView text = new TextView(this)...
I am finishing development of an application for Android to stream music from your personal music collection using DAAP and UPnP as well as other protocols at time permits.
My question is:
How do I enable my app to respond to the new "Listen To" voice command in Android?
I have searched all over the place and can't figure it out.
...
My MySQL DB table holds a BLOB image with image_id as key. I am trying to do the following.
1.HttpPost("http://example.com/RetrieveImage.php") from Android App with the image_id in name value pairs.
The PHP Script is as follows:
<?php
mysql_connect("host","userid","password");
mysql_select_db("database");
$q=mysql_query("SELECT image ...
What class/web service will give me business information for a latitude/longitude combination in Android?
...
I got a strange problem, that my app's SharedPreference seems lost some specific keys (not all) when the phone reboot.
Have you ever meet this problem? I used that key to store a serialized object and I did that in my own Application class.
public class Application extends android.app.Application {
static String key = "favs";
SharedPr...
Hi all
I want to create a browser to view as an administration.
My project is about ferry booking using an android phone. The application is connected to the server. The ferry timing and other info are retrieved via server connection. The database is currently in Microsoft Access.
My question is how do I create a browser to view dat...
I found this code:
Uri u =
Uri.withAppendedPath(MediaStore.Audio.Media.INTERNAL_CONTENT_URI,
"1");
i.setData(url);
startActivity(i);
That plays a sound with the default media player. I want to call the same media player
with a URI that contains a URL.
How can I target the default p...
hi gdmng all.i have problem with mediaplayer.i am using mediaplayer with surfaceview .Up to this everything is fine.but "if player is pause mode and if device goes to standby mode ,after enter into my app (from standby mode)the video size is decreased(half of the screen) but the surfaceview is full of the screen (bcoz surfaceview has onT...
Gotta problem. My employer won't allow anybody access to run / line command tools on our computers. No way to run ADB (Android Debug Bridge) without that control. I'm using windows, no way to access the registry, no way to manually add cmd.exe, i've tried..) Screwing the staff is a sure way to reduce IT costs though, sigh.
I notice ...
How to get all filenames inside a folder in my assets folder in android?
Please help.
Thanks in advance.
...
Hi
I want to make an android application which has two tap in one view ,i.e, has upper tab and lower tab.
According to selection of lower tab, I add the new tab host(for upper tab) in the tapcontent part of lower tab. But, upper tap doesn't go up, it stick to the lower tab.
The implementation of upper tab is,
import android.app.TabAc...
I'm attempting Google University Android lab1 you are asked to change a TextView's text content according to the value passed via the Intent from another activity.
I tried out the rest of my code but...
why does my app force close when I add the "tv.settext(...) line"?
public class HelloWorld extends Activity {
/** Called when the ...
I have an Android project created in eclipse.I want to modify the package name and application of the project.How to do that in eclipse?
Thanks,
Dheepak
...
Hi,
I want to make application that gives me the list of audio files available in my SDCard and then i should be able to play that audio file from my application. And even pause resume audio playback etc. and function..
Any help on that?
...
I used webview to visit https link. the page always show blank. i found the way to dill with it
public class WebViewClient extends Object
{
public void onReceivedSslError(WebView view, SslErrorHandler handler, SslError error)
{
handler.proceed();
}
}
That's work fine.
But i used API Android 2.1, the above method is belongs to ...