[android-developers] Digest for android-developers@googlegroups.com - 15 updates in 15 topics

Martiman Henry <martimanhenry@gmail.com>: Jan 02 10:34PM -0500

Hi Marina, hope all is well. I made some adjustments to my code and would
really appreciate it if you were able to help me implement the Database
Helper.
 
 
 
 
 
 
 
View Class:
 
public class ViewDB {
 
 
 
private Bitmap icon, fav;
 
private String name, desp;
 
private int icRecipe;
 
private boolean cbFav;
 
 
 
public ViewDB() {
 
super();
 
}
 
 
 
public ViewDB(int icRecipe, String name, String desp, boolean cbFav) {
 
super();
 
this.setIcRecipe(icRecipe);
 
this.setName(name);
 
this.setDesp(desp);
 
this.setCbFav(cbFav);
 
}
 
 
 
public ViewDB(Bitmap icon, String name, String desp) {
 
icon = icon;
 
name = name;
 
desp = desp;
 
}
 
 
 
public Bitmap getIcon() {
 
return icon;
 
}
 
 
 
public void setIcon(Bitmap icon) {
 
this.icon = icon;
 
}
 
 
 
public Bitmap getFav() {
 
return fav;
 
}
 
 
 
public void setFav(Bitmap fav) {
 
this.fav = fav;
 
}
 
 
 
public String getName() {
 
return name;
 
}
 
 
 
public void setName(String name) {
 
this.name = name;
 
}
 
 
 
public String getDesp() {
 
return desp;
 
}
 
 
 
public void setDesp(String desp) {
 
this.desp = desp;
 
}
 
 
 
public int getIcRecipe() {
 
return icRecipe;
 
}
 
 
 
public void setIcRecipe(int icRecipe) {
 
this.icRecipe = icRecipe;
 
}
 
 
 
public boolean isCbFav() {
 
return cbFav;
 
}
 
 
 
public void setCbFav(boolean cbFav) {
 
this.cbFav = cbFav;
 
}
 
}
 
 
 
 
 
 
 
 
 
Database Helper class:
 
public class DBHelper extends SQLiteOpenHelper {
 
 
 
public static final String DB_NAME = "Recipes.db";
 
private static final String DB_TABLE = "recipe_table";
 
private static final int DB_VERSION = 1;
 
private static final String RECIPE_ID = "ID";
 
private static final String RECIPE_ICON = "ICON";
 
private static final String RECIPE_NAME = "NAME";
 
private static final String RECIPE_DESP = "DESCRIPTION";
 
private static final String RECIPE_FAV = "FAVOURITE";
 
private static final String CREATE_RECIPE_TABLE = "create table "
 
+ DB_NAME + " (" + RECIPE_ID + "integer primary key
autoincrement, "
 
+ RECIPE_ICON + " blob not null, " + RECIPE_NAME + " text not
null unique, "
 
+ RECIPE_DESP + " text not null);";
 
public static final Object[] databaseLock = new Object[0];
 
private Context mContext;
 
 
 
public DBHelper(Context context) {
 
super(context, DB_NAME, null, DB_VERSION);
 
}
 
 
 
@Override
 
public void onCreate(SQLiteDatabase sqLiteDatabase) {
 
sqLiteDatabase.execSQL(CREATE_RECIPE_TABLE);
 
}
 
 
 
@Override
 
public void onUpgrade(SQLiteDatabase sqLiteDatabase, int i, int i1) {
 
sqLiteDatabase.execSQL("DROP TABLE IF EXIST " + DB_TABLE);
 
onCreate(sqLiteDatabase);
 
}
 
 
 
//Add Favourite
 
public void addFav(ViewDB viewDB) throws SQLiteException {
 
 
 
synchronized (databaseLock) {
 
SQLiteDatabase db = this.getWritableDatabase();
 
if (db != null) {
 
ContentValues contentValues = new ContentValues();
 
contentValues.put(RECIPE_ICON,
DBBitmapUtility.getBytes(viewDB.getIcon()));
 
contentValues.put(RECIPE_NAME, viewDB.getName());
 
contentValues.put(RECIPE_DESP, viewDB.getDesp());
 
 
 
try {
 
db.insert(DB_TABLE, null, contentValues);
 
} catch (Exception e) {
 
Toast.makeText(mContext, "Unable to add favourite.",
Toast.LENGTH_LONG).show();
 
}
 
db.close();
 
}
 
}
 
}
 
 
 
//Open Database
 
public DBHelper open() throws SQLException {
 
this.getWritableDatabase();
 
return this;
 
}
 
 
 
// Close Database
 
public void close() {
 
this.close();
 
}
 
 
 
//Delete Favourite
 
public Integer deleteFav(String id) {
 
SQLiteDatabase db = this.getWritableDatabase();
 
return db.delete(DB_TABLE, "ID=?", new String[]{id});
 
}
 
 
 
//Show All Favourites
 
public ViewDB getAllFav() throws SQLException {
 
SQLiteDatabase db = this.getWritableDatabase();
 
Cursor cur = db.query(true, DB_TABLE, new String[]{RECIPE_ICON,
RECIPE_NAME,
 
RECIPE_DESP, RECIPE_FAV}, null, null, null, null, null,
null);
 
 
 
if (cur.moveToFirst()) {
 
byte[] icon = cur.getBlob(cur.getColumnIndex(RECIPE_ICON));
 
String name = cur.getString(cur.getColumnIndex(RECIPE_NAME));
 
String desp = cur.getString(cur.getColumnIndex(RECIPE_DESP));
 
cur.close();
 
return new ViewDB(DBBitmapUtility.getImage(icon), name, desp);
 
}
 
cur.close();
 
return null;
 
}
 
 
 
//Auto-refresh Favourite
 
 
 
 
 
}
 
 
 
 
 
 
 
Bitmap Converter class:
 
public class DBBitmapUtility {
 
 
 
// convert from bitmap to byte array
 
public static byte[] getBytes(Bitmap bitmap) {
 
ByteArrayOutputStream stream = new ByteArrayOutputStream();
 
bitmap.compress(Bitmap.CompressFormat.JPEG, 0, stream);
 
return stream.toByteArray();
 
}
 
 
 
// convert from byte array to bitmap
 
public static Bitmap getImage(byte[] image) {
 
return BitmapFactory.decodeByteArray(image, 0, image.length);
 
}
 
}
 
 
 
 
 
 
 
RecyclerView Adapter class:
 
public class AdapterFavourite extends
RecyclerView.Adapter<AdapterFavourite.VHFavourite> {
 
 
 
private LayoutInflater mInflater;
 
private ArrayList<ViewDB> viewRecipes;
 
private Context mContext;
 
private ClickedListener clickedListener;
 
private LongClickedListener longClickedListener;
 
 
 
public AdapterFavourite(Context context, ArrayList<ViewDB> data) {
 
this.mContext = context;
 
mInflater = LayoutInflater.from(context);
 
this.viewRecipes = data;
 
 
 
notifyDataSetChanged();
 
}
 
 
 
@Override
 
public VHFavourite onCreateViewHolder(ViewGroup parent, int viewType) {
 
View v = mInflater.inflate(R.layout.item_recipe, parent, false);
 
VHFavourite layout = new VHFavourite(v);
 
return layout;
 
}
 
 
 
@Override
 
public void onBindViewHolder(final VHFavourite holder, final int
position) {
 
//ViewDB current = viewRecipes.get(position);
 
 
 
holder.bindData(viewRecipes.get(position));
 
 
 
holder.cbFav.setChecked(viewRecipes.get(position).isCbFav());
 
 
 
holder.cbFav.setOnCheckedChangeListener(new
CompoundButton.OnCheckedChangeListener() {
 
@Override
 
public void onCheckedChanged(CompoundButton compoundButton,
boolean b) {
 
if (longClickedListener != null) {
 
longClickedListener.longClicked(compoundButton, b );
 
}
 
viewRecipes.get(holder.getAdapterPosition()).setCbFav(b);
 
}
 
});
 
}
 
 
 
 
 
public void setClickedListener(ClickedListener clickedListener) {
 
this.clickedListener = clickedListener;
 
}
 
 
 
public void setLongClickedListener(LongClickedListener
longClickedListener) {
 
this.longClickedListener = longClickedListener;
 
}
 
 
 
@Override
 
public int getItemCount() {
 
return viewRecipes.size();
 
}
 
 
 
public class VHFavourite extends RecyclerView.ViewHolder {
 
 
 
private ImageView icon, favourite;
 
private TextView title, desp;
 
private CheckBox cbFav;
 
 
 
public VHFavourite(View itemView) {
 
super(itemView);
 
icon = (ImageView) itemView.findViewById(R.id.imgRecipeIC);
 
title = (TextView) itemView.findViewById(R.id.txtRecipeTitle);
 
desp = (TextView) itemView.findViewById(R.id.txtRecipeDesp);
 
//favourite = (ImageView)
itemView.findViewById(R.id.imgFavourite);
 
cbFav = (CheckBox) itemView.findViewById(R.id.cbFavorite);
 
 
 
itemView.setOnClickListener(new View.OnClickListener() {
 
@Override
 
public void onClick(View view) {
 
if (clickedListener != null) {
 
clickedListener.itemClicked(view, getPosition());
 
}
 
}
 
});
 
 
 
}
 
 
 
public void bindData(ViewDB data) {
 
//icon.setImageResource(data.getIcRecipe());
 
Picasso.with(mContext).load(viewRecipes.get(getPosition()).getIcRecipe()).resize(80,
80).into(icon);
 
title.setText(data.getName());
 
desp.setText(data.getDesp());
 
}
 
 
 
private byte[] imageViewToByte(ImageView image) {
 
Bitmap bitmap = ((BitmapDrawable)
image.getDrawable()).getBitmap();
 
ByteArrayOutputStream stream = new ByteArrayOutputStream();
 
bitmap.compress(Bitmap.CompressFormat.JPEG, 100, stream);
 
byte[] byteArray = stream.toByteArray();
 
return byteArray;
 
}
 
 
 
}
 
 
 
 
 
public interface ClickedListener {
 
public void itemClicked(View view, int position);
 
}
 
 
 
public interface LongClickedListener {
 
public void longClicked(CompoundButton compoundButton, boolean b);
 
}
 
 
 
}
 
 
 
 
 
 
 
Activity class:
 
public class ActivityTest extends AppCompatActivity implements
AdapterFavourite.ClickedListener, AdapterFavourite.LongClickedListener {
 
 
 
private Toolbar mToolbar;
 
private RecyclerView mRecycler;
 
private AdapterFavourite mAdapter;
 
ArrayList<ViewDB> contact_data = new ArrayList<ViewDB>();
 
private LinearLayoutManager mLayout;
 
private DBHelper dbHelper;
 
 
 
@Override
 
protected void onCreate(@Nullable Bundle savedInstanceState) {
 
super.onCreate(savedInstanceState);
 
setContentView(R.layout.activity_recycler);
 
 
 
//
 
setupToolbar();
 
 
 
dbHelper = new DBHelper(this);
 
 
 
// Appetizer Recipe
 
mRecycler = (RecyclerView) findViewById(R.id.recyclerGeneral);
 
mRecycler.setNestedScrollingEnabled(false);
 
mLayout = new LinearLayoutManager(this);
 
mRecycler.setHasFixedSize(true);
 
mRecycler.setItemAnimator(new DefaultItemAnimator());
 
mAdapter = new AdapterFavourite(this, getAppetizerRecipes());
 
mAdapter.setClickedListener(this);
 
mAdapter.setLongClickedListener(this);
 
mRecycler.setAdapter(mAdapter);
 
mRecycler.setLayoutManager(mLayout);
 
 
 
 
 
// Ads
 
MobileAds.initialize(getApplicationContext(),
"ca-app-pub-6794767631725244/2207648611");
 
AdView mAdView = (AdView) findViewById(R.id.adView);
 
AdRequest adRequest = new AdRequest.Builder().build();
 
mAdView.loadAd(adRequest);
 
}
 
 
 
private void setupToolbar() {
 
mToolbar = (Toolbar) findViewById(R.id.app_bar);
 
setSupportActionBar(mToolbar);
 
getSupportActionBar().setTitle("Test Activity");
 
getSupportActionBar().setDisplayHomeAsUpEnabled(true);
 
}
 
 
 
public ArrayList<ViewDB> getAppetizerRecipes() {
 
ArrayList<ViewDB> data = new ArrayList<>();
 
 
 
int[] recipe = {R.drawable.appetizer_roast_yam,
R.drawable.appetizer_solomon_a_gundy,
 
R.drawable.appetizer_peanut_porridge,
R.drawable.appetizer_cornmeal_porridge,
 
R.drawable.appetizer_chocolate_tea,
R.drawable.appetizer_rice_porridge,
 
R.drawable.appetizer_banana_porridge,
R.drawable.appetizer_festival,
 
R.drawable.appetizer_cornmeal_fritters};
 
String[] title =
getResources().getStringArray(R.array.appetizer_list);
 
String[] desp =
getResources().getStringArray(R.array.appetizer_desp);
 
 
 
for (int i = 0; i < title.length; i++) {
 
ViewDB information = new ViewDB();
 
information.setIcRecipe(recipe[i]);
 
information.setName(title[i]);
 
information.setDesp(desp[i]);
 
 
 
data.add(information);
 
}
 
return data;
 
}
 
 
 
@Override
 
public void itemClicked(View view, int position) {
 
switch (position) {
 
case 0:
 
startActivity(new Intent(this, AppetizerRoastYam.class));
 
break;
 
case 1:
 
startActivity(new Intent(this,
AppetizerSolomonGundy.class));
 
break;
 
case 2:
 
startActivity(new Intent(this,
AppetizerPeanutPorridge.class));
 
break;
 
case 3:
 
startActivity(new Intent(this,
AppetizerCornmealPorridge.class));
 
break;
 
case 4:
 
startActivity(new Intent(this,
AppetizerChocolateTea.class));
 
break;
 
case 5:
 
startActivity(new Intent(this,
AppetizerRicePorridge.class));
 
break;
 
case 6:
 
startActivity(new Intent(this,
AppetizerBananaPorridge.class));
 
break;
 
case 7:
 
startActivity(new Intent(this, AppetizerFestival.class));
 
break;
 
case 8:
 
startActivity(new Intent(this,
AppetizerCornmealFritters.class));
 
break;
 
default:
 
break;
 
}
 
}
 
 
 
//Refresh Data
 
public void Set_Refresh_Data() {
 
contact_data.clear();
 
 
 
mAdapter = new AdapterFavourite(this, contact_data);
 
mRecycler.setAdapter(mAdapter);
 
mRecycler.setLayoutManager(mLayout);
 
mAdapter.notifyDataSetChanged();
 
}
 
 
 
@Override
 
public boolean onOptionsItemSelected(MenuItem item) {
 
switch (item.getItemId()) {
 
// Respond to the action bar's Up/Home button
 
case android.R.id.home:
 
NavUtils.navigateUpFromSameTask(this);
 
return true;
 
}
 
return super.onOptionsItemSelected(item);
 
}
 
 
 
@Override
 
public void longClicked(CompoundButton compoundButton, boolean b) {
 
getAppetizerRecipes();
 
 
 
if (compoundButton.isChecked()==true){
 
dbHelper = new DBHelper(this);
 
 
 
 
 
Toast.makeText(this, "Add to Favourite",
Toast.LENGTH_LONG).show();
 
 
 
}else if(compoundButton.isChecked()==false){
 
 
 
Toast.makeText(this, "Removed from Favourite",
Toast.LENGTH_LONG).show();
 
}
 
}
 
}
 
 
 
 
 
So far everything is working how it is suppose to work. The RecyclerView is
being populated and the Favourite button is showing the right message. My
problem now is when I like the Favourite button in the activity it add the
row that it is located in the RecyclerView to the Database. Right now
that's my biggest problem.
 
On Wed, Dec 21, 2016 at 2:16 PM, Martiman Henry <martimanhenry@gmail.com>
wrote:
 
 
--
Regards,
Martiman P. Henry
*B.Sc Management Studies:*
*Major* - Accounting
*Minor(s)* -
Shaik Salam <salam.staffing@gmail.com>: Jan 02 03:26PM -0500

Hi Everyone,
 
Hope you are doing great,
We have an immediate opportunity for UI Developer at Minneapolis, MN. Below
is the job description and if you'd like to pursue this, please include a
word copy of your latest resume along with a daytime phone number and rate
in your response.
 
*Send resumes to sam@nytpartner.com <sam@nytpartner.com>*
 
*Work Location:Minneapolis, MN*
*Duration: 8 Months+*
*Position: 3*
 
*Role UI Developer (Very strong in java script) *
 
*Mandatory Technical / Functional Skills *
 
1 - Advance knowledge and experience in HTML5 and CSS
2 - Very strong concepts and hands-on experience on Node.js, backbone.js
and angular.js
3 - Advanced object oriented JavaScript
4 - Free marker Templates
5 - Advanced JQuery
6 - Solid understanding of JSON data transfer techniques and patterns
7 - Good knowledge of Object Oriented Inheritance
8- Experience working in java/j2ee projects
9 -Qunit
 
Thanks and Regards,
 
Sam Salam
New York Technology Partners – Rochester
T1: (201) 680-0200 x 7026
sam@nytpartners.com
www.nytp.com
Shaik Salam <salam.staffing@gmail.com>: Jan 02 01:48PM -0500

Hi Everyone ,
 
Hope you are doing great,
We have an immediate opportunity for Data Architect , at Cleveland, OH.
Below is the job description and if you'd like to pursue this, please
include a word copy of your latest resume along with a daytime phone number
and rate in your response.
 
*Send Resume at Sam@nytpartners.com <Sam@nytpartners.com>*
 
*Job Role: *
*Location: Cleveland, OH*
*Duration: 12 months*
 
*job Description: *
 
- Be accountable for creating end-to-end solution design and development
approach in a Hadoop/Spark environment
- Be accountable for integration solution design and development for
integration Hadoop/Spark environments with analytic platforms (e.g., SAS,
SPSS) and Enterprise Information Management (EIM) and Data Warehouse (DW)
platforms
- Design, test, and continuously improve performance of Hadoop/Spark
based solutions
- Expertly utilize distributed/parallel processing for information
management solution design and development
- Perform hands on development, coaching and leadership through all
project phases
- Provide advisory help in selecting products and components as part of
sales solutioning
- Create new methods for Big Data and lead teams that are developing
accelerators
 
 
Thanks and Regards,
Sam
New York Technology Partners – Rochester
332 Jefferson Rd.
Rochester, NY 14623
201 680 0200 Ext: 7026
sam@nytpartners.com
www.nytp.com
Skype&Gtalk: sam.staffing
Vasanth Kumar <vasanth.aitrg@gmail.com>: Jan 02 09:58AM -0600

Hi,
 
Greetings from American IT Resource Group Inc.!
 
I would like to touch-base you regarding a job opportunity with our client,
appreciate if you could go through below job detail and let me know your
thoughts as soon as possible.
 
*Reply only to vasanth@aitrg.com <vasanth@aitrg.com>*
 
*Role: Sr. Java developer/Lead*
 
Location: Denver, CO
 
Duration: 6+ Months contract
 
 
 
*Job Description:*
 
- Strong in Java programming language with hands-on coding skills.
 
- Good knowledge of Data structures and algorithms.
 
- Experience to lead a team of engineers.
 
- Ability to work in Agile environment.
 
§ Need candidates who are strong in Core Java, the self-assessment table
below reflects some other those areas. So those areas including
multi-threading are more important.
 
§ REST is important and is included below. WebServices is also fine.
 
§ Spring is nice to have but not at expense of core java skills.
Similarly, for J2EE skills, we do not want those who have J2EE knowledge
but not core Java.
 
§ Junit is not important, rather tool knowledge like Git/Github, Maven,
Jenkins is more important.
 
*Nice to have:*
 
- github.com link.
 
- blog link.
 
 
 
 
 
Looking forward to hear from you!
 
 
 
Thanks & Regards,
 
 
 
Vasanth || American IT Resource Group, Inc.
 
1111, Plaza Dr., Suite 640, Schaumburg, IL - 60173
 
Email: vasanth@aitrg.com
 
Skype: vasanth.aitrg <vasanth.aitrg@gmail.com> || Gtalk: vasanth.aitrg
<vasanth.aitrg@gmail.com>
 
Web: www.aitrg.com
 
Please do not print unless it is absolutely necessary. Spread environmental
awareness.
 
Note: Under Bills. Title III passed by the 105th U.S. Congress this mail
cannot be considered spam as long as we include contact information and a
remove link for removal from our mailing list. To be removed from our
mailing list reply with "remove" and include your "original email
address/addresses" in the subject header.
 
*To Unsubscribe, Click **Remove me*
<vasanth%40aitrg.com?subject=Unsubscribe&body=Please%20remove%20me%20from%20all%20future%20mailings.%0A%0ARegards%0A%0A>
Kyaw Thura Maung <tamu18115@gmail.com>: Jan 02 02:08PM


--
 
Kyaw
<lekishahendrix@yahoo.com>: Jan 02 02:02PM

--------------------------------------------
On Mon, 1/2/17, toneymessina via Android Developers <android-developers@googlegroups.com> wrote:
 
Subject: Re: [android-developers] Why is there NO good Viewpager tutorial on the Internet??
To: android-developers@googlegroups.com
Date: Monday, January 2, 2017, 1:31 AM


--------------------------------------------
On Sun, 1/1/17, Mark Phillips <mark@phillipsmarketing.biz>
wrote:

Subject: Re: [android-developers] Why is there NO good
Viewpager tutorial on the Internet??
To: "Android Developers" <android-developers@googlegroups.com>
Date: Sunday, January 1, 2017, 10:39 PM

Considering the fact that everyone on
this list is a volunteer, I suggest you moderate your tone
if you want to get any help at all.

If no one has written a viewpager
tutorial that meets your needs, then probably no one
needed
one. I suggest you look at the source code and api
documentation, build some simple test apps so you learn
how
the view pager works, and then write the best viewpager
tutorial that has ever been written. You will surely
receive
all the accolades you deserve for your efforts.

Mark

On Sun, Jan 1, 2017 at
10:41 AM, Niklas Daute <dauteniklas@gmail.com>
wrote:
        
Hello guys,

         I need to get this out before
I go completely insane.

         Currently I am developing an
app which creates PieCharts based on user entries, and i
have a working single screen/ viegroup/ activity whatever
version of the app running and complete.

         However, i want
to improve the layout of this application
a little bit and it would help tremendously to have a
viewpager with three different pages to host three
diffreerent fragments with their own purpose each.

        
When I got the idea, i was rather optimistic about
achieving
my goal, one week has passed since then.

            What have I found
on the Internet?

            One great tutorial,
which shows in detail how to create and define
a ViewPager with all its components and listeners and
adapters and whatsoever, with the goal to allow a young
fresh developer to create a simple ui which would help him
create a GREAT application?

                 NOPE

           Half
assed information and so called "tutorials" which
leave out important information alà:

                    "How to draw
an Elephant

                  STEP 1: Draw
the Elephant.
   
                  STEP 2:
Done."

               YES

        However the
biggest joke is the official View
Pager Documentation on the android developers web page,
which explains nothing and leaves me with more questions
than i started out with.

       Words cannot explain how
frustrated I am about this. How can such a elementary UI
element which is found in the most famous applications on
google play be so poorly documented and accessable fore
new
developers?

       I
hope someone can understand my struggle and help me out,
because this issue is deeply frustrating to me. I am not
trying to outsource my anger/misfortune to anyone here. I
am
just irritated by the sheer ridicule of this viewpager
situation.

       If
someone can provide me with ONE good
VIEWPAGER TUTORIAL i would be very thankful.








--

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+
unsubscribe@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/ aa409c37-ffdb-4f5a-85d1-
8f02498fde1b%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+unsubscribe@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/CAEqej2O5%2BotBQQjeTR95Zxn1%2B--VK1OO7qSV-kpPNC3-7eQO_w%40mail.gmail.com.

For more options, visit
https://groups.google.com/d/optout.
rincipalele institutii de cultura. O scurta enumerare a
principalelor institutii de cultura  miscari si
initiative culturale se impune pentru conturarea cadrului in
care s-a desfasurat aceasta componenta a istoriei romanesti
in perioada cuprinsa intre 1918-1948.

--
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+unsubscribe@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/1320791891.5126834.1483313511511%40mail.yahoo.com.
For more options, visit
https://groups.google.com/d/optout.IAtA POLITICa A ROMaNIEI. - EVOLUtII iN PLAN POLITIC. iNFaPTUIREA UNUI PROGRAM DEMOCRATIC.
Moontain <chen.workspace@gmail.com>: Jan 02 05:55AM -0800

Hi,
 
I tried to setup DHT11 sensor on the latest AndroidThing Preview 1, by
following the GPIO SDK
<https://developer.android.com/things/sdk/pio/gpio.html>, but failed. Data
can't be received successfully.
 
Looks like each function call of the Gpio.getValue() may take about 270us.
It can't fit the timing requirement of DHT11, which needs about 20us or
less.
 
Any suggestions or idea to work it out on AndroidThings? Thanks.
 
Reference: DHT11 Humidity & Temperature Sensor
<http://www.micropik.com/PDF/dht11.pdf>
 
Regards,
Moontain
pushpabusy123@gmail.com: Jan 02 04:02AM -0800

Home Builders in Bangalore - List of house construction companies,
contractors in Bangalore and get professional home building companies
contact addresses, phone numbers, ratings and reviews to your mobile
instantly from Busybizz.com.
Sami <rahal.sami@gmail.com>: Jan 02 02:25AM -0800

Hi,
 
First of all, happy new year 2017.
 
Context:
For my job, we need to develop an Android application. This app will be
entended to employees. The app will need to use push notifications through
Google Notification Server (GCM).
 
Question 1:
How to ensure that once installed on smartphone there will be no alert to
the fact that this app does not come from the PlayStore. Is there a
specific way to sign the application or other to achieve it.
 
Question 2:
Is it possible to use the Google Notification Server (GCM) only with the
Google Developer account without broadcasting it one the PlayStore (Public
and Private channel)
 
Thank you in advance for your answers.
 
Regards,
sara ali <saraalyy40@gmail.com>: Jan 02 12:10PM +0200

*الدار العربية للتنمية الادارية*
 
*بالتعاون مع *
 
*الإتحاد الدولي لمؤسسات التنمية البشرية*
 
*International Federation for Human Development Institutions*
 
*البرنامج التدريبي*
 
*الاتجاهات المعاصرة للمحاسبة عن عمليات*
 
* شركات التأمين و إعادة التأمين*
 
*القاهرة – دبي - اسطنبول **للفترة من 27 الى 31 **مارس* *2016** م *
 
 
 
*يهدف البرنامج الي :* *التعرف على منظومات التأمين الصحي والضمان الاجتماعي.
**تحديد أهم المشاكل والقضايا المتعلقة بالتأمين الصحي والضمان الاجتماعي. **تحديد
نظم التأمين الصحي والضمان الاجتماعي** . **التعرف على التكلفة الاقتصادية
لنظم التأمين الصحي والضمان الاجتماعي. **تطبيقات على مشكلات وحلول التأمين
الصحي والضمان الاجتماعي.*
 
 
 
*مستهدفين في ذلك **:*
 
*1- **مديرو إدارات التأمين الصحي والضمان الاجتماعي في الوزارات
المختلفة.*
 
*2- **مديرو الإدارات في وزارات الصحة*
 
*3- **مديرو الادارات في وزارات الضمان الاجتماعي ومافي حكمها .*
 
*4- **العاملين في إدارات متابعة نظم التأمين الصحى والضمان الاجتماعي فى
الوزارات والمؤسسات والشركات .*
 
 
 
 
 
 
 
 
 
*وبهذه المناسبة يسعدنا دعوتكم للمشاركة وتعميم خطابنا على المهتمين بمــوضـوع
البرنامج وإفادتنا بمن تقترحون توجيه الدعوة لهم علماً بأن رسوم الاشتراك 1400
دولار أمريكى* *للفرد.*
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
*لمزيد من المعلومات يمكنكم التواصل مع*
 
*نائب مدير التدريب*
 
*أ / سارة عبد الجواد*
 
*جوال : 00201112694608*
 
*هاتف : 0020237800693 – 0020237800583*
 
*فاكس : 0020237800573 – 0020235866323*
 
*بريد إلكتروني : **SaraGwadi@Gmail.Com* <SaraGwadi@Gmail.Com>
 
 
 
 
 
 
 
*http://marwaahadhr.blogspot.com.eg/2015/12/7-11-2016.html
<http://marwaahadhr.blogspot.com.eg/2015/12/7-11-2016.html>*
krishnasrichowdary@gmail.com: Jan 02 01:26AM -0800

<https://lh3.googleusercontent.com/-9or9kbX_rL4/WGocvym8t6I/AAAAAAAAAJk/xHbfpS2dBCw_uLsrtfNEstAsKcCShiG4QCLcB/s1600/webdesigning%2Bmalaysiapic.jpg>
 
*In this track, you'll learn how to design and build beautiful websites by
learning the basic principles of design like HTML, CMS etc.*
 
To know more, please contact us at:
 
http://ooisolutions.com/webdesigningmalaysia
prasad rao <prasadrao.teela@gmail.com>: Jan 02 01:26AM -0800

How to identify difference between calls added through Content provider
programmatically and original calls?
Pandiyan N <pandiyan@thulya.com>: Jan 02 12:20AM -0800

Job Title: PHP Developer - ZEND - MySQL
Location: Sussex
 
PHP Developer - Back End - PHP, OOP, ZEND, MySQL, HTML5, CSS, JavaScript,
JQuery, GIT
 
Our Media Client based in West Sussex are currently looking to recruit a
PHP Developer with extensive Back End development skills using PHP, ZEND
Framework and MySQL.
 
This role will suit a PHP Developer with extensive experience with PHP and
MySQL as well as some Front End knowledge with HTML5, CSS, JavaScript,
JQuery working in a GIT environment.
 
The PHP Developer will join a small team and will be required to develop,
propose, drive, review and implement enhancements to the current website
and mobile applications: you must have extensive experience with PHP,
MySQL. Knowledge of HTML 5, CSS, JavaScript, JQuery and experience working
with GIT.
 
To qualify for this role, PHP Developer must have the following technical
skills:
 
PHP

MySQL

ZEND 2 framework

Object Orientated Programming (OOP)

Excellent knowledge of integration and exchange (XML, Soap, Json)

Knowledge of HTML5, CSS, JavaScript, JQuery

Experience with GIT
 
To apply click the below link,
http://thulya.com/FPrint/GTwQTkTyt0ieEiHPZS8Dlg
 
For more job opportunities please visit
http://thulya.com/Apps/Jobs/Jobseeker/
Pandiyan N <pandiyan@thulya.com>: Jan 02 12:22AM -0800

Job Title: Ruby on Rails Developer
Location: London
 
Our leading Client, a household name in the Gaming industry are currently
seeking a Ruby on Rails Developer with extensive Rails, JavaScript and
Heroku experience to come on board an work on a new project.
 
Key skills and experience required:
 
Ruby on Rails

Javascript (in particular angularjs)

Heroku

Web security
 
This is an exciting opportunity for an experienced RoR Developer to take
the lead on various projects and work with cutting edge technology.
 
To apply click the below link,
http://thulya.com/FPrint/a8rKzPR6c0yh5rX8onX8HQ
 
For more job opportunities please visit
http://thulya.com/Apps/Jobs/Jobseeker/
aayush.cmunafa@gmail.com: Jan 01 11:14PM -0800

I have implemented deep linking to my app successfully but I am stuck with
a problem.
 
<intent-filter android:autoVerify="true">
<action android:name="android.intent.action.VIEW" />
<category android:name="android.intent.category.DEFAULT" />
<category android:name="android.intent.category.BROWSABLE" />
<data
android:host="*.example.com"
android:scheme="https"/></intent-filter>
 
 
This intent filter handles all the links but I don't want to catch a
certain url i.e.
 
https://www.example.com/hello/redirect/
 
 
*What I tried so far:*
 
I tried entering all the urls that I want to catch manually
 
 
<data
android:host="*example.com"
android:scheme="https"
android:pathPrefix="/m/"><data
android:host="*example.com"
android:scheme="https"
android:pathPrefix="/c/"><data
android:host="*example.com"
android:scheme="https"
android:pathPrefix="/p/">
 
etc....
 
 
But then my home page url doesn't work i.e.
 
 
https://www.example.com
 
 
If i use
 
android:pathPrefix="/"
 
 
then this will start catching all the urls again including the url i want
to omit.
 
I also tried using
 
 
android:pathPattern
 
 
But it can't understand complicated regex like this ^((?!redirect).)*$
 
which works fine when i try it in strings and all.
 
Anybody know how can I omit certain urls?
You received this digest because you're subscribed to updates for this group. You can change your settings on the group membership page.
To unsubscribe from this group and stop receiving emails from it send an email to android-developers+unsubscribe@googlegroups.com.

No comments:

Post a Comment