When we touch a Button in android, the button highlighted(background
turns yellow). This visual change is very friendly to users. I want
the same effect on a View object(for example a TextView or ImageView)
but I can't figure it out. Somebody help me?
:50 am, Farproc farp...@gmail.com wrote:
When we touch a Button in android, the button highlighted(background
turns yellow). This visual change is very friendly to users. I want
the same effect on a View object(for example a TextView or ImageView)
but I can't figure it out. Somebody help
GUI porting can never be a easy job!
Different APIs, you need rewrite almost all the GUI code IMO.
Non-GUI part should be much easier, but it depends.
You should do a test:
1. Create an android project
2. Reconstruct a small part of your GUI.
3. Copy some .java files related to the small GUI
Maybe some bugs in your code or in Android framework.
Post your code, let's examine.
On 10月16日, 上午10时47分, 楊健 y...@cycomtech.co.jp wrote:
Dears,
When I try to show a list with items and labels,I create item and
labels with different layout by inflater.
The problem is when i scroll the list
First, you do not have to start/stop a service from a Activity. You
can
do that in anywhere via a Context object(which is very easy to
retrieve).
If you want to start a service, just call Context.startService(),
form
then on the service will keep running in background until you
explicitly
Am I lucky? ;)
On 10月16日, 上午11时41分, Kenneth Adam Miller kennethadammil...@gmail.com
wrote:
Who wants to be in Google wave?
I have 16 invitations
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Developers
Set button's background to a StateListDrawable object or xml resource.
Here is a sample to use StateListDrawable resource. It's very easy you
event do not need to write the listeners!!!
On 10月16日, 下午5时43分, Shoby shoby.su...@wipro.com wrote:
Hi i am developing an application that has a button
set are pics you are actually set the shape!
On Oct 16, 6:39 pm, Shoby shoby.su...@wipro.com wrote:
Hi Farproc,
Could you please provide a sample code or a link to a sample code for
the same?
Thanks,
Shoby
On Oct 16, 3:04 pm, Farproc farp...@gmail.com wrote:
Set button's
It's impossible but you can load an image using BitmapFactury at
runtime.
On Oct 16, 8:49 pm, nisha.devit nisha.de...@gmail.com wrote:
Hi,
How we can store image files(*.png) to the folder R.drawable at runtime?
--
Regards,
n!$h
--~--~-~--~~~---~--~~
You
Farproc,
Could you please provide a sample code or a link to a sample code for
the same?
Thanks,
Shoby
On Oct 16, 3:04 pm, Farproc farp...@gmail.com wrote:
Set button's background to a StateListDrawable object or xml resource.
Here is a sample to use StateListDrawable resource
You can try to code, and then post the problem you encounter.
On 10月17日, 下午1时10分, pink 444 pnk...@gmail.com wrote:
Thanks for your replay.
Can you give me a example .
On Oct 16, 2:55 pm, Farproc farp...@gmail.com wrote:
First, you do not have to start/stop aservicefrom a Activity
java code wherever u please.
stae_focused, state_pressed are used in this example.
There is another state_selected .. try combinations of true, false for
each.
On Oct 15, 10:50 am, Farproc farp...@gmail.com wrote:
When we touch a Button in android, the button highlighted(background
turns
market://search/?q=pname:FULL_QUALIFIED_PACKAGE_NAME
for example:
market://search/?q=pname:com.farproc.wifi.analyzer
On 10月19日, 上午7时40分, siliconeagle rrmu...@gmail.com wrote:
Hi,
Sorry for the rather obvious post(to some)
I've been searching round for 3 hours for how to make a marketplace
any idea?
On 10月18日, 下午11时45分, Farproc farp...@gmail.com wrote:
Thank you very much!
Background works fine!!! But I want the text color of a View inverted
(white-black, etc) when pressed/focused.
I think there is a handy way to do so, but what is it ...
On 10月15日, 下午6时23分, RS rajeshs
A final comment: WifiManager.AddNetwork(conf) will fail if the the AP
you're trying to connect is protected by password and the password you
set in `conf` is incorrect
I have been debugging AddNetwork() failure for half a day, MY GOD!!!
On 8月22日, 上午7时40分, Roman ( T-Mobile USA)
interesting!
On 10月20日, 上午8时46分, Dan Sherman impact...@gmail.com wrote:
http://lmgtfy.com/?q=how+to+become+a+programmer
On Mon, Oct 19, 2009 at 2:15 PM, kmr classroo...@gmail.com wrote:
How can I become a programmer?
--~--~-~--~~~---~--~~
You received this
http://d.android.com/reference/java/util/Formatter.html
In the doc above there is The two characters $ immediately following
the % sign indicate that the previous value should be used again
instead of moving on to the next value argument.
I tested it as String.format(It is %d and %$ again!, 10)
After changing the settings of the wireless router(SSID, frequency,
securities) Android won't report the correct values until you reboot
your android device!!
http://code.google.com/p/android/issues/detail?id=5178can=4colspec=ID%20Type%20Status%20Owner%20Summary%20Stars
Does anyone know any
It's a bug maybe. But you can save the intent in SharedPreference if
you want to modify it and remember it. IMO.
On 12月4日, 上午8时15分, sdphil phil.pellouch...@gmail.com wrote:
on Android 1.5, is setIntent / getIntent broken?
Here's my scenario.
I have an activity and it does some action based
Clues:
1. android:launchMode attribute of you Activity.
2. Intent.FLAG_ACTIVITY_NEW_TASK should not be set if you do not want
to see multi-instances.
On 12月4日, 上午8时32分, csyperski csyper...@gmail.com wrote:
I have a problem with starting an intent from a BroadcastReceiver,
where everytime
Nobody care?
On Dec 4, 8:28 am, Farproc farp...@gmail.com wrote:
After changing the settings of the wireless router(SSID, frequency,
securities) Android won't report the correct values until you reboot
your android device!!
http://code.google.com/p/android/issues/detail?id=5178can=4colspec
reboot.
or, partially restart the modem side.
2009/12/4 Farproc farp...@gmail.com
Nobody care?
On Dec 4, 8:28 am, Farproc farp...@gmail.com wrote:
After changing the settings of the wireless router(SSID, frequency,
securities) Android won't report the correct values until you reboot
I have an idea: check whether account has been steup in onResume() of
your main activity if not start the wizard activity.
On Dec 5, 9:58 am, hap 497 hap...@gmail.com wrote:
Hi,
In android Email app, when I first launch it, it will shows me the
'account setup wizard' activity.
But when I
I have upgraded to Android SDK 2.3(with Android SDK Tools, version 8
Android SDK Platform-tools, version1) and ADT/DDMS Version:
8.0.1.v201012062107-82219. But I can't use the debug build feature.
I remove debuggable attribute in the AndroidManifest.xml of my
project because the doc says
Please pay attention to the Android porting issues.
Android is growing fast nowadays with more and more devices, but there
is a very serious problem that is going more and more serious
meanwhile: manufactures are not porting Android very well.
Here are some examples I found:
1. On HTC G1
I thought if I set a static field then that will stay set as long as
the VM is alive.
I agree with you.
But you can't make such an assumption that MyActivity.onCreate()
will be always executed in the same VM process as
MyActivity.COMPLEX_OBJ = myComplexObj; // which is definitely NOT .
The
try {
System.exit(0);
} catch (SecurityException e) {
}
On Mar 4, 7:29 pm, vinoth vinothso...@gmail.com wrote:
How to exit from the whole application.?(Not from the Activity)
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post
Really sorry to hear the half star thing!
I do not have a Nexus One but I think you can help yourself by writing
code to catch all the uncaught exceptions and send the error
information to your gmail!!
Step 1: Write a class that implements
java.lang.Thread.UncaughtExceptionHandler:
code
public
I have posted something about static field at
http://groups.google.com/group/android-developers/browse_thread/thread/029cf8179a476aad#
Hope it helps!!
Good luck!
On Mar 9, 2:02 am, jgostylo jgost...@gmail.com wrote:
This is what I am doing:
Activity SplashScreen is the launching activity for
.
Mike
On 03/09/2010 02:44 AM, Farproc wrote:
Really sorry to hear the half star thing!
I do not have a Nexus One but I think you can help yourself by writing
code to catch all the uncaught exceptions and send the error
information to your gmail!!
Step 1: Write a class
Sounds good!
On Mar 8, 10:29 pm, chris christ.pe...@gmail.com wrote:
Hi all
Just a word to tell you that i put a tool to help you synchronize your
strings properties files here :http://propertysync.appspot.com/synchronize.htm
You can zip your res directory , send it to the server and you
Plug you phone, debug in eclipse but select your real phone as target!
On Mar 9, 11:20 am, CMF manf...@gmail.com wrote:
Hi, my app didn't die on the simulator, it works fine.
But it crashed on a real mobile phone.
On Mar 9, 12:06 am, spachner stefanpach...@googlemail.com wrote:
Hi,
I think it is impossible to retrieve the PSK(password) via current
SDK.
Security reason maybe.
On Mar 10, 5:04 am, zero zeroo...@googlemail.com wrote:
is there ANY way to do this ? WifiConfiguration actually holds that
information as a string, but so far i had no luck accessing the field,
even
1. If you really want to hide an activity, try
Activity.setVisible(false) or windowNoDisplay attribute of the
activity's theme.
2. PendingIntent is not restricted to start an activity.
PendingIntent.getBroadcast(), PendingIntent.getService() etc.
On Mar 10, 9:45 am, klausa2
I would have to add INTERNET permission
No, you do not need this permission for just sending emails. Because
you can starting an email app(def exists in almost every android
phone) to send email, it is the email app who needs INTERNET not your
app!!! This is why I prefer this to 3rd party log
Do you notice the Clear my review option menu of Market app?
On Mar 11, 11:10 am, Justin jtgi...@gmail.com wrote:
Since 9:00am on March, 10, the ratings for one of my apps has
DECREASED by 6, from 45 ratings down to 39. What would the cause of
this be? Is this a sign of another breakage of
Spare Parts the one from Google? Stock in emulator?
On Mar 12, 1:56 pm, Robert Green rbgrn@gmail.com wrote:
I know several of you wrote your apps and games before 1.6 was out or
before you had a trusty N1 or Droid to test on. This led to many apps
that rely on compatibility mode, that is,
Write your own subclass of View. Override it's onDraw() method. You
need a Timer or Handler to call invalidate() periodically.
On Mar 12, 4:01 pm, mike kiranbollepa...@gmail.com wrote:
hai,
i struck in implementing progress bar functionality of my splash
screen.
i know horizontal progress
Just do anything you need in your update but leave the package name
and signature untouched.
A increasment of version code is required(not limited to one). Version
name is your own concern.
All the user installed you app will receive an update notification if
they have data connection.
On Mar
If the notepad is an Android app, you should use
Activity.startActivity().
On Mar 12, 4:44 pm, Sudheendra sudhindra.ma...@gmail.com wrote:
basically i want to start Notepad application in android from my
application , can i do this in android using runtime.exec() method of
RuntimeClasss and
Basically you can not modify the resources of your app.
They are read-only after build.
You can write data to sd card and modify it then use.
On Mar 12, 10:07 pm, RV ravivyas...@gmail.com wrote:
Hi,
I am stuck on this for a very long.
I have my txt file in res/raw/myfile.txt.
I want to
What is the res folder? /sdcard/res?
On Mar 13, 3:07 pm, aswani kumar tholeti ensisinf...@gmail.com
wrote:
Hi all,
how to write/read log data into txt file in res folder
Thanks in advance
Aswan
--
You received this message because you are subscribed to the Google
Groups Android
I rebuilt my Android app with the latest SDK(3.0) and targeted it to
API level 10 with min SDK 3(uses-sdk android:targetSdkVersion=10
android:minSdkVersion=3/) recently.
The apk installs and works well on my old G1 with cupcake, but I can't
download it form Market with that phone after I uploaded
Apps built with API level 10 and android:minSdkVersion=3 can not be
downloaded by Cupcake phone via Android Market.
These apps can be seen in Market of my old Cupcake G1, but it says
Not found: The requested item could not be found when I click to
install them.
These apps work fine if I manually
Thanks.
I'll try that in the next release.
What I mean here is letting Google know this issue.
On 3月19日, 上午10时54分, TreKing treking...@gmail.com wrote:
On Fri, Mar 18, 2011 at 9:49 PM, Farproc farp...@gmail.com wrote:
Apps built with API level 10 and android:minSdkVersion=3 can
Thank you.
Yes, it's good and I'm young. ;)
On 3月19日, 下午1时19分, Zsolt Vasvari zvasv...@gmail.com wrote:
What I mean here is letting Google know this issue.
Good one, young padawan.
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post
Hi,
I've got a lot of error reports from Sony devices with Android 5.0.2 in the
past few weeks. It seems that a ArrayIndexOutOfBoundsException occurs when
inflating ActionBarContainer. ActionBarContainer is an internal class,
never used directly in my code. The only line of my code in the
47 matches
Mail list logo