Check ur android properties of your project...it should be set to Google api
not 2.2 etc
On 23 Jun 2011 23:43, "juhi paunikar" wrote:
> Hi,
> i tried the project which is given belows link:
> http://developer.android.com/resources/tutorials/views/hello-mapview.html
>
> i am getting error as given
Aren't you also supposed to specify the orientation of the fragment as well
...so the xml definition is fine but i think u should look at the fragment
definition as well.
On 17 Apr 2011 09:42, "Brill Pappin" wrote:
> I'm very confused on why my fragments refuse to draw in portrait mode and
> draw
Would a content provider work?
On 14 Apr 2011 04:56, "bogde" wrote:
> I'm new here and new to Android development too, so I want to
> apologize for my ignorance.
>
> I'm working on an application that is supposed to gather some data
> from an external device continuously, display the data on a cha
your code force closing is preventable by a simple null check..
if(yourvariable != null){ do something}else{do something else or do nothing
and display an error message}. The question about whether youwant to share
global variable between
activities is something you should really ask yourself... p
For the battery state use a broadcast receiveru shouldnt need need a
service for that
On 9 Apr 2011 10:10, "Eason" wrote:
> Hi all,
>
> I am trying to make several apps that can listen to system states all
> the time and give responses when there is any event happens. For
> example, a battery
Most likely ur music will be in a separate process, that can run in its own
service and communicate VIA an aidl interface
On 9 Apr 2011 10:10, "Eason" wrote:
> Hi all,
>
> I am trying to make several apps that can listen to system states all
> the time and give responses when there is any event ha
ListView l1
l1.setOnItemClickListener(new OnItemClickListener() {
public void onItemClick(AdapterView arg0, View v,int arg2, long arg3) {
xxxYourObject Type selectedObject = YourObjectList.get(arg2);/
Intent intent = new Intent(v.getContext(), YourActivity.class);
intent.putExtras(YourObject.toBun
new PersonnelLookUpTask();// start task..choose where u want to start
it..oncreate or button click..ur choice.
Input|Progress(u can ignore this parameter)|Output
private class YourLookUpTask extends AsyncTask>{
@Override
protected ArrayList doInBackground(String... params) {
//put the stu
I would use a hash map ...key value
Map yourMap = new HashMap(>);
populate your adapter from the list after identifying which key u are
interested in
On 8 April 2011 12:35, Duskox wrote:
> Hello people,
>
> so I am trying to build a somewhat simple app where I am working with
> an array of obj
9 matches
Mail list logo