[android-developers] Widget

2012-02-14 Thread Omollo Ateng
How to use a widget to start and stop an application. pliz help me, any idea

-- 
Be good to not only people but also machines

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] How to start Intent of Packet data network

2012-02-13 Thread Omollo Ateng
This is to check if GPRS is on and the network, write it within a function.


String provider = Settings.Secure.getString(getContentResolver(),
  Settings.Secure.LOCATION_PROVIDERS_ALLOWED);
   if(!provider.equals()){
   //GPS Enabled
Toast.makeText(EmodroidActivity.this, Your GPS is on:   +
provider,Toast.LENGTH_LONG).show();
   }else{
Intent intent = new
Intent(Settings.ACTION_SECURITY_SETTINGS);
   startActivity(intent);
   }



On Mon, Feb 13, 2012 at 10:32 AM, Dhaval Varia dhavalkva...@gmail.comwrote:

 My application required to have internet connection.

 I need two things:

 1.  Check Weather Internet (GPRS Not wifi) is on??
 2. If it is off then make it on. OR start Intent to make it on...

 Please help...

 --
 Thanks  Best Regards.

 
 Dhaval varia
 Assistant Professor
 Govt Engineering College,Modasa
 (9924343883)

  --
 You received this message because you are subscribed to the Google
 Groups Android Developers group.
 To post to this group, send email to android-developers@googlegroups.com
 To unsubscribe from this group, send email to
 android-developers+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en




-- 
Be good to not only people but also machines

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

[android-developers] CountDownTimer

2012-02-06 Thread Omollo Ateng
hey all, i want to send an sms after 1 minute, please may you help me with
this code please using count down timer

-- 
Be good to not only people but also machines

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

[android-developers] Widget or Button

2012-02-03 Thread Omollo Ateng
hey, please how can i apply a widget to my app so that it can toggle my
application on or off when a user clicks the widget on the screen.
any ideas will be appreciated. Thank u

Best Regards

-- 
Be good to not only people but also machines

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

[android-developers] hey all

2012-01-31 Thread Omollo Ateng
i want to monitor another phone number's location, which listeners should i
use?

-- 
Be good to not only people but also machines

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] Eclipse launch emulator error...

2012-01-26 Thread Omollo Ateng
You are working on which platform windows or linux?

On Thu, Jan 26, 2012 at 10:53 PM, Greg Krimer gkri...@gmail.com wrote:

 Try creating a new workspace.
 On Jan 26, 2012 10:06 AM, stringa sstri...@gmail.com wrote:

 Hello.  There was a time where I tried to setup an emulator launch
 option in Eclipse, since then, I have removed the string.  I keep
 getting the following error.  I've reinstalled the SDK, I've deleted
 and re-created the project from my SVN sources and I keep getting this
 error in Eclipse.

 [2012-01-25 21:41:45 - Emulator] unknown option: -package-size
 [2012-01-25 21:41:45 - Emulator] please use -help for a list of valid
 options

 I don't know how to get rid of this.

 I would love some help,

 Thanks,
 stringa

 --
 You received this message because you are subscribed to the Google
 Groups Android Developers group.
 To post to this group, send email to android-developers@googlegroups.com
 To unsubscribe from this group, send email to
 android-developers+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en

  --
 You received this message because you are subscribed to the Google
 Groups Android Developers group.
 To post to this group, send email to android-developers@googlegroups.com
 To unsubscribe from this group, send email to
 android-developers+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en




-- 
Be good to not only people but also machines

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

[android-developers] Toggling an app

2012-01-23 Thread Omollo Ateng
hi everyone, i have an app that uses the orientation sensors, how do u
toggle it off or on.
For Example
when users want to use the app they toggle it on
when they dont want to use it they toggle it off

Your help will be of great use

Best Regards
Omollo Jacob
-- 
Be good to not only people but also machines

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

[android-developers] how to installing Android 2.3.6 (Gingerbread) on Huawei U8150 IDEOS

2012-01-19 Thread Omollo Ateng
hey there,
pliz help me to install android 2.3.6 (Gingerbread) on *Huawei U8150
IDEOS *which
is running on the default *Android 2.2.1 (Froyo).*

Any help pliz clearly indicating the procedures

Thank you.

Be good to not only people but also machines

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] Re: how to installing Android 2.3.6 (Gingerbread) on Huawei U8150 IDEOS

2012-01-19 Thread Omollo Ateng
isn't that not development?
I have an app for emergency i have tested it with Froyo, i want to test it
with Gingerbread.

Just help if you can help if you cannot then quit!

On Thu, Jan 19, 2012 at 1:02 PM, sell.bergstr sell.bergst...@googlemail.com
 wrote:

 this is a forum about android development. Good bye.

 On 19 Jan., 10:29, Omollo Ateng omollo.at...@gmail.com wrote:
  hey there,
  pliz help me to install android 2.3.6 (Gingerbread) on *Huawei U8150
  IDEOS *which
  is running on the default *Android 2.2.1 (Froyo).*
 
  Any help pliz clearly indicating the procedures
 
  Thank you.
 
  Be good to not only people but also machines

 --
 You received this message because you are subscribed to the Google
 Groups Android Developers group.
 To post to this group, send email to android-developers@googlegroups.com
 To unsubscribe from this group, send email to
 android-developers+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en




-- 
Be good to not only people but also machines

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

[android-developers] mapview

2011-11-10 Thread Omollo Ateng
hi all, i have developed a map view as explained here
http://developer.android.com/resources/tutorials/views/hello-mapview.html,
but always when i run the application, it crashes, it does not even show
the grey lines, please help me here

*main.xml*
?xml version=1.0 encoding=utf-8?
com.google.android.maps.MapView
xmlns:android=http://schemas.android.com/apk/res/android;
android:id=@+id/map_view
android:layout_width=fill_parent
android:layout_height=fill_parent
android:clickable=true
android:apiKey=0_aJsWxo9-vKzgRcVhRkzX68TcTxl5-UgB9ZH_Q

 /

*
My Manifest file is*

?xml version=1.0 encoding=utf-8?
manifest xmlns:android=http://schemas.android.com/apk/res/android;
package=com.google.maps android:versionCode=1
android:versionName=1.0
uses-sdk android:minSdkVersion=9 /
uses-permission android:name=android.permission.INTERNET /
application android:icon=@drawable/icon
android:label=@string/app_name
uses-library android:name=com.google.android.maps /
activity android:name=.Campocoz android:label=@string/app_name
android:theme=@android:style/Theme.NoTitleBar
intent-filter
action android:name=android.intent.action.MAIN /
category android:name=android.intent.category.LAUNCHER /
/intent-filter
/activity

/application

uses-permission
android:name=android.permission.ACCESS_FINE_LOCATION/
/manifest

*My Java file is:*

package com.google.maps;

import com.google.android.maps.MapActivity;
import com.google.android.maps.MapView;

import android.os.Bundle;


public abstract class Campocoz extends MapActivity {
/** Called when the activity is first created. */

private MapView mapView;
@Override
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.main);
mapView= (MapView)findViewById(R.id.map_view);
mapView.setBuiltInZoomControls(true);
}
@Override
protected boolean isRouteDisplayed(){
return false;
}
}


Please tell me where i went wrong? The application just crashes, it doesn't
even load the g*rey lines*
Thank you
-- 
Be good to not only people but also machines

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] mapview

2011-11-10 Thread Omollo Ateng
plis give me a full code for that controller and where to use the variable
map
thank you

On Thu, Nov 10, 2011 at 5:25 PM, Narendra Singh Rathore 
nsr.curi...@gmail.com wrote:

 Hey Omollo, it seems you haven't taken MapController.

 MapController map = mapView.getController();

 Try this, I hope you will succeed.

 --
 You received this message because you are subscribed to the Google
 Groups Android Developers group.
 To post to this group, send email to android-developers@googlegroups.com
 To unsubscribe from this group, send email to
 android-developers+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en




-- 
Be good to not only people but also machines

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

[android-developers] Voice input

2011-11-07 Thread Omollo Ateng
hi there, please i need a code to enable voice where by if it is
recognized, the texts show on the EditText not on the List View as
described by other groups.

Thank you

-- 
Be good to not only people but also machines

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] Development platform

2011-11-07 Thread Omollo Ateng
I use Ubuntu 11.10 (Oneiric Ocelot) Linux - for my android application
development platform  to have the application running well and good. just
need jdk running that is openjdk-6-jdk and eclipse SDK for linux that is
Helios, and android SDK.

Best Regards
all the best

On Mon, Nov 7, 2011 at 12:23 PM, Pawan Singh Rathore 
pawan.s.rath...@gmail.com wrote:


 Best Regards,
 Pawan Rathore

 Ubuntu is best one.
 I am using 11.04


 On Sat, Nov 5, 2011 at 4:28 PM, anup anupwattam...@gmail.com wrote:

 Hello i am newbee for the android development can anyone suggest
 suitable linux platform to develop application for android phone...

 --
 You received this message because you are subscribed to the Google
 Groups Android Developers group.
 To post to this group, send email to android-developers@googlegroups.com
 To unsubscribe from this group, send email to
 android-developers+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en


  --
 You received this message because you are subscribed to the Google
 Groups Android Developers group.
 To post to this group, send email to android-developers@googlegroups.com
 To unsubscribe from this group, send email to
 android-developers+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en




-- 
Be good to not only people but also machines

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] how to use intent??

2011-10-31 Thread Omollo Ateng
Intents are used explicitly or implicitly an example of explicit intent is;
This is an intent to make a call.

Uri call =Uri.parse(tell:53423232);
Intent myintent =newj Intent(Intent.CALL_PHONE, call);
StartActivity(myintent);
Then create permission for making a phone call in the android manifest file
in your android project.

On Mon, Oct 31, 2011 at 4:09 PM, Rohan Tilekar mail.rohan...@gmail.comwrote:

 i want to use intent. how do i start with intent??

 --
 You received this message because you are subscribed to the Google
 Groups Android Developers group.
 To post to this group, send email to android-developers@googlegroups.com
 To unsubscribe from this group, send email to
 android-developers+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en




-- 
Be good to not only people but also machines

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

[android-developers] ANDROID WIDGETS

2011-10-28 Thread Omollo Ateng
Hi there, am developing an application using both activity and service. I
would like a widget to be on the screen such that if clicked (tapped), it
starts my app, and if again tapped - in a toggle mode, it stops my app.
Please anybody with an idea.

Best regards

-- 
Be good to not only people but also machines

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] ANDROID WIDGETS

2011-10-28 Thread Omollo Ateng
no it is an activity

On Fri, Oct 28, 2011 at 12:02 PM, Isaac Wesley wonder...@gmail.com wrote:

 Is the app you are trying to start, a service?

 On Fri, Oct 28, 2011 at 11:48 AM, Omollo Ateng omollo.at...@gmail.comwrote:

 Hi there, am developing an application using both activity and service. I
 would like a widget to be on the screen such that if clicked (tapped), it
 starts my app, and if again tapped - in a toggle mode, it stops my app.
 Please anybody with an idea.

 Best regards

 --
 Be good to not only people but also machines

  --
 You received this message because you are subscribed to the Google
 Groups Android Developers group.
 To post to this group, send email to android-developers@googlegroups.com
 To unsubscribe from this group, send email to
 android-developers+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en




 --
 Thank you,
 Best Regards
 Wesley
 (creative head, Wonder Viz)
 Mob : +91 9176071494

 Confidentiality Notice:
 This message is intended only for the use of the individual or entity to
 whom it is addressed and contains information that is privileged and
 confidential. If you are not the intended recipient, you should not
 disclose, disseminate, distribute, copy or use any of the information
 contained in this transmission. If you have received this message in error,
 please delete it from your system and notify us immediately by telephone or
 email us back. Thank you. While all reasonable care has been taken in
 preparing this email, we do not warrant that this email or any attachment to
 it is free of computer viruses

  --
 You received this message because you are subscribed to the Google
 Groups Android Developers group.
 To post to this group, send email to android-developers@googlegroups.com
 To unsubscribe from this group, send email to
 android-developers+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en




-- 
Be good to not only people but also machines

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] Filtering Android Sensors Noise

2011-10-18 Thread omollo ateng
hi there? am also just in the same problem.
Am developing an app which is using the orientation and tilt sensors. Can 
someone tell me if i can lay down some scale of tilting whereby at some 
degrees, then something is done. if possible give a code snippet on how to 
go about it.

Best regards

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en