yes, and you can also time bomb it when the application expires.
http://stackoverflow.com/questions/1223552/how-to-time-bomb-an-android-application
Enjoy,
On Sun, Nov 29, 2009 at 11:31 PM, Lance Nanek lna...@gmail.com wrote:
I can think of some legitimate reasons. What if the user is a parent,
;
android:settingsActivity=Prefs
android:name=@string/settings_title
android:isDefault=true
/
On Fri, Aug 28, 2009 at 1:32 AM, Spektor Yaron spekt...@gmail.com wrote:
Hi,
this seems to be an easy one, but i am not finding a solution for
it...actually there are 2 different questions
.
On Fri, Aug 28, 2009 at 3:16 AM, Spektor Yaron spekt...@gmail.com wrote:
Hi,
i was wondering if anyone could give me hints on this one (i am re-posting
an older version of a question i once had):
i created a new attrs.xml that adds some functionality to the soft keyboard
sample code.
i
but the view is the same.
this is why i need to get the resId and parse the xml and not use inflate
On Sat, Oct 17, 2009 at 2:44 AM, Mark Murphy mmur...@commonsware.comwrote:
Spektor Yaron wrote:
Thanks again,
so i went ahead and implemented that and then found out that this:
public
Hi,
i have a layout folder with 2 layouts. layout1 and layout2
i have another folder layout-land that has layout1 in it.
i would like to be able to get to all the layouts so i could create a set of
layout like this:
{layout1, layout2, layout1(from layout-land folder)}
is there any way i can use
it wouldn't work? if so, why? and what
would work?
On Sat, Oct 17, 2009 at 12:04 AM, Mark Murphy mmur...@commonsware.comwrote:
Spektor Yaron wrote:
i have a layout folder with 2 layouts. layout1 and layout2
i have another folder layout-land that has layout1 in it.
i would like to be able
Thanks got it,
but the point still is that Android would not know that layout3 and layout1
are the same and so if i am in layout3 it will not switch to layout1 when an
orientation change occurs, right?
On Sat, Oct 17, 2009 at 12:25 AM, Mark Murphy mmur...@commonsware.comwrote:
Spektor Yaron
though)
any way to work around this?
On Sat, Oct 17, 2009 at 12:47 AM, Mark Murphy mmur...@commonsware.comwrote:
Spektor Yaron wrote:
Thanks got it,
but the point still is that Android would not know that layout3 and
layout1 are the same and so if i am in layout3 it will not switch
Hi,
this seems to be an easy one, but i am not finding a solution for
it...actually there are 2 different questions relating to settings here:
i created a PreferenceActivity for my application (it is a softkeyboard) i
am trying to add those settings to the Settings-Locale Text screen next
to my
hi, i am not sure if your problem was resolved or not, but this link can
give you a clue on writing and reading from the file system:
http://www.anddev.org/working_with_files-t115.html
On Thu, Aug 6, 2009 at 12:13 PM, Prajkti prajakta.kha...@gmail.com wrote:
Hi all,
I am using
was your issue solved?
if not i would look in settings - locale and text and check that a keyboard
is set there.
also, does it only happen with your app?
On Wed, Aug 19, 2009 at 3:25 AM, Dianne Hackborn hack...@android.comwrote:
Long pressing on menu will always open the keyboard. Did he
i am not sure this is what you need, but eclipse works best with between
256M to 512M
try this when you run eclipse (you will need to change the relevant path of
course):
c:\eclipse3.3\eclipse.exe *-vm c:\sun-java2-5.0\bin\java.exe* -vmargs
-Xms256M -Xmx512M
if that works you can add that line
Hi,
i was wondering if anyone could give me hints on this one (i am re-posting
an older version of a question i once had):
i created a new attrs.xml that adds some functionality to the soft keyboard
sample code.
i would appreciate any insight you may have on this:
i added: attr name=keysImg
need to make this
hard -- for example you could just define the resource IDs that are in the
skin and what they should contain and not have to worry about any analysis
of the resources.
On Sun, Aug 23, 2009 at 5:15 PM, Spektor Yaron spekt...@gmail.com wrote:
Thanks Dianne, i appreciate your
Hi,
i was able to play around with the resource on a different apk and get them
using createPackageContext as you suggested.
here is an example of the code:
otherAppContext =
this.createPackageContext(com.android.demo.notepad2,Context.CONTEXT_INCLUDE_CODE
+ Context.CONTEXT_IGNORE_SECURITY);
int
Hi Kabir,
if you mean how do you catch these events and change the layout this could
help:
http://www.devx.com/wireless/Article/40792/1954
On Sun, Aug 23, 2009 at 1:27 AM, kabir kab...@gmail.com wrote:
Hi,
I have an activity which I have defined to keep in portrait position.
However I
of the .apk.
On Sun, Aug 23, 2009 at 8:15 AM, Spektor Yaron spekt...@gmail.com wrote:
Hi,
i was able to play around with the resource on a different apk and get
them using createPackageContext as you suggested.
here is an example of the code:
otherAppContext =
this.createPackageContext
resolveInfo and i know the folder name (e.g., layout etc.) all i need now is
a method to get all the resources in something like:
com.android.demo.notepad2:layout on a diffrent apk.
thanks
On Mon, Aug 24, 2009 at 12:18 AM, Spektor Yaron spekt...@gmail.com wrote:
Hi,
i know it is done somehow by other
by replacing the existing (layout, drawable, etc) resource
with a different one.
On Sun, Aug 23, 2009 at 2:18 PM, Spektor Yaron spekt...@gmail.com wrote:
Hi,
i know it is done somehow by other applications (for example adding new
skins to an existing application w/o knowing the name of the layout
the entry part
and type part of the integer), to step through retrieving names until you
get a resource not found exception. However, I can't make any guarantees
that this will work in the future.
On Sun, Aug 23, 2009 at 3:44 PM, Spektor Yaron spekt...@gmail.com wrote:
Hi again,
just to verify
Hi,
i was wondering if there is any way to load resource (such as skins etc.)
that include drawables and layout information during runtime.
what i mean is that the user can download a file (probably a signed apk -
would it work any other way?) and would be able to install it adding to an
already
at 4:23 PM, Mark Murphy mmur...@commonsware.comwrote:
Spektor Yaron wrote:
Hi,
i was wondering if there is any way to load resource (such as skins
etc.) that include drawables and layout information during runtime.
what i mean is that the user can download a file (probably a signed apk
Mark,
i actually found your post about this:
http://osdir.com/ml/AndroidDevelopers/2009-06/msg01323.html
i am guessing this is what you meant, right?
On Thu, Aug 20, 2009 at 3:52 AM, Spektor Yaron spekt...@gmail.com wrote:
Thanks for the answer,
i was wondering if you had any links on how
well, in some cases i guess you can. look at the manifest of the
Softkeyboard sample in android 1.5:
manifest xmlns:android=http://schemas.android.com/apk/res/android;
package=com.example.android.softkeyboard
application android:label=@string/ime_name android:debuggable=true
Hi,
i have a softkeyboard code that i am trying to install on my device.
i was able to debug and run on my device it using eclipse, it works well as
long as the USB cable is connected (of course,once i disconnect it it stops
working)
i tried adb install as well, that works for a few sample
hi,
i have read several posts about getting to internal.R but i want to make
sure i got it.
i understand that the SDK does not support it anymore (not even what is in
public.xml?) and of course, that i shouldn't use reflection (i got that
Dianne, thank you :-)
how can i without taking all the
15, 3:44 pm, Spektor Yaron spekt...@gmail.com wrote:
I/dalvikvm( 770): Debugger thread not active, ignoring DDM send
(t=0x41504e4d l=38)
Add the android:debuggable=true attribute to your manifest.
http://developer.android.com/guide/developing/device.html
--
Yaron Spektor
OK i found the problem.
i was using android.os.Debug.waitForDebugger(); in my code. the emulator
knew how to deal with it and the device got stuck on it.
hope this will help anyone who gets stuck on this issue
On Tue, Aug 18, 2009 at 1:25 AM, Spektor Yaron spekt...@gmail.com wrote:
Thanks
browser to get it
from the web.
On your phone you also have to authorize beforehand the installation
of applications from unknown sources in the android preferences /
applications menu.
On 17 août, 12:45, Spektor Yaron spekt...@gmail.com wrote:
Hi,
i have a softkeyboard code that i am trying
Hi,
i was wondering if anyone could help me with this one.
i created an input method application and tested it on the emulator (using
Eclipse). it was working fine.
i signed it (with my own private key and later with the debug.keystore) and
installed it with adb. i see it in the list of
Hi,
i was wondering if anyone could give me hints on this one:
i created a new attrs.xml that adds some functionality to the soft keyboard
sample code.
i added: attr name=keysImg format=reference / to:
declare-styleable name=Keyboard
!-- Default width of a key, in pixels or percentage of
Hi,
I am trying to crop an image on a key for a soft keyboard.
i want to do the following:
1.create a key with an icon (from a Bitmap)
2.take that Bitmap and crop it
3.set the new Bitmap back on the key as an icon
Optional:
4.do some or most of this from the XML using the parser (i could not get a
Hi,
I am trying to crop an image on a key for a soft keyboard.
i want to do the following:
1.create a key with an icon (from a Bitmap)
2.take that Bitmap and crop it
3.set the new Bitmap back on the key as an icon
Optional:
4.do some or most of this from the XML using the parser (i could not get a
);
Bitmap cropedBitmap = Bitmap.createBitmap(orgBmp, 0, 0, 20, 10);
BitmapDrawable bitMapDraw = new BitmapDrawable(cropedBitmap);
key.icon= bitMapDraw;
On Wed, Jul 29, 2009 at 11:50 PM, Spektor Yaron spekt...@gmail.com wrote:
Hi,
I am trying to crop an image on a key
34 matches
Mail list logo