Android :: AppWidgets Restricted To Particular Sizes?

Sep 17, 2010

I'm making an Android AppWidget to sit on the home screen.

The user's home screen space is precious, so I want the widget to be small. The ideal size would be 2x1 cells.

Some documentation suggests you can have any size you like?
But the AppWidget graphical design guidelines imply that only standard sizes are supported: 4x1, 3x3, 2x2.

Does that refer to the available PhotoShop templates or is it a limitation of Android itself?

I'm finding that a 2x1 widget works on my actual device (HTC Wildfire) but expands to 2x2 on the emulator.

HTC have their own special implementation of the home screen, so maybe my widget will only work at 2x1 on HTC devices?

Is there any way to create a 2x1 widget, or should I use a standard size?

My widget was adapted from the Simple Wiktionary sample.

The manifest has android:minWidth="146dip" and android:minHeight="72dip".
There's a RelativeLayout with android:layout_width="fill_parent" and android:layout_height="wrap_content"

I'm just starting with Android, so apologies in advance if this is a silly question. :)

Android :: AppWidgets restricted to particular sizes?


Android :: Determining Image Sizes For Multiple Android Screen Sizes - Densities

Apr 22, 2010

I've been reviewing the Supporting Multiple Screens documentation on the Android and I just need some additional clarification...

It's my understanding that designing three unique interfaces (ldpi, mdpi, and hdpi) would be the best way to go about supporting all the potential android screens with minimal scaling/distortion.

Yes, I know there are similar questions posted, however... If I create an image for the benchmark mdpi (let's say my image is 300x210, just for example) how to I determine what size I will need to recreate that image at ldpi & hdpi? This post as well as a google search leads me to believe that ldpi is just 75% of the mdpi image, and the hdpi is 150% of the mdpi image. Is this accurate?

View 1 Replies View Related

Android :: Potential - Bug In The Implementation Of AppWidgets

Nov 10, 2009

We have discovered a potential bug in the implementation of AppWidgets. Here is a simple reproducer.

Attached is the code for an application containing a TestActivity and a TestWidget. TestActivity extends MapActivity and TestWidget is a simple widget provider which updates a TextView every 2 seconds. Now if the TestActivity is launched with no instance of TestWidget running, it works just fine. But if the TestActivity is launched after placing the TestWidget on the home, it results in ClassNotFoundException. Here is what we get:

CODE:.............

So it seems we have an inconsistency in the way the class loader works for the same apk.

WORKS - Launch the application by itself, without invoking the Widget. DOES NOT WORK - Create a Widget on the Home screen and then launch the application from the launcher.

The source code for this application (http://www.yousendit.com/ download/TzY3ZGVhZy96NE4zZUE9PQ) has been attached. Hope someone from the Android team can shed light on this behavior.

This error is seen on the 1.5r3 SDK. Not sure if this has been addressed in 1.6 and 2.0 SDKs..

View 2 Replies View Related

Android :: Debugger Not Working For AppWidgets?

May 8, 2009

I'm trying to make an AppWidget, and for some reason the Eclipse debugger doesn't suspend on any of the breakpoints I set (but I know the code is executed because I see it working on the emulator). I don't have this problem with other 'regular' apps (non AppWidgets). Is this a known limitation, or is it just a problem on my installation?

View 4 Replies View Related

Android :: Handling Orientation Changes In AppWidgets

Apr 18, 2010

We have created an AppWidget that takes user inputted text into an EditText and displays a calculated amount of text inside a TextView on the Home Screen. We calculate the amount of text based on the AppWidgetInfo.minWidth, minHeight attributes. We do this to simulate scrolling; we cut up the user-inputted text into chunks that will fit into the widget and swap them based on button clicks.

When we save the widget with the device in Landscape mode, it calculates the appropriate amount of text for Landscape mode and displays it in the widget. The problem is when the user changes orientation of the device to Portrait mode (without opening the widget and resaving the text), the calculated amount of text for Landscape mode is still displayed. This also happens in the vice versa case (the user is in Portrait and saves, etc.)

How can we tell our AppWidget to recalculate the amount of text displayed on screen orientation change? Is this possible? How would you solve this problem?

View 5 Replies View Related

Android :: Create Customized Views For AppWidgets?

Jan 22, 2010

There is a given set of predefinied Views that can be used in layouts for AppWidgets. How can a customized View added to this list?

The minimum requirement is that the class is annotated with RemoteView. What else is necessary to be acceptable as view in the layout.xml?

View 2 Replies View Related

Android :: Programmatically Create / Destroy AppWidgets?

Mar 5, 2010

Is it possible to programmatically create and/or destroy AppWidgets?

View 7 Replies View Related

Android :: AppWidgets - Reusing RemoteViews Instance Leaks Memory?

May 21, 2009

I'm writing a widget. Currently, I'm have a simple ImageView, and calling RemoteViews.setImageViewBitmap(). I'm using a service to do the updates.

I thought it might be a good idea to reuse an existing RemoteViews instance, so I'm only querying it the first time around, and subsequently simply call setImageViewBitmap() with the new image.

This works well initially, but after some time I first start getting "!!! FAILED BINDER TRANSACTION !!!" errors, and later, an OutOfMemory exception.

Simply creating a new RemoveViews instance every time works flawlessy on the other hand. I'm just curios why that would be, any ideas?

View 2 Replies View Related

Android :: Make A Flexible AppWidgets In Droid According To Screen Size?

Oct 6, 2010

Can anyone tell me how to make a flexible AppWidgets in android according to the screen size.
I want to make a full screen widget, but when it change screen size, i want to make it flexible.

View 1 Replies View Related

Android :: How Access Restricted Contacts In Third Party App

Mar 26, 2010

I am developing a sync application which can sync multiple sync account contacts in server. To take a backup of all contacts I am reading raw_contacts from Raw_contacts table but problem is I am not getting restricted contacts of facebook and others in query for Raw_Contacts.ContentUri. Is there any way to read restricted contacts.

View 4 Replies View Related

Android :: Restricted Location In Publisher GUI Is Not Working On Some Devices

Nov 10, 2010

We have an application that is restricted to one country (Norway). But I am sitting here with multiple devices, HTC Wildfire, SE XP10 (after 2.1 upgrade) and SE XP 10 Mini (after 2.1 upgrade) that fails to find the application even though they are registered on a Norwegian network (Tele2). The SE devices found the application before they got the 2.1 upgrade, and I have lots of other devices (Nexus One, HTC Desire, HTC Tattoo, Galaxy Tab) that finds the app without any problems.

This is very important for us since we can't enable the app worldwide due to copyright issues, so is there any way to resolve this issue? Is it the operator or the Android device that fails to report the correct country here?

View 3 Replies View Related

Android :: Email Address / Imap Setting Are Restricted Accounts - Can't Sync

Jun 7, 2010

Does anyone know of an App that acts similar to the Blackberry email client? What i really mean is does anyone know of an app that acts as a third party entering your log in details and then pushing emails to your phone (similar to what i believe the BB client does)

I only ask as i wish to connect to my Uni email address and the IMAP settings are restricted on undergraduate accounts, so cant sync in the usual way via IMAP. However, people who have BB's at uni have no issue in connecting to their emails. On asking the IT guys why this is they explained "The reason people are able to use Blackberry?s is due to the fact that they provide there password to an external company to access there mail on behalf of them which is strongly against the terms and conditions of there university account, and as a result should not be doing this at all." Essentially i need an app that mimics this. his new HTC desire?

View 3 Replies View Related

General :: Background Data Restricted

May 6, 2012

i seem to be having battery life problems because of mobile data, it sis constantly on because of the apps that use the internet while in the background. Therefore my phone is constantly using 3G and wastes heaps of battery. how to restrict background data so no apps will be using the mobile data? don't tell me to use task killer because task killers constantly use data as well and if u kill an app, it just comes back.

View 4 Replies View Related

General :: What Is Restricted With Locked Bootloader

Apr 7, 2013

What exactly am I blocked from doing with a locked boot loader? There aren't too many roms out there for my Stellar... I figure I'd try to port one from an SIII... but with the seller's locked boot loader could I even get that far? Or is it stock Verizon roms or nothing? SCH-I200

View 5 Replies View Related

HTC Incredible :: Block Restricted / Unknown Numbers?

Jun 3, 2010

I am trying to do this through the phonebook.I read in another thread that it can be added to the phonebook and then set to "send to voicemail". I can do that, but it doesn't send the call to voicemail. Am I doing something wrong? I'd rather not use an app for this if I don't have to.

View 10 Replies View Related

General :: Restricted Access Changed In Nexus 5?

Dec 31, 2013

I got this notification today " restricted access changed. Data services blocked" After this I don't have access to data in mobile.

View 5 Replies View Related

KitKat 4.4 :: Restricted Profile Forgets Picture?

Apr 21, 2014

I've set up restricted profiles for my children and taken photos for them. But after a short period of time the os forgets the image and goes back to the default icon.

This has happened with the image on both sd and internal memory.

This is an LG g pad running 4.4.2

View 1 Replies View Related

General :: Viewing Photos From Restricted Profiles

Feb 10, 2014

I just created a restricted profile on my Nexus 7 2nd edition. The goal of the restricted profile is to provide a "kiosk"-esq style profile for kids I interact with at work. Currently, I allow the restricted profile to have access to the camera and gallery for them to take pictures and I would then later post them to instagram for our social media page. I don't like the idea of them having access to the companies instagram, so, obviously, I deny that permission. The question I have is, is it possible to access, view, and edit the photos from the restricted profile from the owner profile, but NOT the other way around. Essentially, I want to create a one way street here, but can't figure out how. The photos seem to be independent per profile and I'm wondering how to change that.

View 2 Replies View Related

Motorola Droid :: Username And Password - Address Is Restricted With No Pop Ups

May 14, 2010

For my job we have a website to monitor the status of our windfarm and whenever you enter the site you must type in your user and password. I know on my co-workers iphones they can enter the site fine, but on the droid it doesnt ask for a username or pass it just says the address is restricted with no pop ups to enter the info. any idea how to fix this? Ive posted this on the verizon forums too with no answer,

View 5 Replies View Related

General :: Nexus 7 - Restore Geo Restricted Content After Traveling

Jul 29, 2012

I purchased a Nexus 7 and found out that the google play contect from movies, books etc. is disappears from the device when you connect to a wifi spot outside the US, not very good for travelers. How can I restore the content once I gent back to US soil? Is there a way to force it? I tried a restart and that did not work.

View 2 Replies View Related

KitKat 4.4 :: Google Play Movies With Restricted Profiles?

Mar 20, 2014

So I upgraded my daughter's Nexus 7 to 4.4.2, and set up a restricted profile for her. I cannot figure out how to watch purchased Play Movies & TV. Her account has permission for it under settings, and I can browse for the purchased movies in the app, but they are all non-purchased. Her profile is still showing as tied to my Google account, so purchases should carry over, but alas, no such luck. they don't seem to HAVE a support department. Guess you can't expect that from such a small company...

View 1 Replies View Related

General :: Bluetooth Transfer Disable Restricted Types

Oct 16, 2013

Nexus 4, Android 4.3.1 custom rom. It somehow lift the restrictions file extension when sending via bluetooth from, in the fourth Nexus 4 Renaming a file extension apk to jpg and jpg to N4 apk is lengthy. There is some repair?

View 1 Replies View Related

Jelly Bean :: Nexus 10 - Move Pictures To Restricted Profile?

Oct 8, 2013

I have a Nexus 10. I use it for personal and business use. I have created "Restricted User account" for business use. I would like to separate the pictures in my gallery into personal and business. How do I moved images from my personal gallery into the business account.

View 2 Replies View Related

General :: App Which Can Allow Call Forwarding Feature Restricted To Single Number

Jan 4, 2013

I am searching for an application that can forward calls from a single number to another number, usually the feature is enabled on all incoming calls but I want to forward call from a single incoming user.

View 1 Replies View Related

Android :: Screen Sizes With 1.5 - 1.6 And 2.0

Nov 13, 2009

I've got a quick question about screen size support. Currently, I've got an application that is rockin' along just fine on 1.5 and 1.6. Today the client called and says they want to run on Droid. While I've downloaded the 2.0 SDK, I'm a little wary of compiling against it. Will it break 1.5 and 1.6 compatilbility? How will the "medium" phones (G1, MyTouch) know to use those layouts?

View 3 Replies View Related

General :: Restricted Access Changed - Voice Call Service Blocked

Jan 8, 2012

I purchased a Chinese Android mobile which has the MTK6573 chipset. It is called a Star A3.

Love the phone however I regularly see the alert/error "Restricted access changed" in the status bar and the signal drops off both SIMS. If I pull down the status bar and check details it says "Voice call service blocked".

What is interesting is that it is always the Vodafone NZ SIM card even if I swap cards between SIM slots. Other SIM is 2Degrees.

I've searched the internet but there seems very little info on this subject other than to say that some HD9 users have had the same issue and have Spice Mi 350n users.

It could be a IMEI issue but I'm not so sure.

I've turned off my SIM data connection which was linked to my 2Degrees SIM and now both SIMS manifest the same error. If I re-enable data on the 2Degrees SIM only the Vodafone SIM gives the error ***

View 9 Replies View Related

Android :: Application For Different Screen Sizes

Oct 15, 2010

I want to develop an application for a tablet of 480*800 screen pixels. I had developed an application for normal mobiles, but now this screen size is large than normal size. what precaution should I take while developing the application? Because device is not available right now so I must have to work on the project using emulator.

View 2 Replies View Related

Android :: Handset Screen Sizes

Aug 25, 2009

G1, Dream, Magic, Hero, Galaxy and more to come... Does anybody have a rundown of their screen sizes (and of some of the devices to come out)?

View 2 Replies View Related

Android :: Different Screen Sizes - API Level

Nov 29, 2009

Hello, I would like to ask what settings are necessary for my application to be available on all screen sizes: Is it enough to compile it using SDK 1.6 (but target is set to 1.5 and API level to 3) or maybe I have to set target to 1.6 and API level to 4?

View 4 Replies View Related

Android :: Different Screen Sizes X Different Layouts

Apr 27, 2010

supporting multiple screens (sizes and resolutions). I´ve searched not only this forum but many different websites and the android documentation but I´m probably doing a small mistake so things are not working properly.

Well, my main layout was designed with a HVGA screen, and it works great. When I try the same app on a WVGA, FWVGA, WQVGA or FWQVGA, I always get an unused space in the end of the layout because the screen ´s "heightnes" is proportionally bigger than HVGA´s.

So I consulted the documentation and decided to give a try on resource qualifiers, so I then created a nonsense UI and placed it on layout- large, created a new AVD using the WVGA skin and launched the app. Well, all I got was my old and not well stretched layout. The same happened to a FWVGA AVD.

This is the first problem. The second is: medium high density medium size screens and medium density large screens have the same resolution: how can I create a layout that is loaded for both, but not for (for example) medium size medium density or small size medium density screens?

View 10 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved