1,542 Topics
Hey Guys, I'm playing with android webview.. and I would like to have it running background whenever I press home button... Please let me know if this is possible... Here are the codes, maybe I need to tweak anything .. package trektrak.GeoWebView; import android.app.Activity; import android.os.Bundle; import android.webkit.GeolocationPermissions; import android.webkit.WebChromeClient; …
I am going to redo the interior of my truck (a 1998 Chevy K1500 Pickup) and want to mount a Android tablet in the dashboard to replace all my stereo and environment control (maybe vehicle lights too). My plan is to write an Android app to do this, but I'm …
I have recently bought a Galaxy S3 with icecream sandwich. One of the futeres I like is the social networks integration with the contacts app. I can now see status updates from facebook, hyves,Google+ and whatsapp. I want to be able to see my twitter contacts in ics to. How …
hello ! i love to use cell phone apps , but now i want to develop them , please guide me which is the best and easy sdk for android mobile applications , and from where i can start working on it. Regards
I'm beginning android development and was going through some guides in which I tumbled across this piece of code : myEditText.setOnKeyListener (new OnKeyListener() { public boolean onKey(View v, int keyCode, KeyEvent event) { if (event.getAction() == KeyEvent.ACTION_DOWN) if (keyCode == KeyEvent.KEYCODE_DPAD_CENTER) { todoItems.add(0, myEditText.getText().toString()); aa.notifyDataSetChanged(); myEditText.setText(“”); return true; } return …
I am running an application in which i am running an audio when it is clicked on image, while audio is being played and i changed the mode from landscape to portrait or from portrait to landscape and click on image, it plays another audio clip i.e. 2 audios are …
Hi, I'm tring to create an application to count steps and i need to know how to use gravity sensors in smartphones in android. Do you have any suggestions how could i do that ? What I already have is a simple app to count pushups but it is based …
Android Application Development or iphone Application development??? Which Apps are more useful and cool???
i am new to android application development. i have run hello world program only. now i want to run some sample code. when i try to run them i got this error in new dialog box: "Could not write file: C:\Program Files (x86)\Android\android-sdk\samples\android-15\SoftKeyboard\.project. C:\Program Files (x86)\Android\android-sdk\samples\android-15\SoftKeyboard\.project (Access is denied)" i …
Hi, i want to start developing app for the andriod paltform and i want to know how to start. i have knowlegded in C#.
i am new to android. While i am running my application, it is running well in landscape mode, but in portrait mode, application is forcefully closed giving the following in log 05-31 16:48:30.958: W/KeyCharacterMap(428): No keyboard for id 0 05-31 16:48:30.958: W/KeyCharacterMap(428): Using default keymap: /system/usr/keychars/qwerty.kcm.bin 05-31 16:50:45.728: D/AndroidRuntime(484): Shutting …
**Appcelerator releases Titanium 2.0 with suite of mobile cloud services.** On April 17th, 2012, Appcelerator took the wraps off of the latest release of their flagship product Titanium 2.0. This major point release of the seminal cross-platform mobile development environment brings with it a new suite of ready-to-use 'Instant Mobile …
I need help to do a research for this theme : Creating connections with databases in mobile applications .
Hi everyone, I have been a programmer for about six years now. I am a Microsoft certified professional developer as of six months ago. I have been a sole developer / analyst for each of the companies I have worked for and recently have felt the need to interact with …
hi i am new to developing apps i have created a simple hello world app now i am just trying to create another simple app as follows: i would like a background preferably a picture, also i want a hyperlink so when clicked it takes the user to that website …
Hi, I cannot seem to install the ADT plugin on Eclipse. I am uisng Windows 7 professional. Also, I don't know where to find the error log which it asks me to check. I looked in the plugin directory and can't find the error log. I did the following: 1. …
I'm developing an app that will be sending data back to a server every minute. Along with this data it will also be possible that someone running a program from a computer can updata the data in the database. When they update the data in database I will need to …
Hi, below is my code for an android app I am developing, I was wondering how I can pass the value of pos from the array adapter to another activity through intent? What I would like is for the code in the next activity to be performed based on the …
The code below currently pulls data from a mysql database and displays it in a ListView. What I am looking to do is find a way to have the application check the mysql database every minute or so to check for any new entries, and if it finds a new …
I had a small problem with collision detection starting out with XNA 4.0 so I figured I'd release a simple snippet that helps with two different types of collision detection; Per-Pixel and Rectangular. To use simply copy and paste the snippet into your current source, or you could put it …
Hi all, How i can exit from an application? Button exit = (Button)findViewById(R.id.exit_btn); exit.setOnClickListener(new Button.OnClickListener() { public void onClick(View v) { // TODO Auto-generated method stub finish(); java.lang.System.exit(0); } }); this code just takes me to the last activity but i want to completely close the application
I'm working on a mobile application that is meant to send the device's GPS location to a server ever minute or so. We might adjust the time later depending on data usage and how useful a minute interval is when tracking our drivers. The interval between polls will be no …
Hi,I am new to mobile and i am still studying the components,layouts,etc..first i want to know how can i put radiogroup in listview, i made another xml file "Radiolayout.xml" but i could not display this in listview. More inputs will be much more appreciated. This is my java file "Sample01.java" …
How to create 3 type languages ( Chinese, English, Malay ) dictionary application for android ?????
So my android project should show a startup image at first and then start the program but instead it shows a blank black screen . Here is my code : My class.java : package abcd.pack; import java.util.Timer; import abcd.pack.R.layout; import android.app.Activity; import android.content.Intent; import android.os.Bundle; public class Class extends Activity …
Hi all, i am new to android development, in fact its my first application. i am making a simple calculator. i just want to know how to get the value of a pressed button. Any help plz
I have just started android development and i cannot even compile a simple program because i get a error " button cannot be resolved to a type " in the .java file . .java file : package abcd.pack; import android.app.Activity; import android.os.Bundle; import android.view.View; import android.widget.Button; import android.widget.TextView; public class …
Hi, I created an app. I want a splash screen to be displayed in the beginning for 3 sec whenever I execute my program. Suggest me a way!
Dear all, I am New to Mobile development and would like to have your help and i am trying to install Android on my eclipse but i am unable to do so Please find the below details about version may be usefull for rectifying the issue 1.eclipse version Eclipse SDK …
I have this printed "ljava.lang.string;@40585b18" instead of a vlaue from the string array called answers. At the moment i am not pick really as to what is pritned out. Just get the app to display something meaningfull from the array will be a good place to start right now. The …
I have this block of code below which is to control questions which are to be displayed from the array. I am having problem with the the 3rd line of code, an i am not entirely sure what the problem is. rnd1, rnd2 are both double. Eclipse is telling me …
Hello I am working on small 2D game with OpenGL. My qeustion is it possible to write a polygon class where user can define: shape of polygon in renderer, multiple textures for this polygon ? Thanks for advice
Dear friends, Here i have a query with Android OS. Which is the best version of it as i have 2.3 version android but my phones always hungs up?
Hi, My project is a quiz type app which downloads data from a MySQL database and displays it in a custom dialog box. I've made 2 custom dialog boxes; one for the question and one for the answer/explanation. I've got it working so once a button on main view is …
Hello, I am making an application for Android that will save users voice command and then while the application is running; compares the realtime data from the mic input to the one that is saved. So far I have saved the voice in wav file now I want to compare …
Hey guys, I was wondering if someone could help me interpret line by line what is happening in this code... package com.example.helloandroid; import android.app.Activity; import android.os.Bundle; import android.widget.TextView; public class HelloAndroid extends Activity { /** Called when the activity is first created. */ @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); …
Hi all I want to begin developing apps to android and IOS (mainly android) after trying the mobile by conduit platform to create a app, I want to go further in developing apps.... and not be attached to a web service like the one provided by conduit. I downloaded and …
I am trying to create clickable textviews in Android. I'm a complete noob when it comes to java and the Android platform, so please take it easy on me. Here's what I have right now: [code=java] public class Hypertension extends Activity { /** Called when the activity is first created. …
Hi there, I wish to develop a project to capture the current screen in android phone and make it as video. I don't want to do that in emulator. I need to take snap shots also. how could i do this..? Rooted or not rooted, Doesn't matter. Need to capture …
Dear friends, i am a university student competting for my bsc(hons) in IT! i suggested to have my final year project based on android, n for your info, i have never codded in android. im am supposed to give a suggestion by tomorow! and i would be completing my project …
can anyone explain what the use of the parameters 3 and 4 in managedQuery while using content providers. Thanks in advance. i saw this site (http://app-solut.com/blog/2011/03/working-with-the-contactscontract-to-query-contacts-in-android/) but i am not clear with the 3 rd and 4th parameters. Can we use contact name as a selection clause like Contact.Display_NAME+="?" in …
Can anyone say how to *manipulate manifest file from a java file*. For example . . . i am having an app consisting of a registration activity(LAUNCHER) and login activity (DEFAULT). Now once i installed the app i will be shown with registration page as it is the launcher. if …
i am working with broad cast receivers with sms received. i am trying to retrieve the message details like message , originating number. i even got the code working correctly this is the code i got by browsing the net Bundle extraBundle = arg1.getExtras(); if (extraBundle != null) { Object[] …
this is my broadcastreceiver which will be invoked on receiving a message. <code> package com.dummies.castsBroad; import android.content.BroadcastReceiver; import android.content.Context; import android.content.Intent; import android.util.Log; import android.widget.Toast; public class BroadcastsActivity extends BroadcastReceiver { /** Called when the activity is first created. */ @Override public void onReceive(Context arg0, Intent arg1) { // TODO …
can anyone help me to get a clear idea what broadcast recievers mean and how they are used.. (i understood that when we want any event to be happened when we recieve any data from any other mobile these broad cast recievers are used. But i am not clear with …
Hi, I want to create motion detection application on android device. Could you help me? Here my code: package com.iseng; import java.io.File; import java.io.FileNotFoundException; import java.io.FileOutputStream; import java.io.IOException; import java.io.OutputStream; import android.app.Activity; import android.content.ContentValues; import android.content.pm.ActivityInfo; import android.content.res.Configuration; import android.net.Uri; import android.os.Bundle; import android.os.Environment; import android.provider.MediaStore.Images.Media; import android.util.Log; import android.view.SurfaceHolder; …
I really want to create a game or an app for android and I was wondering if you guys can give me an advice? I'm still learning java; I'm good but I'm not a pro(still in college). Do you think that I should keep working on java tell I'm really …
hi i am trying to create 2 lists in one screen. i am using the google api places where i want the list to appear then when selected the result will appear, this what i have so far but the second list doesnt appear and i am not sure why …
hi, using the google places api where it says food or restaurant how can you create this so that when its selected it allows you to specify food the type of food such as chinese, english ect ?
I have seen this calendar (html5advent.com) whose design I would like to use in an iPad app. There is no problem generating the calendar; the questions are: [LIST] [*]how do I capture a tap on one of the "days"? [*]what would be the best way to actually "create" the boxes? …
The End.