I am almost done building a custom VPN app. The problem is that when I
connect to the VPN server, the code seems to be starting a proxy
daemon SProxy_mtpd and it fails giving the following error:
05-25 05:59:34.106: E/VpnService(712): onError()
05-25 05:59:34.106: E/VpnService(712):
Because it's dirty, kills resources, goes against the application
lifecycle, is a dangerous way of destroying things without finalizing
things first, ... basically, for the same reasons you don't want to
unplug your machine while it's running...
kris
On Fri, May 25, 2012 at 1:47 AM, Yan
The priority makes your thread not use less CPU Time!
In most threading model this will only cause your thread to be
scheduled less likley making it effectifly use less CPU Time.
But if this thread does computing intensive tasks it will take all the
CPU power it will get and unless the thread
--
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
android-developers+unsubscr...@googlegroups.com
For more options, visit
Hi
My Problem is Dom Parser is not working in Android 4.0 but it's working on
2.2,2.3,3.0 if i run the project in my 4.0 emulator its not executing after
the
Document doc = db.parse(inStream);
Help me
Rajesh Rajaram
--
You received this message because you are subscribed to the Google
Hi jim
I tried the android:xlarge.. actually my project is in 2.2, so it not
supported the xlarge but now i changed to 2.3 its support now. And now the
problem is when i execute the project in 3.0 or 4.0 emulator its not
calling the web service. But its working fine in 2.2 and 2.3 emulator.
I have created basic map application but Iam getting grey boxes in the
emulator... and Iam gettting *Couldnt get connection factory client* in
log cat
Is there any problem with my emulator i have created another
versions emulator but got same thing
One thing I want to
Hello All!
I am new to the mailing list, but come bearing a question :)
First off, my device and OS version. I have a Samsung Nexus S running
a self-compiled version of Android 4.0.4.
I am running and tracing the system calls of wget (the wget binary is
provided with the SSHDroid app). With
hi,
in my layout xml i have a stubview. the layout that replaces the stubview
has a EditText view inside.
but when i inflate stubview, the soft keyboard doesn't show automagically.
is this the default behaviour?
i know i can show the keyboard myself, just want to know if i really have
to mess
Hi, I'm working on a project where I'm displaying a room using
GLSurfaceView and Renderer,
and I want to display a menu when user click on that room (anywhere)
by using onTouchEvent.
So please help me with the code needed to put in the case of
ACTION_DOWN.
--
You received this message because
*Your event handler doesn't run during initialization. It runs on the**
first layout*
New to android. Facing the same problem on spinner, but what do you mean by
first layout? Is there any relationship with XML layout or you mean the
first spinner.setOnItemSelectedListener(null)?
--
Hello,
I am updating my app from Honeycomb sdk (ver 13) to ICS sdk (ver 15).
In sdk v13 it was possible to use the public native method show() of
Surface class; according to sdk v15 this method disappears.
Is there any new method or workaround in order to have the same
behavior ?
Thanks,
Hello,
I'm trying to add a google map into my app..
Do I need to use the Google API?
is there a way to keep my platform without switching?
Can I switch?
Is there a difference if I switch over to Google API?
I've added
uses-library android:name=com.google.android.maps /
Is this the only
Hi,
I am using the android NDK and rendering using openGL ES 2.0 I want to
add a text entry field and wish to use the GUI widget that is usually
available in the android.
Is this possible at all ? Can the virtual keyboard with its entry
field box be called by some call from NDK c++ layer ?
I need to to develop an app for some XYZ(can't tell) application, The app
must provide a field for username password initially and after entering
these things it has to login if the entered data is authentic. I already
have some users registered and using the XYZ application from a website.
Hello everyone
I am developing an app which may use wifi direct to transmit video
stream.
All I have is a HTC One X and a HTC Desire HD.
HTC One X can support wifi direct very well, but the original rom of
Desire HD can't support it.
Is there any rom which can support wifi direct for HTC Desire
Hi all,
I'm executing the Bluetooth HDP Demo (offered from Android 4.0
Ice Cream Sandwich) in my Android Acer tablet. but my read thread not
working. any body suggest me.
thanks
anupam jain
--
You received this message because you are subscribed to the Google
Groups Android Developers
So, is there possibility to create an id in a lower namespace? ...as id in
file only
Il giorno sabato 30 agosto 2008 10:45:27 UTC+2, Romain Guy ha scritto:
Hi,
@+id/foo means you are creating an id named foo in the namespace of
your application. You can refer to it using @id/foo.
To get the MSISDN onto the Sim (many users report Unknown listed,
therefore many applications do not function)
This works on Galaxy S (tested by others on 2.1 2.2) and on Galaxy Y
(mine on 2.3)
Goto Contacts Settings Own Numbers Create a new entry called My
Number reboot phone
MikeW
Hi Shekhar,
I have same question, could you proceed any thing further.
Regards
Manjunatha N
On Friday, March 18, 2011 10:22:36 AM UTC+5:30, Shekhar wrote:
Hi Folks,
I am working on the requirements to support the Android Phone to
communicate with the other Bluetooth device through the
Hi,
As Jason already said, you better use the Documents List API.
If you *really* want to use the Drive SDK / API, your users will have to
install an app from the Chrome(!!!) Web store to their account.
This app needs to do nothing, it only has to refer to the API project ID
which you are
Please help me with this!!!
I'm trying and trying to make this custom SeekBar and everything I do
seams to be wrong! Does anybody have some experiences with this. The
thing I'm trying to do, is to display the value of the seekbar over
the thumb image of the SeekBar...
--
You received this
Hi,
I've been working on android coding recently and I'm stuck up at this
situation.
Here is the code that sets up the View and prints the string that is
present in the View.
content.addView (record.getView (this,inflator,content,i), i+1) ;
content.addView(inflater.inflate
hello ..
i need a code for getting IMEI without using telephony manager using
JNI
.plz provide me this code its urgent
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to
Dear All:
I followed the CTS instruction steps to run CTS five times for the
same device with same modified android source (provided by freescale).
However, the target device was connected to different Wireless AP each
time.
The following table shows the results:
I have an Activity that has a field which is an ArrayList, that
Activity starts an Activity which returns an object to be added to the
list. The first Activity then adds buttons dynamically to itself based
on the object that Activity B returns. My problem is that everytime
Activity B is started
I am developing NFC Application , every thing works fine if Screen is
unlocked .While i tried to Tap on NFC Tag if screen is Locked i am
getting below error in Logcat - :
05-23 22:00:37.113: D/NfcService(32443): EnableDisableDiscoveryTask:
enable = false
05-23 22:00:37.113: D/NfcService(32443):
Hi,
I have anti-debug checks like IsDebuggerConnected() and CRC checks.
I am interested in using NDK with ptrace to hook it to the process so,
other debuggers can't get hold of it.
I'm actually looking for a way to self-debug the application by itself, so
other debuggers an't attach to it.
I
I have two thread, one for receive network video steam, another for
handle the stream, but after some round, I cannot got anything, below
is my code, what's the problems? THX
class ReceiveThread extends Thread
{
int FLAG = 0;
public void run() // ReceiveThread
{
Hi all,
is there possibility to create an id in a lower namespace? ...as id in file
only
Il giorno sabato 30 agosto 2008 10:45:27 UTC+2, Romain Guy ha scritto:
Hi,
@+id/foo means you are creating an id named foo in the namespace of
your application. You can refer to it using @id/foo.
Всем привет. Появилась задача написать приложение под андройд. Для
обмена сообщениями в реальном времени. У кого есть примеры реализации
данного приложения.
Сообщения так же должны распознавать адресата к которому они
отправляются.
Помогите с началом ... дальше сам додумаю ))
--
You received
Hi,
I am developing and android application which needs some animations beyond
tween and frame by frame. I have noticed the new Property animation is
good for smooth transition of objects. Is there any support package is
available for android 2.2 ? .Because my project needs to support version
Hi buddies this is Anil. I am new to android can anybody suggest me
about the database . My problem is i created the database in my
project and i successfully added the data in my database ... but after
installing the apk in my mobile ... i dint get the values Once
again i need to add alll my
since the network connection here is not so stable, so i got a vps to
download android source code, but was surprised to find it fails every
time near success, the problem is not related to internet connection
on vps, since it is quite well, but the fault have something to do
with memory.
the
Here,
Inflater : is an object of LayoutInflater
content : is of LinearLayout
records : is a Listdata
tag_divider : is the layout file name in xml
i : an integer for printing in offset (not important)
On Fri, May 25, 2012 at 10:32 AM, Arithy mvari...@gmail.com wrote:
Hi,
I've been working on
As long as your thread has something to do then it will do it, unless
some other thread has something to do. The only way to save on
battery power is to have all the threads waiting for external events,
which is normally the case for user interface threads. Even
background worker threads are
hi, all
I have a receive thread run endless to get video stream from network, but
after a while I got the error message:
05-25 08:50:16.421: W/System.err(1072): java.net.SocketTimeoutException
05-25 08:50:16.421: W/System.err(1072): at
On Fri, May 25, 2012 at 4:21 PM, Reji Joseph r...@ileafsolutions.com wrote:
Hi,
I am developing and android application which needs some animations beyond
tween and frame by frame. I have noticed the new Property animation is good
for smooth transition of objects. Is there any support
Matt, are you sure the perceived slowdown in UI responsiveness is due
to this low-priority thread? The slowdown might be due to action
taken by higher priority threads (like the main UI thread) in response
to your worker thread. One other thing you could try is to put lots
of Thread.yield()
First of all,
how to print this View onto the screen without using the LinearLayout
object. Can anyone help me on that first?
i.e, View v= (View) record.getView(this, inflater, content, i) ; // stores
the View of the data that i need to print
How to print it..?
On Fri, May 25, 2012 at 2:23
This list is for developing with the Android SDK. Questions on working
with the CTS and firmware can be answered on http://source.android.com
and the Google Groups listed there.
On Wed, May 23, 2012 at 4:00 AM, pinglunliao pinglunl...@gmail.com wrote:
Dear All:
I followed the CTS instruction
On Fri, May 25, 2012 at 1:02 AM, Arithy mvari...@gmail.com wrote:
I've been working on android coding recently and I'm stuck up at this
situation.
Here is the code that sets up the View and prints the string that is
present in the View.
content.addView (record.getView
On Thu, May 24, 2012 at 10:29 AM, thirupathi g gthirupat...@gmail.com wrote:
I have created basic map application but Iam getting grey boxes in the
emulator... and Iam gettting Couldnt get connection factory client in
log cat
That is not an error, IIRC. Moreover, everybody gets that, with
On Thu, May 24, 2012 at 5:35 PM, Anil Kumar vishnupriyaa...@gmail.comwrote:
My problem is i created the database in my
project and i successfully added the data in my database ... but after
installing the apk in my mobile ... i dint get the values Once
again i need to add alll my
Thanks for this.I think it wil be helpfull.
On Friday, May 25, 2012 2:35:35 PM UTC+5:30, Nikolay Elenkov wrote:
On Fri, May 25, 2012 at 4:21 PM, Reji Joseph r...@ileafsolutions.com
wrote:
Hi,
I am developing and android application which needs some animations
beyond
tween and
hi ira han,
in order to provide the action to the check box u need to provide the
action listners
oncheckedchange *listener*
i tink u need to provide action to the check box
r8
it will work we have different approaches as well
On Thu, May 24, 2012 at 3:01 PM, imran ali imran...@gmail.com
IIRC it's by design: http://developer.android.com/guide/topics/nfc/nfc.html:
Android-powered devices are usually looking for NFC tags when the screen
is unlocked
Regards,
Marcin Orlowski
*Tray Agenda http://bit.ly/trayagenda* - keep you daily schedule handy...
*Date In Tray*
Are these running in the same process as the main activity or remotely?
But, it seems that you are asking if you should have five separate services
and simpler logic or slightly more complex in one.
Unless sufficiently complex I would go with one service and see later if
more are needed.
On May
Or store the initial data in a resource file, then read it in and
create/populate the database.
On May 25, 2012 7:23 AM, Narendra Singh Rathore nsr.curi...@gmail.com
wrote:
On Thu, May 24, 2012 at 5:35 PM, Anil Kumar vishnupriyaa...@gmail.comwrote:
My problem is i created the database in my
if you need own menu (drawn on surface) then your event listener have to
tell the rendered to draw one when all criterias are met (and you have to
make own menu of course)
Regards,
Marcin Orlowski
*Tray Agenda http://bit.ly/trayagenda* - keep you daily schedule handy...
*Date In Tray*
thanks for ur reply
On Fri, May 25, 2012 at 4:46 PM, Mark Murphy mmur...@commonsware.comwrote:
On Thu, May 24, 2012 at 10:29 AM, thirupathi g gthirupat...@gmail.com
wrote:
I have created basic map application but Iam getting grey boxes in the
emulator... and Iam gettting
Interesting question. I would think no, at least to directly, because
as a Linux service (process), your process is running outside of
Android's Activity management, so sending/receiving Intents to trigger
activities such as launching an Android app wouldn't work.
One approach would be to try to
What about using am?
25.05.2012 17:47 пользователь JP joachim.pfeif...@gmail.com написал:
Interesting question. I would think no, at least to directly, because
as a Linux service (process), your process is running outside of
Android's Activity management, so sending/receiving Intents to
I haven't looked carefully but I suspect that you want notifyAll()
instead of notify()
G. Blake Meike
Marakana
The second edition of Programming Android is now on-line:
http://shop.oreilly.com/product/0636920023005.do
On May 24, 8:05 pm, yikaikai yikai...@gmail.com wrote:
I have two thread,
Hi,
During my PhD project, I added two
files (.c and .h) into taindroid vm folder : /tdroid/tdroid-2.3.4_r1/
dalvik/vm
My question is should I add them into make files /tdroid/
tdroid-2.3.4_r1/dalvik/vm/Android.mk and /tdroid/tdroid-2.3.4_r1/
dalvik/vm/Dvm.mk?
If not, where exactly should I add
Hi all,
I'm slightly confused about when applications are allowed to access
other applications' data. I believe I've read all relevant parts of
the Dev Guide like the Security and Permissions article or
android:sharedUserId and signature-level permissions documentation but
after running some
After looking more carefully, I note that the code you supplied did
not produce the log you supplied.
I think you should consider rewriting this code using the tools in
java.util.concurrent. You probably want a Semaphore and an Exchanger.
G. Blake Meike
Marakana
The second edition of
Are you trying to start arbitrary applications? I'm not sure how you
might do that. What information do you have about the app you are
trying to start?
TreKing is just right. If you are trying to make it so that *your*
app can be launched, you just need to publish the intent that will
launch
You are going to have to preserve your state either in that Bundle
that you get in onCreate or somewhere on the file system. As several
other people on this thread have pointed out, you can't control the
lifecycle of your process and, by extension, your static finals.
Nor, btw, should you try.
is there a way to turn mobile data OFF and ON again.
--
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
This is a really great question.
Reducing the priority on a thread may not do, at all, what you
expect. I don't know exactly what it does, myself, but my interest
has been peaked, recently, to the point where I'm about to dig in and
find out. The answer is going to be in the Linux scheduler.
I
I believe this problem arises quite a bit in firmware modifications:
how to interface with the Android package manager from a service
(linux).
You might try asking on [android-porting] or [android-platform], etc...
kris
On Fri, May 25, 2012 at 9:46 AM, JP joachim.pfeif...@gmail.com wrote:
The Android scheduler also does some things on top of the plain old
Linux scheduler, FYI.
kris
On Fri, May 25, 2012 at 11:28 AM, blake blake.me...@gmail.com wrote:
This is a really great question.
Reducing the priority on a thread may not do, at all, what you
expect. I don't know exactly
android-kernel, or android-platform for this question.
kris
On Fri, May 25, 2012 at 10:19 AM, marie marmoh...@gmail.com wrote:
Hi,
During my PhD project, I added two
files (.c and .h) into taindroid vm folder : /tdroid/tdroid-2.3.4_r1/
dalvik/vm
My question is should I add them into make
http://source.android.com/source/downloading.html
Thanks,
Justin Anderson
MagouyaWare Developer
http://sites.google.com/site/magouyaware
On Wed, May 23, 2012 at 9:39 PM, thinke365 thinke...@gmail.com wrote:
since the network connection here is not so stable, so i got a vps to
download
Implement OnSaveInstanceState() and OnResumeInstanceState() in your
activity...
Thanks,
Justin Anderson
MagouyaWare Developer
http://sites.google.com/site/magouyaware
On Wed, May 23, 2012 at 12:13 PM, Timothy McColgan tmccolga...@gmail.comwrote:
I have an Activity that has a field which is an
I don't think this poll is what you think it is. It's not busy waiting for
data and it doesn't have a rate. In fact it's the reverse (badly named?).
See http://linux.die.net/man/2/poll
R
On Thu, May 24, 2012 at 10:05 AM, Mike Fagan michael.j.t.fa...@gmail.comwrote:
Hello All!
I am new to
1. Create your login layout for your Android app
2. Create web services that can be accessed by your Android
application... This will allow you to pass the username/password to the web
service and it can give a result telling you whether it was successful or
not
3. Create web
in my layout xml i have a stubview. the layout that replaces the stubview
has a EditText view inside.
but when i inflate stubview, the soft keyboard doesn't show automagically.
Does the keyboard show when you tap inside the EditText? That is the
default keyboard behavior...
Thanks,
Justin
What have you tried so far?
Thanks,
Justin Anderson
MagouyaWare Developer
http://sites.google.com/site/magouyaware
On Wed, May 23, 2012 at 9:02 AM, Vlade_lp_mk
gorgievski.vladimi...@gmail.com wrote:
Please help me with this!!!
I'm trying and trying to make this custom SeekBar and everything
I have an AsyncTask that may need to dismiss a FragmentDialog upon
successful completion. In a regular Activity, the dismissDialog() method
correctly handled removing a dialog even if the app was in the background.
However, using a FragmentActivity and a FragmentDialog, there is no
Hello,
Is it possible to override the voice actions to either change the
activity run for a command or introduce a new command?
Long click on Search button. Voice Search dialog opens and ...
Example.
Open an app other than Navigation when the key phrase navigate to
are recognized.
OR
Example.
I think apk(s) are world readable. Try accessing the other applications
private data location.
On Friday, May 25, 2012 3:31:39 PM UTC+1, Latimerius wrote:
Hi all,
I'm slightly confused about when applications are allowed to access
other applications' data. I believe I've read all
I'm having a hard time getting Thumbnails.getThumbnail to work with
picasa photos on a Nexus S running ICS. Everything else seems to work
including getting the original image from picasa and displaying it,
but the getThumbnail doesn't seem to work. I'm getting the following
errors when attempting
On Wed, May 23, 2012 at 11:10 PM, Andrew Liu ahl...@gmail.com wrote:
I'm trying to add a google map into my app..
Do I need to use the Google API?
is there a way to keep my platform without switching?
Can I switch?
Is there a difference if I switch over to Google API?
I've added
Hello,
I have a small issue. I have one activity which handles the
ACTION_SEND intent. Everything works as expected, however when
orientation changes, the intent is handled again. What should I do to
handle it only once?
I'm android noob so I might have missed some important thing in docs
but I'd
On Fri, May 25, 2012 at 1:11 PM, bsquared bwcod...@gmail.com wrote:
Is it possible to override the voice actions to either change the activity
run for a command or introduce a new command?
No, I don't think so. It's a dedicated app, not a part of the OS, and does
not appear to be extensible.
On Fri, May 25, 2012 at 4:04 PM, pbuda pib...@gmail.com wrote:
Everything works as expected, however when orientation changes, the intent
is handled again.
Can you be more specific? Like the sequence of events that occur and what
you see in your code when the intent is handled again?
That's more or less what I have. The doSomething() method is called
for the second time when orientation changes because activity is
recreated.
public class MyActivity extends Activity {
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
I just found out that the menu button is deprecated starting with
Android 3.0, and that some Android devices do not even have a menu
button. My app targets Android 2.2 and uses the menu function quite a
bit. Is it really possible that someone with a 3.0 or later device
might not be able to
On Fri, May 25, 2012 at 4:38 PM, pbuda pib...@gmail.com wrote:
My question then is whether there's any common practice to prevent
handling of that intent again.
If your activity is re-created, the Bundle passed to it will be non-null.
Check for that.
Users will still be able to access the menus on devices running Honeycome
and ICS... There is a compatibility icon that shows up on the ActionBar to
access the menus. However, it is recommended that you update your app to
actually use the ActionBar.
On Fri, May 25, 2012 at 5:45 PM, RLScott fixthatpi...@yahoo.com wrote:
Is it really possible that someone with a 3.0 or later device might not be
able to access my menus?
It's unlikely the Android framework developers would break all apps in such
a fashion. I believe there is a compatibility
Programmatically, what ever ConnectivityManager offers. This requires
proper permission (define in manifest)
http://developer.android.com/reference/android/net/ConnectivityManager.html
Then there's the option to send a user to Android's connectivity
settings; like so:
Here's a pastbin that describes the problem
http://pastebin.com/hbxCdmLy
On May 24, 7:34 pm, Deepwinter foundationservi...@gmail.com wrote:
I want to return a BLOB as a row in a MatrixCursor, however I get the
following error
05-24 19:20:42.850: E/AndroidRuntime(22661):
I agree it may be dirty and icky, but its presumptuous to state that You
should absolutely *should not* be doing this. There are many real-world
situations where a program must be exited imediately or this call would not
have been made available in the Android API. Perhaps you all don't
On Fri, May 25, 2012 at 8:30 PM, Yan yinor...@gmail.com wrote:
I agree it may be dirty and icky, but its presumptuous to state that You
should absolutely *should not* be doing this. There are many real-world
situations where a program must be exited imediately or this call would not
have been
Along with this, this topic takes the one of the top in the Android
tag on StackOverflow,
http://stackoverflow.com/questions/2033914/quitting-an-application-is-that-frowned-upon/2034238#2034238
kris
On Fri, May 25, 2012 at 8:37 PM, Kristopher Micinski
krismicin...@gmail.com wrote:
On Fri, May
On Fri, May 25, 2012 at 8:30 PM, Yan yinor...@gmail.com wrote:
I agree it may be dirty and icky, but its presumptuous to state that You
should absolutely *should not* be doing this.
Not particularly.
There are many real-world
situations where a program must be exited imediately or this call
On Fri, May 25, 2012 at 10:31 AM, Latimerius l4t1m3r...@googlemail.com wrote:
Am I messing up somewhere, or is this the expected outcome?
You believe that all data is created equal. :-) While egalitarian, it
is inaccurate. You appear to be conflating:
-- resources assets
-- internal storage
--
On May 25, 2:05 pm, TreKing treking...@gmail.com wrote:
On Fri, May 25, 2012 at 1:11 PM, bsquared bwcod...@gmail.com wrote:
Is it possible to override the voice actions to either change the activity
run for a command or introduce a new command?
No, I don't think so. It's a dedicated app,
On Fri, May 25, 2012 at 8:45 PM, bsquared bwcod...@gmail.com wrote:
What source do you have that indicates it's deprecated?
None. But then again, I didn't say anything about deprecated. I said it
was a dedicated app.
Also, I have seen references to a receiver for 'listen to' that can be
0 down vote favorite
share [g+] share [fb] share [tw]
I've installed the SDK on Ubuntu 12.0.4. I started up the SDK manager
and updated several packages.
I ran the avd manager and tried to create an avd, but it just failed
with no information.
I then tried to create the avd from the command
I'm gonna explain what i have:
1. A free Lite version of my application
2. A full paid version of my application (.99 USD)
Both applications have different package names.
Now, what i want to do, is publish my full paid application for free for a
limited time only.
I've been reading a lot for
Use in-app purchasing...
On May 25, 2012 9:48 PM, Hilario Perez Corona hpcor...@gmail.com wrote:
I'm gonna explain what i have:
1. A free Lite version of my application
2. A full paid version of my application (.99 USD)
Both applications have different package names.
Now, what i want to
I don't understand how in-app purchasing will solve the problem...?
I want the user to be able to get the full-complete-unlimited version
during a time period, so the user that downloads the app during that time
frame can keep the full-complete-unlimited version forever...
Can that be achieved
96 matches
Mail list logo