Hi,
Is it possible to have a partial screen system alert that passes touch
events that are outside its window to the layer underneath? I'm trying to
do this but I can't seem to figure out how.
Here's the code where I create the View.
params = new WindowManager.LayoutParams(
drivers for these platforms?
Thanks again.
On Monday, October 21, 2013 11:00:09 AM UTC+8, SIVAKUMAR.J wrote:
U can use socket connection.there is android API is available
On Oct 21, 2013 8:27 AM, galapogos goi...@gmail.com javascript:
wrote:
Hi,
Is there any protocol that enables data
Hi,
Is there any protocol that enables data transfer over USB between Android
host and devices. I'm not looking for file transfer like adb, but rather
data transfer like over a serial port or something, but faster.
Thanks!
--
You received this message because you are subscribed to the Google
On Monday, October 14, 2013 8:49:14 PM UTC+8, TreKing wrote:
On Mon, Oct 14, 2013 at 12:42 AM, galapogos goi...@gmail.comjavascript:
wrote:
I have a list that is multiple pages long, and I'm trying to get the list
index of the item that is selected using radio buttons
store the appropriate
index in the view during onBind... it gets easier if you use the ViewHolder
pattern since the ViewHolder object makes it easy to also store extra
information (like that index you want).
On Monday, October 14, 2013 8:42:09 AM UTC+3, galapogos wrote:
Hi,
I have a list
Hi,
I have a list that is multiple pages long, and I'm trying to get the list
index of the item that is selected using radio buttons. In
onClickRadioButton() which I'm passing in my current View, I'm setting the
myview as view.getParent() and the list index as ((ViewGroup)
Hi,
I have a list that is multiple pages long, and I'm trying to get the list
index of the item that is selected using radio buttons. In
onClickRadioButton() which I'm passing in my current View, I'm setting the
myview as view.getParent() and the list index as ((ViewGroup)
, Feb 22, 2013 at 12:59 AM, galapogos goi...@gmail.comjavascript:
wrote:
Hi,
Is it possible to create a lockscreen replacement at the application
level
that replaces the device's security lock, whether it be PIN, passphrase,
pattern or face unlock, or potentially a new method? I know
Hi,
Is it possible to create a lockscreen replacement at the application level
that replaces the device's security lock, whether it be PIN, passphrase,
pattern or face unlock, or potentially a new method? I know it's possible
in the framework level, and have done it before, but I'm just
On Monday, December 31, 2012 9:07:46 PM UTC+8, Mark Murphy (a Commons Guy)
wrote:
On Sun, Dec 30, 2012 at 11:43 PM, galapogos goi...@gmail.comjavascript:
wrote:
I'm specifically trying to first get the
ICS AOSP launcher to install on any ICS phone, and then modify it with
some
Hi,
Is it possible to build the ICS AOSP launcher without private APIs so that
it will install into any ICS device? I've tried to build the ICS AOSP
launcher from the AOSP source but had trouble installing it into regular
ICS devices. I keep getting the error INSTALL_FAILED_DEXOPT.
Thanks.
Hi,
Is there any way of removing the private APIs so that the AOSP launcher may
be used with any Android device? I'm specifically trying to first get the
ICS AOSP launcher to install on any ICS phone, and then modify it with some
features.
Would appreciate any pointers on how to remove the
Hi,
I didn't get your reply. Did I miss something?
On Wednesday, December 5, 2012 2:39:17 PM UTC+8, asheesh arya wrote:
On Wed, Dec 5, 2012 at 12:02 PM, galapogos goi...@gmail.com javascript:
wrote:
Hi,
I'm trying to build the Android ICS Launcher so that it will run on any
Android
Hi,
I'm trying to build the Android ICS Launcher so that it will run on any
Android device with ICS, such as the Samsung Galaxy S3, but I understand
that the stock launcher includes experimental/private APIs that may not
work on all devices. Is there any way to disable these APIs, and if so,
I'm trying to display a Toast notification in verifyPasswordAndUnlock() in
PasswordUnlockScreen.java whenever a user enters the wrong password. I
wrote the following code, and built successfully.
Toast.makeText(getContext(), Invalid password, Toast.LENGTH_LONG).show();
However, the Toast
, and
this is what I think is the right way to do it :-).
You can see tons of other examples of this kind of thing: inside any
*Manager, for example, providing this interface.
kris
On Mon, Aug 13, 2012 at 10:57 PM, galapogos goi...@gmail.comjavascript:
wrote:
Thanks, I didn't know
Where would it belong then?
Yes I'm trying to share some data between the framework and the launcher
app, and I'm trying to accomplish this via SharedPreferences. The framework
will set a variable during user authentication, which will then be read
later on by the launcher. I'm having some
?
I'm a little weary of sticking this in shared preferences for this,
but I guess there's nothing inherently horrible about that..
kris
On Mon, Aug 13, 2012 at 5:28 AM, galapogos goi...@gmail.com javascript:
wrote:
Where would it belong then?
Yes I'm trying to share some data
Thanks. However, the device I'm working on doesn't have an internet
connection nor any accounts set up, so whenever I try to access the
accounts, even just accounts[0], I get a ArrayIndexOutOfBoundsException.
On Monday, August 13, 2012 4:11:48 PM UTC+8, jb wrote:
You can store key/value pairs
Hi,
I would like to be able to detect the launch of another app/activity from
my service.
I was previously able to do this on gingerbread/froyo devices via
inspection of logcat messages, specifically something like:
I/ActivityManager: Starting: Intent ... cmp=packagename} from pid
Hi,
I'm trying to get an Android app to talk to a native Android binary
service. Basically when I click a button, the app should send data to the
service, and receive some data back as well. I've written the Android
client app code, relevant portion below:
Button.OnClickListener
wrong?
On Wednesday, June 6, 2012 2:17:50 PM UTC+8, galapogos wrote:
Hi,
I'm trying to get an Android app to talk to a native Android binary
service. Basically when I click a button, the app should send data to the
service, and receive some data back as well. I've written the Android
client
Thanks. Seems like 127.0.0.1 works. I also tried 0.0.0.0 and that worked
too.
I would also like to use unix domain sockets, since I really only want the
2 processes talking to each other rather than any external devices talking
to my device. However, when I change AF_INET to AF_UNIX in the
I'm trying to build ADWLauncher, but I'm getting a ton of compiler
errors in Eclipse SDK 3.7.1 in a Win7 32bit PC with JDK7. I imported
ADWLauncher to Eclipse. and I'm getting the following errors:
Description ResourcePathLocationType
Android requires compiler compliance
Hi,
I'm writing an app for a specialized Android device that runs in a
kiosk-like mode, i.e. my app will be the only app that runs, and must
run upon startup.
Additionally, the app must launch only after the user has unlocked the
device with a modified Android launcher.
I'm thinking about how
Thanks. How would I use this model for ArrayAdapters across several
activities?
Currently, I define my ArrayAdapter class in 1 .java file, declare/
initialize it in my main activity's onCreate() method, generate the
list that binds to the adapter in a background thread in my main
activity (this
Hi,
How can I use an ArrayAdapter from another activity? I tried doing the
following in MyListActivity.onCreate():
setListAdapter(SomeOtherActivity.myAdapter);
where myAdapter is defined and initialized in SomeOtherActivity.
However, I get an empty list, even though I verified that
, 2012, at 4:19 PM, galapogos wrote:
Hi,
How can I use an ArrayAdapter from another activity? I tried doing the
following in MyListActivity.onCreate():
setListAdapter(SomeOtherActivity.myAdapter);
where myAdapter is defined and initialized in SomeOtherActivity.
However, I get
Hi,
I have an app with multiple tabs, each with its own ListActivity,
let's call them SubActivities. The MainActivity that houses the
SubActivities creates a list, and the SubActivities display a subset
of the list based on some parameters. I'm currently implementing this
with separate adapters
this smaller list instead. However, this doesn't
work since the main app list is always empty when the ListActivity
tries to access it since it's not created yet.
On Jan 6, 2:49 pm, galapogos gois...@gmail.com wrote:
On Jan 5, 9:49 pm, TreKing treking...@gmail.com wrote:
On Wed, Jan 4, 2012 at 8:06
Hi,
I've created a list of apps using getInstalledPackages(). How do I
check if the individual apps/packages are launchable?
Thanks.
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to
this is so? android:launchMode=singleTask and
FLAG_ACTIVITY_NEW_TASK should produce the same behavior.
On Jan 5, 12:56 pm, galapogos gois...@gmail.com wrote:
Hi,
I have an app with 2 main activities and a service. The app starts
with activity 1, and the service launches activity 2 via an intent
upon
the taskAffinity to some random string seems to work.
Still wondering why the flags don't work as advertised though...
On Jan 6, 10:25 am, galapogos gois...@gmail.com wrote:
Hi,
I've also noticed that launching activity 2 with
FLAG_ACTIVITY_NEW_TASK does not seem to work. Everytime activity 2
I'm trying to list all the installed apps on a device using
getInstalledPackages, and this gives returns me a List of all
packages, including system apps and non-launchable apps.
I have 3 questions:
1. getInstalledPackages seem to take quite a bit of time to detect and
display all apps(varies
, galapogos gois...@gmail.com wrote:
3. Is there any way of saving the result so that when I come back to the
app after a while, and Android has removed my app from memory, I don't need
to regenerated? Perhaps using savedInstanceState or something?
SavedInstanceState, or a file
On Jan 5, 9:49 pm, TreKing treking...@gmail.com wrote:
On Wed, Jan 4, 2012 at 8:06 PM, galapogos gois...@gmail.com wrote:
1. getInstalledPackages seem to take quite a bit of time to detect and
display all apps(about 8-10s for 200+ apps). Is it possible to make
this faster? Titanium Backup
I can switch to another
application window and still have the system window stay in focus?
On Jan 4, 9:23 pm, TreKing treking...@gmail.com wrote:
On Wed, Jan 4, 2012 at 12:17 AM, galapogos gois...@gmail.com wrote:
I guess I mean any other app that's not part of my activity.
Yeah, I would
Thanks Kris - would appreciate your insights.
On Jan 3, 8:43 pm, Kristopher Micinski krismicin...@gmail.com wrote:
On Fri, Dec 30, 2011 at 4:44 AM,galapogosgois...@gmail.com wrote:
I'm writing an app similar to app protector - it prompts the user to
authenticate himself when a protected app
I'm trying to list all the installed apps on a device using
getInstalledPackages, and this gives returns me a List of all
packages, including system apps and non-launchable apps.
I have 2 questions:
1. getInstalledPackages seem to take quite a bit of time to detect and
display all apps(about
Hi,
I have an app with 2 main activities and a service. The app starts
with activity 1, and the service launches activity 2 via an intent
upon detection of an app launch A. Activity 2 then does some stuff and
calls finish(), returning to app A.
However, if I launch app A when I'm in activity 1,
, 2012 at 7:15 PM, galapogos gois...@gmail.com wrote:
Thanks Kris - would appreciate your insights.
On Jan 3, 8:43 pm, Kristopher Micinski krismicin...@gmail.com wrote:
On Fri, Dec 30, 2011 at 4:44 AM,galapogosgois...@gmail.com wrote:
I'm writing an app similar to app protector - it prompts
Hi,
Is there any way of viewing the current back stack(background/
foreground) of a device?
--
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
I'm trying to throw an intent to an activity that's triggered by some
event, and I'd like for the activity to halt execution of everything
else while it's on top. As such, I'm setting the activity as
TYPE_SYSTEM_ALERT in the activity's onCreate() method:
super.onCreate(savedInstanceState);
Window
Hi,
I'm trying to set certain flags for some of my windows, and I'm not
sure how to do it. The Window.setFlags()documentation says the
following:
public void setFlags (int flags, int mask)
Since: API Level 1
Set the flags of the window, as per the WindowManager.LayoutParams
flags.
Note that
I guess I mean any other app that's not part of my activity. Just to
be clear, what's the difference between a regular window and one that
has the TYPE_SYSTEM_ALERT flag set?
On Jan 4, 11:34 am, TreKing treking...@gmail.com wrote:
On Tue, Jan 3, 2012 at 9:11 PM, galapogos gois...@gmail.com wrote
I'm writing an app similar to app protector - it prompts the user to
authenticate himself when a protected app is launched. Since Android
doesn't provide a way to use BroadcastReceiver on explicit intents,
I'm detecting app launches by monitoring logcat. For most apps, I'm
listening for something
Does anyone have an idea? Thanks.
On Dec 30 2011, 5:44 pm, galapogos gois...@gmail.com wrote:
I'm writing an app similar to app protector - it prompts the user to
authenticate himself when a protected app is launched. Since Android
doesn't provide a way to use BroadcastReceiver on explicit
47 matches
Mail list logo