Hi ,
How can we design layouts for all screen sizes like from 320 width to 1280
etc..
Thanks in Advance
On Mon, Oct 31, 2011 at 10:27 AM, Belvedere Computer Services
fa829...@gmail.com wrote:
Any thoughts on this topic are welcome
okay, this is your thread so shield me if i need it
1]
Hi,
Don't hijack other peoples questions. Second, use google and you would
find: http://developer.android.com/guide/practices/screens_support.html
On Tue, Apr 24, 2012 at 8:53 AM, bhaskar bommala bhaskar...@gmail.comwrote:
Hi ,
How can we design layouts for all screen sizes like from 320
On 18/04/12 19:41, José Pacheco wrote:
Hello all,
I am new to Android.
Take time to read this:
http://developer.android.com/guide/topics/ui/themes.html
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email
Will this change break CursorLoader in multi-fragment Activities?
If I have an Activity with 2 Fragements, each fragment using a CursorLoader
to load its own data. CursorLoader is derived from AsyncTaskLoader which
uses AsyncTask to do the work which includes monitoring for data changes
HI All:
Now I'm operating the SE of PN65N chip, but I don't know how to
install applet to SE by OTA,
Can anyone help me? Thanks very much.
--
binbin he
Mobile: +86-18616626972
Msn: hbbs...@hotmail.com
--
You received this message because you are subscribed to the Google
Groups Android
Presumably there is some two-way communication between Google's
servers and the device, so server-side will know whether a device is
available to receive the message and fire off a registration intent.
Bottom line: I would think Google would be capable enough to realize
the issue and handle it, so
Hi,
I have implemented caurosel demo which is working fine but when I am
using with 11 images in that, I am not getting proper position of
particular item in that view. Always I am getting position of item as
Zero. Can anybody help me on this issue
--
You received this message because you are
Hey thanks for your reply
Appreciate it very much!
Rendy
On Apr 24, 4:16 pm, EhyehAsherEhyeh jacobsen.ar...@gmail.com wrote:
Presumably there is some two-way communication between Google's
servers and the device, so server-side will know whether a device is
available to receive the message
Is it possible to create a style extending the holo.light.darkactionbar
Theme for my searchview widget?
because the style for that theme doesn't exist.
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to
Hi Guys,
I have one query. Actually I want my app to make network call only if
device is connected to secured wifi network which requires
authentication
I am using following code...
WifiManager wifi =(WifiManager)
getSystemService(Context.WIFI_SERVICE);
if(wifi !=
On Tue, Apr 24, 2012 at 4:18 AM, RichardC
richard.crit...@googlemail.com wrote:
Will this change break CursorLoader in multi-fragment Activities?
CursorLoader uses the THREAD_POOL_EXECUTOR, last I checked.
--
Mark Murphy (a Commons Guy)
http://commonsware.com | http://github.com/commonsguy
On Mon, Apr 23, 2012 at 10:45 PM, Jim Graham spooky1...@gmail.com wrote:
Why would setting the text of the TextView the second time cause a force
close (caused by a null pointer exception, where the string being
assigned was not null)?
Either:
-- The value t is null, or
-- The exception did
On Tue, Apr 24, 2012 at 6:40 AM, Bunty syed itsmeatfo...@gmail.com wrote:
But there are no APIS available in the WifiInfo to check the security
protocol like security type ,encryption type or password
authentication required or not for the currently active wifi network.
WifiInfo does not,
在 2012年4月22日星期日UTC+8下午4时23分48秒,Slay3r写道:
Oops typo in my previous
post should be;
ActionBar actionbar = getActionBar();
actionbar.hide();
thats as close to fullscreen as you can get on a tablet i believe..
thanks , i will try !
Sent from my ASUS Eee Pad
Baodong Chen
Doesn't anybody know about this?
--
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 Tue, Apr 24, 2012 at 7:50 AM, Kike lapuente.enri...@gmail.com wrote:
Doesn't anybody know about this?
Have you considered using a search engine? Your answers come in the
first five Google hits on:
java (libjpeg OR libpng)
--
Mark Murphy (a Commons Guy)
http://commonsware.com |
On Tue, Apr 24, 2012 at 07:02:52AM -0400, Mark Murphy wrote:
which is why we keep asking developers to post stack traces rather than
just exception names
Which would have been a lot easier to do, if I had it. Like I said, I'd
tried it earlier, and when it didn't work, just deleted it
I have a Relative Layout view with layout_gravity = bottom...
and it has 3 images one on the left , one middle and one on the right
and it occupies approximately 1\6 th of the screen in the bottom .
Now i want that when the user clicks on the RelativeLayout
anywhere the layout should
Hi,
I am new to Android,can any one suggest me how to solve the below
issue.
1.Sending a pdf file to client from server through web services in
Android
I fallowed this link but I am unable to get the output on screen.
Use SlidingDrawer...
http://developer.android.com/reference/android/widget/SlidingDrawer.html
Thanks,
Justin Anderson
MagouyaWare Developer
http://sites.google.com/site/magouyaware
On Tue, Apr 24, 2012 at 6:54 AM, tarun sablok tarun.sab...@gmail.comwrote:
I have a Relative Layout view with
I have implemented caurosel demo which is working fine but when I am
using with 11 images in that, I am not getting proper position of
particular item in that view
Bummer...
Always I am getting position of item as Zero. Can anybody help me on this
issue
Not without some relevant code to
Now i am stucked in a problems.
I post it on stackoverflow, but not got an answer. could anbody help
me, it's kind of emergency.
the question is :
http://stackoverflow.com/questions/10299837/how-to-use-a-viewpager-in-a-fragment
Thx!
--
You received this message because you are subscribed to
24 апреля 2012 г. 16:33 пользователь Jim Graham spooky1...@gmail.comнаписал:
Which would have been a lot easier to do, if I had it. Like I said, I'd
tried it earlier, and when it didn't work,
If the exception happens while you're debugging, Eclipse will stop at some
seemingly random place
Tried solutins and ideas in a link you sent...in the both solutios thay are
placing song on card and read it from it.but i whant to set ringtone from
song that i inport in my activity in R.drawable.song...that solution i
whant...did you try make app to set ringtone?
On Apr 23, 2012 9:34 PM,
On Tue, Apr 24, 2012 at 06:32:13PM +0400, Kostya Vasilyev wrote:
If the exception happens while you're debugging, Eclipse will stop at some
seemingly random place (the corresponding catch block) and at that point,
there won't be a stack trace in the logcat yet.
I use the logcat directly from
On Tuesday, April 24, 2012 7:08:06 AM UTC-4, Mark Murphy (a Commons Guy)
wrote:
On Tue, Apr 24, 2012 at 6:40 AM, Bunty syed wrote:
But there are no APIS available in the WifiInfo to check the security
-- WifiConfiguration tells you what was possible, not what was
negotiated for this
So take your file, put it somewhere in storage, and then set the URI
appropriately.
Kris
On Tue, Apr 24, 2012 at 10:40 AM, jadranko bodiroga
jadrankobodiroga1...@gmail.com wrote:
Tried solutins and ideas in a link you sent...in the both solutios thay are
placing song on card and read it from
I use Fragments+ViewPager+ViewPageIndicator in my app. Hope you would find
it helpful:
https://github.com/nhasan/Airports/blob/master/src/com/nadmm/airports/wx/WxDetailActivity.java
https://github.com/nhasan/Airports/blob/master/src/com/nadmm/airports/utils/TabsAdapter.java
But if i whant to send my app to friend ,i have to copy him that song too
on specific location,is it? Than i can not share my app to others,becouse
app will not find song...that is a reason i whant to import song into my
activity...
On Apr 24, 2012 5:10 PM, Kristopher Micinski
What are you even talking about...?
You can take the file out of shared resources and store it in storage,
distributing the app with the file in resources..
Kris
On Tue, Apr 24, 2012 at 11:48 AM, jadranko bodiroga
jadrankobodiroga1...@gmail.com wrote:
But if i whant to send my app to friend ,i
*ANY* ideas are highly appreciated! :)
Use Eclipse... :-)
Thanks,
Justin Anderson
MagouyaWare Developer
http://sites.google.com/site/magouyaware
On Mon, Apr 23, 2012 at 9:17 PM, Luiz Santos luiz.h@gmail.com wrote:
*ANY* ideas are highly appreciated! :)
--
You received this message
Byte [] imagenB = bmp.toString ()). GetBytes ()
You want to convert the bitmap to a string? And then you want to get the
bytes in the string? That doesn't make sense.
What you need to do is create an OutputStream and then use Bitmap's
compress method:
I got a service runing it's own process and when i stop the service from
the app activity the service dies but the process holding the service
stay's alive and dos not end.
Your point would be?
I wanna kill the process from the service's onDestroy() function.
No, you don't...
Can i do
when I touched (2,2),I should get (2,2) but I got item of (3,2) .
If you take out everything you are doing with your gesture listener, do you
have the same problem?
Thanks,
Justin Anderson
MagouyaWare Developer
http://sites.google.com/site/magouyaware
On Tue, Apr 17, 2012 at 8:19 PM,
It is just combining configuration qualifiers... You can do the same thing
for other res directories as well... For example, I have a
drawable-xlarge-mdpi folder...
Thanks,
Justin Anderson
MagouyaWare Developer
http://sites.google.com/site/magouyaware
On Tue, Apr 17, 2012 at 7:19 AM, Gink
My app has a layout that contains some ImageButtons. In addition, my app
renders some Bitmapsfor later use. The Bitmaps are rendered by
creating a Canvas with a Bitmap parameter, and then drawing into the
canvas. This Bitmap rendering task occurs in a non-ui thread, so the gui
can
The LOCK in the ImageButton draw code was unintentional. I had added
this for debugging (to see if the issue happened if I ensured that the
RenderTask and ImageButton.draw() waited on each other); this did prevent
the issue, but is definitely not a desirable solution.
On Tuesday, 24 April
I've been using a threadpool to download a set of independent files. I use
an ExecutorService and call execute() on a singleton HttpClient similar to
AndroidHttpClient. All is going fairly well.
However, I see one behavior that is fairly consistent on my Galaxy Tab 10.1
with Android 3.1.
Does Android ever stop the default launcher in order to free up
resources?
--
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
i'm calling web service and i'm getting my soapobject response like
that:
response{
errMesg=null;
Id=54512;
Article=article{id=898;Name=bej;DateArtic=2010/12/15;};
Article=article{id=800;Name=saij;DateArtic=2011/12/15;};
How to do that...give me some example...
On Apr 24, 2012 6:18 PM, Kristopher Micinski krismicin...@gmail.com
wrote:
What are you even talking about...?
You can take the file out of shared resources and store it in storage,
distributing the app with the file in resources..
Kris
On Tue,
Yes, indeed there are potential synchronization issues. I've done some of
this myself.
You may want to use something like:
java.util.concurrent.locks.ReentrantLock;
Lock, draw to, and then release.
Lock, draw from, and then release.
This can work if you are sure you are locking it only
Did you try googling access file from resources android?
This comes up:
http://stackoverflow.com/questions/4081763/access-resource-files-in-android
kris
On Tue, Apr 24, 2012 at 1:34 PM, jadranko bodiroga
jadrankobodiroga1...@gmail.com wrote:
How to do that...give me some example...
On Apr
THANKS MAN..I WILL TRY THAT TO IMPORT TO MY APP..if i manage i will share
code...
On Apr 24, 2012 7:53 PM, Kristopher Micinski krismicin...@gmail.com
wrote:
Did you try googling access file from resources android?
This comes up:
Unfortunately my RenderTask varies from about .5seconds - 5 seconds. So,
it is very undesirable to either perform it on the UI thread, or to force
the UI thread to wait on it.
Any idea what causes the ImageButton.draw() to hang, its possible the
hanging is preventable/fixable?
On Tuesday,
You may also want to use the assets folder:
https://www.google.com/search?btnG=1pws=0q=android+move+file+from+assets+to+phone
Thanks,
Justin Anderson
MagouyaWare Developer
http://sites.google.com/site/magouyaware
On Tue, Apr 24, 2012 at 11:56 AM, jadranko bodiroga
On Sun, Apr 15, 2012 at 10:42 PM, Mohamed Sobhy m.sobhy.9...@gmail.comwrote:
So how come that RadioGroup class has a setOnClickListener but not a
getOnClickListener?
What can I use to go around this problem?
What do you want to do with RadioGroup?
If you want to get any particular
On Tuesday, April 24, 2012 10:58:43 AM UTC-7, Ab wrote:
Unfortunately my RenderTask varies from about .5seconds - 5 seconds. So,
it is very undesirable to either perform it on the UI thread, or to force
the UI thread to wait on it.
In that case, decide what you want to have happen. If
View view = getListView().getAdapter().getView(0, null, null);
That won't work... getView() is called by the system when it wants to add
a view to be displayed in your listview. What you are doing here is
essentially creating a new View and then not doing anything with it.
What you should be
Aer you sure it isn't due to the network not fully connected yet after
device resume from sleep ?
--
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
On Tuesday, April 24, 2012 11:50:02 AM UTC-7, b0b wrote:
Aer you sure it isn't due to the network not fully connected yet after
device resume from sleep ?
No I am not sure, but what do I do about it if so? The device does not
seem asleep, and the screen hasn't dimmed, but that doesn't
Sliding drawer will be hidden which i will have to drag out to the srceen
but as I explained that I want a view to be displayed at the bottom of
the screen which will be any layout ... and when i click that view it
should come out as a drawer.
On Tue, Apr 24, 2012 at 7:07 PM, Justin
No I am not sure, but what do I do about it if so? The device does not
seem asleep, and the screen hasn't dimmed, but that doesn't mean the device
won't get lazy about network connections. The wifi disconnect policy is set
to never, but I know Android can ignore that.
Ok it is very
Sliding drawer will be hidden which i will have to drag out to the srceen
but as I explained that I want a view to be displayed at the bottom of
the screen which will be any layout ... and when i click that view it
should come out as a drawer.
Unless I'm not understanding your
BTW, this method no longer works with the new scheme of using Proguard.
Anyone know why?
On Wednesday, March 9, 2011 5:29:50 AM UTC-8, Marcin Orlowski wrote:
Hi,
I try to strip all log calls from release app using proguard
(-assumenosideeffects) i noticed not all is removed. Some cases
You need to change the data in the adapter, and then call
notifyDataSetChanged() on the adapter.
Thanks,
Justin Anderson
MagouyaWare Developer
http://sites.google.com/site/magouyaware
On Sun, Apr 22, 2012 at 9:51 AM, Jbassking jbonav...@thebonavitas.comwrote:
I have a ListView with a custom
Hi:
I need to add a new native server and a native service moduel to Android
ICS.
I got the following issues to compile modules
build/core/base_rules.mk:80: *
build/core/base_rules.mk:81: * Each module must use a LOCAL_MODULE_TAGS in
its
build/core/base_rules.mk:82: * Android.mk.
There is a google group for NDK development... you might have better luck
on that forum.
Thanks,
Justin Anderson
MagouyaWare Developer
http://sites.google.com/site/magouyaware
On Tue, Apr 17, 2012 at 9:59 AM, Anatoliy Lysenko a.o.lyse...@gmail.comwrote:
Hi,
In my NDK project I have two
This has nothing to do with this list, which is for developing
applications with the Android SDK. Please visit
http://source.android.com, click on the Community tab, and find a
relevant list.
On Tue, Apr 24, 2012 at 3:37 PM, fan zhang fzhang...@gmail.com wrote:
Hi:
I need to add a new
http://catb.org/esr/faqs/smart-questions.html
Thanks,
Justin Anderson
MagouyaWare Developer
http://sites.google.com/site/magouyaware
On Tue, Apr 17, 2012 at 5:56 AM, kaixinyang 402707...@qq.com wrote:
Why my phone must connet the power that the APP can work well?
--
You received this
User Friendly Keyboard based on input type, Is this a feature provide
by os, or it is based on the browser or is it based on device?
I don't really know what you are asking here... I'm going to go out on a
limb and assume that this might help:
Hmm. I'm not sure I can pin this on connection reuse.
There is no keepalive header in the response.
Based on that, DefaultConnectionReuseStrategy will return false and
DefaultKeepAliveStrategy will return -1.
Nathan
--
You received this message because you are subscribed to the Google
Em terça-feira, 24 de abril de 2012 13h55min37s UTC-3, MagouyaWare escreveu:
*ANY* ideas are highly appreciated! :)
Use Eclipse... :-)
Wish I could! haha
Switching to Ubuntu, most likely...
Thanks for answering, anyway :)
--
You received this message because you are subscribed to the
Me and qnhoang81 have been talking and have come to the conclusion that it
is essential to cm9 that it uses a Linux 3.x based Linux kernel and it
would also be nice to have a Linux 3.0 overclocking kernel for the sph-m920
anyone interested in helping with this can email me at
Thanks for your input to this, it's spurred me to further study.
Re the GpsStatus object, that's a great suggestion but for the life of me,
I can't get my SGS 11 to trigger the onStatusChanged event or to get
anything from the GpsStatus object, so that's a bit annoying. But I'll
press on.
The application I am working on is being preinstalled with the OEM ROM
builds. Consequently, the APK is packaged with a .so file that is
traditionally placed in /system/lib. Unfortunately, the latest Ice
Cream Sandwich builds of the ROMs contain the same exact .so file that
is interacted with in
You might have better luck asking this on the android-ndk Google Group.
On Tue, Apr 24, 2012 at 5:07 PM, ivan istas...@gmail.com wrote:
The application I am working on is being preinstalled with the OEM ROM
builds. Consequently, the APK is packaged with a .so file that is
traditionally placed
let me rephrase this...
I have built a default launcher app that is specifically for the
Samsung Galaxy Tab 10.1. I have launched many apps in order to have
android call onDestroy() on my launcher app but I have not been
successful in doing this.
Does anyone know if Android ever calls
This is not the correct forum as this deals with the android sdk, but you
may want to look up soap or go to stackoverflow.com
On Apr 24, 2012 1:31 PM, saida gzem gzemsa...@gmail.com wrote:
i'm calling web service and i'm getting my soapobject response like
that:
response{
Could you help me to get Panasonic Toughpad A1 SDK, we would like to
install and use it for emulator debugging/testing. We are targeting our
application on Panasonic toughpad.We have already ICS latest version SDK
and emulator. But instead of that we would like to use Panasonic SDK.
BR
On Tue, Apr 24, 2012 at 6:55 PM, Srinivas Nainala srito...@gmail.com wrote:
Could you help me to get Panasonic Toughpad A1 SDK, we would like to install
and use it for emulator debugging/testing. We are targeting our application
on Panasonic toughpad.We have already ICS latest version SDK and
On Tue, Apr 24, 2012 at 1:18 AM, RichardC richard.crit...@googlemail.comwrote:
Will this change break CursorLoader in multi-fragment Activities?
No.
--
Dianne Hackborn
Android framework engineer
hack...@android.com
Note: please don't send private questions to me, as I don't have time to
Is there a way to create an invisible tab in android, that would show up
only when you press the menu button or something like that. I do not want
it to show a separate tab in the tab bar, but when the menu button is
pressed, I want it to show while the tab bar is also visible. Please guide
me.
onDestroy() generally doesn't get called to free up resourced; most usually
processes are killed to accomplish this.
The platform tries to keep the process hosting the home app running, so
that pressing home won't take a long time to return to the launcher. Of
course under enough memory stress
Oh, I figured that out. All I had to do was set the visibility to GONE.
On Wed, Apr 25, 2012 at 5:48 AM, Farhan Tariq farhan@gmail.com wrote:
Is there a way to create an invisible tab in android, that would show up
only when you press the menu button or something like that. I do not want
Sadly, there isnt much customization that I can do with it. I googled that
up, and all seem to use android.R.layout.simple_list_item_single_choice
layout for the purpose. I also came across checkedTextView, but I couldn't
understand the theory behind. Can anyone please explain a little. Thanks in
1300ms ahead sounds odd. If it was behind I'd say it was just a reporting
delay as part of the usual message processing, but ahead is weird.
It's not GPS, but if you have an Internet connection, what about querying
an NTP server?
--
You received this message because you are subscribed to the
Here is a crash report I received today while my app runs:
pm.getInstalledPackages(PackageManager.GET_ACTIVITIES);
Can someone tell me how to resolve this? This call used to have the flag
set to 0 without issues, but now one (maybe more) of my users is receiving
this error preventing the use of
You need to enable RMC messages and then wait for a GPS lock, then enable
ZDA messages these give a 1PPS message with a timestamp accurate to 1ms.
On Apr 25, 2012 6:02 AM, Andrew Gregory andrew.greg...@gmail.com wrote:
1300ms ahead sounds odd. If it was behind I'd say it was just a reporting
Hi Sy, Thanks for your input. If I understand you correctly, you are
suggesting I look for a $GPZDA NMEA sentence. I have just checked the SiRF
NMEA Manual and tried it. I'm getting RMC and GGA but no ZDA sentences on
either my SGS 11 or HTC , both running 2.3.3. Am I missing something here?
Yes I do and will give it a go. Ta.
On Wednesday, April 25, 2012 3:01:33 PM UTC+10, andrewg_oz wrote:
1300ms ahead sounds odd. If it was behind I'd say it was just a reporting
delay as part of the usual message processing, but ahead is weird.
It's not GPS, but if you have an Internet
I have a code that opens the camera and displays it to a SurfaceHolder. I
then call onPreviewFrame which grabs the displayed image and stores the
data as a byte array. I then TCPIP the info over to my computer which is
where I hope to decode the array back into an image so I can do some
82 matches
Mail list logo