hi there!
i'm currently working on an app for the android os that displays some data. to ensure this data is up-to-date, it is required that the app fetches updates from a remote server from time to time.
as the data does not change very often, this update should be carried out once per week. i want to give the user the ability to choos...
I'm considering how to identify server(s) to an app on a mobile device that utilises a wcf/web service.
(1) I anticipate all going well that I will need to migrate the server between hosts from time to time to handle load. I'd like to be able to do this without service disruption.
(2) I also anticipate that all going well I will want t...
HI
I am intereseted in developing an application, which will track user's activities on phone
like
1.calls
2.messages
3.Packet data
4.GPS Usages
5.Media Usage
6.Apps usage
Please let me know if there is a way to achieve these.
...
Hi!
The problem I have is that whenever I export my appto an apk, and then install on device, or debug in eclipse, 2 instances of my app is installed(?). 2 icons are added to my menu.
How do I stop that from happening?
I know it will be something simple that I'm overlooking, so thank you in advance :P
Regards
Renier
...
Hi,
I am trying to access flickr services from android ,
to get the full permissions ,
first of all i fetched forbs using flickr.auth.getFrob method by integrating & converting in MD5
secret + 'api_key' + [api_key] +
'method' + 'flickr.auth.getFrob'
i successfully got the frob , but the problem came when i request a authoriz...
HI All,
I m developing one android application and calling SOAP web service which is .net based web service.
The Problem is that when web serivce is working fine my application is working without any issue. but when the server is down my app does not work. i think i haven't done the exception handling properly.
if(Result.equals("Logi...
Hello, i am checking networking connection using the below code:
public static boolean haveInternet(Context ctx)
{
NetworkInfo info = (NetworkInfo) ((ConnectivityManager) ctx.getSystemService(Context.CONNECTIVITY_SERVICE)).getActiveNetworkInfo();
if (info == null || !info.isConnected()) {
return false; // no connecti...
So the problem is in getting real-time values of signal strength for the currently connected base station. When I use neighbor cell info, I always get fluctuating values of RSSI (what is definitely right). However, when I try to get signal strength for current cell I receive constant value (it shows me -63 dBm (25 asu) all the time). The...
The title explains it all. I have a class that extends AsyncTask. I call it directly in main thread using new classname.execute().
Now in the doInBackground(params) i have Looper.prepare.
Since i am getting an error "Only one Looper may be created per thread", i need to use Looper.quit() inside it. But i am not able to find it inside Lo...
error:
The project was not built due to "Resource already exists on disk: '/Project/bin/default.properties'.". Fix the problem, then try refreshing this project and building it since it may be inconsistent Project Unknown Java Problem
...
My target: I am trying to play a video when tapping on one of the item on the screen while still staying on that screen.
So I resort to PopupWindow but somehow VideoView doesn't show up in the popup.
I can display popup just fine but the VideoView doesn't(in fact, it's not invisible but rather freeze that section of the screen). If you...
Is it a good idea to put a WebView into each item of a ListView on Android?
Or should I just use the TextView with Spannd?
I tried the Html.fromHtml() with ImageGetter to get the Spanned, but it does lots of parsing works for you and hard to customize it. And also it's different from what you see on a WebView.
Any idea would be helpful...
Hello! I use this code in my getView:
@Override
public View getView(int position, View convertView, ViewGroup parent) {
View v = convertView;
if (v == null) {
LayoutInflater vi = (LayoutInflater)getSystemService
(Context.LAYOUT_INFLATER_SERVICE);
v = vi.inflate...
Hi
I am trying to fetch this xml response
<?xml version="1.0" encoding="utf-8"?>
<desc c="¥99"/>
but on my Android each time I get Â¥99 ,after parsing the xml, instead of correct data(i.e.¥99).Is there any way to parse this Currency data correctly.Please correct me if I am missing something.
EDIT:Here is the code that is used to get x...
Friends, I have an andrid application to display an image on another. the second image's white colour should be converted in to transparent. so i used two imageviews. the original image to be overlayed is bitmap1. image after making transparent is bitmap2. when i run this i got some exceptios atsetPixel method. the code is shown below
...
Hi,
I want to create an sports application that contains the following.
TabHost with three main categories. (News, Tables, live score)
The news category will have 2 sub categories. (Team news, league news)
Tables will have 3 sub categories. (Table, Stats, Schedule)
Live score will just Be a ListActivity.
How should I design this?
Sh...
I was able get the value of "quantity" in my list when I use on click using this code:
public void onItemClick(AdapterView
parent, View view, int position, long
id)
{
Object o = list.get(position);
HashMap<?, ?> fullObject = (HashMap<?, ?>)o;
String a = (String) fullObject.get("quantity");...
can anybody tell how to create a xml file and write in android and where to put the file for aceess again is it possible to put into raw folder ?
...
Hi when i am trying to run android application which used Google API. it gets error that
[2009-07-11 11:46:43 - FirstMapView] Installation error: INSTALL_FAILED_MISSING_SHARED_LIBRARY [2009-07-11 11:46:43 - FirstMapView] Please check logcat output for more details. [2009-07-11 11:46:44 - FirstMapView] Launch canceled!
there is an answe...
hello guys,
i have a image view which is drag able and zoom able but now i also need to put setOnLongClickListner on my image view. i have done that but it is not working. but when i disabled the ontouch event it started working. can anybody tell me please how to fix that.
here is my code
image.layout(0, 30, screenWidth, screenHeig...