public class SimpleExpandableListAdapterwithwebitem extends BaseExpandableListAdapter {
private List> mGroupData;
private int mExpandedGroupLayout;
private int mCollapsedGroupLayout;
private String[] mGroupFrom;
private int[] mGroupTo;
private List<? extends List<? extends Map<String, ?>>> mChildData;
private int mChi...
I mean widgets that are not going to be touched through program code.
...
I am having problems running a timer in a service I have created. The task that the timer calls simply isn't called. I know that the service starts as I have put toasts within it and they are called, but not when they are within the timer. Help appreciated.
service class:
public class LocalService extends Service
{
private static T...
How can I prevent this overlapping from occurring without reducing the font size? Here is my XML:
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent"
android:layout_height="fill_parent">
<TextView
android:id="@+id/na...
Hello All
can my activity broadcast this intent from itself
Intent i = new Intent("android.provider.Telephony.SMS_RECEIVED");
sendBroadcast(i);
I am able to send this broadcast and receive it back (from a broadcast receiver setup in the application) , but this is not a global broadcast , i.e. it is not received by the defaul...
Is it possible to genrate .apk file from our application?
If yes Then pls give me some guidance ,Thanx in advance.
...
I have read softkeyboard application,
and ihave one application in which the user can dynamically change the layout of
keyboard and save it and it contains multiple languages so it is possible
with softkeyboard application .
iS U HAVE SOME IDEA THEN GIVE ME GUIDANCE ,THANX IN ADVANCE
...
I'm writing an Android app for work that shows the status of our phone lines, but thats neither here nor there.
I make a call to one of our servers and get returned JSON text of the status. I then parse this putting each line into a SortedMap (TreeMap) with the Key being the name of the line and my own class as the value (which holds st...
Hi,
I am using the following code in android for dailing programatically.
try {
Intenet callIntent = new Intent(Intent.ACTION_CALL);
callIntent.setData(Uri.parse("tel:123456789"));
startActivity(callIntent);
} catch (Exception exception)
{
log.e("dialing-example", "Call failed", Exception);
}
But how can i stop Dailing...
I'm currently working on a consumer mobile application project and have read that 40% of smart phones in use are Blackberry's. This seems very high and surely shouldn't be ignored for development. I understand that the type of application is relevant here, but has anyone found themselves considering adding Blackberry development to a pro...
Hello
On my website, which is loaded in the webview, there is a map. There are also java scripts that detects double tap for zoom, dragging etc. But is it possible to have a javascript that detects the use of pinch zoom ? there are several examples of it working on an iphone, and on my website there is a script for the pinch zoom but it...
I'm using the MediaStore.Video.Thumbnails.getThumbnail() method to
fetch thumbnails for files that I am displaying in a list. This works
well to begin with, but after a while the thumbnails that I get back
are not the ones that match the file. Once GetThumbnail() starts
failing it seems to return only the same Bitmap over and over agai...
I am having a class that extends View. I have another class that extends activity and I want to add the first class to be loaded inside the activity class.
I tried the following code
package Test2.pack;
import android.app.Activity;
import android.content.Context;
import android.os.Bundle;
import android.view.View;
public class Test2 e...
Facebook and Twitter made a sync option to sync my contacts list with my friends, so when I click on one of my synced contacts from the regular phone app, I get to see their last status, pictures, etc.
I would like to use this data from fb and twitter instead of building the sync process on my own, for both fb and twitter. because they ...
I am having problem while passing string argument using javascript injection in my android application..
I am using the
webview.loadUrl("javascript:(function() { " +
" document.getElementById()
, but m not getting the exact output..
I want to connect my login form (locally created) with website, so that whe...
Hi there. I have a list view and I have to design a row layout to be used in adapter. The layout is like this.
First column we have an icon on left most side.
Second column we have a string of about 4-30 characters
Last column, the date with time.
I tried to design in relative layout but it gave issues like the last two columns' st...
I am experiencing an annoying problem with an Android project in Eclipse. All my other Android projects are okey (at the moment). Whenever I perform a clean (Menu:Project->Clean...) the project gives an error and I can't compile/run the app. The error is:
Project 'Project Name' is missing required source folder: 'gen'
As soon as I edit...
Hi,
I am accessing .NET webservice methods from my Android application using Java SOAP jar.
I am getting response for a specific webservice method as an array .
Do we have an API within the Java SOAP library to convert the response from array to XML(String) ?
Also , since using the external SOAP jar is around 90 KB in size , would lik...
The question seems quite stupid, but I spent quite a lot of time trying to solve it successfully. The problem is that Eclipse IDE throws me a various number of different errors if I try any solutions that I used in normal Java. Another thing is that just after implementing an interface I receive an error, and Eclipse change my class to a...
Hello for Android developers,
I am working on a project to extract the pictures taken from the Android camera and display.
Let me be little descriptive: I have 2 points to be clarified:
1> whether the concept I am following is correct? and
2> If yes, the problem in the subtask related to adb needs to be solved.
Let me write the steps...