Can i set a style from one TextView to another?
--
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
gotcha,
tx
RK
On Sat, Jul 7, 2012 at 11:31 AM, TreKing treking...@gmail.com wrote:
On Fri, Jul 6, 2012 at 5:21 AM, Rahul Kaushik rahulkaushi...@gmail.comwrote:
I need to call AlarmReceiver Call after evry 5 min but it is getting
caaled after every sec pls tell wt am doing wrong
You are
I am trying to receive images over a network, I set up a server as follows
...
public class IServerActivity extends Activity {
ServerSocket ss = null;
Bitmap bp ;
Thread myCommsThread = null;
protected static final int MSG_ID = 0x1337;
public static final int SERVERPORT = 6000;
No the style needs to be supplied when the view is constructed; I don't
expect this to change any time soon.
On Sun, Jul 8, 2012 at 11:17 PM, maccoy maccoy2...@gmail.com wrote:
Can i set a style from one TextView to another?
--
You received this message because you are subscribed to the
Hi
What you're saying?
Button
style=@style/MyButton
android:id=@+id/button1
android:text=Button01
android:layout_width=wrap_content
android:layout_height=wrap_content/Button
2012/7/9 Dianne Hackborn hack...@android.com:
No the style needs to be
Your question is about programming in general. Anyway, this might be a
starting point for you:
http://developer.android.com/reference/java/security/interfaces/package-summary.html
BTW, it's a very bad practice to store the username and password locally.
You should store them on your server
You can use the DDMS for sending mock location information to your
emulator. Alternatively you can use the command line. Issue the following
commands:
1.
telnet localhost 5554
(5554 is the port number of the emulator. You can see this on the top left
corver of the emulator. If you have
yea man i mean to say that only i am storing in the server. thanks!!
On Mon, Jul 9, 2012 at 1:26 PM, Ali Chousein ali.chous...@gmail.com wrote:
Your question is about programming in general. Anyway, this might be a
starting point for you:
Yes, one approach is to do it using
android:screenOrientation=portrait|landscape in the manifest. Once I
wrote a short blog sharing my experiences on how to handle screen
orientation. This approach is also explained in it:
http://android-screen-layout.blogspot.be/
Hi all,
I have used this code print date and time on image.
but not working pls help on this .
ExifInterface exif = new ExifInterface(filename);
exif.setAttribute(ExifInterface.TAG_DATETIME, (new
Date(System.currentTimeMillis())).toString());
exif.saveAttributes();
--
You received
hi,
This is my logic,
switch (vf.getCurrentView().getId()) {
case R.id.LinearLayout03:
if (v == next) {
vf.showNext();
}
break;
case R.id.LinearLayout04:
if (v == next) {
vf.showNext();
} else if (v == previous) {
vf.showPrevious();
}
break;
case
Guys,
thank you for clarification, I really appreciate it.
But what about protected methods:
protected void attachViewToParent(View child, int index, LayoutParams params)
protected boolean addViewInLayout(View child, int index, LayoutParams params,
boolean preventRequestLayout)
they are not
i want build something like that.
i need a main feed, and a slide menu on the left that will change the main
screen.
it's need to work on android 2.1 to 4.1
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email
I have service in android,from that service i started an activity.I
called the method inside the activity from service.In that method,i
open the database and tried to insert the values.Without using
database,its working fine.But my app getting force closed when i used
database
plugin(java
Ya it is right...you have to put
android:screenOrientation=portrait|landlandscape
in each activity...
--
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
Hi,
I am not looking for making the screen to full screen.
I am looking for video toggle between fullscreen and normal screen like
youtube.
On Fri, Jul 6, 2012 at 12:11 PM, TreKing treking...@gmail.com wrote:
On Fri, Jul 6, 2012 at 12:24 AM, master revanth.andr...@gmail.com wrote:
I there
How To get calender view ?
Thanks
Jagadeesh
--
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
Actually, that won't work. This is because we do not know what orientation
is in when the app started.
My current solution is to detect what orientation it is in,
then setRequestedOrientation to the current orientation. This works nicely.
在 2012年7月9日星期一UTC+8下午7时14分20秒,abhijeet tomar写道:
Ya it
My original reply was deleted by someone, not sure why.
But anyway, that won't work. This is because we do not know what
orientation is in when the app started.
My solution is to detect res.getConfiguration().orientation,
then setRequestedOrientation to the current orientation. This works
At last month's It's really time to get serious about PhoneGap meeting,
hosted by our sister group All Things Mobile, I threw down the gauntlet:
build a tip calculator in your respective platform to induce dialog about
its merits.
They have willing participants for iOS, Windows Mobile and
Hello,
I have a bunch of pixel data in an int[] that I want to turn into a
Bitmap instance. The problem is, the pixel data is so big it barely
fits into memory. I thought it would be no problem, surely I can pass
the int[] to a Bitmap factory method which simply wraps it in a Bitmap
instance.
I am testing Android inapp subscription with a test account, after I
entered a real credit card to buy, the subscription is ok, but I cannot
find the token in the json response.
So in the developer console, I cancelled the order, when I try to
re-subscribe again, it now show me the alert You
Bitmap behaves like that because it allocates memory on the native heap for
storing its bitmap data, meaning: it cannot use your Java int array and
must make a copy instead. For getting around that problem you should
reconsider what you are doing. Try to break your big (memory) problem into
What do you mean with how to get?
Beginning with API level 11 you can use:
http://developer.android.com/reference/android/widget/CalendarView.html
For earlier versions: http://code.google.com/p/android-calendar-view/
--
You received this message because you are subscribed to the Google
Groups
I think that's hard to tell without knowing what your class DbAdapter1 does
in its constructor and open method.
--
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
On Mon, Jul 9, 2012 at 4:53 PM, Nobu Games dev.nobu.ga...@gmail.com wrote:
Bitmap behaves like that because it allocates memory on the native heap for
storing its bitmap data, meaning: it cannot use your Java int array and must
make a copy instead.
One thing though that puzzles me about this
I had to work on a bitmap intensive app last year and ran into all these
problems. First of all, you are right. You can allocate almost whatever
native heap you want. On our test devices it was almost up to a GB for
example.
No matter what Google says, by my own and obviously your observation
Bitmap allocations always count towards your heap limit. Until Android 3.0,
Bitmaps were allocated on the native heap but counted against your maximum
Dalvik heap. Starting with Android 3.0, Bitmaps are allocated directly on
the native heap.
On Mon, Jul 9, 2012 at 8:26 AM, Latimerius
Can any of you who implemented that approach give me an example when and
how this is wanted or useful? I don't mean that as a criticism. I'm just
wondering why to give the user control over the orientation just on
Activity startup and not beyond.
--
You received this message because you are
This method has a problem in Android 2.2 which cannot detect the
difference between portrait and reverse portrait, for example. Later
versions of Android maybe OK with it though.
On Jul 9, 8:10 am, limtc thyech...@gmail.com wrote:
My original reply was deleted by someone, not sure why.
But
On Mon, Jul 9, 2012 at 6:17 PM, Romain Guy romain...@android.com wrote:
Bitmap allocations always count towards your heap limit. Until Android 3.0,
Bitmaps were allocated on the native heap but counted against your maximum
Dalvik heap. Starting with Android 3.0, Bitmaps are allocated directly
On Mon, Jul 9, 2012 at 6:16 PM, Nobu Games dev.nobu.ga...@gmail.com wrote:
As far as I know that allocated array
resides on the native heap until it is released and copied back to Java.
That probably only happens when you alter the pixel data from Java. Which
means that the get and setPixel
In the old Android Market store, uploading a new app would automatically
show up in the Just In tab. In the new Google Play Store, it seems that
they have removed this tab and replaced it with Top apps only. I'm
wondering how developers nowadays are suppose to get *organic *downloads
from
hi,
please anyone can told me how to transfer incoming call directly into the
voice mail.
--
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 want build something like that.
Great, so get started...
i need a main feed, and a slide menu on the left that will change the main
screen.
it's need to work on android 2.1 to 4.1
Well, time to get to work then... When you run into a specific problem, go
ahead and try asking again. In
Here's a developer guide with code snippets:
http://developer.android.com/guide/topics/providers/calendar-provider.html
On Mon, Jul 2, 2012 at 2:40 AM, Ali Chousein ali.chous...@gmail.com wrote:
Certainly it is possible. Take a look at the CalendarContract interface:
Exif data is meta-data... That means it is data that is stored with the
image, but is not displayable. If you want to put the date and time on the
image, then you will need to modify the actual image...
Try using Google, it is your friend:
http://lmgtfy.com/?q=android+put+date+and+time+on+image
Well, apparently your ServerSocket is null... Likely you are getting the
IOException... If you hit that exception then ss would be null.
Thanks,
Justin Anderson
MagouyaWare Developer
http://sites.google.com/site/magouyaware
On Mon, Jul 9, 2012 at 1:08 AM, Akki akshay.iitr@gmail.com wrote:
Does your application have internet permission?
On Tue, Jul 3, 2012 at 6:30 PM, Michael Leung michaelchi...@gmail.comwrote:
Hi all,
I have used isReachable() in InetAddress for Ping. But that is only
working in local network unless root my phone.
Does anyone work this problem out
A quick search turns up quite a few Java PNG encoders with various license
conditions.
Encoding a PNG will not require copying the PNG again so grab one with
source, a license you like, and if necessary modify it to write directly to
an output stream.
On Monday, July 9, 2012 3:31:24 PM UTC+1,
I could see a use in a finger paint app: you would want to lock
the orientation once the use has started the drawing.
On Monday, July 9, 2012 5:32:30 PM UTC+1, Nobu Games wrote:
Can any of you who implemented that approach give me an example when and
how this is wanted or useful? I don't
Hello to all, I create 3 intents of activities(which i add to TabHost) in
my main TabActivity.
So far, so good...
I also have refresh and logout button with onClick method. When this button
is clicked say refresh i want to refresh item of intent activity.
Where are these buttons? What is
Hi
Iam able to show calendar view by week selection ,I cant able to add
functionality based on selection on week wise
Can you any tell me.i Done Googling I got ,but week selection I couldn't
able to add week selection thing .
http://w2davids.wordpress.com/android-simple-calendar/
I followed
Do you have access to the stacktrace?
Thanks,
Justin Anderson
MagouyaWare Developer
http://sites.google.com/site/magouyaware
On Sun, Jul 8, 2012 at 12:03 AM, yves...@gmail.com yves...@gmail.comwrote:
We have an app on the market for a while now, mostly it works great. But
recently we got a
Hello all,
I have loading gif image. i am extract frames and the use frame by frame
by animation. But sometimes the gif image is struck and is not animating.
anybody please help regarding this issue.
--
WITH REGARDS
ARUN KUMAR P D
+91-9994794759
--
You received this message because you are
Could you use setPixels(int[]) instead?
On Mon, Jul 9, 2012 at 9:52 AM, Latimerius l4t1m3r...@googlemail.comwrote:
On Mon, Jul 9, 2012 at 6:16 PM, Nobu Games dev.nobu.ga...@gmail.com
wrote:
As far as I know that allocated array
resides on the native heap until it is released and copied
Can you send parcelable across processes without aidl ?
--
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
On Mon, Jul 9, 2012 at 6:26 AM, Revanth kumar revanth.andr...@gmail.comwrote:
I am looking for video toggle between fullscreen and normal screen like
youtube.
OK. What have you tried so far?
-
On Sat, Jul 7, 2012 at 2:42 AM, ala hammad 3la2.7am...@gmail.com wrote:
i want to ask how much time need to confirm my app from google store ??
What do you mean to confirm your app? Google doesn't do any
confirmation.
Why don't you want to use AIDL? You can use a Messenger:
http://developer.android.com/reference/android/os/Messenger.html, or
send the information via intent.
kris
On Mon, Jul 9, 2012 at 2:28 PM, Agus agus.sant...@gmail.com wrote:
Can you send parcelable across processes without aidl ?
--
Yes but only if the receiving process knows how to unparcel the object.
On Jul 9, 2012 11:29 AM, Agus agus.sant...@gmail.com wrote:
Can you send parcelable across processes without aidl ?
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
Ok, your question is hard to understand, but I assume you are the same guy
who was asking several times all over the past week for how to create a
calendar week selection view, so I think you want to have a widget that
allows the user to pick a week of the year.
The Java
Thanks for that good solution.
From: android-developers@googlegroups.com
[mailto:android-developers@googlegroups.com] On Behalf Of Nobu Games
Sent: Tuesday, July 10, 20hi12 12:26 AM
To: android-developers@googlegroups.com
Subject: Re: [android-developers] Re: Calender view
Ok, your
I added some code like this to help me see which device is involved in this
chicanery:
String device_name = device.getName();
if (device_name == null) device_name = no name + device.getAddress();
On Saturday, July 7, 2012 8:14:26 AM UTC-5, Jons Jean wrote:
Same thing I face in past . . .it
Hello,
The framework (and support library) contains a class that you might find
useful LruCache ;)
I will also highlight this training section
http://developer.android.com/training/displaying-bitmaps/index.html
BTW, if your know your application will use a lot of memory, you should
query for
On Mon, Jul 9, 2012 at 8:22 PM, Romain Guy romain...@android.com wrote:
Could you use setPixels(int[]) instead?
I considered passing my int[] to setPixels() but (correct me if I'm
wrong) that wouldn't remove the problem where at some point, the
bitmap data has to exist in two copies.
However, I
I am saying there are no plans for a setStyle() method, which has nothing
to do with XML.
On Mon, Jul 9, 2012 at 12:29 AM, HideCheck hidech...@gmail.com wrote:
Hi
What you're saying?
Button
style=@style/MyButton
android:id=@+id/button1
android:text=Button01
On 9 Juli, 06:21, mohammed Nuhail nuhail...@gmail.com wrote:
I am doing chat Application in Android... I have to encrypt and decrypt
username and password and stored it in database.
You are using asmack I suppose for the chat application.
You get all that you need for chat applications with
On Mon, Jul 9, 2012 at 8:02 PM, RichardC richard.crit...@googlemail.com wrote:
A quick search turns up quite a few Java PNG encoders with various license
conditions.
Encoding a PNG will not require copying the PNG again so grab one with
source, a license you like, and if necessary modify it
Can you put tcpdump on the device to see if traffic is flowing?
Could you replace the ip addr with something on your local network to see
if that works?
R
On Sat, Jun 30, 2012 at 1:03 AM, Anand Gangadharan
anand.gangadha...@gmail.com wrote:
*The setup*
I have at home a wifi router under
This is precisely what happened!
在 2012年7月10日星期二UTC+8上午2时08分32秒,RichardC写道:
I could see a use in a finger paint app: you would want to lock
the orientation once the use has started the drawing.
On Monday, July 9, 2012 5:32:30 PM UTC+1, Nobu Games wrote:
Can any of you who implemented
This is the problem I am facing now. :(
It is the same for Android 3 (HTC Jetstream) and Android 4 (Galaxy Note)
that I am using.
Detected portrait and set it to portrait and the result is a reverse
portrait if you are holding it wrong.
在 2012年7月10日星期二UTC+8上午12时36分03秒,RLScott写道:
This
I am doing a painting program for kids.
- you wanted to show the kids the correct orientation when you enter the
app, if you happened to hold a tablet in landscape, it is expected that the
program started in landscape.
- but once you started painting, nothing is more wrong (at least to all the
No, I don't. Is there an easy way to gather this information from a
user? I can put some debug code on this user's machine.
On Mon, Jul 9, 2012 at 11:14 AM, Justin Anderson magouyaw...@gmail.com wrote:
Do you have access to the stacktrace?
Thanks,
Justin Anderson
MagouyaWare Developer
What I usually do is adding app-internal logging all over the place. The
log lines go into a text file, so you don't depend on the system log and
don't need to fluff up your app with another really sensitive permission.
For covering crashes you can set a custom
Does anyone know where they've put videos for Ten Things Game Developers
Should Know by Dan Galpin, Ian Lewis ?
--
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
On Mon, Jul 9, 2012 at 8:00 PM, andronica ptyag...@gmail.com wrote:
Does anyone know where they've put videos for Ten Things Game Developers
Should Know by Dan Galpin, Ian Lewis ?
They may not have converted that one yet. There are a handful from the
Android track that I am waiting for. I am
On Jul 9, 1:42 pm, Robert Greenwalt rgreenw...@google.com wrote:
Does your application have internet permission?
If that were the problem, creating AF_INET sockets would fail, even
before trying to use them.
--
You received this message because you are subscribed to the Google
Groups Android
Marks latest post (
http://commonsware.com/blog/2012/07/09/dont-advertise-intent-filters-that-are-not-yours.html
)
made me think of this question.
Google added a bunch of LINT warnings for not having required permissions
for items (activites/services/etc) exported by your app.
What's the
Thanks for Garreau and other
There is a topic that I'm interested in. I also check why cacheColorHint
interrupt the performance.
#00 means transparent to background, so the View must blend to back
gourd very frame. It's terrible for performance.
Some reference for more information:
I'm also waiting for session slides or video.
Steve
On Tuesday, July 10, 2012 8:00:28 AM UTC+8, andronica wrote:
Does anyone know where they've put videos for Ten Things Game Developers
Should Know by Dan Galpin, Ian Lewis ?
--
You received this message because you are subscribed to the
On Tue, Jul 10, 2012 at 10:40 AM, Zsolt Vasvari zvasv...@gmail.com wrote:
Marks latest post (
http://commonsware.com/blog/2012/07/09/dont-advertise-intent-filters-that-are-not-yours.html
) made me think of this question.
Google added a bunch of LINT warnings for not having required
How do you add an annotation to an XML document LINT recognizes?
On Tuesday, July 10, 2012 9:46:13 AM UTC+8, Nikolay Elenkov wrote:
On Tue, Jul 10, 2012 at 10:40 AM, Zsolt Vasvari zvasv...@gmail.com
wrote:
Marks latest post (
On Tue, Jul 10, 2012 at 12:21 PM, Zsolt Vasvari zvasv...@gmail.com wrote:
How do you add an annotation to an XML document LINT recognizes?
There is a 'tools:ignore' or some such attribute, it should show up as
a quickfix
in the editor.
--
You received this message because you are subscribed
c2dm is deprecated. use GCM.
http://developer.android.com/guide/google/gcm/index.html
On Mon, Apr 23, 2012 at 11:40 PM, gaurang patel gapin...@gmail.com wrote:
Hi All...
I am developing an app to get notification using android c2dm. I have
filled up the registration form with all required
Dear All
http://stackoverflow.com/questions/11406365/java-io-ioexceptionprepared-failedstatus-0x1
Please help to reslove this!!!
--
Thanks Regards
Deepa M
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email
What i am trying to do is
newTextView =(TextView)getLayoutInflater().inflate(R.layout.styledtextvew1,
null);
I have xml like the following..when the style is applied the weight and
gravity does not..is this the normal behaviour because I am trying to do it
at runtime?
TextView
I want to develop a drawing app to allow users to draw simple shapes using
gestures. Is there any framework out there that can be used? I am having a
look at LibGdx but it is mainly for gaming, will it do the job?
Sandeep
--
You received this message because you are subscribed to the Google
78 matches
Mail list logo