Hi all
I have an application which has two client and for both client i
have different resources i.e. there images are different, themes are
different, fonts, styles, etc. But my code base is same for both. And
i have used XMLs for all above described item.
How can i manage images,
Muhammad UMER wrote:
hi,
I go through this blog as you suggest,
http://www.mattakis.com/blog/kisg/20090708/broadcasting-video-with-android-without-writing-to-the-file-system
guy, just told how to send from android on network but doesn't told how to
receive it on PC server.
Anieeh wrote:
Hi all
I have an application which has two client and for both client i
have different resources i.e. there images are different, themes are
different, fonts, styles, etc. But my code base is same for both. And
i have used XMLs for all above described item.
How can i
I have asked the writer of the article in mention - and he as
generously answered it on stack overflow. So I will direct any one who
needs an answer for the issue there:
http://stackoverflow.com/questions/8911776/androids-checkjni-how-to-turn-it-off-on-on-an-emulator-documentation-seems
On Jan
Thank you for your reply. Any example code i can refer to?
On Jan 17, 10:27 am, Kristopher Micinski krismicin...@gmail.com
wrote:
To go along with that, you can't directly update the UI from a random
thread, and you need to look into a Messenger, then do something like
fill the buffer in one
You can look at some AsyncTask examples, but really, you should also
put some interest into this:
http://developer.android.com/guide/topics/fundamentals/loaders.html
This was introduced in 3.0 (which I haven't gotten as much of a chance
to play around with as I should have yet).
I think that
hi skink,
Thanks for your reply, I am using server side code to receive each
frame is perfect. but when i use this server for mediaRecorder it gives the
invalid stream header: , i am using
ObjectInputStream to receive the data. on client side (android), i am using
the
yes do set focusable false.
*More info*,
http://androidbasic-answer.blogspot.com/
--
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
Ok i am back with a new question.. If suppose i don't want some files to be
loaded in the mobile device. But it should be loaded in desktop devices. If
that is the case then what should be the solution?
--
You received this message because you are subscribed to the Google
Groups Android
Muhammad UMER wrote:
hi skink,
Thanks for your reply, I am using server side code to receive
each frame is perfect. but when i use this server for mediaRecorder it gives
the invalid stream header: , i am using
ObjectInputStream to receive the data. on client side
Thanks for quick reply Skink but i am developing application on window
is there any way on that.
Thanks and regards
Anieeh
on linux you could create symbolic link to your res folder - this is
how i'd do it withiout any effort
pskink
--
You received this message because you are
ANKUR GOEL wrote:
hi all
how to send broadcast to other application
how to send broadcast?
context#sendBroadcast
pskink
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to
Anieeh wrote:
Thanks for quick reply Skink but i am developing application on window
is there any way on that.
no idea then, or wait, change your platdorm - win32 is not for real
developement :)
pskink
--
You received this message because you are subscribed to the Google
Groups Android
It is becoming off-topic...
You will have to use User-Agent detection on the server site (easily
done in PHP or anything else) to return the appropriate version of
the page or use JS to redirect based on some properties of the browser
rendering the page.
First solution depends on User-Agent,
Off-course Skink but all of sudden i cant change a platform, are you
using Ubuntu or anything else and hows your developing platform, is it
user friendly?, because i cant invest time to explore different
platform my company wont give that much time.
Thanks again.
On Jan 25, 3:12 pm, skink
hi skink,
Now i have used inputstream but it give me Exeption (null) at
while((bytesRead = is.read(buffer)) != -1) on server side.
here server side code that i am using.
try
{
// create stream to Network
InputStream in = clientSocket.getInputStream();
Normally I use @android:style/Theme.Holo.Light (and its dark counterpart),
and it works very well except for custom alert dialog content, but that's a
known known and there are ways to deal with that.
Just tried out @android:style/Theme.DeviceDefault.Light on my Galaxy Nexus
with 4.0.2 and the
Anieeh wrote:
Off-course Skink but all of sudden i cant change a platform, are you
using Ubuntu or anything else and hows your developing platform, is it
user friendly?, because i cant invest time to explore different
platform my company wont give that much time.
Thanks again.
what
Muhammad UMER wrote:
hi skink,
Now i have used inputstream but it give me Exeption (null) at
while((bytesRead = is.read(buffer)) != -1) on server side.
here server side code that i am using.
try
{
// create stream to Network
InputStream in =
pls. check following link.
http://androidbasic-answer.blogspot.com/2012/01/broadcast-receiver-launch-application.html
--
*More info*,
http://androidbasic-answer.blogspot.com/
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this
On Tue, Jan 24, 2012 at 9:26 PM, cindy ypu01...@yahoo.com wrote:
Then what is the meaning of following news release:
http://androidcommunity.com/android-web-browser-goes-open-source-chrome-incoming-20110823/
The meaning is that you are reading a blog post from a non-developer,
rather than
Hello Sir,
What I really want is that::
Activity 1:: Login Page (asks for email address access code).
Activity 2:: Application Form (a complete form to fill) then SUBMIT.
So right now I am at Activity 1, I want that when user fill email
address and access code, it check that from online running
Hi ,
Please check below link
http://iamvijayakumar.blogspot.com/2012/01/mapview-draw-drive-route-direction-with.html
--
-
Thanks Regards,
T.M.S.VIJAYKUMARR
BloG:http://iamvijayakumar.blogspot.com/
--
You received this message because you are subscribed to the Google
Groups Android
On Wed, Jan 25, 2012 at 7:28 AM, Harpreet Singh harry...@gmail.com wrote:
1. Where to write all these codes of SOAP (i read that it has to be
written in xml file, then where to save this/these xml file(s) in
Project [ either in layout, in assets or in values {where?}]).
2. What names should I
It does seem to contradict but looking at *
res/values/themes_device_defaults.xml* on API Level 15 source (look here:
http://pastebin.com/rj5LwgVf) we can see that both the *Theme.DeviceDefault*and
*Theme.DeviceDefault.Light* inherit from *Theme.Holo* and *Theme.Holo.Ligh*t,
respectively. But
Harpit,
I have developed sample tutorial.You can idea how to access webservice in
android.
please following link
http://androidbasic-answer.blogspot.com/2012/01/access-webservice-from-android-device.html
--
*More info*,
http://androidbasic-answer.blogspot.com/
--
You received this message
Dear Aparna,
I have developed simple tutorial about how to use webservice in android.
please visit following website,
http://androidbasic-answer.blogspot.com/2012/01/access-webservice-from-android-device.html
--
*More info*,
http://androidbasic-answer.blogspot.com/
--
You received this
What is the best solution to integrate backup, external to the device
for an Android application?
Ideally the solution will be cheap, integrate easily with an existing
application and will be seamless to the clients.
I know Google Backup is limited so most likely it will not work, but
there has
Hello.
With the Fragment API, the easy and straightforward way to access to
the i18n is to use the Fragment.getString(int resId) method.
Unfortunately, the implementation resorts to the underlying attached
Activity, which is only available between the
Fragment.onAttach(Activity activity) and the
On Wed, Jan 25, 2012 at 8:19 AM, elDoudou the.edouard.merc...@gmail.com wrote:
As soon as a background thread attempts to invoke
the Fragment.getString(int resId) while the fragment is not attached
to its view, the caller thread gets an IllegalStateException with a
message of the form Fragment
Thank you Mark.
Yes sure, this is a way to address this issue. But if the i18n string
I need to get depends on the result of a web service call, this means
that I need to provide all i18n strings at AsyncTask build time. And
if I need to use the getString(int resourceId, ...) form? In that
case,
On Wed, Jan 25, 2012 at 8:44 AM, elDoudou the.edouard.merc...@gmail.com wrote:
Yes sure, this is a way to address this issue. But if the i18n string
I need to get depends on the result of a web service call, this means
that I need to provide all i18n strings at AsyncTask build time.
Or, you do
Hello
I have a good understanding of the basic ui api. I can use TextViews and
layouts, but I don't know anything about custom UI usage.
I would like to build a UI which looks something like this:
http://s1258.photobucket.com/albums/ii540/netskink/?action=viewcurrent=ssicons.jpg
Possibly a
Thank you Mark.
If you implement Fragment.getContext() the following way, I think
that it works:
public final Fragment.getContext()
{
if (isDetached() == true)
{
if (getView() == null)
{
throw new IllegalStateException(...);
}
return getView().getContext();
}
else
hi skink,
Sorry it was my mistake at object of InputStream, that is 'is '
but i was using 'in'. Now it's receive the data and create a video.3gp file but
it's not a playable(corrupted). Now what can you suggest me, and Thanks a lot
for your kind help.
Thanks and Regards,
umer
Do you expect to run this code on a background worker thread?
If so, how are you ensuring that the UI thread won't change the fragment's
state while this code is running?
25 января 2012 г. 18:06 пользователь elDoudou the.edouard.merc...@gmail.com
написал:
Thank you Mark.
If you implement
On Wed, Jan 25, 2012 at 9:06 AM, elDoudou the.edouard.merc...@gmail.com wrote:
If you implement Fragment.getContext() the following way, I think
that it works:
getView().getContext() may not return a context that is safe to use
from a background thread. It could easily be the last Activity
On Wed, Jan 25, 2012 at 7:54 AM, John Davis davi...@gmail.com wrote:
I don't know anything about custom UI usage.
Any suggestions on what I should do?
http://developer.android.com/guide/topics/ui/custom-components.html
Muhammad UMER wrote:
hi skink,
Sorry it was my mistake at object of InputStream, that is 'is '
but i was using 'in'. Now it's receive the data and create a video.3gp file
but it's not a playable(corrupted). Now what can you suggest me, and Thanks a
lot for your kind help.
Hello TreKing,
Thank you. I'll look into that. FWIW, I've gotten some other suggestions
off list. It appears that I will need
to learn gridview. Possibly the solution to my problem is a custom
component consisting of a GridView with three textviews.
Does that seem right to you?
John
On
2012/1/25 John Davis davi...@gmail.com
Possibly the solution to my problem is a custom component consisting of a
GridView with three textviews.
Does that seem right to you?
Possibly. Your image to me looks like it would require a custom layout
manager, but I haven't done that, so I can't
Hello TreKing,
Yes, the diagonal placement might not work with the gridview, but I can
adjust my goal to fit the gridview.
Very true about many viable ways. I'm just trying to get a rough heading
from the established guide before I head out into the wilderness.
John
On Wed, Jan 25, 2012 at
( responding back to the list )
Yes, that was my point.
Even if each individual framework method you're calling was be thread-safe
(which it may not be) , overall, your code sequence is not thread safe.
Mark already gave one suggestion.
Here is another:
Since you're talking about getting
2012/1/25 John Davis davi...@gmail.com
I'm just trying to get a rough heading from the established guide before I
head out into the wilderness.
I'd start here: http://developer.android.com/search.html#q=layout
managert=5
Since you mentioned 4.0.3 and api level 15...
With Holo themes, spinners are no longer popup dialogs - they are dropdown
lists, so there is no title.
Adding a text label to the layout somewhere near the spinner should work.
-- Kostya
25 января 2012 г. 8:20 пользователь Ray Tayek
hi skink,
I read the link that you have posted. In a blog describe the mdat
atoms that leave some spaces also not write the header. what is it, i haven't
studied about it. How can i write the header of the file and the mdat atom
spaces.
Thanks
Date: Wed, 25 Jan 2012 06:34:11
Thank you Kostya.
Yes, my intent is to invoke those methods from a worker background
thread.
You assume that I want to get i18n string to update the UI, but this
is not my exact use case. I need to get an i18n string, because I want
to prepare the computation of a string (imagine that the string
I think I found a gottcha for Developers of Ubuntu. My son left his
Macbook at my house so I started using it for development. The same
code that didn't work on Ubuntu 10.11 ran fine on the Mac. The Mac
runs a lot faster even though the Linux box has 4 gigs of RAM. May be
it's the JAVA
Dear All,
I found the following substitute for what I needed
from javax.management. There is:
void onLowMemory()
This is called when the overall system is running
low on memory, and would like actively running process
to try to tighten their belt.
Muhammad UMER wrote:
hi skink,
I read the link that you have posted. In a blog describe the mdat
atoms that leave some spaces also not write the header. what is it, i haven't
studied about it. How can i write the header of the file and the mdat atom
spaces.
you have to
hi,
Using the following code i am updating secure table in
setting.db(/data/data/com.android.providers.settings/databases/settings.db)
Runtime runtime = Runtime.getRuntime();
Process p = runtime.exec(su);
DataOutputStream os = new
How to use Android Accelerometer feature to measure the distance when
phone is moved from one hand to another? What is the best way to build
this kind of application .. help me
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this
I am working on an Android Bluetooth application to mimic one done on
Blackberry.
The Blackberry app connects to a Bluetooth server without issue.
My Android app OCCASIONALLY connects to the Bluetooth server (pairs
and discovers just fine every time)
I began to suspect the common UUID they were
http://en.wikipedia.org/wiki/Kinematics#Displacement
Acceleration is delta velocity over delta time. Velocity is delta position
over delta time. If you can accurately sample the acceleration values over
a period of time, you could calculate the changes in velocity and therefore
the overall
OK, so this is a good one.
I need the ability to allow an image to be re-sizable (pinch zoom for
example) and scrollable (finger drag) yet still allow parts of that
image to be pressed and depending on which part is pressed, have a
different action take place.
For example, suppose my image had
There is a way to intercept touch events sent to a view:
http://developer.android.com/reference/android/view/View.html#setOnTouchListener(android.view.View.OnTouchListener)
... and it should work with an ImageView and such.
I'd also consider writing your own view subclass and handling the UI
בתאריך 25 בינו 2012 01:23, מאת Kristopher Micinski krismicin...@gmail.com
:
I should mention: why are you doing this?
If you feel like you need to do this, you are probably doing something
wrong. There aren't too many reasons you would need to do this, the
only time I've ever done this was
Thanks for the answer, but I already looked at these sites. there I found
the problem but not the solution or other way to do what I need.
Regrading your question, yes very few application will need something like
but those few will be something else then your regular applications, and I
am no
On Wed, Jan 25, 2012 at 1:46 PM, nir apple apple@gmail.com wrote:
Thanks for the answer, but I already looked at these sites. there I found
the problem but not the solution or other way to do what I need.
Regrading your question, yes very few application will need something like
but those
I'm also interested in this feature, is there a way to detect how many gsm
interfaces the phone has, and retrieve information from all of them?
Maybe there's a way to change the gsm interface from which the
TelephonyManager retrieves info.
Thanks in advance.
Fabio.
On Saturday, November 19,
Hi,
I have a VideoView in a LinearLayout with 2 other boxes. In trying to
create a full screen video, I am doing the following:
private boolean isFullScreen = false;
public void onClick(View v)
{
VideoView vv = (VideoView) v.findViewById(R.id.videoView1);
On Wed, Jan 25, 2012 at 1:25 PM, John-Marc Desmarais j...@ieee.org wrote:
Can anyone suggest why this is the case?
This is your code: (*LinearLayout*.LayoutParams)vv.getLayoutParams();
This is the stack trace:
java.lang.*ClassCastException*: android.widget.*RelativeLayout*$LayoutParams
That is a very good point.
Thanks.
-jm
On Wed, Jan 25, 2012 at 2:33 PM, TreKing treking...@gmail.com wrote:
On Wed, Jan 25, 2012 at 1:25 PM, John-Marc Desmarais j...@ieee.org wrote:
Can anyone suggest why this is the case?
This is your code: (LinearLayout.LayoutParams)vv.getLayoutParams();
Looking for some brave souls to test a ground-up rewrite of Screebl. The
engine is mostly there, but things aren't pretty yet. If you're
interested, I've published to the
market: https://market.android.com/details?id=com.keyes.screebl.beta.
Still wish Google provided a more integrated beta
in general i want to open a new process, not forked from the zygote
process...
do you know of way to do this?
thank
Nir
2012/1/25 Kristopher Micinski krismicin...@gmail.com
On Wed, Jan 25, 2012 at 1:46 PM, nir apple apple@gmail.com wrote:
Thanks for the answer, but I already looked at
On Wed, Jan 25, 2012 at 4:09 PM, nir apple apple@gmail.com wrote:
in general i want to open a new process, not forked from the zygote
process...
do you know of way to do this?
This has nothing to do with the Android SDK, which is the focus of this list.
If you are building custom
I cannot get this to work. When i press the button it registers as a
single click, then it releases the touch. HELP!!!
On Jan 24, 11:47 pm, TreKing treking...@gmail.com wrote:
On Tue, Jan 24, 2012 at 3:06 PM, Oliviu Vais oliviu.v...@gmail.com wrote:
I thought it's clear enough.
Nope =)
I
So, with the new hardware accelerated pipeline, in the case where there
could be *thousands* of drawing calls (such as drawLine(s) or drawPath) is
it better to not draw to a bitmap cache but rather issue those calls
directly to the Canvas provided by onDraw()? What about when scrolling?
Should a
Thank you for your reply, I appreciate the input!
Overall I agree with what you are saying about the bleeding
obvious. However, I down scaled the exact same images on
BlackBerry's and had no problems whatsoever. In our graphics arts, I
downscale graphics all the time and end up with great
At 07:52 AM 1/25/2012, you wrote:
Since you mentioned 4.0.3 and api level 15...
With Holo themes, spinners are no longer popup
dialogs - they are dropdown lists, sošthere is no title.š
Adding a text label to the layout somewhere near the spinner should work.
yes, but that would take up
I have determined this by logging the getView method of the adapter. When
operating normally, getView is only called for the new row to be displayed
when scrolling. In my case, getView is called for every row.
--
You received this message because you are subscribed to the Google
Groups
On Wed, Jan 25, 2012 at 8:12 PM, mattcoz matt...@gmail.com wrote:
I have determined this by logging the getView method of the adapter. When
operating normally, getView is only called for the new row to be displayed
when scrolling. In my case, getView is called for every row.
There are no
On Wed, Jan 25, 2012 at 4:04 PM, Oliviu Vais oliviu.v...@gmail.com wrote:
I cannot get this to work. When i press the button it registers as a
single click, then it releases the touch. HELP!!!
Have you tried all of the motion-centric events described here:
In a background thread's constructor, retrieve the global context
using getApplicationContext(). Then you can use that to look up
resources, it works, I do it all over.
On Jan 26, 12:49 am, elDoudou the.edouard.merc...@gmail.com wrote:
Thank you Kostya.
Yes, my intent is to invoke those
Hi all,
Hope you are doing well.
First of all, *Happy republic day 2012*.
I would like to inform that today, i have launched one small simple android
app .
It will help android phone users with short texting / tweeting / messaging
etc.
Please download, give it a try and please
*help me with
Hi All,
In Siri application, people's talk has been put into a nice shape(not
rectangle). How could android achieve that effect?
Thanks!
Cindy
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to
I want that on taping particular marker I want to show Balloon Like in
Google map we have
When User tap on Particular marker Balloon containing Info related to
that Geo point is display ..
I am new in Android can any one Help me
--
You received this message because you are subscribed to the
Hi,
I hava a rooted Samsung Galaxy Y mobile.I system/xbin folder sqlite3
is there.But when i run sqlite3 command using ADB following error is
occuring
# sqlite3
sqlite3
link_image[1963]: 2761 could not load needed library 'libncurses.so'
for 'sqlit
e3' (load_library[1105]: Library
78 matches
Mail list logo