Here It contain lot of code,please explain me.
--
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
sree android wrote:
Here It contain lot of code,please explain me.
do you mean SimpleDateFormat?
pskink
--
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
thank you i got it.Using SimpleDateFormat class.
thank you bro.
--
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
this theme gives me some extra free space
when i use this
?xml version=1.0 encoding=utf-8?
NumberPicker xmlns:android=http://schemas.android.com/apk/res/android;
android:id=@+id/numberPicker
android:layout_width=wrap_content
android:layout_height=wrap_content /
as VIEW for
Correct me if I'm wrong - onStop state destroys view hierarchy of
activity/fragment. Consequently, views that are referenced through the
object fields will be retained because of hard references, for example if I
have such a class:
public class ArticleFragment extends Fragment {
WebView
Is there a way in android to read the File from Asset folder on run time,
based on MCC MNC?
Thanks,
Namit Virmani
--
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
V
--
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
There is a bunch of open source projects offering pinch zooming in an
ImageView. Here is a few of them:
- TouchImageView by MikeOrtiz
(https://github.com/MikeOrtiz/TouchImageView)
- ImageViewZoom by sephirot74
(https://github.com/sephiroth74/ImageViewZoom)
- PhotoView by
Please refer to the link:
http://stackoverflow.com/questions/14135121/http-response-inside-a-service-in-android
In short, I want my service to pause for sometime inside the POST handler,
till my Intent (with handler) completes the execution.
On Friday, January 4, 2013 1:40:01 AM UTC+2, Lew
On Fri, Jan 4, 2013 at 5:16 AM, Dmitriy F midnight@gmail.com wrote:
Correct me if I'm wrong - onStop state destroys view hierarchy of
activity/fragment.
First, nothing of this nature happens to the view hierarchy in
onStop(), or onDestroy() for that matter. You can tell this by looking
at
I can tell you that the first one meets your criteria, though it is
not packaged as an Android library project. However, since it is a
single Java class with no other dependencies, you can just drop that
class into your project hierarchy if you wish.
I have not tried the other three, though the
Terrific! No email yet but I can wait.
JM == Josphat Muchiri jmuchir...@gmail.com writes:
JM Ok i can send u
JM On Jan 3, 2013 7:29 PM, Jake Colman col...@ppllc.com wrote:
Does anyone know where I can find demo code for a clock widget that
shows the current location? I
How can i fix SocketTimeoutException: Connection timed out
give me any suggession.
--
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
Try connecting to a socket where there is a server listening.
On Friday, January 4, 2013 7:49:38 AM UTC-6, sree wrote:
How can i fix SocketTimeoutException: Connection timed out
give me any suggession.
--
You received this message because you are subscribed to the Google
Groups
- ImageViewZoom by sephirot74 (
https://github.com/sephiroth74/ImageViewZoom)
I'm using this one and it works great.
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to
I already went for the third one PhotoView and it seems to work well.
Supports pinch zoom, panning inside a ViewPager. Still not sure
if it's the best one but it seems to work well but hopefully this
discussion will grow to a conclusion.
On Friday, January 4, 2013 2:09:21 PM UTC+1, Mark Murphy
In Android, *widget* has two meanings.
Are you talking about a home-screen widget? Or a subclass of View?
On Thursday, January 3, 2013 10:26:02 AM UTC-6, Jake Colman wrote:
Does anyone know where I can find demo code for a clock widget that
shows the current location? I have found
Does it support everything I mentioned?
- pinch zoom
- panning
- and doing this inside a ViewPager
On Friday, January 4, 2013 3:36:55 PM UTC+1, b0b wrote:
- ImageViewZoom by sephirot74 (
https://github.com/sephiroth74/ImageViewZoom)
I'm using this one and it works great.
(excuse me) bump!
On Saturday, December 8, 2012 12:11:28 PM UTC, Mihai Badea wrote:
Dear friends,
I would like to create a launch configuration, to run any activity with
arguments, for quick manually interactive testing.
I have one Android Application with many activities. Some of them
Homescreen widget.
I want to see what approach a typical clock widget uses for
auto-updating the location and for managing system resources. I have
developed a widget that does some similar things and I want compare the
approach that I used with how someone else did it.
b == bob
Well, is your server listening on port one?
Port is to be between 1 and 30, and it may not be one if you specified
BT_PORT_ANY or a number other than 1 in your server.
This line says it is trying to connect on port one:
btSocket = (BluetoothSocket) m.invoke(device,Integer.valueOf(1));
On
can you tell me the how to write a code for photoframes and tell me the
best tutorial for that ..
--
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
Also, be sure you are paired with the server or use createInsecureRfcommSocket
instead of createRfcommSocket.
On Wednesday, January 2, 2013 11:02:06 PM UTC-6, Ananda Krishna wrote:
hi i have used the reflection method only ..but now i am getting
connection variable as false..Kindly tell
In addition to what bob says: SocketTimeoutException is an IOException.
There's a whole bunch of stuff that can go wrong when it comes to IO. The
Internet connection could be down, the server you want to contact could be
down, the response from the server could be faulty, etc. etc. Your code
Hi Mark!
So, you basically say there's nothing wrong with storing those references -
great ! Thanks for the clarification.
пятница, 4 января 2013 г., 14:16:10 UTC+4 пользователь Dmitriy F написал:
Correct me if I'm wrong - onStop state destroys view hierarchy of
activity/fragment.
Thanks.
I see how this can be done.
Now from the main app, I open a preferences screen that allows the user to
select
a theme.
But I don't want to restart the app right there - user might want to do
other things.
From the main app, how can I detect that the Preferences screen was closed.
sree wrote:
i [sic] am reading date value from webservices (DD/MM/) and set these
date to textview.After Displaying the values is show like DD/MM/.Here i
can store reading date value in one array and these array is bind to
textview.
But i want to display DD/MM only how.
plz
Maybe override onBackPressed for the Preferences activity?
On Friday, January 4, 2013 1:34:11 PM UTC-6, dashman wrote:
Thanks.
I see how this can be done.
Now from the main app, I open a preferences screen that allows the user to
select
a theme.
But I don't want to restart the app
yes i thought of overriding onStop().
but how to i notify the main activity that the preferences was closed.
On Friday, January 4, 2013 2:53:18 PM UTC-5, bob wrote:
Maybe override onBackPressed for the Preferences activity?
On Friday, January 4, 2013 1:34:11 PM UTC-6, dashman wrote:
I'm trying to test the application on an android phone. In Eclipse
when I launch the app to the phone, I get this message:
Re-installation failed due to different application signatures. You
must perform a full uninstall of the application. WARNING: This will
remove the application data! Please
Usually, when you ship a production app (e.g., Play Store), you are
using a production signing key. Usually, when you are running the app
from Eclipse, you are using your debug signing key. And, usually,
these are not the same key.
If you simply remove the production app from the device (since
Execute '*adb uninstall com.otl.AndroidRemoteApp1*' in a shell.
On Friday, January 4, 2013 2:13:59 PM UTC-6, John Merlino wrote:
I'm trying to test the application on an android phone. In Eclipse
when I launch the app to the phone, I get this message:
Re-installation failed due to
seems like starting the preferences activity with
startActivityForResult()
should work.
--
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
I'm defining an array that references a name in styles.xml
styles.xml
style name=AppBaseThemeLight parent=android:style/Theme.Holo.Light
arrays.xml
integer-array name=ThemesValues
item@id/AppBaseThemeLight/item
/integer-array
What am I trying to do?
I'd like item to hold
Hi all,
I am very new to Android and Google Maps. I am trying to learn how to put
a map in my app by using the below example:
https://developers.google.com/maps/documentation/android/start#specify_settings_in_the_application_manifest
When I run the example, I get the dreaded The file has
Use LogCat to examine the Java stack trace associated with your crash.
On Fri, Jan 4, 2013 at 4:27 PM, Dan Uff danny@gmail.com wrote:
Hi all,
I am very new to Android and Google Maps. I am trying to learn how to put a
map in my app by using the below example:
I have ruby on rails web server that my android application talks to.
When I connect to 10.0.2.2 on android simulator, it successfully makes
contact to web server. However, it does not when I test it on the
actual android device using a usb connection and using eclipse. I am
forced to use the real
I've got a ListPreference
ListPreference
android:key=themes_pref
android:entries=@array/Themes
android:entryValues=@array/ThemesValues /
The entryValues points to an array, defined as:
string-array name=ThemesValues
item@style/AppBaseThemeLight/item
Make sure you have the right permissions. I bet you need INTERNET
permission.
On Friday, January 4, 2013 3:27:31 PM UTC-6, Dan Uff wrote:
Hi all,
I am very new to Android and Google Maps. I am trying to learn how to put
a map in my app by using the below example:
Maybe use an Ethernet cable to connect your web server to your Wifi router?
You need to put the web server on the Wifi LAN.
On Friday, January 4, 2013 3:58:53 PM UTC-6, John Merlino wrote:
I have ruby on rails web server that my android application talks to.
When I connect to 10.0.2.2
I think you can use USB tethering (provided your device/carrier let you)
and use the local ip assigned to the PC's side of the usb link. Wifi
should also work.
On Fri, Jan 4, 2013 at 2:27 PM, bob b...@coolfone.comze.com wrote:
Maybe use an Ethernet cable to connect your web server to your
from the closing Activity, when and where should setResult()
be called.
trying to send the result back to the activity waiting for
startActivityForResult().
I did it in onStop() - and it always returns RESULT_CANCELED
even though i hard-coded a RESULT_OK.
seems like RESULT_CANCELED is being
On Fri, Jan 4, 2013 at 4:23 PM, bob b...@coolfone.comze.com wrote:
Make sure you have the right permissions. I bet you need INTERNET
permission.
Which he has, according to the manifest he posted with his question ...
On Fri, Jan 4, 2013 at 4:51 PM, dashman erjdri...@gmail.com wrote:
from the closing Activity, when and where should setResult() be called.
Before you call finish() on it.
trying to send the result back to the activity waiting for
startActivityForResult().
What is the result? Don't you
after much experimentation - this works
public void onBackPressed()
{
setResult( RESULT_OK ); // whatever result user wants sent back
// then call either one of the lines below - not sure which one is
better
super.onBackPressed();
Not entirely sure from your post... Is your actual device on wifi and
using the same network as your server? I have two networks in my house and
sometimes forget to configure the phone on the same one as my server. To
complicate things I run my servers in kvm instances but I am still able to
On Fri, Jan 4, 2013 at 5:15 PM, dashman erjdri...@gmail.com wrote:
// then call either one of the lines below - not sure which one is better
super.onBackPressed();
//finish();
}
Same diff. I believe super.onBackPressed() just calls finish() (you can
check this easily).
Not sure your question You want someone to write the code for you?
What is photo frames... Links to screen shots or examples might help.
On Jan 4, 2013 8:33 AM, surya pavan tsuryapa...@gmail.com wrote:
can you tell me the how to write a code for photoframes and tell me the
best tutorial
on string-array, it is expect to have string values. you have to do some
java code to set theme then restarts the activity.
On Friday, January 4, 2013 5:15:36 PM UTC-5, dashman wrote:
I've got a ListPreference
ListPreference
android:key=themes_pref
http://majootero.com.ar/ewpcjyq.php
--
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
Some piece of code of yours must be responsible for writing to the
database. Let that piece of code send a notification broadcast or something
like that about the applied changes. So whatever other part of your app
which needs to be notified about these updates can listen to these
broadcasts
You should probably have a look at ContentResolver.notifyChange and
registerContentObserver. Look at the implementation of
Cursor.setNotificationUri. These won't help you monitor access to the DB,
but they are a great way of monitoring changes to the data that the DB
contains.
G. Blake Meike
Hi friends,
See The above attachment image.In that i implemented CustomListView and
text are retrive from SOAP webservices.
But When i click on ListView,i cant get any response.
Why
suggest me,What is the problem.
list.setOnItemClickListener(this);
@Override
public void
list.setOnItemClickListener( new OnItemClickListener() {
public void onItemClick(AdapterView? arg0, View arg1, int position,
long arg3) {
Toast.makeText(TasksActivity.this,I am clicked on Item Number
is:+position,3000).show();
}
});
On Saturday, January 5, 2013 1:49:33 AM UTC-5,
It is not Working bro.
--
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
On Sat, Jan 5, 2013 at 12:49 AM, sree android
android.sreeni...@gmail.comwrote:
suggest me,What is the problem.
Look at the documentation for makeText. You're using it wrong.
-
TreKing
56 matches
Mail list logo