[android-developers] Required XML attribute "adsize" missing issue in admob

2016-09-18 Thread Ishwarya Prasanna
I am new to android development.i have created my new app with admob 
syncing.kindly help me to solve this issue.i am not getting ad in Test ad 
place.instead i am getting Required XML attribute "adsize" missing in 
adplace.

XML:


http://schemas.android.com/apk/res/android;
xmlns:ads="http://schemas.android.com/apk/res-auto;
xmlns:tools="http://schemas.android.com/tools;
android:layout_width="match_parent"
android:layout_height="match_parent"
tools:context="com.shakthi.preg_zlite.MainActivity">





http://schemas.android.com/apk/lib/com.google.ads;
android:id="@+id/adview1"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
ads:adUnitId="ADUNIT"
ads:adsSize="BANNER"
/>







JAVA:


package com.shakthi.preg_zlite;

import android.content.Intent;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.AdapterView;
import android.widget.BaseAdapter;
import android.widget.GridView;
import android.widget.ImageView;
import android.widget.ListAdapter;
import android.widget.TextView;

import com.google.android.gms.ads.AdActivity;
import com.google.android.gms.ads.AdRequest;
import com.google.android.gms.ads.AdSize;
import com.google.android.gms.ads.AdView;

public class MainActivity extends AppCompatActivity implements 
AdapterView.OnItemClickListener {
@Override
public void onItemClick(AdapterView parent, View view, int position, 
long id) {
switch(position) {
case 0:
Intent ppp = new Intent();
ppp.setClass(MainActivity.this, Pregnancyplanner.class);
startActivity(ppp);
break;
case 1:
Intent cc = new Intent();
cc.setClass(MainActivity.this, Duedatecalc.class);
startActivity(cc);
break;
case 2:
break;
case 3:

break;
default:
break;
}

}

String[] title = { "Pregnancy planner","Due date calculator","Basic 
pregnancy info","Reminder" };
int[] 
icon={R.mipmap.prepregnancyplanner,R.mipmap.duedatecalc,R.mipmap.laboursign,R.mipmap.reminder};
GridView grid;

@Override
protected void onCreate(Bundle savedInstanceState) {
String AD_UNIT_ID = "X";
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_main);
AdView adView = (AdView) this.findViewById(R.id.adview1);
adView.setAdSize(AdSize.SMART_BANNER);
adView.setAdUnitId(AD_UNIT_ID);
adView.loadAd(new AdRequest.Builder().build());
grid = (GridView) findViewById(R.id.grid);
CustomGrid adapter=new CustomGrid();
grid.setAdapter(adapter);
grid.setOnItemClickListener(this);
}
class CustomGrid extends BaseAdapter {
@Override
public View getView(int position, View convertView, ViewGroup parent) {
LayoutInflater inflater = LayoutInflater
.from(getApplicationContext());
Viewholder holder = null;
if (convertView == null) {
holder = new Viewholder();
convertView = inflater.inflate(R.layout.custom_list, parent,
false);
holder.name = (TextView) convertView.findViewById(R.id.title);


holder.image = (ImageView) convertView.findViewById(R.id.image);
convertView.setTag(holder);

} else {
holder = (Viewholder) convertView.getTag();
}
holder.name.setText(title[position]);
holder.image.setImageResource(icon[position]);


return convertView;

}

@Override
public int getCount() {
// TODO Auto-generated method stub
return 4;
}

@Override
public Object getItem(int position) {
// TODO Auto-generated method stub
return position;
}

@Override
public long getItemId(int position) {
// TODO Auto-generated method stub
return position;
}
class Viewholder {
ImageView image;
TextView name;

}
}


}


APP level gradle:

apply plugin: 'com.android.application'

android {
compileSdkVersion 24
buildToolsVersion "24.0.2"

defaultConfig {
applicationId "com.shakthi.preg_zlite"
minSdkVersion 19
targetSdkVersion 24
versionCode 1
versionName "1.0"
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 
'proguard-rules.pro'
}
}
}

dependencies {

Re: [android-developers] Urgently looking || Android developer || Irvine CA

2016-09-18 Thread Anees T
Please do have a look at my linkedin profile
https://www.linkedin.com/in/anees-thyrantakath-8770402b?trk=hp-identity-photo

On Sat, Sep 17, 2016 at 12:26 AM, Himanshu Kharbanda <
himanshu.kharbanda...@gmail.com> wrote:

> *Please share profile with linked-in ID *
>
>
>
> *you can reply at himan...@usitsol.com you can reach
> me 408 766  Ext 361*
>
>
>
> *Position Android Developers i *
>
> *location Irvine (LA Area) *
>
> *Strong Java and Android development experience)*
>
> * Contract 1 year contracts each with extensions.  *
>
>
>
>
>
> With every resume, I need number/email/college graduation date and where
> from and degree earned. Also I need a Linkedin profile
>
> --
> You received this message because you are subscribed to the Google Groups
> "Android Developers" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to android-developers+unsubscr...@googlegroups.com.
> To post to this group, send email to android-developers@googlegroups.com.
> Visit this group at https://groups.google.com/group/android-developers.
> To view this discussion on the web visit https://groups.google.com/d/
> msgid/android-developers/c40725b7-063e-4cfc-85b0-
> 67399244263c%40googlegroups.com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
To post to this group, send email to android-developers@googlegroups.com.
Visit this group at https://groups.google.com/group/android-developers.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/android-developers/CABgDG%2BsourwRNp8if1WYaDHHuZNf0wUqpCw-0WquP-Gf1z6neA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


[android-developers] eBook reader

2016-09-18 Thread Amit De
U want an app made that can be used to read an eBook.  I need the ability to 
flip through pages and resize the font . I tried various libraries but could 
not find a library that would let us add content at once or read through an 
epub file. Has anyone done this in the past?

-- 
You received this message because you are subscribed to the Google Groups 
"Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
To post to this group, send email to android-developers@googlegroups.com.
Visit this group at https://groups.google.com/group/android-developers.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/android-developers/cb912d61-9787-4c55-a424-5af8d89d4d0b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [android-developers] App having Backend to store data

2016-09-18 Thread Harsh Raj
Yes sir , I have a solution for that , but for the first time of use the
user will have to connect to the internet.
So when the user will search something, The result that is coming will be
be stored on the user's mobile device.
And the next time when user runs the app, the stored data will be shown but
for new search, internet connection is needed.

But the real problem is that I am not able to decide what to use for the
back-end .

On Mon, Sep 19, 2016 at 2:24 AM, Mark Phillips 
wrote:

> What will happen to your app if the phone cannot connect to your server?
> For example, no service, no wifi, or in airplane mode?
>
> You might want to look at having local storage on the phone for the app's
> information and have a background task keep the local storage in sync with
> the server.
>
> Mark
>
> On Sun, Sep 18, 2016 at 12:29 PM, HarSh Raj Vardhan  > wrote:
>
>> Guyz , I am really a beginner. and I want to develop a android having
>> light app with only UI and nothing will be stored in the app as static data
>> .
>> All its data will be stored on a server or any other place which the app
>> will retrieve whenever needed.
>>
>> The problem is that i don't know what to use for a data storage. Like a
>> back-end or any server which is free and easy to use? is Google's firebase
>> good for it ? and if yes then how can it be used efficiently ? and how to
>> retrieve this data,and store too?
>>
>> Please help me as I am really short of time as this is my project.
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "Android Developers" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to android-developers+unsubscr...@googlegroups.com.
>> To post to this group, send email to android-developers@googlegroups.com.
>> Visit this group at https://groups.google.com/group/android-developers.
>> To view this discussion on the web visit https://groups.google.com/d/ms
>> gid/android-developers/b5705392-31a0-4098-a25e-ac593a6364fa%
>> 40googlegroups.com
>> 
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
>
> --
> You received this message because you are subscribed to a topic in the
> Google Groups "Android Developers" group.
> To unsubscribe from this topic, visit https://groups.google.com/d/
> topic/android-developers/7vsjANmx-rE/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> android-developers+unsubscr...@googlegroups.com.
> To post to this group, send email to android-developers@googlegroups.com.
> Visit this group at https://groups.google.com/group/android-developers.
> To view this discussion on the web visit https://groups.google.com/d/
> msgid/android-developers/CAEqej2NYjk%2B9rEGW2bNJiPXyXgqNOC3GjQDhyt%
> 3D689AAc4LMfg%40mail.gmail.com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
To post to this group, send email to android-developers@googlegroups.com.
Visit this group at https://groups.google.com/group/android-developers.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/android-developers/CAJeP_sunyXUiKMsj1BQjV3VxKUc-U7p5khbSmn_4idMOMsh_NA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


[android-developers] Android Marshmallow aosp_x86_64-eng launch problem

2016-09-18 Thread 유원상
I want to compile and launch my custom Android Emulator.
Android version is the marshmallow.
The aosp_x86-eng emulator can compile and launch.

I want the aosp_x86_64-eng emulator.
It compiled successfully.
But, the emulator cannot launch.

My command is below.
$ source build/envsetup.sh
$ lunch aosp_x86_64-eng
$ make -j4
$ emulator

Emulator is black screen.
If using the "-debug all -show-kernel -verbose" options, the log shows 
kernel is not boot.

How can I launch my custom x86_64 Emulator?

Please help me.
Thanks.

-- 
You received this message because you are subscribed to the Google Groups 
"Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
To post to this group, send email to android-developers@googlegroups.com.
Visit this group at https://groups.google.com/group/android-developers.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/android-developers/780a230e-399f-47bb-8236-41ebdd1ebabd%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[android-developers] Cannot launch AVD in emulator

2016-09-18 Thread turvas
Hi,

When trying to runn app on emulator, following is displayed in Android 
Studio (2.1.3) with latest SDK(25.2.2) installed:

H:\Android\sdk\tools\emulator.exe -netdelay none -netspeed full -avd 
Nexus_S_API_23
Hax is enabled
Hax ram_size 0x4000
HAX is working and emulator runs in fast virt mode.
Assertion failed!
Program: H:\Android\sdk\tools\qemu\windows-x86_64\qemu-system-i386.exe
File: 
/usr/local/google/buildbot/src/android/emu-2.2-release/external/qemu-android/util/error.c,
 
Line 70
Expression: *errp == NULL
This application has requested the Runtime to terminate it in an unusual 
way.
Please contact the application's support team for more information.

I have tried to change emulated platform(x86, arm), display resolution, 
memory size - always the same result, tho app is workin in real phone with 
API 23.

Any advice?

br,


-- 
You received this message because you are subscribed to the Google Groups 
"Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
To post to this group, send email to android-developers@googlegroups.com.
Visit this group at https://groups.google.com/group/android-developers.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/android-developers/e5bc990b-4ced-4523-b726-29903ea9f097%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [android-developers] App having Backend to store data

2016-09-18 Thread Mark Phillips
What will happen to your app if the phone cannot connect to your server?
For example, no service, no wifi, or in airplane mode?

You might want to look at having local storage on the phone for the app's
information and have a background task keep the local storage in sync with
the server.

Mark

On Sun, Sep 18, 2016 at 12:29 PM, HarSh Raj Vardhan 
wrote:

> Guyz , I am really a beginner. and I want to develop a android having
> light app with only UI and nothing will be stored in the app as static data
> .
> All its data will be stored on a server or any other place which the app
> will retrieve whenever needed.
>
> The problem is that i don't know what to use for a data storage. Like a
> back-end or any server which is free and easy to use? is Google's firebase
> good for it ? and if yes then how can it be used efficiently ? and how to
> retrieve this data,and store too?
>
> Please help me as I am really short of time as this is my project.
>
> --
> You received this message because you are subscribed to the Google Groups
> "Android Developers" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to android-developers+unsubscr...@googlegroups.com.
> To post to this group, send email to android-developers@googlegroups.com.
> Visit this group at https://groups.google.com/group/android-developers.
> To view this discussion on the web visit https://groups.google.com/d/
> msgid/android-developers/b5705392-31a0-4098-a25e-
> ac593a6364fa%40googlegroups.com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
To post to this group, send email to android-developers@googlegroups.com.
Visit this group at https://groups.google.com/group/android-developers.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/android-developers/CAEqej2NYjk%2B9rEGW2bNJiPXyXgqNOC3GjQDhyt%3D689AAc4LMfg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


[android-developers] App having Backend to store data

2016-09-18 Thread HarSh Raj Vardhan
Guyz , I am really a beginner. and I want to develop a android having light 
app with only UI and nothing will be stored in the app as static data .
All its data will be stored on a server or any other place which the app 
will retrieve whenever needed.

The problem is that i don't know what to use for a data storage. Like a 
back-end or any server which is free and easy to use? is Google's firebase 
good for it ? and if yes then how can it be used efficiently ? and how to 
retrieve this data,and store too? 

Please help me as I am really short of time as this is my project.   

-- 
You received this message because you are subscribed to the Google Groups 
"Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
To post to this group, send email to android-developers@googlegroups.com.
Visit this group at https://groups.google.com/group/android-developers.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/android-developers/b5705392-31a0-4098-a25e-ac593a6364fa%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[android-developers] Projeto app faculdade

2016-09-18 Thread Rafah Infotecegames
Galera boa tarde estou fazendo meu tcc baseado em um aplicativo de teste de 
stroop
O Que nconsigo achar ajuda na net nem entender e o seguinte,
Preciso a api de voz para quando eu clicar no icone do microfone abra a 
activity de teste com o cronometro ativado e a pessoa fale a resposta da 
questão, e passe para a proxima tela, sendo que deve armazenar se esta 
certo ou errado.
Algumem por amor de Deus saberia me dar uma luz!

-- 
You received this message because you are subscribed to the Google Groups 
"Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
To post to this group, send email to android-developers@googlegroups.com.
Visit this group at https://groups.google.com/group/android-developers.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/android-developers/87076f98-938c-4aa4-8bab-5af9e4a658d1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[android-developers] Android NDK- Teapot Sample

2016-09-18 Thread kunjesh virani
Hi I am Kunjesh Virani..
I that Teapot Sample of Android NDK it has one file named "*Teapot.inl*".
this file is how come ?
*how can we convert 3Ds MAX model to that file ?*

-- 
You received this message because you are subscribed to the Google Groups 
"Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
To post to this group, send email to android-developers@googlegroups.com.
Visit this group at https://groups.google.com/group/android-developers.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/android-developers/2e8b5556-e850-469a-bb0b-f461a68c48b1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[android-developers] 3D Model Rendering

2016-09-18 Thread kunjesh virani
How to convert 3Ds MAX model to source that can be used in Android Game.

-- 
You received this message because you are subscribed to the Google Groups 
"Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
To post to this group, send email to android-developers@googlegroups.com.
Visit this group at https://groups.google.com/group/android-developers.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/android-developers/ab4051a7-db8d-4812-90ad-62ac76536e97%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.