Group: http://groups.google.com/group/android-developers/topics
- onActivityResult never invoked under tab activity [1 Update]
- View height changes when image set as background by 1.25 times of the image height [1 Update]
- Can you give me the answer...about 'Unable to stop activity'... [2 Updates]
- Re : DOMParser [2 Updates]
- Android widget: dinamically list from own combiled string (as template) [2 Updates]
- Sip Demo run problem on samsung galaxy Y 2.3.6 [1 Update]
- How to send DTMF? [1 Update]
- Mute button in call [1 Update]
- How to "flick" using monkeryrunner? not just "drag". [1 Update]
- Application Licensing for 7 days trial period in Android [1 Update]
- switching between api level targets in eclipse [3 Updates]
- Disable window or screen resize when soft keyboard is displayed [1 Update]
- Android Market - Test Marketing [2 Updates]
- How to change default HIPRI connection expiry? [1 Update]
- No TOUCHABLE_INSETS_REGION constant field under InputMethodService.Insets class in SDK [1 Update]
- How to prevent window from adjusting when soft keyboard is displayed [1 Update]
- OEM USB Driver for Pantech [1 Update]
- Push Notification [1 Update]
- Getting wierd Problem in WebView.. [1 Update]
- vani reddy <vani.reddy.blore@gmail.com> Mar 01 12:25PM +0530
Hi friends,,
In my tabactiviy i am doing a startActivityForResult from ActivityA which
is under activity group to a new class ActivityB which is not under
Tabactivity,
From ActivityB when i do setResult(RESULT_OK,intent); finish();
onActivityResult is never invoked in ActivityA.
It is not working.
I referred this link but did not understand much .
http://stackoverflow.com/questions/2497205/how-to-return-a-result-startactivityforresult-from-a-tabhost-activity
--
Regards,
Vani Reddy
- moktarul anam <moktarul@gmail.com> Feb 29 10:51PM -0800
Reddy,
hmm... do this way..
in textview setbackground .. one xml file .. that file will be in drawable
file
and there u set background. Basically u add set background drawable xml
Moktarul
On Wednesday, 29 February 2012 17:21:40 UTC+5:30, Reddy wrote:
- TreKing <trekingapp@gmail.com> Feb 29 10:00PM -0600
> i don't know why this happen,,,
Step 1, read your stack track "Cause by" line.
> android.media.MediaPlayer._stop(Native Method)
> 02-29 21:19:31.765: E/AndroidRuntime(5374): at android.media.*
> MediaPlayer.**stop*(MediaPlayer.java:964)
Step 2, read the documentation to see why that method would throw that
exception.
http://developer.android.com/reference/android/media/MediaPlayer.html#stop%28%29
-------------------------------------------------------------------------------------------------
TreKing <http://sites.google.com/site/rezmobileapps/treking> - Chicago
transit tracking app for Android-powered devices
- moktarul anam <moktarul@gmail.com> Feb 29 10:13PM -0800
Hi
This issue is coming because of media player if ur see
02-29 21:19:31.765: E/AndroidRuntime(5374): Caused by:
*java.lang.**IllegalStateException*
02-29 21:19:31.765: E/AndroidRuntime(5374): at
*android.media.MediaPlayer*._stop(Native Method)
02-29 21:19:31.765: E/AndroidRuntime(5374): at
*android.media.MediaPlayer.**stop*(MediaPlayer.java:964)
this is basically memory leak issue.
http://code.google.com/p/android/issues/detail?id=957
http://stackoverflow.com/questions/7089201/android-media-player-returns-illegalstateexception
http://stackoverflow.com/questions/4445663/mediaplayer-prepare-is-throwing-an-illegalstateexception-when-playing-m4a-file
this s common issue in android .. just go through these link and will
solve ur problem
Enjoy
Moktarul Anam
On Wednesday, 29 February 2012 18:08:17 UTC+5:30, Jae-young Yun wrote:
- vivek elangovan <elangovan.vivek@gmail.com> Feb 29 08:38PM -0800
Hi members,
Using DOMParser i m able to retrieve XML data from my
database.Now i need to pass the "name" which i retrieved to other class
using intenet,but i m not able to read it here is my code :
void parseByDOM(String response) throws ParserConfigurationException,
SAXException, IOException {//response is ur xml as string
DocumentBuilderFactory dbf = DocumentBuilderFactory.newInstance();
DocumentBuilder db = dbf.newDocumentBuilder();
Document doc = db.parse(new InputSource(new
StringReader(response)));
// normalize the document
doc.getDocumentElement().normalize();
// get the root node
NodeList nodeList = doc.getElementsByTagName("user");
Node node=nodeList.item(0);
// the node has three child nodes
for (int i = 0; i < node.getChildNodes().getLength(); i++) {
Node temp=node.getChildNodes().item(i);
if(temp.getNodeName().equalsIgnoreCase("name")){
String name = temp.getTextContent();
System.out.println("name :"+name);
}
else if(temp.getNodeName().equalsIgnoreCase("mail")){
String mail=temp.getTextContent();
}
else if(temp.getNodeName().equalsIgnoreCase("phno")){
String phno=temp.getTextContent();
}
}
Intent i = new Intent(getApplicationContext(), test.class);
i.putExtra(name,name);
startActivity(i);
}
and in my test.java i m using like this :
name.setText(getIntent().getStringExtra("name"));
- moktarul anam <moktarul@gmail.com> Feb 29 09:46PM -0800
Hi
i.putExtra(name,name);
this will me
i.putExtra("name",name);
Enjoy
Moktarul anam
On Thursday, 1 March 2012 10:08:17 UTC+5:30, vivek elangovan wrote:
- TreKing <trekingapp@gmail.com> Feb 29 09:57PM -0600
> Could you please explain how do correct my idea?
Your idea is not very clear. You should try to clarify.
-------------------------------------------------------------------------------------------------
TreKing <http://sites.google.com/site/rezmobileapps/treking> - Chicago
transit tracking app for Android-powered devices
- moktarul anam <moktarul@gmail.com> Feb 29 09:41PM -0800
hi Stan,
its not clear... can u send me ur sample template ir images ? or can u
clearly explain
Moktarul
On Wednesday, 29 February 2012 18:10:03 UTC+5:30, Stan Prihodko wrote:
> Could you please explain how do correct my idea?
> (Or may be key words to search in google...)
> Thanks.
On Wednesday, 29 February 2012 18:10:03 UTC+5:30, Stan Prihodko wrote:
> Could you please explain how do correct my idea?
> (Or may be key words to search in google...)
> Thanks.
On Wednesday, 29 February 2012 18:10:03 UTC+5:30, Stan Prihodko wrote:
> Could you please explain how do correct my idea?
> (Or may be key words to search in google...)
> Thanks.
On Wednesday, 29 February 2012 18:10:03 UTC+5:30, Stan Prihodko wrote:
- Jagruti Sangani <jagruti.sangani@inextrix.com> Feb 29 09:24PM -0800
Hello,
I am using the SIP demo example from the link "developer.android.com/
resources/samples/SipDemo/index.html".It is work perfectly on emulator
but when i plugin the samsung galaxy Y 2.3.6 with pc and try to run on
mobile then user not registered in that and also the manager is come
as null.Internet in mobile is on but still registration of user not
occure in that.whle in emulator run then all things work perfectly.So
can anybody know what is the problem ?Why it is not run in mobile?Is
there any require to run on phone.
- Jagruti Sangani <jagruti.sangani@inextrix.com> Mar 01 10:42AM +0530
Thanks but it is now working, no need to use this class.just i need to dtmf
coed like for * 10 and for # 11.
- Jagruti Sangani <jagruti.sangani@inextrix.com> Mar 01 10:40AM +0530
Ok, now you had mute the call and whenever you want to comeback from mute
that means not mute at that time you do just reverse process of this.That
means first check is it mute if yes then make mAudioManager.
> setMicrophoneMute(false);
I have not tried but it might be working.
On Wed, Feb 29, 2012 at 9:51 PM, brian lee <brian@brianlee.org> wrote:
- mQdg <quieldeguzman@gmail.com> Feb 29 09:04PM -0800
I am trying to automatically scroll the browser by "flicking". So far,
I can do scrolling by using "drag" event.
I appreciate if you can give me hints to accomplish this.
- Prince Kumar <princekumar.arora@gmail.com> Mar 01 10:25AM +0530
Where i have to change in the Server Managed Policy class so that it
works only for 7 days trial and after that user have to buy the app
from android market place?
Thanks & Regards,
Prince
- TreKing <trekingapp@gmail.com> Feb 29 08:03PM -0600
> sorry, my bad. it is uses the 2.3.3 avd even though the 4.0.3 target is
> checked in eclipse. so it seems to be stuck using the 2.3.3 target.
Your build target and AVDs are two separate things.
The build target specifies which version of the platform you are building
against. This is usually the latest.
The AVD defines a configurable runtime environment to test your app
against. You need to create a 4.0.3 AVD and choose it when launching your
app.
-------------------------------------------------------------------------------------------------
TreKing <http://sites.google.com/site/rezmobileapps/treking> - Chicago
transit tracking app for Android-powered devices
- Ray Tayek <rtayek@ca.rr.com> Feb 29 06:56PM -0800
At 06:03 PM 2/29/2012, you wrote:
>sorry, my bad. it is uses the 2.3.3 avd even though the 4.0.3 target
>is checked in eclipse. so it seems to be stuck using the 2.3.3 target.
>Your build target and AVDs are two separate things.
ok.
>building against. This is usually the latest.
>The AVD defines a configurable runtime environment to test your app
>against. You need to create a 4.0.3 AVD and choose it when launching your app.
i have both. i created the 4.0.3 first.
how do i tell eclipse to use the 4.0.3 one?
thanks
---
co-chair http://ocjug.org/
- TreKing <trekingapp@gmail.com> Feb 29 10:03PM -0600
> how do i tell eclipse to use the 4.0.3 one?
The Debug tool bar icon has a dropdown, at the bottom is an entry for
"Debug Configurations". Open that, select your application, the select the
Target tab, and change "Automatic" to "Manual".
Or, launch the AVD first, then launch the app to debug - it should choose
the open AVD.
-------------------------------------------------------------------------------------------------
TreKing <http://sites.google.com/site/rezmobileapps/treking> - Chicago
transit tracking app for Android-powered devices
- tsukishiro yamazaki <tsukishiro88@gmail.com> Feb 29 06:08PM -0800
Hi,
I am working on a customized IME. Basically, I want to create a
transparent keyboard (similar to Tranparent Keyboard app on the
market). I want my IME to be on top of the UI or application behind
it. So I really don't want the window or screen to resize when the
keyboard is displayed. Does anyone know how to disable window or
screen resizing for IMEs?
Please offer suggestions,
Thanks and best regards,
tsukishiro
- JJ B <jjbjmanagement@gmail.com> Feb 29 08:12PM -0500
Great, Thanks (and please clarify if this also works with the full paid
versions if you know)
2012/2/29 Kostya Vasilyev <kmansoft@gmail.com>
- TreKing <trekingapp@gmail.com> Feb 29 08:04PM -0600
2012/2/29 JJ B <jjbjmanagement@gmail.com>
> please clarify if this also works with the full paid versions if you know)
Paid apps will show that an update is available, but the user will not be
able to update it if they have not paid for it via the Android Market.
This is easily evidenced by getting an app on the Amazon Appstore that is
then abandoned there and updated on the Android Market instead.
-------------------------------------------------------------------------------------------------
TreKing <http://sites.google.com/site/rezmobileapps/treking> - Chicago
transit tracking app for Android-powered devices
- flumby <jay.mojnidar@gmail.com> Feb 29 05:55PM -0800
In my project, I need to access an IP Address through mobile connection
--irrespective of whether it is connected to mobile or WIFI network. My
code is similar to below:
connMan = (ConnectivityManager)
getSystemService(Context.CONNECTIVITY_SERVICE);
int res =
connMan.startUsingNetworkFeature(ConnectivityManager.TYPE_MOBILE,
"enableHIPRI");
Then when I get the notification that HIPRI is available, I call:
boolean reqRes =
connMan.requestRouteToHost(ConnectivityManager.TYPE_MOBILE_HIPRI,
ipAddress);
This is working fine. My app can connect to the URL specified in the
ipAddress. My app can send requests, and receive responses. However, the
connection gets disconnected after about a minute. Is there a way to have
HIPRI connection for longer time?
To make a short story long, I see the following in the log:
D/ConnectivityService( 1640): ignoring as dup is found
stopUsingNetworkFeature for net 5: enableHIPRI by 9683/10033(expire -
created 60026 mSec ago)
I took a look at the source and I see that in ConnectivityService.java, in
the implementation of requestRouteToHost method, it calls:
mHandler.sendMessageDelayed (mHandler.obtainMessage
(NetworkStateTracker.EVENT_RESTORE_DEFAULT_NETWORK, f),
getRestoreDefaultNetworkDelay());
And I see that getRestoreDefaultNetworkDelay is returning 60000. So, I know
why my app is getting disconnected after about a minute.
My question is, how can I have HIPRI connection for a longer period -at
least 30 minutes?
- tsukishiro yamazaki <tsukishiro88@gmail.com> Feb 29 05:44PM -0800
Sorry if this sounds annoyingly persistent but what is the use of
TOUCHABLE_INSETS_REGION constant in the first place? I thought it's
supposed to limit the touchable regions in the input view of the soft
keyboard. Is this wrong?
- tsukishiro yamazaki <tsukishiro88@gmail.com> Feb 29 05:41PM -0800
Hello all,
I came upon an IME called Transparent Keyboard.apk
It's an onscreen keyboard that keeps everything behind it in tack.
In other words, it doesn't resize or pan the contents behind to make
room for the keyboard.
Does anyone know how this was done?
I want my own IME to do this as well and I found "adjustNothing" value
for windowSoftInputMode.
But if I think this is only applicable to activity and not to service.
Can someone help me with this one?
Thanks and best regards,
tsukishiro
- John Lussmyer <johnlussmyer@gmail.com> Feb 29 05:35PM -0800
On another thread, someone pointed me to the Pantech PC Suite, which also
installs the USB drivers.
That worked for me.
--
--
CasaDelGato Sensible Email package:
https://sourceforge.net/projects/sensibleemail/
- moktarul anam <moktarul@gmail.com> Feb 29 02:51AM -0800
Hi Sugan ,
there s something C2DM. Funda is u hav to connect ur device to some server
. and there will be one background service will be running. whenever new
message will come to server ... service will through notification.
in android there c2dm already there. u can use decona and metero also(
http://deacon.daverea.com/)
Enjoy
Moktarul anam
On Monday, 27 February 2012 17:33:38 UTC+5:30, Sugan wrote:
- Yuvi <testandroidos51@gmail.com> Feb 28 05:04AM -0800
Is there no one who have faced this problem.. Even I have posted on
StackOverflow, But No Answer
On Tuesday, February 28, 2012 12:16:04 PM UTC+5:30, Yuvi wrote:
You received this message because you are subscribed to the Google Group android-developers.
You can post via email.
To unsubscribe from this group, send an empty message.
For more options, visit this group.
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+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en