I'm trying to change the language of the whole system of Android Phone
on my application, cause our goal is to customized a Settings
application.
I've tried this, but didn't work:
Configuration conf = Resources.getSystem().getConfiguration();
conf.locale = toSet; //toSet is a Locale which I
While I'm developing my app, I need to get my device physical size.
But the current functions like display.getSize() or heightPixels in
DisplayMetrics return the sizes which exclude the decorations like
status bar.
Like my device, I'd like to get 1280*800 not 1280*752(which excludes
status bar).
1. Well you can simply copy paste the styles you need from the
android SDK and insert it in your own XML files (they can be found in
the SDK1.0/tools/lib/res/default/values/styles.xml file). They way you
can still use the same styles as before, but you don't have to access
them from the
just use a LinearLayout with the orientation set to horizontally
On Apr 2, 8:10 am, pramod taragi manti_tar...@yahoo.co.in wrote:
Hi
How to set position of TextView and EditText using java code. i want to set
EditText just after TextView.
Thanks in advance.
Download prohibited? No
From what i know, most of the Java/J2ME phones use the chipsets
acceleration functions (some mobilephone CPUs are optimized for java
accerlration in 2d/3d games). But since Android is not based on Java/
J2ME, it doesn't support this acceleration (even though the CPU used
in the G1 supports Java
Don't do heavy work in the main thread and put tasks which require
much processing (or long loops) into a seperate backgroudn thread.
http://developer.android.com/guide/practices/design/responsiveness.html#avoiding
On Mar 30, 10:26 pm, ying lcs ying...@gmail.com wrote:
Hi,
Can you please
.
For using the Activity onSaveInstanceState/onRestoreInstanceState
method, you can check out my blog for a small tutorial I wrote. If i
got more time again, i'd write one for the 2nd method too.
[SavedState: Preserve data when your Activity is recreated – Part 1]
http://tseng-blog.nge-web.net/blog/2009
Hi,
I'm using Eclipse/Android 1.1_r1 SDK on Vista x64 too. No problems
there.
Do you have the latest Java 1.6.13 JDK for windows x64 installed on
your computer? Or do you have Java x64 installed at all? I'm using the
x64 bit version of Java 1.6.x JRE/JDK. Maybe you have only the x86
version
Sorry for double post. Rereading the error message the reason also
could be that you only have x64 Java JDK on your system and no x86
version. Try installing both and see if it works
On Mar 29, 1:54 pm, Tseng tseng.priv...@googlemail.com wrote:
Hi,
I'm using Eclipse/Android 1.1_r1 SDK
Most probably it got removed during 1.0 release. Much of the 0.9 (or
earlier) APIs was move, removed or renamed (and making tutorials/code
examples from old version quite useless)
On Mar 29, 2:23 am, savio savioche...@gmail.com wrote:
Hi,
I want to use android.telephony.TelephonyProperties,
I don't think your idea is going to work well too. The problem is,
there are some applications that need to run in the background (and
i'm not talking about the system applications here).
Let's assume you got some kind of scheduler which shall notify a user
when a certain event or time occurs.
Unlike in C/C++ or PHP you can't have global variables in Java (or
C#).
The closest thing to a global is a public static variable.
for example
class YourActivity extends Activity {
public static boolean bMyBoolean;
}
Now you could access it with
if(YourActivity.bMyBoolean) {
// Do
This kind of application is strongly discouraged in Android. The
philosophy behinde it is that the user is always aware what's going on
his phone to give malware as chance as possible and your application
pretty much sounds like malware/backdoor/spying tool.
This is one of the reasons why you
For security reasons this is not possible and works is by design, to
prevent abuse and make it harder to run undetected malware on your
phone.
On Mar 24, 11:29 pm, Jorge Fonseca jcbfons...@gmail.com wrote:
Hi All,
Does anyone known if its possible to intercept incoming SMS to my app?
Similar
On Mar 5, 11:11 am, Chronos g358279012044...@gmail.com wrote:
@Tseng: I can't find this method - are you talking about class
Activity ?
Yes, the final() method is belongs to the activity class and you can
override it and put your code there.
That's how i did it in my activity class
Exactly. This is not possible for security reasons. The user shall
always be aware what he is receiving from other people and it makes
malware/trojan-hores like applications harder to make.
However, I think it's possible to set an notification in the
notification window, so the user is aware
I recently had the same problem with onPause/onStop being to late to
send it.
I've solved it by overwriting onFinish() method. This one is always
called before onPause and there it will work.
Probably this can help in your case too
On Mar 4, 3:20 pm, Chronos g358279012044...@gmail.com wrote:
Actually the chance on Multi-Touch support is next to zero. Apple was
granted the patents for multi-touch, in other words no one other than
Apple is allowed to use multi-touch feature in handset devices.
Check out the reasons:
http://tseng-blog.nge-web.net/blog/2009/01/29/a-sad-day-for-handsets
18 matches
Mail list logo