Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Universal application in android (phone and tablet)

Tags:

android

I am developing an Universal application in android which should run on android phone and android tablet, I know the procedure to make an application for android phone but how to make for android tablet, Please guide me for this.

Thanking in advance.

like image 987
Avi kumar Avatar asked Apr 28 '11 05:04

Avi kumar


People also ask

What are Universal applications?

Universal apps are so called because they run on more than one kind of Windows device, including phones, tablets, desktop PCs, Xbox One console and even embedded devices, such as Raspberry Pi 2. A unified Windows Store means that developers can sell an app once, with users able to install it on phones, tablets and PCs.

Which has universal application?

A universal app is an app that can run on any mobile device operating system — meaning iOS and Android. Universal apps also work on different types and sizes of devices, including iPhones and iPads. It's a one-size-fits-all scenario designed to work for any smart device user.

Can a tablet be used as a remote control?

Can I use android tablet as remote control? Yes, if you have the right solution, you can use any device to remote control Android tablet, phone, Windows desktop, laptop, and so on.


1 Answers

You should support the different screen layouts. Take a look over at the multiple screen page

It gives you, amongst explanation how to save multiple versions of files for different resolutions, als this piece of code for the manifest:

<manifest xmlns:android="http://schemas.android.com/apk/res/android">
    <supports-screens
        android:smallScreens="true"
        android:normalScreens="true"
        android:largeScreens="true"
        android:xlargeScreens="true"
        android:anyDensity="true" />
    ...
</manifest>

You can make different drawable directories etc, as explained in the link.

like image 98
Nanne Avatar answered Jan 04 '23 01:01

Nanne