I have created one main class which extends activity. Another class
which extends BroadcastReceiver. The code of it is as below.
import android.app.NotificationManager;
import android.content.*;
import android.app.Notification;
import android.widget.*;
public class AlarmReceiver extends
On Jan 8, 5:52 pm, Honest honestsucc...@gmail.com wrote:
I have created one main class which extends activity. Another class
which extends BroadcastReceiver. The code of it is as below.
import android.app.NotificationManager;
import android.content.*;
import android.app.Notification
I want to start the application after particular interval time. How
this could be possible. Can some one give me some clue ? Which
permission i will have to use ? I hope some one will give me reply as
early as possible ?
--~--~-~--~~~---~--~~
You received this
Respected Sir
Can you give me URL for public forum ? Sorry if i am asking you silly
question but i am beginner so if possible please help me.
On Jan 20, 11:12 am, Dianne Hackborn hack...@android.com wrote:
Use the AlarmManager.
On Mon, Jan 19, 2009 at 9:12 PM, Honest honestsucc...@gmail.com
I am using AlaramManager to invoke my application after particular
time
intarval. For that i need to create the object of PendingIntent. I
want
to ask some question for that.
1) I want that after particular time interval the same class start in
execution so can i put current class name to
I created one application to start application After particular time
interval. My application working fine but it does not do particular
work
after particular time. I mean it does not used to start automatically
after the time which i set in AlaramManager.
My coding and xml file is as below.
I hope some one will reply me as early as possible.
--~--~-~--~~~---~--~~
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
I am porting one java applet project on android. The java application
is using the classes from javax.sound. I came to know that currently
android does not support this javax.sound package. Can some one tell
me what should be alternate of this ?
I am porting one project which is using audio capability with open GL.
Now my java code is using AudioFormat class which has purpose to do
Encoding Technique and it has property which specify the exact
arrangement of the data like number of channel number of channels,
sample rate, sample size,
On Apr 6, 3:00 pm, Desu Vinod Kumar vinny.s...@gmail.com wrote:
Can u please any body tell that
How to give the path for audio file to play ..
i have a file on E\Songs\ folder Source
I want to give it as a path to our media player present in android Api
can any body please provide that
I am porting one project which is using audio capability with open GL.
Now my java code is using AudioFormat class which has purpose to do
Encoding Technique and it has property which specify the exact
arrangement of the data like number of channel number of channels,
sample rate, sample size,
On Apr 6, 7:10 pm, Honest honestsucc...@gmail.com wrote:
I am porting one project which is using audio capability with open GL.
Now my java code is using AudioFormat class which has purpose to do
Encoding Technique and it has property which specify the exact
arrangement of the data like
Hello,
My application has requirements to store or edit the file data in the
file which is available in Raw folder. Can some one tell me how it is
possible ?
I want to store the audio data in mp3 file which is available in res
folder.
--~--~-~--~~~---~--~~
You
Hello,
I am trying to play file which is stored in SDCARD in emulator. I have
Linux O/S. So i need to provide command in run configuration.
I am providing following parameter.
-sdcard /usr/android/sdcard/mysdcard.iso -audio oss
[i]
The following is my code to play file.
try
{
Thanks nitin for your quick reply. From you suggestion i solved my
problem but i am not geting why it is not able to access file from
sdcard even if the file is available there so there should be
something wrong in it. I also added the command line paramiter which i
am passing so please take a
Hello, I am using linux so i have installed Android in it. I am
getting the exception while calling prepare() from MediaPlayer
object. The following is my code.
[b]
File bufferedFile = new File(context.getCacheDir(),playingMedia +
(counter++) + .dat);[/b]
the preview SDK 1.5, then a cache partition file is automatically
created for you when you create an AVD, and
will be used automatically when you start the emulator with this AVD.
On Thu, Apr 16, 2009 at 2:38 PM, Honest honestsucc...@gmail.com wrote:
Hello, I am using linux so i have installed
Hello,
I am porting one project from java to android which is using Open GL.
Now i saw that my java application is using GLContext but i am not
able to find that class and any work around for that. So can some one
tell me what could be work around of it ?
Any suggestion would be appreciated.
Hello,
I am facing problem in drawing square in open gl. The following is my
code so please let me know if any thing wrong in it.
/*
* Copyright (C) 2008 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the License);
* you may not use this file except in compliance with the
I tried to use AlaramManager . First i used receiver in the manifest
file but it is not working well. now i want to use registerReceiver
(). But can some one please tell me how can i use it. It requires the
paramiter IntentFilter and BroadcastReceiver. Can some one please
tell me how can i
I made a one screen by using xml file. I had a 2 TextView and `1
spinner one the screen but i am facing some proble with spinner.
I hope some one will help me in this.
1) how can i add elements in the list ?
2) whenever i clicked on spinner at the botam it display something
like textbox and i
I have one application which is based on OPEN GL in java. Now i want
to make same application in android then i just need to port this code
to android or i will have to make whole android application from
scratch. Any suggestion will be appreciated.
Hello,
i need to store data securely. So can some one tell me what should be
the best way to store it on device. Is there something like registory
in android.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android
Hello,
I got following Exception while inserting data into database. The
Exception is as follow.
no such table: inbox
: , while compiling: INSERT INTO inbox(from_num, content, date1,
time1) VALUES(?
, ?, ?, ?);
--~--~-~--~~~---~--~~
You received this message
Hello,
I have wrote the code to create and write the table. But it is giving
the following exception.
android.database.sqlite.SQLiteException: no such table: inbox
1: , while compiling: INSERT INTO inbox1(from_num, content, date1,
time1) VALUES
(?, ?, ?, ?);
The following is code to create
Hello,
Thanks for you reply. So what should i do to call it ?
On Oct 2, 5:41 pm, Mark Murphy mmur...@commonsware.com wrote:
But it did not call onCreate(SQLiteDatabase db) never so can some one
tell me what can be the issue in it ?
Here are some possibilities:
1. You are not using the
and the most significant thing is it is giving error that there is no
Table exists with the name inbox1.
On Oct 2, 5:41 pm, Mark Murphy mmur...@commonsware.com wrote:
But it did not call onCreate(SQLiteDatabase db) never so can some one
tell me what can be the issue in it ?
Here are some
Hello,
I am fetching Sent SMS from application. But i am not able to get the
time on which that SMS sent. I am getting the following things. Can
some one tell me how can i uniquely identify each SMS by the following
field ? My purpose with the time is to uniquely identify sent sms but
is there
Hello,
my application has a purpose that parents can track of mobile activity
of there child. So my application basically update sms and call
information to the web site. Will i able to put my company
application to the android store ?
--~--~-~--~~~---~--~~
You
Hello,
My application used to start when phone start by broadcast reciever.
After that i used to execute some code after every 10 seconds. Using
handler but after some time it used to stop execution. Can some one
tell me what can be reason behind it ?
Hello,
I am retrieving data from database after particular time in service.
For sometimes it works perfectly but after some time it used to give
following exception. Can some one tell me what can be wrong in it ?
E/JavaBinder( 142): java.lang.RuntimeException: No memory in memObj
Hello,
I used phoneStateListener and telephonyManager to get the state of
outgoing and incoming call but during outgoing call it is not passing
number in public void onCallStateChanged (int state, String
incomingNumber). Is there any work around of it.
Hello,
Can some one tell me how can i retrieve the number of outgoing call ?
I am able to get notification in BroadcastReceiver but not able to get
the number on which it is making call. Can some one tell me how can i
get the number ? I wrote the following code but it is throwing
exception.
My application used to execute in background by service. But sometimes
when it goes in exception it is giving Exception with the Force Close
Message Box. I want to avoid that Message box. Is there any way to
avoid it ?
--
You received this message because you are subscribed to the Google
Groups
Generally the exception comes when http connection is running and
suddenly wifi goes off then it gave exception. This is real time
problem so we can not control wife connectivity. So is there any
solution of it.
On Oct 31, 4:43 pm, Mark Murphy mmur...@commonsware.com wrote:
Honest wrote:
My
Hello,
From my application i need to do communication with external bluetotoh
device. applictrion need to communicate using SPP profile connection.
So can some one tell me which android version i should use ? i did
work on 1.5 bluetooth but we have to use third party tool. so can some
one
wrote:
I have a Bluetooth SPP app working on version 2.1 without using a 3rd
party tool. Which tool did you use BTW?
On Jan 29, 8:17 pm, Honest honestsucc...@gmail.com wrote:
Hello,
From my application i need to do communication with external bluetotoh
device. applictrion need
Can some one tell me how can i get signal strenght of my GSM network ?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to
Can some one tell me how can i get signal strenght of my GSM network ?
How to start application in back ground ?
I want to receive sms and i do not want that new sms symbol display on
homes screen at top. Is it possible ?
and in the same way i do not want that gprs symbol should display.
So
this symbols.
--
Roman Baumgaertner
Sr. SW Engineer-OSDC
·T· · ·Mobile· stick together
The views, opinions and statements in this email are those of the
author solely in their individual capacity, and do not necessarily
represent those of T-Mobile USA, Inc.
On Aug 3, 4:10 am, Honest honestsucc
Hello,
I want to prevent native application to receive message.I want that my
application only receive message. Is it possible ? if yes then how ?
can i access the received message and delete it ?
--~--~-~--~~~---~--~~
You received this message because you are
But can i delete the inbox messages ?
On Aug 4, 1:48 pm, peter heywoodpres...@gmail.com wrote:
I don't think you can do it on android system.
if you could, other application could do it too.
On Aug 4, 1:27 pm, Honest honestsucc...@gmail.com wrote:
Hello,
I want to prevent native
Hello,
I want to record the outgoing and incoming call. Can some one tell me.
Is it feasible or not ?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to
to do it?
but i think you could capture voice from people who talk to the phone
with voice record
On Aug 6, 1:46 pm, Honest honestsucc...@gmail.com wrote:
Hello,
I want to record the outgoing and incoming call. Can some one tell me.
Is it feasible
Hello,
I want to do USB communication in android. Can some one give me some
links to starat with it,.Any code snippt will be much appreciated.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Developers
Hello,
I want to read csv file from res. Can some one tell me how can i read
it ?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to
Hello,
You all might know that we can get latitude and longitude by passing
cell id and LAC to google API but can some one what is the accurasy
in it if we use it in real life application.
--~--~-~--~~~---~--~~
You received this message because you are
I want to use bluetooth APIS in my android application. I could found
the API related to wifi but i could not find the API for bluetooth.
Can some one tell me how can i use it ? any links for API docs and
code snippt will be much useful to me.
Thanks to all.
Thanks mark for your reply. So is there no way by which we can use
bluetooth API.
On Aug 9, 4:43 pm, Mark Murphy mmur...@commonsware.com wrote:
I want to use bluetooth APIS in my android application. I could found
the API related to wifi but i could not find the API for bluetooth.
Can
Hello,
Stefano Sanna thanks for your great work. I put one issue in your
project please take a look at it and let me know.
On Aug 9, 7:49 pm, Stefano Sanna gerda...@gmail.com wrote:
Hi.
On Sun, Aug 9, 2009 at 1:29 PM, Honesthonestsucc...@gmail.com wrote:
I want to use bluetooth APIS in my
endLongitude, float[]
results)
in the Location
classhttp://developer.android.com/reference/android/location/Location.html...[])
On 9 Aug., 11:52, Honest honestsucc...@gmail.com wrote:
Hello,
I want to know that how can i calculate distance between two point
using their latitude
Hello,
I want to create list with multiple selection. Can some one tell me
how can i create it ? code snippt will be much useful.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to
Hello,
Can some one tell me how can i specify I.D in android ? acutlly i want
to create List . I add the following code in main.xml file. But i do
not know where i should specify @android:id /list. Can some one tell
me where i should specify it ?
ListView android:id=@android:id/list
and statements in this email are those of
the author solely in their individual capacity, and do not
necessarily represent those of T-Mobile USA, Inc.
On Aug 10, 4:36 am, Honest honestsucc...@gmail.com wrote:
Hello,
I want to create list with multiple selection. Can some one tell me
how can i
Hello,
I want to create the checkbox dyananically and display them to the
screen. My problem is that at compilation time i will not know that
how many check boxes i will have to create. So can some one tell me
how can i do it ? I am so thankful to you as i have wasted already 2
days behind this
, Inc.
On Aug 11, 5:44 am, Honest honestsucc...@gmail.com wrote:
Hello,
I want to create the checkbox dyananically and display them to the
screen. My problem is that at compilation time i will not know that
how many check boxes i will have to create. So can some one tell me
how can i do
from last two days. Sometimes easy things take
time.
On Aug 11, 10:58 pm, skink psk...@gmail.com wrote:
On Aug 11, 4:54 pm, Jack Ha jack...@t-mobile.com wrote:
You can create an empty LinearLayout and call its addView() function
to add the checkboxes dynamically in your code.
if Honest
writing UI code programatically.
Seehttp://developer.android.com/guide/samples/ApiDemos/src/com/example/a...
for an example of adding multiple TextView and Button to a ScrollView
in a for loop.
On Aug 11, 2:12 pm, Honest honestsucc...@gmail.com wrote:
Thanks pskink for you reply. But can you
.
On Aug 11, 3:29 pm, Honest honestsucc...@gmail.com wrote:
Thanks i saw that example but now only one question in my mind. Can i
get the status of that checkbox letter ? if yes how. I am not finding
any assosiated ID with it so can some one tell me how can i do it ?
On Aug 12, 12:09 am
I want to start my application when phone start and after that i do
not want that user can know that my application is running. Is there
any way i can do it ? In phone when we press home screen for some
times it display all running application. I do not want my application
to display in that
Thanks for your reply.
Can you tell me how i can create background service ?
On Aug 13, 12:06 pm, String sterling.ud...@googlemail.com wrote:
On Aug 13, 7:29 am, Honest honestsucc...@gmail.com wrote:
I want to start my application when phone start and after that i do
not want that user
Hello,
I want to hide my application from user so i just want to create
service. Can some one tell me how can i create service only with out
activity. Can some one tell me can i create only the service in whole
project instead of activity. Is it feasible ?
Hello,
I came to know about Timer in android. I read
http://android-developers.blogspot.com/2007/11/stitch-in-time.html
that Timer is not available at Runtime.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android
Engineer-OSDC
·T· · ·Mobile· stick together
The views, opinions and statements in this email are those of the
author solely in their individual capacity, and do not necessarily
represent those of T-Mobile USA, Inc.
On Aug 13, 6:16 am, Honest honestsucc...@gmail.com wrote:
Hello,
I want
Hello,
I have created the one class named MyService which extends Service. it
is in com.saltriver.service package. Now can some one tell me how i
should specified it in anroidmanfiest.xml file. The following is
content of xml file but it is giving error in service. so can some
one tell me what
hello,
I tried to create service by following code but in logcat i got
following error Unable to start service intent The following is
my manifest.xml file.
?xml version=1.0 encoding=utf-8?
manifest xmlns:android=http://schemas.android.com/apk/res/android;
I want to start application when phone starts and want to hide it from
the user so i did in following way. The follinng is broadcast code.
public class yourReceiver extends BroadcastReceiver {
// @Override
public void onReceive(Context context, Intent intent) {
/*
Intent
i have two latitude and longitude. I want to display it on map in
street view on phone. can some one tell me how can i do it ?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to
at the same level is receiver; uses-permission should be
an immediate child of manifest.
On Tue, Aug 18, 2009 at 4:56 AM, Honest honestsucc...@gmail.com wrote:
I want to start application when phone starts and want to hide it from
the user so i did in following way. The follinng
Hello,
I want to display my two point on maps. I saw many example but they
are using MapActivity when i used MapActivity in my sdk which is 1.5.
it seems it is not available in it. So is it true that it is not
available in 1.5 API. So is there any other alternative for it. can i
do it using the
Hello,
I want to add String values in spinner at run time. My problem is that
the value is not available in res file. Can some one tell me how can i
do it ? I just want to insert one String array or simple String run
time in Spinner.
--~--~-~--~~~---~--~~
You
I could not find MapActity in my android 1.5.
On Aug 19, 12:11 pm, tstanly tsai.sta...@gmail.com wrote:
if you want to put color on the mapview,
you must use the overlay class
search for overlay in the map API
On 8月19日, 下午2時16分, Honest honestsucc...@gmail.com wrote:
Hello,
I want
,bankList);
//android.R.layout.simple_expandable_list_item_1
s1.setAdapter(adapter);
layout.addView(s1);
On Aug 19, 3:39 pm, Mark Murphy mmur...@commonsware.com wrote:
Honest wrote:
I want to add String values in spinner at run time. My problem
, Inc.
On Aug 19, 4:10 am, Honest honestsucc...@gmail.com wrote:
I could not find MapActity in my android 1.5.
On Aug 19, 12:11 pm, tstanly tsai.sta...@gmail.com wrote:
if you want to put color on the mapview,
you must use the overlay class
search for overlay in the map API
Hello,
My application is getting notification for incoming call and playing
sound so the caller can listen it but some how the caller is not able
to listen it. Can some one tell me any work around or any thing which
seems feasible ?
--~--~-~--~~~---~--~~
You
I am putting one spinner and one button using following code. Can some
one tell me how can i put some space between it ?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group,
);
layout.addView(okBtn);
On Aug 20, 5:30 pm, Honest honestsucc...@gmail.com wrote:
I am putting one spinner and one button using following code. Can some
one tell me how can i put some space between it ?
--~--~-~--~~~---~--~~
You received this message because you
can you give me any code snippt for it ?
On Aug 20, 6:17 pm, Mark Murphy mmur...@commonsware.com wrote:
Honest wrote:
The following is my java file code as i am adding controls in java
file so please take a look at it and let me know..
Country.setAdapter(adapter
Hello,
I want to dispaly one point on map. for that i will have to create the
object of GeoPoint and we need to pass the altitude and longitude in
it in Microdegrees. so can some one tell me how can i do it ?
--~--~-~--~~~---~--~~
You received this message because
Hello,
Can some one tell me how can i get area name by passing latitdue and
longitude in android? Which api i will have to use.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to
Hello,
My project was working fine in android 1.5 but i need to use google
maps so i used google APIS and did some change in API to merge MAPS
functionality which was in other application.but some how i got
exception and my application stopped working. It is even not starting
so can some one
=android.permission.ACCESS_FINE_LOCATION/uses-
permission
uses-permission
android:name=android.permission.ACCESS_COARSE_LOCATION/uses-
permission
uses-permission android:name=android.permission.INTERNET/uses-
permission
/manifest
On Aug 24, 5:50 pm, Honest honestsucc...@gmail.com wrote:
Hello,
My project
in this email are those of
the author solely in their individual capacity, and do not
necessarily represent those of T-Mobile USA, Inc.
On Aug 24, 6:15 am, Honest honestsucc...@gmail.com wrote:
It seems the problem is in manifest file as i have put try catch every
where yet it is giving message
I have two activity in my project. I am callilng second activity from
main activity. can some one tell me how can i pass some data to that
activity ? Simply i want to pass object array. Can some one tell me
how can i do it ?
--~--~-~--~~~---~--~~
You received this
can you give me code snippt for how to use Intanet data bundle ?
On Aug 25, 12:35 am, Hong lordh...@gmail.com wrote:
array/list of Parcelables via intent data bundle
On Mon, Aug 24, 2009 at 3:16 PM, Honest honestsucc...@gmail.com wrote:
I have two activity in my project. I am callilng
Hello,
I am displaying MAP and some point on it. But some how it is not
displaying directly on particular point. Instead of it is displaying
screen from which i have left previously. Can some one tell me how can
i make display of the map on particular point.
Another thing is i want to display
If I am starting at first time then it is displaying maps aroudn UK
even if i have drawn the point inside australia or any other country.
On Aug 25, 7:35 pm, Honest honestsucc...@gmail.com wrote:
Hello,
I am displaying MAP and some point on it. But some how it is not
displaying directly
Hello,
I am displaying Maps in my application. I am adding some GeoPoint in
it and displaying picture at particular point. Now my problem is my
screen is not directly displaying that point. Instead of it is display
US part first time and when i open maps after first time it displays
the previous
Hello
I want to draw line between the points i am creating on maps the
following is my code but it is not working preoprly can some one tel
me what could be wrong in it.
if(i=1)
{
mapControler.setCenter(point);
p1 = new Point();
I am playing one audio file when call arrives so the caller can
receive it at other side but the issue is yet the opposite caller is
not able to listen it what could be wrong in it. Can some one tell me
what can be the issue in it ?
--~--~-~--~~~---~--~~
You
Hello,
My application required to draw image on full screen. now the phone
screen size will be different. So will i have to make different image
for each phone or i can use just one image and it can display on full
screen in any device.
--~--~-~--~~~---~--~~
You
I want to run my project in background. So for that i am starting my
application when phone starts. But when user go in settings and press
force close my application it close. So i do not want to display my
application entry in settings. Is it feasible ?
Hello,
can some one tell me how can i get notification when user send message
from mobile ?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to
Hello,
I would like to get notification when user open browser and open any
web page. Even i would like to get notification when user send sms
from native application. Is it feasible. If it is not feasible. How
can i get contents of outbox or sent items from phone.
Hello,
I need to get recently visited web pages so i am using following
permission. I got its reference from
http://github.com/android/platform_packages_apps_browser/blob/0cb2af7646d0a41c0543a086021df3042bfc814a/AndroidManifest.xml.
But it is giving me error. can some one tell me what is wrong
Hello,
I am getting following exception. does some one know what can be
reason of it ?
E/AndroidRuntime( 2218): Uncaught handler: thread main exiting due to
uncaught e
xception
E/AndroidRuntime( 2218): java.lang.NullPointerException: println needs
a message
E/AndroidRuntime( 2218):at
I am porting one open gl based applet application to android. In that
there is use of Animator class of JOGL. which class i can use instead
of it in open gl in android.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
I read the docs for installing android plugin for eclipse. I did it
according to it and i have downloaded and installed the plugin but
after that when i cliced on Windows-prefrences i could not find
Android in left panel. What could be wrong in it ?
hello,
i am starting new activity from current activity but some how before
starting activity i am getting Null Pointer exception. and
startActivity() from source activity calls sucessfully. I am getting
Null Pointer exception. the following is code.
Intent intent = new
hello,
in my application i want that user can select file from sd card and
phone memory. so can some one tell me is there any control available
to display file open or file save dilog box.
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To
1 - 100 of 134 matches
Mail list logo